test-suite/output-coqtop/DependentEvars.v
raw| 1 | Set Printing Dependent Evars Line. |
| 2 | Lemma strange_imp_trans : |
| 3 | forall P Q R : Prop, (Q -> R) -> (P -> Q) -> (P -> Q) -> P -> R. |
| 4 | Proof. |
| 5 | auto. |
| 6 | Qed. |
| 7 | |
| 8 | Lemma modpon : forall P Q : Prop, (P -> Q) /\ P -> Q. |
| 9 | Proof. |
| 10 | tauto. |
| 11 | Qed. |
| 12 | |
| 13 | Section eex. |
| 14 | Variables P1 P2 P3 P4 : Prop. |
| 15 | Hypothesis p12 : P1 -> P2. |
| 16 | Hypothesis p123 : (P1 -> P2) -> P3. |
| 17 | Hypothesis p34 : P3 -> P4. |
| 18 | |
| 19 | Lemma p14 : P4. |
| 20 | Proof. |
| 21 | eapply strange_imp_trans. |
| 22 | apply modpon. |
| 23 | Abort. |
| 24 | End eex. |