MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch16.A695LogicPaper.DrawComposition

theorem MindFormal.A695LogicPaper.PrivatePaper.complete_private_program_bill {Γ : Type u_1} {Ω : Type u_2} {Y : Type u_3} {I : Type u_4} [Fintype Γ] [MeasurableSpace Ω] [MeasurableSpace Y] [Fintype I] (P : EnvelopeParameters (A595Paper.viewCount Γ)) (σs : ℝ) (hs : P.parameters.σ ≤ σs) (ground : EquationGround Ω (PageFamily.Coord (A595Paper.viewCount Γ + 4))) (complete : CompletedEquationGround ground) (H : NNReal) (v : Fin (A595Paper.viewCount Γ + 4) → PageFamily.Values) (initial : A595Paper.Tape Γ) (draw : A595Paper.View Γ) (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ) (count ordinary draws : ℕ) (hH : ↑count ≤ H) (hordinary : ∀ (u : ℕ → Bool), {k ∈ Finset.range count | (idealTape initial draw bit start table u k).view ≠ draw}.card ≤ ordinary) (hdraws : ∀ (u : ℕ → Bool), {k ∈ Finset.range count | (idealTape initial draw bit start table u k).view = draw}.card ≤ draws) (permittedInfo actualInfo : Ω → Y) (hprivate : Measurable permittedInfo) (initBad : Set Ω) (pinit : ℝ) (paperBad : I → Set Ω) (price : Option I → ℝ) {B : Set Ω} (hB : MeasurableSet B) (hinit : ground.μ.real (B ∩ initBad) ≤ pinit * ground.μ.real B) (hpaper : ∀ (j : Option I), ground.μ.real (B ∩ match j with | none => {ω : Ω | actualInfo ω ≠ permittedInfo ω} | some i => paperBad i) ≤ price j * ground.μ.real B) :
have faults := fun (j : Option I) => match j with | none => {ω : Ω | actualInfo ω ≠ permittedInfo ω} | some i => paperBad i; have failure := {ω : Ω | (∃ k ≤ count, ¬programReady P σs hs ground complete H v initial draw bit start table k ω) ∨ ∃ k < count, ¬programStepRecord P σs hs ground complete H v initial draw bit start table k ω} ∪ initBad ∪ ⋃ (j : Option I), faults j; ground.μ.real (B ∩ failure) ≤ min 1 (pinit + ↑ordinary * ordinaryPrice (A595Paper.viewCount Γ) P.K P.parameters.σ + ↑draws * couplingPrice (A595Paper.viewCount Γ) P σs + ∑ j : Option I, price j) * ground.μ.real B ∧ (∀ (word : ℕ → Bool), ground.μ.real (B ∩ bitWordEvent (idealBit P σs (drawExperiment P σs hs ground complete H v initial draw bit start table)) word count) = (1 / 2) ^ count * ground.μ.real B) ∧ ∀ ω ∉ failure, actualInfo ω = permittedInfo ω ∧ (∀ k ≤ count, programReady P σs hs ground complete H v initial draw bit start table k ω) ∧ ∀ k < count, programStepRecord P σs hs ground complete H v initial draw bit start table k ω

CRS.4 on the native prepared family. The opponent's permitted information is a read of the pre-battery past (or of an already irrevocable commitment). actualInfo additionally allows an observed paper/timing leak: its disagreement with that permitted read is the none fault and is charged, not ignored. The other supplied prices are exactly initialization and physical mark calibrations. Native acts, writes and full exits are constructed above.

