MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch11.PuzzleClocks

theorem MindFormal.Page.held_move {N : ℕ} {ν Tg b bar r H : ℝ} (x : ℝ → ℝ) (score : ℝ → Fin N → ℝ) (w : Fin N) (h_target : ReferenceEquation ν Tg x) (h_requirement : ∀ (t : ℝ), score t w = x t + bar - b) (hν : 0 < ν) (hx : x 0 < b) (hb : b < Tg) (hH : max r (Logic.arrival ν Tg (x 0) b) ≤ H) (before : ∀ t ∈ Set.Ico r (max r (Logic.arrival ν Tg (x 0) b)), ∀ (j : Fin N), j ≠ w → score t j < bar) (maximum : ∀ (j : Fin N), bar ≤ score (max r (Logic.arrival ν Tg (x 0) b)) j → score (max r (Logic.arrival ν Tg (x 0) b)) j ≤ score (max r (Logic.arrival ν Tg (x 0) b)) w) (priority : ∀ (j : Fin N), bar ≤ score (max r (Logic.arrival ν Tg (x 0) b)) j → score (max r (Logic.arrival ν Tg (x 0) b)) j = score (max r (Logic.arrival ν Tg (x 0) b)) w → w ≤ j) (S : NativeSearch (fun (t : ℝ) (j : Fin N) => score t j - bar) score r H) :
S.event = some (max r (Logic.arrival ν Tg (x 0) b), w)

PI1.3/5: the held reference race, including a qualified refractory release. The maximum and priority are tested at that release as V requires.

theorem MindFormal.Page.puzzle_time_difference {M N : ℕ} {ν bar : ℝ} (d : Bool → ℝ) (r b : Fin M → ℝ) (Tg H : Bool → Fin M → ℝ) (x : Bool → Fin M → ℝ → ℝ) (score : Bool → Fin M → ℝ → Fin N → ℝ) (w : Fin M → Fin N) (h_target : ∀ (a : Bool) (m : Fin M), ReferenceEquation ν (Tg a m) (x a m)) (h_requirement : ∀ (a : Bool) (m : Fin M) (t : ℝ), score a m t (w m) = x a m t + bar - b m) (hν : 0 < ν) (hx : ∀ (a : Bool) (m : Fin M), x a m 0 < b m) (hb : ∀ (a : Bool) (m : Fin M), b m < Tg a m) (hH : ∀ (a : Bool) (m : Fin M), max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m)) ≤ H a m) (before : ∀ (a : Bool) (m : Fin M), ∀ t ∈ Set.Ico (r m) (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m))), ∀ (j : Fin N), j ≠ w m → score a m t j < bar) (maximum : ∀ (a : Bool) (m : Fin M) (j : Fin N), bar ≤ score a m (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m))) j → score a m (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m))) j ≤ score a m (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m))) (w m)) (priority : ∀ (a : Bool) (m : Fin M) (j : Fin N), bar ≤ score a m (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m))) j → score a m (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m))) j = score a m (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m))) (w m) → w m ≤ j) (S : (a : Bool) → (m : Fin M) → NativeSearch (fun (t : ℝ) (j : Fin N) => score a m t j - bar) (score a m) (r m) (H a m)) :
(∀ (a : Bool) (m : Fin M), (S a m).event = some (max (r m) (Logic.arrival ν (Tg a m) (x a m 0) (b m)), w m)) ∧ d true + ∑ m : Fin M, nativeHitTime (S true m) - (d false + ∑ m : Fin M, nativeHitTime (S false m)) = d true - d false + ∑ m : Fin M, (max (r m) (Logic.arrival ν (Tg true m) (x true m 0) (b m)) - max (r m) (Logic.arrival ν (Tg false m) (x false m 0) (b m)))

PI1.5 with every phase's native time identified, rather than a supplied solution-time identity. True is the dish arm, false the peg arm.