Skip to content
Snippets Groups Projects
Commit 94277d6d authored by Ralf Jung's avatar Ralf Jung
Browse files

exploit irreflexivity

parent 478a2c7b
No related branches found
No related tags found
1 merge request!531dfrac: do not track discarded fraction
......@@ -127,7 +127,7 @@ Section dfrac.
intros [q| |q];
rewrite /op /cmra_op -cmra_discrete_valid_iff /valid /cmra_valid /=.
- apply (Qp_not_plus_ge 1 q).
- move=>/Qclt_not_eq. intros Heq. apply Heq. done.
- intros []%irreflexivity. apply _.
  • Robbert Krebbers @robbertkrebbers ·
    Owner

    I think the "right" way is to use (irreflexivity _) so no goal for the type class is generated.

  • Author Owner

    That works, thanks. :)

  • Please register or sign in to reply
- move=> /Qclt_le_weak. apply (Qp_not_plus_ge 1 q).
Qed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment