MindFormal v1.0.0One Mind

MindFormal.Example.A630EncounterLaws.OppositeCalculus

@[reducible, inline]
noncomputable abbrev MindFormal.A630EncounterLaws.Opposite.drift (k : Fin 3) (up high : Bool) :
Equations
Instances For
    noncomputable def MindFormal.A630EncounterLaws.Opposite.velocity (k : Fin 3) (up high : Bool) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MindFormal.A630EncounterLaws.Opposite.extended (k : Fin 3) (up high : Bool) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.A630EncounterLaws.Opposite.comparison_state (k : Fin 3) (up high : Bool) (t : ℝ) (ht : t ∈ Set.Icc 0 ↑horizon) :
        (ContinuousMap.IccExtend ⋯ (comparison k up high).path) t = (reference k up high).state t
        theorem MindFormal.A630EncounterLaws.Opposite.extended_eq_native (k : Fin 3) (up high : Bool) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑horizon) :
        extended k up high t = (reference k up high).state t
        noncomputable def MindFormal.A630EncounterLaws.Opposite.score (k : Fin 3) (up : Bool) (s : State) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.A630EncounterLaws.Opposite.score_derivative {s : ℝ → State} {v : State} {t : ℝ} (hs : HasDerivAt s v t) (k : Fin 3) (up : Bool) :
          HasDerivAt (fun (t : ℝ) => score k up (s t)) (score k up v) t
          theorem MindFormal.A630EncounterLaws.Opposite.scorePath_initial (k : Fin 3) (up high : Bool) :
          scorePath k up high 0 = if up = true then 3 / 10 else 1 / 5
          theorem MindFormal.A630EncounterLaws.Opposite.reward (k : Fin 3) (up high : Bool) (b : Fin 2) :
          (drift k up high).reward input b = ![1, 1 / 2] b
          theorem MindFormal.A630EncounterLaws.Opposite.velocity_activity (k : Fin 3) (up high : Bool) (i : Fin 3) :
          mindActivity (velocity k up high) i = (if i = 2 then if k = 2 ∧ high = true then 325 / 576 else 225 / 476 else if k = 2 ∧ high = true then 125 / 576 else 125 / 476) - 1 / 20 - ![1 / 5, 1 / 5, 3 / 10] i
          theorem MindFormal.A630EncounterLaws.Opposite.velocity_value (k : Fin 3) (up high : Bool) (i : Fin 3) (b : Fin 2) :
          mindValue (velocity k up high) i b () = (1 / 4 * if k = 1 ∧ high = true ∧ b = if up = true then 0 else 1 then 2 else 1) * ![1, 1 / 2] b
          theorem MindFormal.A630EncounterLaws.Opposite.score_velocity (k : Fin 3) (up high : Bool) :
          score k up (velocity k up high) = (if up = true then (if k = 2 ∧ high = true then 325 / 576 else 225 / 476) - 7 / 20 else (if k = 2 ∧ high = true then 125 / 576 else 125 / 476) - 1 / 4) + if k = 1 then if high = true then if up = true then 3 / 800 else 0 else 1 / 800 else 0