AFTD Auto-Formalizing Theoretical Domains

HasIncidenceIdentity

def

An abelian group Q has an incidence identity of degree t over R for sequences of length L(t) if every sequence of L(t) elements in Q admits weights c on its non-empty zero sets summing to 1 such that for every non-empty set of positions J of size at most t, the weights on zero sets containing J sum to 0.

Statement

def HasIncidenceIdentity (Q : Type*) [AddCommGroup Q] (L : ℕ → ℕ) (t : ℕ) (R : Type*) [CommRing R] : Prop
Defined in
arXiv:2611.20197, Definition 1.3
Verified
20 Nov 2026
Axioms
none listed

Read back from the Lean

Given an additive commutative group $Q$, a function $L : \mathbb{N} \to \mathbb{N}$, a parameter $t : \mathbb{N}$, and a commutative ring $R$, HasIncidenceIdentity Q L t R asserts that: For every function $u : \mathrm{Fin}(L(t)) \to Q$, there exists a weight function $c : \mathrm{Finset}(\mathrm{Fin}(L(t))) \to R$ such that all of the following hold: 1. For every subset $E \subseteq \mathrm{Fin}(L(t))$, if $c(E) \neq 0$, then $E$ is nonempty and $\sum_{j \in E} u(j) = 0$ in $Q$. 2. The total sum of $c(E)$ over all subsets $E \subseteq \mathrm{Fin}(L(t))$ is equal to $1$ in $R$. 3. For every subset $J \subseteq \mathrm{Fin}(L(t))$ whose cardinality satisfies $1 \le |J| \le t$, the sum of $c(E)$ over all subsets $E \subseteq \mathrm{Fin}(L(t))$ containing $J$ ($J \subseteq E$) is equal to $0$ in $R$.

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

/-- Every sequence of length L(t) over Q has an incidence identity of degree t over R. -/
def HasIncidenceIdentity (Q : Type*) [AddCommGroup Q] (L : ℕ → ℕ) (t : ℕ) (R : Type*) [CommRing R] : Prop := ∀ (u : Fin (L t) → Q), ∃ (c : Finset (Fin (L t)) → R),
    (∀ E, c E ≠ 0 → E.Nonempty ∧ ∑ j ∈ E, u j = 0) ∧
    (∑ E ∈ (Finset.univ : Finset (Fin (L t))).powerset, c E = 1) ∧
    ∀ J : Finset (Fin (L t)), 1 ≤ J.card ∧ J.card ≤ t →
      ∑ E ∈ (Finset.univ : Finset (Fin (L t))).powerset.filter (fun E => J ⊆ E), c E = 0
See it in the graphDiscuss this resultChallenge it