AFTD Auto-Formalizing Theoretical Domains

alpha_terminal_fixed_base_block_extension_counterexample

theoremverified

At degree parameter 24, the specified lexical sequence has a lexical two-cell prefix, a nonlexical even split at index 2, and no later lexical even operation. It begins with the odd and even extensions of the three-cell base (2,1,1), but its remaining tail is neither that base nor a sequence beginning with either extension.

Statement

theorem alpha_terminal_fixed_base_block_extension_counterexample :
  let a : List ℕ := [2,1,2,2,1,1,1,1,1,2,1,2,2,1,1,1,1]
  let f : List ℕ := [2,1,1]
  let u : List ℕ := [2,1,2]
  let v : List ℕ := [2,1,1,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)
  alpha_is_lexical a ∧ a.sum + 1 = 24 ∧ alpha_is_lexical (a.take 2) ∧
  ¬ alpha_is_lexical (op 2) ∧
  (∀ j : Fin 17, 2 < j.val → j.val % 2 = 0 → ¬ alpha_is_lexical (op j.val)) ∧
  a.take 7 = u ++ v ∧ a.drop 7 ≠ f ∧
  (a.drop 7).take 3 ≠ u ∧ (a.drop 7).take 4 ≠ v
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 provides an explicit counterexample: a concrete 17-element sequence $a$ of natural numbers with degree parameter 24. It satisfies nine conditions showing that $a$ is lexical, begins with the concatenation of the odd and even extensions of the base $f = [2, 1, 1]$, admits no lexical even operation at or after index 2, and its tail does not follow the base or its extensions. Because all parameters are explicit and the predicates are decidable on finite lists, the proof is completed entirely by computational reflection (`decide`).

  1. The concrete 17-element sequence $a$ satisfies all nine properties stated in the conjunction. automation

    The goal is a conjunction of concrete claims about explicit lists of natural numbers ($a$, $f$, $u$, $v$) and operations on them: that $a$ is lexical, its sum plus one is 24, its prefix of length 2 is lexical, the operation $\text{op}$ produces non-lexical sequences at index 2 and at every even index $j \in \{4, 6, \dots, 16\}$ in $\text{Fin } 17$, the 7-element prefix equals $u ++ v$, and the remaining 10-element tail is distinct from $f$ and does not begin with $u$ or $v$. Because all predicates (list equality, sum, bounded quantification over $\text{Fin } 17$, and the $\text{alpha\_is\_lexical}$ relation on finite lists) are decidable, the tactic `decide` verifies every condition by direct kernel computation.

    line 16

      (a.drop 7).take 3 ≠ u ∧ (a.drop 7).take 4 ≠ v := 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_fixed_base_block_extension_counterexample :  let a : List ℕ := [2,1,2,2,1,1,1,1,1,2,1,2,2,1,1,1,1]  let f : List ℕ := [2,1,1]  let u : List ℕ := [2,1,2]  let v : List ℕ := [2,1,1,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)  alpha_is_lexical a ∧ a.sum + 1 = 24 ∧ alpha_is_lexical (a.take 2) ∧  ¬ alpha_is_lexical (op 2) ∧  (∀ j : Fin 17, 2 < j.val → j.val % 2 = 0 → ¬ alpha_is_lexical (op j.val)) ∧  a.take 7 = u ++ v ∧ a.drop 7 ≠ f ∧  (a.drop 7).take 3 ≠ u ∧ (a.drop 7).take 4 ≠ v := by decide
See it in the graphDiscuss this resultChallenge it