lib: remove opt_mapE from global [elim!] set
While we do want to break up full OptionMonad terms in assumptions, we do not usually want to break up projections. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
parent
3c322eab1d
commit
3467e685b6
|
@ -416,7 +416,7 @@ lemma oreturnOkE:
|
|||
by simp
|
||||
|
||||
lemmas omonadE [elim!] =
|
||||
opt_mapE obindE oreturnE ofailE othrowE oreturnOkE oassertE
|
||||
obindE oreturnE ofailE othrowE oreturnOkE oassertE
|
||||
|
||||
lemma in_opt_map_Some_eq:
|
||||
"((f ||> g) x = Some y) = (\<exists>v. f x = Some v \<and> g v = y)"
|
||||
|
|
Loading…
Reference in New Issue