From e6473c383b479610cee4c0119e5811a12a938cf9 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Tue, 14 Aug 2018 17:43:03 +0200 Subject: Well-formation rules are back in the methods; new theory synthesizing the natural number predecessor function. --- Nat.thy | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Nat.thy') diff --git a/Nat.thy b/Nat.thy index 388df0f..21c9b1c 100644 --- a/Nat.thy +++ b/Nat.thy @@ -10,6 +10,8 @@ theory Nat begin +section \Constants and type rules\ + axiomatization Nat :: Term ("\") and zero :: Term ("0") and @@ -42,6 +44,9 @@ and n: \ \ \ ind\<^sub>\(f)(a)(succ n) \ f(n)(ind\<^sub>\ f a n)" + +text "Rule declarations:" + lemmas Nat_intro = Nat_intro1 Nat_intro2 lemmas Nat_rules [intro] = Nat_form Nat_intro Nat_elim Nat_comp1 Nat_comp2 lemmas Nat_comps [comp] = Nat_comp1 Nat_comp2 -- cgit v1.2.3