AFTD Auto-Formalizing Theoretical Domains

DoubledTriangleFace

inductive

A 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) on the front or back copy.

Statement

inductive DoubledTriangleFace (n : ℕ) : Type
Defined in
arXiv:2611.12065, Section 2.3
Verified
10 Nov 2026
Axioms
none listed
Used by 12

Read back from the Lean

DoubledTriangleFace n is an inductive type parameterized by a natural number n, equipped with derived DecidableEq and Fintype instances. It has two constructors: 1. DoubledTriangleFace.up, which takes a boolean front, two indices i, j : Fin n, and a hypothesis h : (i : ℕ) + (j : ℕ) < n. 2. DoubledTriangleFace.down, which takes a boolean front, two indices i, j : Fin n, and a hypothesis h : (i : ℕ) + (j : ℕ) + 1 < n.

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

/-- Faces of the doubled equilateral triangle triangulation T(n). -/
inductive DoubledTriangleFace (n : ℕ) : Type where
  | up (front : Bool) (i j : Fin n) (h : (i : ℕ) + j < n) : DoubledTriangleFace n
  | down (front : Bool) (i j : Fin n) (h : (i : ℕ) + j + 1 < n) : DoubledTriangleFace n
deriving DecidableEq, Fintype
See it in the graphDiscuss this resultChallenge it