Mathlib Map

Theorems · Theorem · order theory

compare_of_injective_eq_compareOfLessAndEq

∀ {α : Type u_2} {β : Type u_3} (a b : α) [inst : LinearOrder β] [inst_1 : DecidableEq α] (f : α → β)
  (inj : Function.Injective f) [inst_2 : Decidable (a < b)], compare (f a) (f b) = compareOfLessAndEq a b
Defined in
Mathlib.Order.Basic
Cited by
0 results in Mathlib
Foundations
Depth 14 from the axioms · uses propext
Assumes
LinearOrderDecidableEqDecidable

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites3

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by0

Results whose statement or proof uses this declaration.

Nothing cites this yet.