gap cylinder decomposition
ProvedFreiman.gap_cylinder_decompositionfreimangaphall-ray
The physical word match identifies the exact outward prefixes and both residual cfValue tails, including all shifts and reversals.
Preamble
import Definitions.Def_Freiman_gapModel
Formal statement
namespace Freiman theorem gap_cylinder_decomposition (a : ℤ → ℕ+) (i : ℤ) (s : GapState) (j : ℕ) (hm : gapMatch a i s) (hj : j < s.word.length) : localValue a (i+(j : ℤ)-(s.centre : ℤ)) = ((s.word[j]! : ℕ) : ℝ) + prefixEval ((s.word.take j).reverse) (cfValue (fun n : ℕ => a (i-(s.centre : ℤ)-(n : ℤ)-1))) + prefixEval (s.word.drop (j+1)) (cfValue (fun n : ℕ => a (i+(s.word.length : ℤ)-(s.centre : ℤ)+(n : ℤ)))) := by sorry end Freiman
Source
Freiman Hall ray report, m3.tex; eq:m3:cylinder