MindFormal v1.0.0One Mind

MindFormal.Tools.ReceiptTiming.Transfers

noncomputable def MindFormal.ReceiptTiming.packet (l r : ℝ) :
ℝ → ℝ
Equations
Instances For
    theorem MindFormal.ReceiptTiming.packet_prefix {l r t : ℝ} (hl : 0 ≤ l) (ht : 0 ≤ t) :
    cumulative (packet l r) t = max (min r t - l) 0
    theorem MindFormal.ReceiptTiming.packet_transfer_cumulative {p q δ t : ℝ} (hp : 0 ≤ p) (hq : p ≤ q) (ht : 0 ≤ t) :
    cumulative (fun (s : ℝ) => packet q (q + δ) s - packet p (p + δ) s) t ≤ 0

    An equal-area transfer between ordered intervals is a weak movement later. This explicit primitive also handles gaps and dates inside either packet.

    theorem MindFormal.ReceiptTiming.packet_transfer_total {p q δ H : ℝ} (hp : 0 ≤ p) (hδ : 0 ≤ δ) (hq : p ≤ q) (hH : q + δ ≤ H) :
    cumulative (fun (s : ℝ) => packet q (q + δ) s - packet p (p + δ) s) H = 0
    theorem MindFormal.ReceiptTiming.packet_positive_baseline (p q δ t : ℝ) :
    0 < 2 + packet p (p + δ) t ∧ 0 < 2 + packet q (q + δ) t ∧ 2 + packet q (q + δ) t - (2 + packet p (p + δ) t) = packet q (q + δ) t - packet p (p + δ) t

    Baseline 2 leaves both physical receipt arms strictly positive. The signed difference is exactly the equal-area packet transfer.

    theorem MindFormal.ReceiptTiming.weighted_packet {H l r : ℝ} (h0l : 0 ≤ l) (hlr : l ≤ r) (hrH : r ≤ H) (w : ℝ → ℝ) :
    ∫ (t : ℝ) in 0..H, w t * packet l r t = ∫ (t : ℝ) in l..r, w t
    theorem MindFormal.ReceiptTiming.exists_countertransfer {H : ℝ} (w : ℝ → ℝ) (hw : ContinuousOn w (Set.Icc 0 H)) (hn : ¬MonotoneOn w (Set.Icc 0 H)) :
    ∃ (p : ℝ) (q : ℝ) (δ : ℝ), 0 ≤ p ∧ 0 < δ ∧ p + δ ≤ q ∧ q + δ ≤ H ∧ ∫ (t : ℝ) in 0..H, w t * (packet q (q + δ) t - packet p (p + δ) t) < 0

    Necessity in W2.3, with actual equal-area nonnegative receipt arms: continuity alone supplies earlier higher and later lower whole intervals.