English
The order structure on an ordered language M is decidable: given the order relation, we can decide for any pair a,b in M whether a ≤ b.
Русский
Порядочная структура над упорядоченным языком M разрешима: для любых a,b в M можно решить, относится ли a к b по отношению ≤.
LaTeX
$$$ DecidableLE M $$$
Lean4
/-- The order structure on an ordered language is decidable. -/
-- This should not be a global instance,
-- because it will match with any `LE` typeclass search
@[local instance]
def decidableLEOfStructure [h : DecidableRel (fun (a b : M) => Structure.RelMap (leSymb : L.Relations 2) ![a, b])] :
letI := L.leOfStructure M
DecidableLE M :=
h