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 ++++++++++--------- tests/Test.thy | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) 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 diff --git a/tests/Test.thy b/tests/Test.thy index b0eb87a..de65dbd 100644 --- a/tests/Test.thy +++ b/tests/Test.thy @@ -23,7 +23,7 @@ declare[[unify_trace_simp, unify_trace_types, simp_trace, simp_trace_depth_limit \ \Turn on trace for unification and the simplifier, for debugging.\ -section \\-type\ +section \\-type\ subsection \Typing functions\ -- cgit v1.2.3