Quantcast
Channel: How to to use the fact that combining these hypothesis is false in Coq - Proof Assistants Stack Exchange
Viewing all articles
Browse latest Browse all 5

Answer by Pierre Jouvelot for How to to use the fact that combining these hypothesis is false in Coq

$
0
0

As mentioned by @Pierre Casteran, there are multiple possible versions. For the record, here is a simple mathcomp-based one.

From mathcomp Require Import all_ssreflect. Lemma helper : forall a y, a > y -> a <= y -> False.Proof. by  move=> a y ay; rewrite leqNgt ay. Qed.

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>