In One Mind, clause 5 of result 16.15: A mind can make its own random choice and go on computing · all its clauses in Lean
theorem MindFormal.A695LogicPaper.result_19_59_5_L696 :
(∀ {Γ : Type u_1} {Ω : Type u_2} {Y : Type u_3} {I : Type u_4} [inst : Fintype Γ] [inst_1 : MeasurableSpace Ω] [inst_2 : MeasurableSpace Y] [inst_3 : Fintype I] (P : PrivatePaper.EnvelopeParameters (A595Paper.viewCount Γ)) (σs : ℝ), P.parameters.σ ≤ σs → ∀ (E : StateExperiment Ω (A595Paper.viewCount Γ + 4) 2 Unit Unit (PageFamily.Coord (A595Paper.viewCount Γ + 4))) (initial : A595Paper.Tape Γ) (draw : A595Paper.View Γ) (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ), PrivatePaper.ProgramCoefficients P σs E initial draw bit start table → (∀ᵐ (ω : Ω) ∂E.ground.μ, PrivatePaper.generalProgramReady P σs E initial draw bit start table 0 ω) → ∀ (count ordinary draws : ℕ), ↑count ≤ E.horizon → (∀ (u : ℕ → Bool), {k ∈ Finset.range count | (PrivatePaper.idealTape initial draw bit start table u k).view ≠ draw}.card ≤ ordinary) → (∀ (u : ℕ → Bool), {k ∈ Finset.range count | (PrivatePaper.idealTape initial draw bit start table u k).view = draw}.card ≤ draws) → ∀ (permittedInfo actualInfo : Ω → Y), Measurable permittedInfo → ∀ (initBad : Set Ω) (pinit : ℝ) (paperBad : I → Set Ω) (price : Option I → ℝ) {B : Set Ω}, MeasurableSet B → E.ground.μ.real (B ∩ initBad) ≤ pinit * E.ground.μ.real B → (∀ (j : Option I), E.ground.μ.real (B ∩ match j with | none => {ω : Ω | actualInfo ω ≠ permittedInfo ω} | some i => paperBad i) ≤ price j * E.ground.μ.real B) → have faults := fun (j : Option I) => match j with | none => {ω : Ω | actualInfo ω ≠ permittedInfo ω} | some i => paperBad i; have failure := {ω : Ω | (∃ k ≤ count, ¬PrivatePaper.generalProgramReady P σs E initial draw bit start table k ω) ∨ ∃ k < count, ¬PrivatePaper.generalProgramStepRecord P σs E initial draw bit start table k ω} ∪ initBad ∪ ⋃ (j : Option I), faults j; E.ground.μ.real (B ∩ failure) ≤ min 1 (pinit + ↑ordinary * PrivatePaper.ordinaryPrice (A595Paper.viewCount Γ) P.K P.parameters.σ + ↑draws * PrivatePaper.couplingPrice (A595Paper.viewCount Γ) P σs + ∑ j : Option I, price j) * E.ground.μ.real B ∧ (∀ (word : ℕ → Bool), E.ground.μ.real (B ∩ PrivatePaper.bitWordEvent (PrivatePaper.idealBit P σs E) word count) = (1 / 2) ^ count * E.ground.μ.real B) ∧ ∀ ω ∉ failure, actualInfo ω = permittedInfo ω ∧ (∀ k ≤ count, PrivatePaper.generalProgramReady P σs E initial draw bit start table k ω) ∧ ∀ k < count, PrivatePaper.generalProgramStepRecord P σs E initial draw bit start table k ω) ∧ ∀ {Γ : Type u_5} {Ω : Type u_6} {Y : Type u_7} {I : Type u_8} [inst : Fintype Γ] [inst_1 : MeasurableSpace Ω] [inst_2 : MeasurableSpace Y] [inst_3 : Fintype I] (P : PrivatePaper.EnvelopeParameters (A595Paper.viewCount Γ)) (σs : ℝ) (hs : P.parameters.σ ≤ σs) (ground : EquationGround Ω (PageFamily.Coord (A595Paper.viewCount Γ + 4))) (complete : CompletedEquationGround ground) (H : NNReal) (v : Fin (A595Paper.viewCount Γ + 4) → PageFamily.Values) (initial : A595Paper.Tape Γ) (draw : A595Paper.View Γ) (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ) (count ordinary draws : ℕ), ↑count ≤ H → (∀ (u : ℕ → Bool), {k ∈ Finset.range count | (PrivatePaper.idealTape initial draw bit start table u k).view ≠ draw}.card ≤ ordinary) → (∀ (u : ℕ → Bool), {k ∈ Finset.range count | (PrivatePaper.idealTape initial draw bit start table u k).view = draw}.card ≤ draws) → ∀ (permittedInfo actualInfo : Ω → Y), Measurable permittedInfo → ∀ (initBad : Set Ω) (pinit : ℝ) (paperBad : I → Set Ω) (price : Option I → ℝ) {B : Set Ω}, MeasurableSet B → ground.μ.real (B ∩ initBad) ≤ pinit * ground.μ.real B → (∀ (j : Option I), ground.μ.real (B ∩ match j with | none => {ω : Ω | actualInfo ω ≠ permittedInfo ω} | some i => paperBad i) ≤ price j * ground.μ.real B) → have faults := fun (j : Option I) => match j with | none => {ω : Ω | actualInfo ω ≠ permittedInfo ω} | some i => paperBad i; have failure := {ω : Ω | (∃ k ≤ count, ¬PrivatePaper.programReady P σs hs ground complete H v initial draw bit start table k ω) ∨ ∃ k < count, ¬PrivatePaper.programStepRecord P σs hs ground complete H v initial draw bit start table k ω} ∪ initBad ∪ ⋃ (j : Option I), faults j; ground.μ.real (B ∩ failure) ≤ min 1 (pinit + ↑ordinary * PrivatePaper.ordinaryPrice (A595Paper.viewCount Γ) P.K P.parameters.σ + ↑draws * PrivatePaper.couplingPrice (A595Paper.viewCount Γ) P σs + ∑ j : Option I, price j) * ground.μ.real B ∧ (∀ (word : ℕ → Bool), ground.μ.real (B ∩ PrivatePaper.bitWordEvent (PrivatePaper.idealBit P σs (PrivatePaper.drawExperiment P σs hs ground complete H v initial draw bit start table)) word count) = (1 / 2) ^ count * ground.μ.real B) ∧ ∀ ω ∉ failure, actualInfo ω = permittedInfo ω ∧ (∀ k ≤ count, PrivatePaper.programReady P σs hs ground complete H v initial draw bit start table k ω) ∧ ∀ k < count, PrivatePaper.programStepRecord P σs hs ground complete H v initial draw bit start table k ω

19.59.5. Repeated actual Draws and intervening computation compose on every native experiment with the raw implementation and initial preparation certificates, as well as the constructed prepared family. Conditional on permitted opponent information, the conclusion gives with initialization, ordinary, Draw, paper and timing/privacy fault prices. The full ideal word law is derived from original private innovations.