pith. machine review for the scientific record. sign in
def

IsCouplingCombiner

definition
show as:
view math explainer →
module
IndisputableMonolith.Foundation.BranchSelection
domain
Foundation
line
54 · github
papers citing
none yet

open explainer

Read the cached plain-language explainer.

open lean source

IndisputableMonolith.Foundation.BranchSelection on GitHub at line 54.

browse module

All declarations in this module, on Recognition.

explainer page

A cached Ask Recognition explainer exists for this declaration.

open explainer

depends on

used by

formal source

  51additive. Equivalently, the joint structure of the two arguments enters
  52the output; the cost of a composite genuinely depends on how its
  53components fit together. -/
  54def IsCouplingCombiner (P : ℝ → ℝ → ℝ) : Prop :=
  55  ¬ SeparatelyAdditive P
  56
  57/-- The **interaction defect** of a combiner at a pair `(u, v)`:
  58\[
  59\Delta P(u, v) := P(u, v) - P(u, 0) - P(0, v) + P(0, 0).
  60\]
  61For a separately additive combiner this is identically zero. The defect
  62is the canonical detector of coupling. -/
  63def interactionDefect (P : ℝ → ℝ → ℝ) (u v : ℝ) : ℝ :=
  64  P u v - P u 0 - P 0 v + P 0 0
  65
  66/-! ## Equivalent Forms -/
  67
  68/-- A separately additive combiner has identically vanishing interaction
  69defect. -/
  70theorem interactionDefect_eq_zero_of_separatelyAdditive
  71    {P : ℝ → ℝ → ℝ} (h : SeparatelyAdditive P) :
  72    ∀ u v : ℝ, interactionDefect P u v = 0 := by
  73  rcases h with ⟨p, q, hP⟩
  74  intro u v
  75  unfold interactionDefect
  76  rw [hP u v, hP u 0, hP 0 v, hP 0 0]
  77  ring
  78
  79/-- Conversely: a combiner whose interaction defect is identically zero is
  80separately additive. The witness functions are `p(u) := P(u, 0) - P(0, 0)`
  81and `q(v) := P(0, v)`. -/
  82theorem separatelyAdditive_of_interactionDefect_zero
  83    {P : ℝ → ℝ → ℝ} (h : ∀ u v : ℝ, interactionDefect P u v = 0) :
  84    SeparatelyAdditive P := by