Nominal/Ex/ExLetMult.thy
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Mon, 17 May 2010 16:29:33 +0200
changeset 2145 f89773ab0685
parent 2120 2786ff1df475
permissions -rw-r--r--
Ex4 does work, and I don't see the difference between the alphas.

theory ExLetMult
imports "../NewParser"
begin

atom_decl name

nominal_datatype trm =
  Vr "name"
| Ap "trm" "trm"
| Lm x::"name" t::"trm" bind_set x in t
| Lt l::"lts" t::"trm" s::"trm" bind "bn l" in t s
and lts =
  Lnil
| Lcons "name" "trm" "lts"
binder
  bn
where
  "bn Lnil = []"
| "bn (Lcons x t l) = (atom x) # (bn l)"

thm trm_lts.eq_iff
thm trm_lts.induct
thm trm_lts.fv[simplified trm_lts.supp]



end