Skip to content

Commit

Permalink
define order on algR via copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Tragicus committed Aug 6, 2024
1 parent 9f4ffa3 commit 610187e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/xmathcomp/algR.v
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ HB.instance Definition _ := [isSub for algRval].
HB.instance Definition _ := [Countable of algR by <:].
HB.instance Definition _ := [SubChoice_isSubIntegralDomain of algR by <:].
HB.instance Definition _ := [SubIntegralDomain_isSubField of algR by <:].
HB.instance Definition _ : Order.isPOrder ring_display algR :=
Order.CancelPartial.Pcan _ valK.
HB.instance Definition _ : Order.POrder.axioms_ ring_display algR :=
Order.POrder.copy algR (pcan_type valK).
Lemma total_algR : total (<=%O : rel (algR : porderType _)).
Proof. by move=> x y; apply/real_leVge/valP/valP. Qed.
HB.instance Definition _ := Order.POrder_isTotal.Build _ algR total_algR.
Expand Down

0 comments on commit 610187e

Please sign in to comment.