diff -r 38eb2bd9ad3a -r c88159ffa7a3 Quot/Nominal/LFex.thy --- a/Quot/Nominal/LFex.thy Wed Feb 24 10:25:59 2010 +0100 +++ b/Quot/Nominal/LFex.thy Wed Feb 24 10:38:45 2010 +0100 @@ -72,23 +72,23 @@ and alpha_rty ("_ \ty _" [100, 100] 100) and alpha_rtrm ("_ \tr _" [100, 100] 100) thm fv_rkind_fv_rty_fv_rtrm.simps alpha_rkind_alpha_rty_alpha_rtrm.intros -local_setup {* (fn ctxt => snd (Local_Theory.note ((@{binding alphas_inj}, []), (build_alpha_inj @{thms alpha_rkind_alpha_rty_alpha_rtrm.intros} @{thms rkind.distinct rty.distinct rtrm.distinct rkind.inject rty.inject rtrm.inject} @{thms alpha_rkind.cases alpha_rty.cases alpha_rtrm.cases} ctxt)) ctxt)) *} -thm alphas_inj +local_setup {* (fn ctxt => snd (Local_Theory.note ((@{binding alpha_rkind_alpha_rty_alpha_rtrm_inj}, []), (build_alpha_inj @{thms alpha_rkind_alpha_rty_alpha_rtrm.intros} @{thms rkind.distinct rty.distinct rtrm.distinct rkind.inject rty.inject rtrm.inject} @{thms alpha_rkind.cases alpha_rty.cases alpha_rtrm.cases} ctxt)) ctxt)) *} +thm alpha_rkind_alpha_rty_alpha_rtrm_inj -lemma alphas_eqvt: +lemma alpha_eqvt: "t1 \ki s1 \ (pi \ t1) \ki (pi \ s1)" - "t2 \rty s2 \ (pi \ t2) \rty (pi \ s2)" + "t2 \ty s2 \ (pi \ t2) \ty (pi \ s2)" "t3 \tr s3 \ (pi \ t3) \tr (pi \ s3)" sorry -local_setup {* (fn ctxt => snd (Local_Theory.note ((@{binding alphas_equivp}, []), +local_setup {* (fn ctxt => snd (Local_Theory.note ((@{binding alpha_equivps}, []), (build_equivps [@{term alpha_rkind}, @{term alpha_rty}, @{term alpha_rtrm}] @{thm rkind_rty_rtrm.induct} @{thm alpha_rkind_alpha_rty_alpha_rtrm.induct} - @{thms rkind.inject rty.inject rtrm.inject} @{thms alphas_inj} + @{thms rkind.inject rty.inject rtrm.inject} @{thms alpha_rkind_alpha_rty_alpha_rtrm_inj} @{thms rkind.distinct rty.distinct rtrm.distinct} @{thms alpha_rkind.cases alpha_rty.cases alpha_rtrm.cases} - @{thms alphas_eqvt} ctxt)) ctxt)) *} -thm alphas_equivp + @{thms alpha_eqvt} ctxt)) ctxt)) *} +thm alpha_equivps *) primrec