Skip to content
Snippets Groups Projects
Commit 82d4b448 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Lemma for validity of Some.

parent f82111d2
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,7 @@ Instance option_op : Op (option A) := union_with (λ x y, Some (x ⋅ y)). ...@@ -72,6 +72,7 @@ Instance option_op : Op (option A) := union_with (λ x y, Some (x ⋅ y)).
Instance option_minus : Minus (option A) := Instance option_minus : Minus (option A) :=
difference_with (λ x y, Some (x y)). difference_with (λ x y, Some (x y)).
Definition Some_valid a : Some a a := reflexivity _.
Definition Some_op a b : Some (a b) = Some a Some b := eq_refl. Definition Some_op a b : Some (a b) = Some a Some b := eq_refl.
Lemma option_included (mx my : option A) : Lemma option_included (mx my : option A) :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment