AFTD Auto-Formalizing Theoretical Domains

mondrian_rect_width

def

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

Statement

def mondrian_rect_width (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 50

Lean source view module on GitHub

/-- Width `x₁ - x₀`. -/
def mondrian_rect_width (r : ℕ × ℕ × ℕ × ℕ) : ℕ :=
  r.2.1 - r.1
See it in the graphDiscuss this resultChallenge it