diff -r a6a4c88e1c9a -r 09a64cb04851 Quot/Examples/LamEx.thy --- a/Quot/Examples/LamEx.thy Thu Jan 14 15:36:29 2010 +0100 +++ b/Quot/Examples/LamEx.thy Thu Jan 14 16:41:17 2010 +0100 @@ -242,11 +242,24 @@ by (lifting rvar_inject) lemma lam_induct: - "\\name. P (Var name); + "\\name. P (Var name); \lam1 lam2. \P lam1; P lam2\ \ P (App lam1 lam2); \name lam. P lam \ P (Lam name lam)\ \ P lam" by (lifting rlam.induct) +lemma lam_induct_strong_pre: + "\\name b. P b (Var name); + \lam1 lam2 b. \\c. P c lam1; \c. P c lam2\ \ P b (App lam1 lam2); + \name lam b. \\c. P c lam; name \ (c \ lam)\ \ P b (Lam name lam)\ \ P a lam" +sorry + +lemma lam_induct_strong: + "\\name. P (Var name); + \lam1 lam2. \P lam1; P lam2\ \ P (App lam1 lam2); + \name lam. P lam \ name \ lam \ P (Lam name lam)\ \ P lam" +sorry + + lemma var_supp: shows "supp (Var a) = ((supp a)::name set)" apply(simp add: supp_def)