AFTD Auto-Formalizing Theoretical Domains

BoxPattern

abbrev

A coloured rectangle pattern in an $a\times b$ grid: a pair of rows $x_1<x_2$, a pair of columns $y_1<y_2$, and a colour, encoded as the tuple $(x_1,x_2,y_1,y_2,\text{col})$.

Statement

abbrev BoxPattern (a b : ℕ) : Type
Source
step towards grid_box_free_max_five_seven
Verified
18 Nov 2026
Axioms
none listed
Used by 14

Lean source view module on GitHub

/-- Coloured $2\times 2$ rectangle pattern of an $a\times b$ grid: rows $(x_1,x_2)$, columns $(y_1,y_2)$, colour. -/
abbrev BoxPattern (a b : ℕ) : Type := Fin a × Fin a × Fin b × Fin b × Bool
See it in the graphDiscuss this resultChallenge it