From 515872533295e8464799467303fff923b52a2c01 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Sat, 15 Sep 2018 20:51:39 +0200 Subject: begin reorganizing --- HoTT_Base.thy | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'HoTT_Base.thy') diff --git a/HoTT_Base.thy b/HoTT_Base.thy index 1110e14..8ea767f 100644 --- a/HoTT_Base.thy +++ b/HoTT_Base.thy @@ -1,11 +1,12 @@ (* Title: HoTT/HoTT_Base.thy - Author: Josh Chen + Author: Joshua Chen Basic setup and definitions of a homotopy type theory object logic with a cumulative universe hierarchy à la Russell. *) theory HoTT_Base - imports Pure +imports Pure + begin @@ -13,7 +14,7 @@ section \Foundational definitions\ text "Meta syntactic type for object-logic types and terms." -typedecl Term +typedecl t section \Judgments\ @@ -23,19 +24,19 @@ text " For judgmental/definitional equality we use the existing Pure equality \\\ and hence do not need to define a separate judgment for it. " -judgment has_type :: "[Term, Term] \ prop" ("(3_:/ _)" [0, 0] 1000) +judgment hastype :: "[t, t] \ prop" ("(3_:/ _)") section \Universe hierarchy\ -text "Finite meta-ordinals to index the universes." +text "Meta-numerals to index the universes." -typedecl Ord +typedecl ord axiomatization - O :: Ord and - S :: "Ord \ Ord" ("S_" [0] 1000) and - lt :: "[Ord, Ord] \ prop" (infix "<-" 999) + O :: ord and + S :: "ord \ ord" ("S_") and + lt :: "[ord, ord] \ prop" (infix "<-" 999) where Ord_min: "\n. O <- S(n)" and -- cgit v1.2.3