Tutorial/Minimal.thy
author Christian Urban <urbanc@in.tum.de>
Wed, 19 Jan 2011 17:11:10 +0100
changeset 2679 e003e5e36bae
child 2681 0e4c5fa26fa1
permissions -rw-r--r--
added Minimal file to test things

theory Minimal
imports "../Nominal/Nominal2"
begin

atom_decl name

nominal_datatype lam =
  Var "name"
| App "lam" "lam"
| Lam x::"name" l::"lam"  bind x in l ("Lam [_]. _" [100, 100] 100)

lemma alpha_test:
  shows "Lam [x]. (Var x) = Lam [y]. (Var y)"
  by (simp add: lam.eq_iff Abs1_eq_iff lam.fresh fresh_at_base)

end