From 76ac8ed82317f3f62f26ecc88f412c61004bcffa Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Mon, 17 Sep 2018 13:13:55 +0200 Subject: Reorganizing theories --- Unit.thy | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'Unit.thy') diff --git a/Unit.thy b/Unit.thy index 6760f27..61c6439 100644 --- a/Unit.thy +++ b/Unit.thy @@ -1,33 +1,31 @@ -(* Title: HoTT/Unit.thy - Author: Josh Chen +(* +Title: Unit.thy +Author: Joshua Chen +Date: 2018 Unit type *) theory Unit - imports HoTT_Base -begin +imports HoTT_Base +begin -section \Constants and type rules\ axiomatization - Unit :: Term ("\") and - pt :: Term ("\") and - indUnit :: "[Term, Term] \ Term" ("(1ind\<^sub>\)") + Unit :: t ("\") and + pt :: t ("\") and + indUnit :: "[t, t] \ t" ("(1ind\<^sub>\)") where - Unit_form: "\: U O" -and - Unit_intro: "\: \" -and - Unit_elim: "\C: \ \ U i; c: C \; a: \\ \ ind\<^sub>\ c a: C a" -and - Unit_comp: "\C: \ \ U i; c: C \\ \ ind\<^sub>\ c \ \ c" + Unit_form: "\: U O" and + Unit_intro: "\: \" and -text "Rule attribute declarations:" + Unit_elim: "\a: \; c: C \; C: \ \ U i\ \ ind\<^sub>\ c a: C a" and + + Unit_comp: "\c: C \; C: \ \ U i\ \ ind\<^sub>\ c \ \ c" -lemmas Unit_comp [comp] lemmas Unit_routine [intro] = Unit_form Unit_intro Unit_elim +lemmas Unit_comp [comp] end -- cgit v1.2.3