AFTD Auto-Formalizing Theoretical Domains

doubled_triangle_ring_is_monochromatic

def

Given a face coloring C : DoubledTriangleFace n → Bool and a ring R : DoubledTriangleRing n, doubled_triangle_ring_is_monochromatic C R asserts that all faces in doubled_triangle_ring_faces R have color true (black) or all faces have color false (white).

Statement

def doubled_triangle_ring_is_monochromatic {n : ℕ} (C : DoubledTriangleFace n → Bool)
    (R : DoubledTriangleRing n) : Prop
Defined in
arXiv:2611.12065, Lemma 4.3
Verified
10 Nov 2026
Axioms
none listed
Built on 3
  • doubled_triangle_ring_facesGiven a ring R of type DoubledTriangleRing n, doubled_triangle_ring_faces R returns the finite set of faces f : DoubledTriangleFace n…
  • DoubledTriangleRingA ring of the doubled equilateral triangle triangulation T(n), which is either an x-ring X_k, a y-ring Y_k, or a z-ring Z_k for an index k…
  • 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 1

Read back from the Lean

Given a natural number n, a 2-coloring C : DoubledTriangleFace n → Bool of the faces of a doubled triangle of parameter n, and a ring R : DoubledTriangleRing n, doubled_triangle_ring_is_monochromatic C R asserts that either: 1. For every face f in doubled_triangle_ring_faces R, C f = true; or 2. For every face f in doubled_triangle_ring_faces R, C f = false.

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

/-- Predicate that a ring R has all its faces assigned the same color under C. -/
def doubled_triangle_ring_is_monochromatic {n : ℕ} (C : DoubledTriangleFace n → Bool)
    (R : DoubledTriangleRing n) : Prop := (∀ f ∈ doubled_triangle_ring_faces R, C f = true) ∨
   (∀ f ∈ doubled_triangle_ring_faces R, C f = false)
See it in the graphDiscuss this resultChallenge it