vafeiadis / hahn

Hahn: A Coq library
MIT License
29 stars 15 forks source link

New version of des* works incorrectly in presence of section hypotheses w/ conjunction #20

Closed anlun closed 4 years ago

anlun commented 4 years ago
From hahn Require Import Hahn.

Section aa.
  Variables A B C D : Prop.

  Hypothesis HH : A /\ B.

  Lemma aaa (OO : C \/ D) : False.
  Proof.
    desf.
  Admitted.
End aa.

In the code above, desf doesn't destruct OO. However, if you put clear HH before desf, then it does.