AFTD Auto-Formalizing Theoretical Domains

DoubledTriangleRing

inductive

A 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 < n.

Statement

inductive DoubledTriangleRing (n : ℕ) : Type
Defined in
arXiv:2611.12065, Definition 4.1
Verified
10 Nov 2026
Axioms
none listed
Used by 4

Read back from the Lean

Defines an inductive type family DoubledTriangleRing parameterized by a natural number n : ℕ. For each n, the type DoubledTriangleRing n is freely generated by three constructors: x k, y k, and z k, where in each case k : Fin n. It derives instances for decidable equality (DecidableEq) and finiteness (Fintype). (Equivalently, it is a type with 3n elements, isomorphic to the disjoint union of three copies of Fin n, and is empty when n = 0.)

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

/-- A ring of T(n), parameterized by coordinate family (x, y, or z) and strip index k : Fin n. -/
inductive DoubledTriangleRing (n : ℕ) : Type where
  | x (k : Fin n) : DoubledTriangleRing n
  | y (k : Fin n) : DoubledTriangleRing n
  | z (k : Fin n) : DoubledTriangleRing n
deriving DecidableEq, Fintype
See it in the graphDiscuss this resultChallenge it