@[instance_reducible]
Instances For
@[instance_reducible]
def
MindFormal.A695LogicPaper.GeneralSecurity.generalSecurityPaymentLocal3
(k : ℕ)
:
MeasurableSpace (Option (Fin (k + 1)))
Instances For
theorem
MindFormal.A695LogicPaper.GeneralSecurity.generalSecurityPaymentLocal4
(k : ℕ)
:
MeasurableSingletonClass (Option (Fin (k + 1)))
theorem
MindFormal.A695LogicPaper.GeneralSecurity.native_gross_security
{m n : ℕ}
(estimate : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q attempts : ℕ)
{Ω : Type u_1}
[mΩ : MeasurableSpace Ω]
(P : PrivatePaper.EnvelopeParameters (A595Paper.viewCount RandomInput.Symbol))
(σs : ℝ)
(hs : P.parameters.σ ≤ σs)
(E :
StateExperiment Ω (A595Paper.viewCount RandomInput.Symbol + 4) 2 Unit Unit
(PageFamily.Coord (A595Paper.viewCount RandomInput.Symbol + 4)))
(C :
PrivatePaper.ProgramCoefficients P σs E
(IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts) RandomInput.drawView
RandomInput.bitGlyph
(A595Paper.Command.write 1
((IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts).view 1))
RandomInput.table)
(hzero :
∀ᵐ (ω : Ω) ∂E.ground.μ, PrivatePaper.generalProgramReady P σs E
(IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts) RandomInput.drawView
RandomInput.bitGlyph
(A595Paper.Command.write 1
((IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts).view 1))
RandomInput.table 0 ω)
(hH : ↑(IntegerProgram.StrategyInput.deadline estimate Q (SecurityProgram.bitCount Q) attempts) ≤ E.horizon)
(hQ : 1 ≤ Q)
(hr : 0 < attempts)
(information : { info : MeasurableSpace Ω // info ≤ ↑E.ground.filtration 0 })
(opponent : Ω → Fin (n + 1))
(hopp : Measurable opponent)
(pay : Fin (m + 1) → Fin (n + 1) → ℝ)
(L U εpay : ℝ)
(hp : ∀ (i : Fin (m + 1)) (b : Fin (n + 1)), L ≤ pay i b ∧ pay i b ≤ U)
(hestimate : ∀ (i : Fin (m + 1)) (b : Fin (n + 1)), L ≤ ↑(estimate i b) ∧ ↑(estimate i b) ≤ U)
(hcal : ∀ (i : Fin (m + 1)) (b : Fin (n + 1)), |↑(estimate i b) - pay i b| ≤ εpay)
(hprivate :
∀ k < Q,
∀ (b : Fin (n + 1)),
E.ground.μ[({ω : Ω | plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs E ω = some k} ∩ {ω : Ω | opponent ω = b}).indicator
fun (x : Ω) => 1 | ↑information] =ᵐ[E.ground.μ]
fun (ω : Ω) =>
E.ground.μ[{ω : Ω | plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs E ω = some k}.indicator
fun (x : Ω) => 1 | ↑information]
ω * E.ground.μ[{ω : Ω | opponent ω = b}.indicator fun (x : Ω) => 1 | ↑information] ω)
:
(fun (x : Ω) =>
Security.value pay - 2 * εpay - (U - L) * (↑m / ↑Q + PrivateSecurity.executionPrice estimate Q attempts P σs + SecurityProgram.rejectionPrice Q attempts)) ≤ᵐ[E.ground.μ]
E.ground.μ[SecurityProgram.actionPayment (nativeAction estimate Q (SecurityProgram.bitCount Q) attempts E) opponent
pay L | ↑information]
The integer, grid and action are outputs of the full native program. The only residual opponent assumption is the printed conditional privacy identity. Every ordinary scan, completion and Draw exit is in executionPrice.