AFTD Auto-Formalizing Theoretical Domains

mondrian_rect_mul

def

Multiply all four rectangle coordinates by a.

Statement

def mondrian_rect_mul (a : ℕ) (r : ℕ × ℕ × ℕ × ℕ) : ℕ × ℕ × ℕ × ℕ
Source
Helper for OP-280 and mondrian_perfect_partition_large_prime_iff. Related work: arXiv:2610.19193, Section 1 (perfect partitions and scaling); arXiv:2007.09639, Theorem 4.1 (available shapes and prime-power exclusions).
Verified
25 Oct 2026
Axioms
none listed
Used by 6

Lean source view module on GitHub

def mondrian_rect_mul (a : ℕ) (r : ℕ × ℕ × ℕ × ℕ) : ℕ × ℕ × ℕ × ℕ :=
  (a * r.1, a * r.2.1, a * r.2.2.1, a * r.2.2.2)
See it in the graphDiscuss this resultChallenge it