merged
authornipkow
Thu, 20 Oct 2011 10:44:00 +0200
changeset 45217 c4fab1099cd0
parent 45215 1b2132017774 (current diff)
parent 45216 a51a70687517 (diff)
child 45218 f115540543d8
child 45219 29f6e990674d
child 45222 6eab55bab82f
merged
--- a/src/HOL/IMP/AExp.thy	Thu Oct 20 09:59:12 2011 +0200
+++ b/src/HOL/IMP/AExp.thy	Thu Oct 20 10:44:00 2011 +0200
@@ -11,7 +11,7 @@
 datatype aexp = N int | V vname | Plus aexp aexp
 
 fun aval :: "aexp \<Rightarrow> state \<Rightarrow> val" where
-"aval (N n) _ = n" |
+"aval (N n) s = n" |
 "aval (V x) s = s x" |
 "aval (Plus a1 a2) s = aval a1 s + aval a2 s"
 
--- a/src/HOL/IMP/BExp.thy	Thu Oct 20 09:59:12 2011 +0200
+++ b/src/HOL/IMP/BExp.thy	Thu Oct 20 10:44:00 2011 +0200
@@ -5,7 +5,7 @@
 datatype bexp = Bc bool | Not bexp | And bexp bexp | Less aexp aexp
 
 fun bval :: "bexp \<Rightarrow> state \<Rightarrow> bool" where
-"bval (Bc v) _ = v" |
+"bval (Bc v) s = v" |
 "bval (Not b) s = (\<not> bval b s)" |
 "bval (And b1 b2) s = (if bval b1 s then bval b2 s else False)" |
 "bval (Less a1 a2) s = (aval a1 s < aval a2 s)"