Created
March 10, 2015 11:38
-
-
Save glimonta/7416223877bb217317e9 to your computer and use it in GitHub Desktop.
What I think eval and eval_l should look like
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lemma "eval (Ref e) s = do { | |
(v, s) ← eval_l e s; | |
(case v of (A _) ⇒ Some (v, s) | _ ⇒ None) | |
}" | |
lemma "eval_l (Derefl e) s = do { | |
(v, s) ← eval e s; | |
(case v of (A _) ⇒ Some (v, s) | _ ⇒ None) | |
}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment