Add Sigma.thy, an example that defines a sigma-calculus in the style of Peter Homeier's HOL4 formalization.
authorCezary Kaliszyk <kaliszyk@in.tum.de>
Tue, 20 Dec 2011 18:07:48 +0900
changeset 3084 faeac3ae43e5
parent 3083 16b5f4189075
child 3085 25d813c5042d
Add Sigma.thy, an example that defines a sigma-calculus in the style of Peter Homeier's HOL4 formalization.
Nominal/Ex/Sigma.thy
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Nominal/Ex/Sigma.thy	Tue Dec 20 18:07:48 2011 +0900
@@ -0,0 +1,20 @@
+theory Sigma
+imports Nominal2
+begin
+
+atom_decl name
+
+nominal_datatype obj =
+  Var name
+| Obj smlst
+| Inv obj string
+| Upd obj string method
+and smlst =
+  SMNil
+| SMCons string method smlst
+and method =
+  Sig n::name o::obj binds n in o
+
+
+end
+