MindFormal v1.0.0One Mind

MindFormal.Equations.Holding

noncomputable def MindFormal.periodicTrough (ν ρ period off att : ℝ) :

05.26's periodic previsit activity for a round of length period.

Equations
Instances For
    noncomputable def MindFormal.initialWait (ν Δ off start : ℝ) (N : ℕ) :

    05.26's last initial wait for N equally spaced visits.

    Equations
    Instances For
      noncomputable def MindFormal.supportedCount (ν ρ Δ off att start need : ℝ) :

      05.26 (HW9). Natural floor is exactly max(0, integer floor). This formula is meaningful under off < need and the theorem's positive rates.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MindFormal.zeroFloorCount (ν ρ Δ att start need : ℝ) :

        05.15's zero-unattended-target reference count, using visit spacing Δ.

        Equations
        Instances For
          theorem MindFormal.pulse_gap_return (ν ρ period off att pre : ℝ) :
          referenceActivity ν off (referenceActivity ν att pre ρ) (period - ρ) = off + (pre - off + (att - off) * (Real.exp (ν * ρ) - 1)) / Real.exp (ν * period)

          05.26: solving I through the attended pulse and following unattended gap gives this affine return map. These are fixed reference targets, not assigned native attention events; a schedule must be separately certified.

          theorem MindFormal.return_about_trough {ν period : ℝ} (hν : 0 < ν) (hp : 0 < period) (ρ off att pre : ℝ) :
          referenceActivity ν off (referenceActivity ν att pre ρ) (period - ρ) = periodicTrough ν ρ period off att + (pre - periodicTrough ν ρ period off att) / Real.exp (ν * period)

          05.26: for positive round duration and rate, the pulse/gap map is an affine contraction toward the printed periodic trough. No trough formula is assumed in the recurrence.

          def MindFormal.roundActivity (trough first ratio : ℝ) (n : ℕ) :

          Previsit activity after n iterations of an affine return map.

          Equations
          Instances For
            theorem MindFormal.all_rounds_iff {trough first ratio need : ℝ} (h0 : 0 ≤ ratio) (h1 : ratio < 1) :
            (∀ (n : ℕ), need ≤ roundActivity trough first ratio n) ↔ need ≤ first ∧ need ≤ trough

            05.26: with 0 ≤ ratio < 1, all repeated previsit activities meet need iff both the first previsit and the limiting trough do. This proves necessity as well as sufficiency; it is the reference recurrence, without stochastic transfer.

            theorem MindFormal.trough_algebra {off att need pulse round : ℝ} (hneed : off < need) (hround : 1 < round) :
            need ≤ off + (att - off) * (pulse - 1) / (round - 1) ↔ round ≤ 1 + (att - off) / (need - off) * (pulse - 1)

            05.26: clearing positive denominators turns a trough requirement into an upper bound on the round's exponential. This is pure algebra.

            theorem MindFormal.trough_iff_log {ν ρ Δ off att need : ℝ} {N : ℕ} (hν : 0 < ν) (hρ : 0 < ρ) (hΔ : 0 < Δ) (hN : 0 < N) (ho : off < need) (ha : off ≤ att) :
            need ≤ periodicTrough ν ρ (↑N * Δ) off att ↔ ↑N ≤ Real.log (1 + (att - off) / (need - off) * (Real.exp (ν * ρ) - 1)) / (ν * Δ)

            05.26: the periodic-trough inequality is exactly the first logarithmic count bound when rate, pulse, spacing and count are positive, off < need, and att ≥ off. This does not certify that the complete mind supplies those targets.

            theorem MindFormal.wait_iff_log {ν Δ off start need : ℝ} (N : ℕ) (hν : 0 < ν) (hΔ : 0 < Δ) (ho : off < need) (hs : need ≤ start) :
            need ≤ initialWait ν Δ off start N ↔ ↑N ≤ 1 + Real.log ((start - off) / (need - off)) / (ν * Δ)

            05.26: the initial-wait inequality is exactly the second logarithmic count bound for positive rate and spacing and off < need ≤ start.

            theorem MindFormal.supportedCount_iff {ν ρ Δ off att start need : ℝ} {N : ℕ} (hν : 0 < ν) (hρ : 0 < ρ) (hΔ : 0 < Δ) (hN : 0 < N) (ho : off < need) (ha : off ≤ att) (hs : need ≤ start) :
            N ≤ supportedCount ν ρ Δ off att start need ↔ need ≤ periodicTrough ν ρ (↑N * Δ) off att ∧ need ≤ initialWait ν Δ off start N

            05.26 (HW9): a positive integer N is at most the displayed floor count iff both its periodic trough and last initial wait meet the required level. Assumptions: positive rate/pulse/spacing, off < need ≤ start, att ≥ off. Together with the proved return recurrence this is the reference resource count; it is weaker than the full Claim: native scheduling, acquisition survival, learning constructions, and the noisy finite-horizon transfer are not formalized here.

            theorem MindFormal.supportedCount_zero (ν ρ Δ att start need : ℝ) :
            supportedCount ν ρ Δ 0 att start need = zeroFloorCount ν ρ Δ att start need

            05.26 reduces exactly to 05.15 when the unattended target is zero. This is equality of the two closed-form counts (spacing Δ = inverse visit rate).

            theorem MindFormal.supportedCount_iff_all_rounds {ν ρ Δ off att start need : ℝ} {N : ℕ} (hν : 0 < ν) (hρ : 0 < ρ) (hΔ : 0 < Δ) (hN : 0 < N) (ho : off < need) (ha : off ≤ att) (hs : need ≤ start) :
            N ≤ supportedCount ν ρ Δ off att start need ↔ ∀ (k : ℕ), need ≤ roundActivity (periodicTrough ν ρ (↑N * Δ) off att) (initialWait ν Δ off start N) (1 / Real.exp (ν * (↑N * Δ))) k

            05.26. For positive rate, visit length, visit spacing and integer N, with unattended target below need, attended target no lower than the unattended target, and start at least need, N fits the floor count exactly when every iterate of the displayed last-item previsit recurrence meets need. This connects 05.26's logarithms to reference rounds without constructing a native schedule.

            theorem MindFormal.neverLost_antitone {C : Type u_1} [Fintype C] (x : C → ℝ → ℝ) (need : ℝ) {H₁ H₂ : ℝ} (hH : H₁ ≤ H₂) :
            {i : C | ∀ (t : ℝ), 0 ≤ t → t ≤ H₂ → need ≤ x i t}.card ≤ {i : C | ∀ (t : ℝ), 0 ≤ t → t ≤ H₁ → need ≤ x i t}.card

            05.26: for a fixed original finite set and arbitrary activity paths, extending the tested interval cannot increase the count never lost since encoding. This pathwise statement includes noisy paths and makes no resource-count claim.