AFTD Auto-Formalizing Theoretical Domains

sign_chamber_vector

def

For any natural number n, sign_chamber_vector n is the vector in Fin n → ℝ whose coordinate at i : Fin n is (rec_seq_u n - rec_seq_u (n - (i.val + 1)) : ℝ).

Statement

noncomputable def sign_chamber_vector (n : ℕ) : Fin n → ℝ
Defined in
arXiv:2611.17360 line 120
Verified
16 Nov 2026
Axioms
none listed
Built on 1
  • rec_seq_uThe sequence rec_seq_u : ℕ → ℤ is defined recursively by rec_seq_u 0 = 0, rec_seq_u 1 = 1, and…

Read back from the Lean

sign_chamber_vector is a definition that assigns to each natural number n a function from Fin n to ℝ (a vector of dimension n), mapping each index i : Fin n to (rec_seq_u n - rec_seq_u (n - (i.val + 1)) : ℝ).

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

/-- The canonical vector in Fin n → ℝ with i-th coordinate equal to u(n) - u(n - (i + 1)). -/
noncomputable def sign_chamber_vector (n : ℕ) : Fin n → ℝ := fun i => (rec_seq_u n - rec_seq_u (n - (i.val + 1)) : ℝ)
See it in the graphDiscuss this resultChallenge it