Debian Codegraph @

test-suite/bugs/bug_1446.v

raw
1 Lemma not_true_eq_false : forall (b:bool), b <> true -> b = false.
2 Proof.
3 destruct b;intros;trivial.
4 elim H.
5 exact (refl_equal true).
6 Qed.
7
8 Section BUG.
9
10 Variable b : bool.
11 Hypothesis H : b <> true.
12 Hypothesis H0 : b = true.
13 Hypothesis H1 : b <> true.
14
15 Goal False.
16 rewrite (not_true_eq_false _ H) in * |-.
17 contradiction.
18 Qed.
19
20 End BUG.