Nominal/Ex/ExLetMult.thy
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Mon, 10 May 2010 18:29:45 +0200
changeset 2095 ae94bae5bb93
parent 2082 0854af516f14
child 2104 2205b572bc9b
permissions -rw-r--r--
Restore set bindings in CoreHaskell

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]

declare permute_trm_raw_permute_lts_raw.simps[eqvt]
declare alpha_gen_eqvt[eqvt]

equivariance alpha_trm_raw


end