From dc2730916482bd230f9bd5244b8b2cc9d005f69a Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Tue, 7 Aug 2018 12:30:59 +0200 Subject: Old application syntax incompatible with Eisbach --- Coprod.thy | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'Coprod.thy') diff --git a/Coprod.thy b/Coprod.thy index 75e621a..a301e7e 100644 --- a/Coprod.thy +++ b/Coprod.thy @@ -14,43 +14,43 @@ section \Constants and type rules\ axiomatization Coprod :: "[Term, Term] \ Term" (infixr "+" 50) and - inl :: "Term \ Term" ("(1inl'(_'))") and - inr :: "Term \ Term" ("(1inr'(_'))") and - indCoprod :: "[Term, Term, Typefam, Term \ Term, Term \ Term, Term] \ Term" ("(1ind\<^sub>+[_,/ _])") + inl :: "Term \ Term" and + inr :: "Term \ Term" and + indCoprod :: "[Term \ Term, Term \ Term, Term] \ Term" ("(1ind\<^sub>+)") where - Coprod_form: "\i A B. \A : U(i); B : U(i)\ \ A + B : U(i)" + Coprod_form: "\i A B. \A : U(i); B : U(i)\ \ A + B: U(i)" and - Coprod_intro1: "\A B a b. \a : A; b : B\ \ inl(a) : A + B" + Coprod_intro1: "\A B a b. \a : A; b : B\ \ inl(a): A + B" and - Coprod_intro2: "\A B a b. \a : A; b : B\ \ inr(b) : A + B" + Coprod_intro2: "\A B a b. \a : A; b : B\ \ inr(b): A + B" and Coprod_elim: "\i A B C c d e. \ C: A + B \ U(i); - \x. x : A \ c x : C inl(x); - \y. y : B \ d y : C inr(y); - e : A + B - \ \ ind\<^sub>+[A,B] C c d e : C e" + \x. x: A \ c(x): C(inl(x)); + \y. y: B \ d(y): C(inr(y)); + e: A + B + \ \ ind\<^sub>+(c)(d)(e) : C(e)" and Coprod_comp1: "\i A B C c d a. \ C: A + B \ U(i); - \x. x : A \ c x : C inl(x); - \y. y : B \ d y : C inr(y); - a : A - \ \ ind\<^sub>+[A,B] C c d inl(a) \ c a" + \x. x: A \ c(x): C(inl(x)); + \y. y: B \ d(y): C(inr(y)); + a: A + \ \ ind\<^sub>+(c)(d)(inl(a)) \ c(a)" and Coprod_comp2: "\i A B C c d b. \ C: A + B \ U(i); - \x. x : A \ c x : C inl(x); - \y. y : B \ d y : C inr(y); - b : B - \ \ ind\<^sub>+[A,B] C c d inr(b) \ d b" + \x. x: A \ c(x): C(inl(x)); + \y. y: B \ d(y): C(inr(y)); + b: B + \ \ ind\<^sub>+(c)(d)(inr(b)) \ d(b)" text "Admissible formation inference rules:" axiomatization where - Coprod_form_cond1: "\i A B. A + B : U(i) \ A : U(i)" + Coprod_form_cond1: "\i A B. A + B: U(i) \ A: U(i)" and - Coprod_form_cond2: "\i A B. A + B : U(i) \ B : U(i)" + Coprod_form_cond2: "\i A B. A + B: U(i) \ B: U(i)" lemmas Coprod_rules [intro] = Coprod_form Coprod_intro1 Coprod_intro2 Coprod_elim Coprod_comp1 Coprod_comp2 -- cgit v1.2.3