Skip to content

Commit

Permalink
Lemma invf_ltp
Browse files Browse the repository at this point in the history
  • Loading branch information
hoheinzollern committed Jul 24, 2024
1 parent 85a2a3b commit b49b983
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions classical/mathcomp_extra.v
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ Proof.
by move=> x y ? ?; rewrite -[in LHS](@invrK _ y) ltf_pV2// posrE invr_gt0.
Qed.

Lemma invf_ltp (F : numFieldType) :
{in Num.pos &, forall x y : F, (x < y^-1)%R = (y < x^-1)%R}.
Proof.
by move=> x y ? ?; rewrite -[in RHS](@invrK _ y) ltf_pV2// posrE invr_gt0.
Qed.

Definition proj {I} {T : I -> Type} i (f : forall i, T i) := f i.

Section DFunWith.
Expand Down

0 comments on commit b49b983

Please sign in to comment.