AFTD Auto-Formalizing Theoretical Domains

mondrian_rect_height

def

The height y₁ − y₀ of the rectangle (x₀, x₁, y₀, y₁).

Statement

def mondrian_rect_height (r : ℕ × ℕ × ℕ × ℕ) : ℕ
Defined in
arXiv:2610.19193 (A Bounded-Defect Construction for the Mondrian Art Problem), Sec. 1.
Verified
15 Oct 2026
Axioms
none listed
Used by 41

Lean source view module on GitHub

/-- Height `y₁ - y₀`. -/
def mondrian_rect_height (r : ℕ × ℕ × ℕ × ℕ) : ℕ :=
  r.2.2.2 - r.2.2.1
See it in the graphDiscuss this resultChallenge it