English
GT on Nat.Upto lifts the usual greater-than relation from underlying naturals to the Upto type.
Русский
GT на Nat.Upto переносит обычное отношение большего на базовых натуральных числах в тип Nat.Upto.
LaTeX
$$$$ \\text{Nat.Upto.GT}(p)(x,y) \\;\\equiv\\; x.1 > y.1. $$$$
Lean4
/-- Lift the "greater than" relation on natural numbers to `Nat.Upto`. -/
protected def GT (p) (x y : Upto p) : Prop :=
x.1 > y.1