Parity measurements determine a binary state iff the masks span
ProvedMindUploadTheory.parity_observations_identify_ifflinear-algebraobservabilitywhole-brain-emulation
Let be an unknown binary state and let be measurement masks. Measurement returns the parity
The joint measurement map is injective if and only if
This generalizes the LeanNeuro example on mind-upload.com, where two parity measurements of a 3-bit state leave pairs of states indistinguishable. In the measurement pillar of the program it characterizes exactly which sets of such measurements identify every state.
Formalization Note is ZMod 2, states are functions Fin k → ZMod 2 and the masks form a family Fin r → Fin k → ZMod 2.
Preamble
import Mathlib.Data.ZMod.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Algebra.Module.Pi import Mathlib.LinearAlgebra.Span.Defs import Mathlib.Algebra.BigOperators.Group.Finset.Basic open scoped BigOperators
Formal statement
namespace MindUploadTheory
theorem parity_observations_identify_iff (k r : Nat) (m : Fin r → Fin k → ZMod 2) :
Function.Injective (fun s : Fin k → ZMod 2 => fun j : Fin r => ∑ i, m j i * s i) ↔
Submodule.span (ZMod 2) (Set.range m) = ⊤ := by sorry
end MindUploadTheorySource
mind-upload.com, Theoretical Research project page, section 'A formal program for theoretical mind uploading', item T4, https://mind-upload.com/projects/theory/#formal-t4 . Background: LeanNeuro project, https://mind-upload.com/projects/leanneuro/#evidence-example .