I agree Our site saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings you grant us permission to store that information on your device.

Download Files
### Definitions File

### Template File

### Check File

theory Defs imports "HOL-IMP.AExp" begin fun right2 :: "aexp \<Rightarrow> aexp \<Rightarrow> aexp" where "right2 (V x) a = Plus (V x) a" | "right2 (N i) a = Plus (N i) a" | "right2 (Plus a1 a2) a = right2 a1 (right2 a2 a)" definition right :: "aexp \<Rightarrow> aexp" where "right a = right2 a (N 0)" end

theory Submission imports Defs begin theorem aval_right: "aval (right a) s = aval a s" sorry end

theory Check imports Submission begin lemma "aval (right a) s = aval a s" by (rule Submission.aval_right) end

Terms and Conditions