MindFormal v1.0.0One Mind

MindFormal.Tools.A695LearningValue.PriceStatistics

The label type includes the no-arrival label. Thus mass is one, including failures to reach any concept before the common deadline.

  • mass : L → ℝ
  • nonnegative (i : L) : 0 ≤ self.mass i
  • total : ∑ i : L, self.mass i = 1
Instances For
    noncomputable def MindFormal.A695LearningValue.PriceStatistics.excess {L : Type u_1} [Fintype L] (p q : Law L) :
    Equations
    Instances For
      theorem MindFormal.A695LearningValue.PriceStatistics.pair_le_sum {L : Type u_1} [Fintype L] (f : L → ℝ) (hf : ∀ (i : L), 0 ≤ f i) {a b : L} (hab : a ≠ b) :
      f a + f b ≤ ∑ i : L, f i
      theorem MindFormal.A695LearningValue.PriceStatistics.other_mass {L : Type u_1} [Fintype L] (p : Law L) {a b : L} (hab : a ≠ b) :
      p.mass a ≤ 1 - p.mass b
      theorem MindFormal.A695LearningValue.PriceStatistics.distinction_difference {L : Type u_1} [Fintype L] (p₀ q₀ p₁ q₁ : Law L) :
      distinction p₁ q₁ - distinction p₀ q₀ = dot p₀ q₀ - dot p₁ q₁
      theorem MindFormal.A695LearningValue.PriceStatistics.distinction_equal_iff {L : Type u_1} [Fintype L] (p₀ q₀ p₁ q₁ : Law L) :
      distinction p₁ q₁ = distinction p₀ q₀ ↔ dot p₁ q₁ = dot p₀ q₀
      theorem MindFormal.A695LearningValue.PriceStatistics.distinct_labels {L : Type u_1} [Fintype L] (p q : Law L) {ε : ℝ} (he : ε ≤ 1 / 2) {a b : L} (hab : a ≠ b) (hp : 1 - ε ≤ p.mass a) (hq : 1 - ε ≤ q.mass b) :
      1 - 2 * ε ≤ distinction p q ∧ (1 - 2 * ε) ^ 2 ≤ excess p q
      theorem MindFormal.A695LearningValue.PriceStatistics.distance_to_atom {L : Type u_1} [Fintype L] (p : Law L) (a : L) :
      ∑ i : L, |p.mass i - if i = a then 1 else 0| = 2 * (1 - p.mass a)
      theorem MindFormal.A695LearningValue.PriceStatistics.common_label {L : Type u_1} [Fintype L] (p q : Law L) {ε : ℝ} (he0 : 0 ≤ ε) (he1 : ε ≤ 1) (a : L) (hp : 1 - ε ≤ p.mass a) (hq : 1 - ε ≤ q.mass a) :
      distinction p q ≤ 2 * ε ∧ excess p q ≤ 8 * ε ^ 2
      theorem MindFormal.A695LearningValue.PriceStatistics.share_difference {P J dP dJ g : ℝ} (hP : 0 < P) (hP' : 0 < P + dP) :
      (J + dJ) / (P + dP) - g - (J / P - g) = (P * dJ - J * dP) / (P * (P + dP))

      CC2's complete numerator/pool test, on the positive branch.