Recover an input triple from a paired retained read and two corrections
ProvedCxReadout.recovers_inputLet and let be a family of three-element subsets of containing a target triple . Write for the input at and for an arbitrary baseline. Define the retained totals and the readout . Then
This is the retained-read algebra in the Prove2Me round-six-to-round-eight transfer trial, using the producer and correction construction from Swapnil Jain’s round-eight materials.
Preamble
import Mathlib.Data.Complex.Basic import Mathlib.Data.Fintype.Card import Mathlib.Algebra.BigOperators.Group.Finset.Sigma import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Tactic.LinearCombination import Mathlib.Tactic.NormNum import Mathlib.Tactic.Ring open scoped BigOperators
Formal statement
theorem CxReadout.recovers_input {h : ℕ}
(hh : 3 < h) (s : Finset (Fin h)) (hs : s.card = 3)
(ts : Finset (Finset (Fin h))) (triples : ∀ t ∈ ts, t.card = 3) (mem : s ∈ ts)
(x : Finset (Fin h) → ℂ) (dirty : Fin h → ℂ) :
let retained := fun i : Fin h => ∑ t ∈ ts, if i ∈ t then 0 else x t
let scatter := fun e : Fin h → ℂ =>
(1 / ((h - 3 : ℕ) : ℂ)) * (∑ i, e i) - (1 / 2) * ∑ i ∈ s, e i
let pieces := (1 / 2 : ℂ) * (∑ t ∈ ts, if (s ∩ t).card = 0 then x t else 0) -
(1 / 2 : ℂ) * (∑ t ∈ ts, if (s ∩ t).card = 2 then x t else 0)
(scatter (fun i => dirty i + retained i) - scatter dirty) + pieces = x s := by sorrySource
Retained-read construction from Swapnil Jain, integer-mult-kappa, commit 5868dc701a9bec375c9dc5391d992ab3b8c35f3f, README lines 43–69, https://github.com/Swapnil-jain/integer-mult-kappa/blob/5868dc701a9bec375c9dc5391d992ab3b8c35f3f/README.md#L43-L69. Lean proof from the Prove2Me round-six-to-round-eight transfer trial.