Majority vote recovers a reading with a bounded number of errors
ProvedMindUploadTheory.majority_of_repeated_readingscombinatoricsnoisewhole-brain-emulation
A binary quantity with true value is read times, giving readings . If at most readings differ from , then the majority vote is correct:
In the noisy-measurement pillar of the mind-upload.com program this states that repeating a measurement recovers the true value whenever fewer than half of the repetitions are corrupted.
Formalization Note Readings are Fin (2 * t + 1) → Bool and the vote is decide (t < #{k | r k = true}).
Preamble
import Mathlib.Data.Fintype.Card
Formal statement
namespace MindUploadTheory
theorem majority_of_repeated_readings (t : Nat) (b : Bool) (r : Fin (2 * t + 1) → Bool)
(h : (Finset.univ.filter (fun k => r k ≠ b)).card ≤ t) :
decide (t < (Finset.univ.filter (fun k => r k = true)).card) = b := by sorry
end MindUploadTheorySource
mind-upload.com, Theoretical Research project page, section 'A formal program for theoretical mind uploading' (second edition), item T16, https://mind-upload.com/projects/theory/#formal-t16 .