AFTD Auto-Formalizing Theoretical Domains

doubled_triangle_two_sided_coloring

def

The two-sided face coloring B_n of T(n) coloring every front face black (true) and every back face white (false).

Statement

def doubled_triangle_two_sided_coloring (n : ℕ) : DoubledTriangleFace n → Bool
Defined in
arXiv:2611.12065, Definition 3.1
Verified
10 Nov 2026
Axioms
none listed
Built on 1
  • DoubledTriangleFaceA face of the doubled equilateral triangle triangulation T(n) of side n, which is either an up-triangle U(i,j) or a down-triangle D(i,j)…
Used by 2

Read back from the Lean

For a given natural number $n$, doubled_triangle_two_sided_coloring n is the function from DoubledTriangleFace n to Bool defined by pattern matching on a face $f$: - if $f$ is DoubledTriangleFace.up front i j h, it returns front; - if $f$ is DoubledTriangleFace.down front i j h, it returns front.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The two-sided coloring B_n of T(n). -/
def doubled_triangle_two_sided_coloring (n : ℕ) : DoubledTriangleFace n → Bool := fun f => match f with
  | .up front _ _ _ => front
  | .down front _ _ _ => front
See it in the graphDiscuss this resultChallenge it