op2130_conditional_projection_lower_bound
After a fixed tape prefix, if a real-valued outcome depends only on a strictly ordered selection of later coins, then its full-tape conditional-mean quadratic variation is at least the selected-coin variation of the induced function.
Statement
theorem op2130_conditional_projection_lower_bound (T m t0 : ℕ) (hm : m ≤ T) (ht0 : t0 ≤ T) (idx : Fin m → Fin T) (hinc : StrictMono idx) (hafter : ∀ i, t0 ≤ (idx i).val) (f : (Fin T → Bool) → ℝ) (g : (Fin m → Bool) → ℝ) (r : Fin T → Bool) (hproj : ∀ s : Fin T → Bool, (∀ i : Fin T, i.val < t0 → s i = r i) → f s = g (fun i => s (idx i))) : let Q : ℕ → (Fin T → Bool) → ℝ := fun t a => (∑ b : Fin T → Bool, if ∀ i : Fin T, i.val < t → b i = a i then f b else 0) / (2 : ℝ) ^ (T-t); let R : ℕ → (Fin m → Bool) → ℝ := fun t a => (∑ b : Fin m → Bool, if ∀ i : Fin m, i.val < t → b i = a i then g b else 0) / (2 : ℝ) ^ (m-t); (∑ t ∈ Finset.range m, (R (t+1) (fun i => r (idx i)) - R t (fun i => r (idx i))) ^ 2) ≤ ∑ t ∈ Finset.range T, (Q (t+1) r - Q t r) ^ 2
- Source
- OP-2130, conditioning and ignoring dummy fair coins
- Verified
- 29 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 5
- op2130_projected_conditional_meansAfter a fixed prefix, the full fair-coin conditional means immediately before and after a selected coin agree with the corresponding…
- op2130_selected_variation_leThe sum of squared increments along an injectively selected set of coin positions is at most the sum across the full tape.
- op2130_variation_projection_reductionIf the full-tape conditional means before and after each distinct selected coin agree with the corresponding reduced-tape means, then the…
- LinearOrder.toTotalPreorderEvery
LinearOrderis aTotalPreorder. - TotalPreorderA total preorder: a preorder where
≤is total (complete). This is weaker thanLinearOrder— it does NOT require antisymmetry or…
The proof, explained
The proof establishes that the quadratic variation of the conditional expectations of f along a reference tape r is at least that of the projected function g along r ∘ idx. By op2130_projected_conditional_means, the conditional expectations of f at time steps idx(j) and idx(j)+1 match the conditional expectations of g at steps j and j+1. The inequality then follows directly from op2130_variation_projection_reduction, which bounds the sum of squared increments along an injective sub-selection of steps by the total sum of squared increments.
Let Q and R denote the full-tape and projected-tape conditional mean functions, respectively.
Introduce the local definitions Q and R specified in the theorem's let-bindings, where Q(t, a) is the conditional expectation of f given that the first t coins agree with a, and R(t, b) is the conditional expectation of g given that the first t projected coins agree with b.
intro Q RThe quadratic variation of the projected conditional means R along r ∘ idx is bounded above by the quadratic variation of the full conditional means Q along r.
Apply op2130_variation_projection_reduction to the sequences M(t) = Q(t, r) and R'(t) = R(t, r ∘ idx). The index map idx is injective because it is strictly monotonic (hinc). The condition that the values match at consecutive steps, Q(idx(j), r) = R(j, r ∘ idx) and Q(idx(j)+1, r) = R(j+1, r ∘ idx) for all j, is supplied for each j by op2130_projected_conditional_means.
uses
op2130_variation_projection_reduction,op2130_projected_conditional_meansexact op2130_variation_projection_reduction T m idx hinc.injective (fun t => Q t r) (fun t => R t (fun i => r (idx i))) (fun j => op2130_projected_conditional_means T m t0 ht0 idx hinc hafter f g r hproj j)
op2130_variation_projection_reduction- For any injective index map idx from {0, ..., m-1} to {0, ..., T-1} and any sequences M and R such that M(idx(j)) = R(j) and M(idx(j)+1) = R(j+1) for all j, the sum of squared step increments of R is at most the sum of squared step increments of M.
op2130_projected_conditional_means- When f depends only on the coordinates idx(i) ≥ t0 matching a prefix of r, the full conditional expectation Q evaluated at idx(j) and idx(j)+1 along r equals the projected conditional expectation R evaluated at j and j+1 along r ∘ idx.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
-- no helperstheorem op2130_conditional_projection_lower_bound (T m t0 : ℕ) (hm : m ≤ T) (ht0 : t0 ≤ T) (idx : Fin m → Fin T) (hinc : StrictMono idx) (hafter : ∀ i, t0 ≤ (idx i).val) (f : (Fin T → Bool) → ℝ) (g : (Fin m → Bool) → ℝ) (r : Fin T → Bool) (hproj : ∀ s : Fin T → Bool, (∀ i : Fin T, i.val < t0 → s i = r i) → f s = g (fun i => s (idx i))) : let Q : ℕ → (Fin T → Bool) → ℝ := fun t a => (∑ b : Fin T → Bool, if ∀ i : Fin T, i.val < t → b i = a i then f b else 0) / (2 : ℝ) ^ (T-t); let R : ℕ → (Fin m → Bool) → ℝ := fun t a => (∑ b : Fin m → Bool, if ∀ i : Fin m, i.val < t → b i = a i then g b else 0) / (2 : ℝ) ^ (m-t); (∑ t ∈ Finset.range m, (R (t+1) (fun i => r (idx i)) - R t (fun i => r (idx i))) ^ 2) ≤ ∑ t ∈ Finset.range T, (Q (t+1) r - Q t r) ^ 2 := by intro Q R exact op2130_variation_projection_reduction T m idx hinc.injective (fun t => Q t r) (fun t => R t (fun i => r (idx i))) (fun j => op2130_projected_conditional_means T m t0 ht0 idx hinc hafter f g r hproj j)