MindFormal v1.0.0One Mind

MindFormal.Example.CashDirect.Price

noncomputable def MindFormal.CashDirect.decode (word : Fin 3 → Content ⊕ Unit) :

The external instrument reads just two actual binary acts, in descending amount order. Any missing, nonbinary or unbracketed word is failure.

Equations
Instances For
    noncomputable def MindFormal.CashDirect.priceResult (word : Fin 3 → Content ⊕ Unit) :

    The measurable result uses the standard disjoint-union failure marker.

    Equations
    Instances For
      theorem MindFormal.CashDirect.decode_sound (word : Fin 3 → Content ⊕ Unit) {p : ℝ} (hp : decode word = some p) :
      word 0 = Sum.inl (command 1) ∧ word 1 = Sum.inl (command 0) ∧ p = 1 / 8 ∧ p ∈ Set.Icc (queryAmount 0) (queryAmount 1)
      theorem MindFormal.CashDirect.price_error :
      amountRead (queryAmount 0) < prospectRead - 2 * (1 / 100000) / scale ∧ prospectRead + 2 * (1 / 100000) / scale < amountRead (queryAmount 1) ∧ |1 / 8 - root| ≤ 2 * (1 / 100000) / scale / (1 / 4) + 1 / 100 ∧ 2 * (1 / 100000) / scale / (1 / 4) + 1 / 100 < root - meanAmount ∧ meanAmount < 1 / 8
      noncomputable def MindFormal.CashDirect.word {Ω : Type u_1} [MeasurableSpace Ω] (G : EquationGround Ω Coord) (hG : CompletedEquationGround G) (changed : Bool) (ω : Ω) :
      Equations
      Instances For
        theorem MindFormal.CashDirect.price_measurable {Ω : Type u_1} [MeasurableSpace Ω] (G : EquationGround Ω Coord) (hG : CompletedEquationGround G) (changed : Bool) :
        Measurable fun (ω : Ω) => priceResult (word G hG changed ω)
        theorem MindFormal.CashDirect.interval_measurable {Ω : Type u_1} [MeasurableSpace Ω] (G : EquationGround Ω Coord) (hG : CompletedEquationGround G) (changed : Bool) :
        Measurable fun (ω : Ω) => intervalResult (word G hG changed ω)
        theorem MindFormal.CashDirect.native_labels {Ω : Type u_1} [MeasurableSpace Ω] (G : EquationGround Ω Coord) (hG : CompletedEquationGround G) (changed : Bool) (ω : Ω) (hω : GoodRun G hG changed ω) (j : Fin 3) :
        word G hG changed ω j = Sum.inl (command (winnerAt changed j))
        theorem MindFormal.CashDirect.native_price {Ω : Type u_1} [MeasurableSpace Ω] (G : EquationGround Ω Coord) (hG : CompletedEquationGround G) (changed : Bool) (ω : Ω) (hω : GoodRun G hG changed ω) :
        decode (word G hG changed ω) = some (1 / 8) ∧ decodeInterval (word G hG changed ω) = some (queryAmount 0, queryAmount 1) ∧ |1 / 8 - root| ≤ 2 * (1 / 100000) / scale / (1 / 4) + 1 / 100 ∧ meanAmount < 1 / 8