MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07Concepts.IllustrationAlgebra

Algebra of the named held comparisons in 10.21–10.25. No held read in this module is identified with a moving path or its stochastic mean.

theorem MindFormal.Concepts.weighted_spread {ι : Type u_1} [Fintype ι] (γ x : ι → ℝ) {G μ z : ℝ} (hG : ∑ m : ι, γ m = G) (hμ : ∑ m : ι, γ m * x m = G * μ) :
∑ m : ι, γ m * (z - x m) ^ 2 = G * (z - μ) ^ 2 + ∑ m : ι, γ m * (x m - μ) ^ 2

IL4.1, one encoded coordinate, for unequal acquired weights. Summing this identity over encoded coordinates gives the squared-distance identity.

theorem MindFormal.Concepts.quadratic_displacement (Gi Gj z₀ d μi μj Ki Kj ri rj ui uj : ℝ) :
Ki - Gi * (z₀ + d - μi) ^ 2 + ri + ui - (Kj - Gj * (z₀ + d - μj) ^ 2 + rj + uj) = Ki - Gi * (z₀ - μi) ^ 2 - (Kj - Gj * (z₀ - μj) ^ 2) + (Gj - Gi) * d ^ 2 + 2 * d * (Gj * (z₀ - μj) - Gi * (z₀ - μi)) + ri - rj + ui - uj

IL4.2's complete displacement, including unequal total weights and the changing remaining support. The equal-weight/held-remainder comparison is obtained by setting Gi=Gj and Δu=0, rather than silently deleting them.

theorem MindFormal.Concepts.item_support_margin {geometry remainder repeated allowance : ℝ} (support : -geometry - remainder + allowance < repeated) :
allowance < geometry + remainder + repeated

Acquired item support is compared to the adverse geometry and complete remainder at the same evaluation; a presentation's old label grants nothing.

def MindFormal.Concepts.recoveredPlacements {P : Type u_1} {G : Type u_2} [DecidableEq P] (single : Finset P) (groups : Finset G) (pieces : G → Finset P) :

IL6.2's count uses the union of placements, so overlap is counted once.

Equations
Instances For
    theorem MindFormal.Concepts.randomization_difference (eG nG eR nR : ℝ) :
    eG - nG - (eR - nR) = eG - eR - (nG - nR)
    theorem MindFormal.Concepts.coincidence_pool :
    1 / 10 / (1 + 1 / 10 + 2 / 10) = 1 / 13 ∧ 2 / 10 / (1 + 2 / 10 + 4 / 10) = 1 / 8 ∧ 1 / 10 / (1 + 2 / 10 + 4 / 10) = 1 / 16 ∧ 1 / 13 < 1 / 10 ∧ 1 / 16 < 1 / 10 ∧ 1 / 10 < 1 / 8
    noncomputable def MindFormal.Concepts.abxCorner (qA qB : ℝ) :

    Enumeration of the reliable-match task's stochastic-record corner. The X source is balanced, all three draws are independent, and a tied record match gets a balanced response. These are holds of this comparison.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.Concepts.abx_enumeration (qA qB : ℝ) :
      abxCorner qA qB = 1 / 2 + (2 * qA - 1 - (2 * qB - 1)) ^ 2 / 8
      theorem MindFormal.Concepts.binomial_tail (n k : ℕ) (p : ↑unitInterval) :
      (ProbabilityTheory.binomial n p).real ↑(Finset.Icc k n) = ∑ m ∈ Finset.Icc k n, ↑(n.choose m) * ↑p ^ m * (1 - ↑p) ^ (n - m)

      An exact binomial tail. Binomial is mathlib's count of independent Bernoulli preparations; independence belongs only to this named corner.

      Equations
      Instances For
        theorem MindFormal.Concepts.hierarchy_additions (s m d : ℝ) :
        s + m - s - (s + m + d - (s + m)) = m - d

        IL2's two additions retain the intermediate count twice.

        theorem MindFormal.Concepts.listing_addition_bound {cs cb cd s m d V ε : ℝ} (hs : |cs - s| ≤ V * ε) (hb : |cb - (s + m)| ≤ V * ε) (hd : |cd - (s + m + d)| ≤ V * ε) :
        m - d - 4 * V * ε ≤ cb - cs - (cd - cb)

        Four finite count errors pay exactly four vocabulary allowances.