Nominal/Ex/Exec/Lambda_Exec.thy
changeset 3175 52730e5ec8cb
parent 3173 9876d73adb2b
child 3235 5ebd327ffb96
equal deleted inserted replaced
3174:8f51702e1f2e 3175:52730e5ec8cb
   456 export_code ln_lam_aux nth_or_def ln_lam subst vara in SML
   456 export_code ln_lam_aux nth_or_def ln_lam subst vara in SML
   457 
   457 
   458 value "(atom N0 \<rightleftharpoons> atom N1) \<bullet> (App (Var N0) (Lam [N1]. (Var N1)))"
   458 value "(atom N0 \<rightleftharpoons> atom N1) \<bullet> (App (Var N0) (Lam [N1]. (Var N1)))"
   459 value "subst ((N0 \<leftrightarrow> N1) \<bullet> (App (Var N0) (Lam [N1]. (Var N1)))) N1 (Var N0)"*)
   459 value "subst ((N0 \<leftrightarrow> N1) \<bullet> (App (Var N0) (Lam [N1]. (Var N1)))) N1 (Var N0)"*)
   460 
   460 
   461 lemma [eqvt]:
       
   462   "p \<bullet> Let x y = Let (p \<bullet> x) (p \<bullet> y)"
       
   463   unfolding Let_def permute_fun_app_eq ..
       
   464 
       
   465 end
   461 end
   466 
   462 
   467 
   463 
   468 
   464