Created
May 15, 2015 08:46
-
-
Save nkaretnikov/e917b03f568417b3bb32 to your computer and use it in GitHub Desktop.
filter_challenge
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
(* SCase := "test x = false" : String.string *) | |
(* Case := "iom_seq" : String.string *) | |
(* X : Type *) | |
(* test : X -> bool *) | |
(* x : X *) | |
(* xs : list X *) | |
(* ys : list X *) | |
(* zs : list X *) | |
(* Hiom : in_order_merge xs ys zs *) | |
(* Hl1 : filter test (x :: xs) = x :: xs *) | |
(* Hl2 : filter test ys = [] *) | |
(* IHHiom : filter test xs = xs -> filter test ys = [] -> filter test zs = xs *) | |
(* Htest_x : test x = false *) | |
(* H0 : filter test xs = x :: xs *) | |
(* ============================ *) | |
(* filter test zs = x :: xs *) | |
(* subgoal 2 (ID 1987) is: *) | |
(* filter test (y :: x :: zs) = x :: xs *) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment