AFTD Auto-Formalizing Theoretical Domains

alpha_terminal_immediate_or_harmonic_descent_counterexample

theoremverified

At degree parameter 21, the specified lexical sequence has a lexical two-cell prefix, a nonlexical even split at index 2, and no later lexical even operation. At every even index at least 2, its associated root does not give a lexical harmonic form, and the index does not give a qualifying immediate blocked split.

Statement

theorem alpha_terminal_immediate_or_harmonic_descent_counterexample :
  let a : List ℕ := [2,1,2,1,1,2,1,2,2,2,1,2,1]
  let op := fun (j : ℕ) =>
    if 1 < a.getD j 0 then a.take j ++ [a.getD j 0 - 1, 1] ++ a.drop (j+1)
    else a.take (j-1) ++ [a.getD (j-1) 0 + 1] ++ a.drop (j+1)
  let root := fun (j : ℕ) =>
    if 1 < a.getD j 0 then a.take j ++ [a.getD j 0 - 1] else a.take j
  alpha_is_lexical a ∧ a.sum + 1 = 21 ∧ alpha_is_lexical (a.take 2) ∧
  ¬ alpha_is_lexical (op 2) ∧
  (∀ j : Fin 13, 2 < j.val → j.val % 2 = 0 → ¬ alpha_is_lexical (op j.val)) ∧
  (∀ j : Fin 13, 2 ≤ j.val → j.val % 2 = 0 →
    ¬ (alpha_is_lexical (root j.val) ∧ a = a.take (j.val+1) ++ root j.val) ∧
    ¬ (1 < a.getD j.val 0 ∧ alpha_is_lexical (a.take j.val) ∧
      j.val+2 < (op j.val).length ∧ ¬ alpha_lexical_lt ((op j.val).drop (j.val+2)) (op j.val)))
Source
Finite obstruction to a proposed proof route for OP-392, arXiv:2610.24758; order and operations as in arXiv:0810.5205.
Verified
18 Nov 2026
Axioms
Quot.soundpropext
Built on 3

The proof, explained

The theorem establishes an explicit counterexample demonstrating that a lexical sequence of degree parameter 21 can have a lexical two-cell prefix while having no lexical even operations, no valid harmonic descent, and no immediate blocked split. The sequence is given concretely as the 13-element list a = [2, 1, 2, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1]. Because every clause in the theorem statement is a quantifier over a finite type (Fin 13) or a predicate on concrete lists of natural numbers, the assertion is decidable. The `decide` tactic proves the theorem by directly executing the exhaustive computation in Lean.

  1. The explicit list a = [2, 1, 2, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1] satisfies all six conjuncts: it is lexical with sum 20, its two-element prefix is lexical, the even operation at index 2 is non-lexical, no even operation at indices j > 2 is lexical, and for every even index j ≥ 2, neither the harmonic root decomposition nor the immediate blocked split condition holds. automation

    The theorem is expressed as a conjunction of boolean-decidable conditions over concrete lists and finite quantifiers over j ∈ {0, …, 12}. The tactic `decide` computes the truth value of the entire expression by pure evaluation: calculating list sums, prefixes, suffixes, signed cell values, and lexicographical comparisons for each relevant even index (j ∈ {2, 4, 6, 8, 10, 12}), confirming that every condition is satisfied.

    line 17

          j.val+2 < (op j.val).length ∧ ¬ alpha_lexical_lt ((op j.val).drop (j.val+2)) (op j.val))) := by decide

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

set_option maxHeartbeats 2000000set_option maxRecDepth 4096theorem alpha_terminal_immediate_or_harmonic_descent_counterexample :  let a : List ℕ := [2,1,2,1,1,2,1,2,2,2,1,2,1]  let op := fun (j : ℕ) =>    if 1 < a.getD j 0 then a.take j ++ [a.getD j 0 - 1, 1] ++ a.drop (j+1)    else a.take (j-1) ++ [a.getD (j-1) 0 + 1] ++ a.drop (j+1)  let root := fun (j : ℕ) =>    if 1 < a.getD j 0 then a.take j ++ [a.getD j 0 - 1] else a.take j  alpha_is_lexical a ∧ a.sum + 1 = 21 ∧ alpha_is_lexical (a.take 2) ∧  ¬ alpha_is_lexical (op 2) ∧  (∀ j : Fin 13, 2 < j.val → j.val % 2 = 0 → ¬ alpha_is_lexical (op j.val)) ∧  (∀ j : Fin 13, 2 ≤ j.val → j.val % 2 = 0 →    ¬ (alpha_is_lexical (root j.val) ∧ a = a.take (j.val+1) ++ root j.val) ∧    ¬ (1 < a.getD j.val 0 ∧ alpha_is_lexical (a.take j.val) ∧      j.val+2 < (op j.val).length ∧ ¬ alpha_lexical_lt ((op j.val).drop (j.val+2)) (op j.val))) := by decide
See it in the graphDiscuss this resultChallenge it