Created
September 15, 2016 00:37
-
-
Save mukeshtiwari/fa4e52fe993207e6cd238499f2c23047 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| A : Type | |
| O : Op A | |
| l : list A | |
| Hmon : mon O | |
| Hfin : forall a : A, In a l | |
| H : card l (iter O 0 full_ss) >= card l (iter O 1 full_ss) + 1 | |
| ============================ | |
| card l (iter O 1 full_ss) + 1 <= card l (iter O 0 full_ss) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After doing some minor changes omega can solve
assert (card l (iter O 0 full_ss) >= card l (iter O 1 full_ss) + 1 ->
card l (iter O 1 full_ss) + 1 <= card l (iter O 0 full_ss)) by omega.
specialize (H0 H). omega.