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 --- Nat.thy | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'Nat.thy') diff --git a/Nat.thy b/Nat.thy index 93b7a2e..bd2c4ca 100644 --- a/Nat.thy +++ b/Nat.thy @@ -14,33 +14,33 @@ axiomatization Nat :: Term ("\") and zero :: Term ("0") and succ :: "Term \ Term" and - indNat :: "[Typefam, [Term, Term] \ Term, Term, Term] \ Term" ("(1ind\<^sub>\)") + indNat :: "[[Term, Term] \ Term, Term, Term] \ Term" ("(1ind\<^sub>\)") where - Nat_form: "\ : U(O)" + Nat_form: "\: U(O)" and - Nat_intro1: "0 : \" + Nat_intro1: "0: \" and - Nat_intro2: "\n. n : \ \ succ n : \" + Nat_intro2: "\n. n: \ \ succ(n): \" and Nat_elim: "\i C f a n. \ C: \ \ U(i); - \n c. \n : \; c : C n\ \ f n c : C (succ n); - a : C 0; - n : \ - \ \ ind\<^sub>\ C f a n : C n" + \n c. \n: \; c: C(n)\ \ f(n)(c): C(succ n); + a: C(0); + n: \ + \ \ ind\<^sub>\(f)(a)(n): C(n)" and Nat_comp1: "\i C f a. \ C: \ \ U(i); - \n c. \n : \; c : C n\ \ f n c : C (succ n); - a : C 0 - \ \ ind\<^sub>\ C f a 0 \ a" + \n c. \n: \; c: C(n)\ \ f(n)(c): C(succ n); + a: C(0) + \ \ ind\<^sub>\(f)(a)(0) \ a" and Nat_comp2: "\ i C f a n. \ C: \ \ U(i); - \n c. \n : \; c : C n\ \ f n c : C (succ n); - a : C 0; - n : \ - \ \ ind\<^sub>\ C f a (succ n) \ f n (ind\<^sub>\ C f a n)" + \n c. \n: \; c: C(n)\ \ f(n)(c): C(succ n); + a: C(0); + n: \ + \ \ ind\<^sub>\(f)(a)(succ n) \ f(n)(ind\<^sub>\ f a n)" lemmas Nat_rules [intro] = Nat_form Nat_intro1 Nat_intro2 Nat_elim Nat_comp1 Nat_comp2 lemmas Nat_comps [comp] = Nat_comp1 Nat_comp2 -- cgit v1.2.3