Skip to content
Snippets Groups Projects
Commit 1af28e21 authored by Paolo G. Giarrusso's avatar Paolo G. Giarrusso
Browse files

numbers.v: avoid Qed'ing Decision instances

parent fcceace4
No related branches found
No related tags found
No related merge requests found
Pipeline #106701 passed
......@@ -1063,13 +1063,13 @@ Module Qp.
Global Instance le_dec : RelDecision le.
Proof.
refine (λ p q, cast_if (decide (Qp_to_Qc p Qp_to_Qc q)%Qc));
by rewrite to_Qc_inj_le.
Qed.
abstract (by rewrite to_Qc_inj_le).
Defined.
Global Instance lt_dec : RelDecision lt.
Proof.
refine (λ p q, cast_if (decide (Qp_to_Qc p < Qp_to_Qc q)%Qc));
by rewrite to_Qc_inj_lt.
Qed.
abstract (by rewrite to_Qc_inj_lt).
Defined.
Global Instance lt_pi p q : ProofIrrel (lt p q).
Proof. destruct p, q; apply _. 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