Debian Codegraph @

test-suite/bugs/bug_1754.v

raw
1 Axiom hp : Set.
2 Axiom cont : nat -> hp -> Prop.
3 Axiom sconj : (hp -> Prop) -> (hp -> Prop) -> hp -> Prop.
4 Axiom sconjImpl : forall h A B,
5 (sconj A B) h -> forall (A' B': hp -> Prop),
6 (forall h', A h' -> A' h') ->
7 (forall h', B h' -> B' h') ->
8 (sconj A' B') h.
9
10 Definition cont' (h:hp) := exists y, cont y h.
11
12 Lemma foo : forall h x y A,
13 (sconj (cont x) (sconj (cont y) A)) h ->
14 (sconj cont' (sconj cont' A)) h.
15 Proof.
16 intros h x y A H.
17 eapply sconjImpl.
18 2:intros h' Hp'; econstructor; apply Hp'.
19 2:intros h' Hp'; eapply sconjImpl.
20 3:intros h'' Hp''; econstructor; apply Hp''.
21 3:intros h'' Hp''; apply Hp''.
22 2:apply Hp'.
23 clear H.
24 Admitted.