MindFormal v1.0.0One Mind

MindFormal.Tools.CompanionFoundations.MixedDifferences

Anchored finite-source mixed difference, with the empty-set response kept.

Equations
Instances For
    theorem MindFormal.CompanionFoundations.mixedDifference_insert {ι : Type u_1} (R : Finset ι → ℝ) (A : Finset ι) (i : ι) (hi : i ∉ A) :
    mixedDifference R (insert i A) = mixedDifference (fun (B : Finset ι) => R (insert i B) - R B) A
    theorem MindFormal.CompanionFoundations.mixedDifference_decomposition {ι : Type u_1} (R : Finset ι → ℝ) (A : Finset ι) :
    R A = ∑ B ∈ A.powerset, mixedDifference R B

    Exact finite Boolean-cube Möbius inversion; no additive-response premise.

    @[simp]
    theorem MindFormal.CompanionFoundations.mixedDifference_congr {ι : Type u_1} {R S : Finset ι → ℝ} {A : Finset ι} (h : ∀ B ⊆ A, R B = S B) :
    @[simp]
    theorem MindFormal.CompanionFoundations.mixedDifference_zero {ι : Type u_1} (A : Finset ι) :
    mixedDifference (fun (x : Finset ι) => 0) A = 0
    theorem MindFormal.CompanionFoundations.mixedDifference_const {ι : Type u_1} (c : ℝ) (A : Finset ι) (hA : A.Nonempty) :
    mixedDifference (fun (x : Finset ι) => c) A = 0
    Equations
    Instances For
      theorem MindFormal.CompanionFoundations.sourceAdditive_iff {ι : Type u_1} (R : Finset ι → ℝ) :
      SourceAdditive R ↔ ∀ (A : Finset ι), 2 ≤ A.card → mixedDifference R A = 0

      Additivity is equivalent to the vanishing of every interaction of order at least two, not merely one selected pairwise comparison at the baseline.

      noncomputable def MindFormal.CompanionFoundations.patch {ι : Type u_1} {X : ι → Type u_2} (base x : (i : ι) → X i) (A : Finset ι) (i : ι) :
      X i
      Equations
      Instances For
        @[simp]
        theorem MindFormal.CompanionFoundations.patch_empty {ι : Type u_1} {X : ι → Type u_2} (base x : (i : ι) → X i) :
        patch base x ∅ = base
        @[simp]
        theorem MindFormal.CompanionFoundations.patch_univ {ι : Type u_1} {X : ι → Type u_2} [Fintype ι] (base x : (i : ι) → X i) :
        theorem MindFormal.CompanionFoundations.patch_insert {ι : Type u_1} {X : ι → Type u_2} (base x : (i : ι) → X i) (A : Finset ι) (i : ι) :
        patch base x (insert i A) = Function.update (patch base x A) i (x i)
        def MindFormal.CompanionFoundations.ZeroRectangles {ι : Type u_1} {X : ι → Type u_2} (R : ((i : ι) → X i) → ℝ) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.CompanionFoundations.rectangle_increment {ι : Type u_1} {X : ι → Type u_2} (R : ((i : ι) → X i) → ℝ) (hR : ZeroRectangles R) (base x : (i : ι) → X i) (A : Finset ι) (i : ι) (hi : i ∉ A) :
          R (Function.update (patch base x A) i (x i)) - R (patch base x A) = R (Function.update base i (x i)) - R base
          theorem MindFormal.CompanionFoundations.product_additive_of_rectangles {ι : Type u_1} {X : ι → Type u_2} [Fintype ι] (R : ((i : ι) → X i) → ℝ) (hR : ZeroRectangles R) (base x : (i : ι) → X i) :
          R x = R base + ∑ i : ι, (R (Function.update base i (x i)) - R base)
          theorem MindFormal.CompanionFoundations.separated_increment {ι : Type u_1} {X : ι → Type u_2} [Fintype ι] (R : ((i : ι) → X i) → ℝ) (c : ℝ) (f : (i : ι) → X i → ℝ) (hR : ∀ (x : (i : ι) → X i), R x = c + ∑ i : ι, f i (x i)) (z : (i : ι) → X i) (i : ι) (a : X i) :
          R (Function.update z i a) - R z = f i a - f i (z i)
          theorem MindFormal.CompanionFoundations.zeroRectangles_iff_separated {ι : Type u_1} {X : ι → Type u_2} [Fintype ι] (R : ((i : ι) → X i) → ℝ) :
          ZeroRectangles R ↔ ∃ (c : ℝ) (f : (i : ι) → X i → ℝ), ∀ (x : (i : ι) → X i), R x = c + ∑ i : ι, f i (x i)

          On an arbitrary finite product domain, zero rectangles at every context are equivalent to additive separation. There is no differentiability or simultaneous-attention assumption in this finite-source assertion.