Subadditivity.
ProvedTraceBattery.H_pair_leaether-catalogspeculative
Subadditivity. The capacity of a pair of statistics is at most the sum of the individual capacities: joint dials never carry more than the total of their per-dial trace informations.
theorem TraceBattery.H_pair_le(f : Ω → α) (g : Ω → β) :
H (fun x => (f x, g x)) ≤ H f + H g := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Speculative/AutoResearch/TraceBatteryEntropy.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Speculative/AutoResearch/TraceBatteryEntropy.lean
import Mathlib
import Definitions.Def_Speculative_AutoResearch_TraceBatteryEntropy
/-
# TRACE-BATTERY, part I: an exact finitary Shannon calculus
Companion to the round-30 experiment `TRACE-BATTERY` (paper 108), whose numeric
claim is that the *joint channel capacity* of a battery of arithmetic "dials"
grows as dials are added, staying under the CRT ceiling `log₂ M` and under the
sample ceiling `log₂ N`.
Mathlib (v4.28.0) has no general Shannon entropy, so this file builds the
finitary theory that the experiment's book-keeping silently uses. For a finite
population `Ω` and a statistic `f : Ω → α` we define the *empirical entropy*
`H f = ∑_{a ∈ image f} (nₐ/N) · log (N/nₐ)`, `nₐ = #f⁻¹(a)`, `N = #Ω`,
i.e. the Shannon entropy of the push-forward of the uniform measure on `Ω`.
Because a dial reading is a *deterministic* function of the individual, this is
exactly the mutual information `I(individual ; reading)` the experiment reports.
The results proved here, all sorry-free:
* `TraceBattery.H_nonneg` — capacities are non-negative.
* `TraceBattery.H_le_log_card_img` — **max-entropy / alphabet ceiling**,
`H f ≤ log #(image f)`; proved by the Gibbs estimate `log x ≤ x - 1`.
* `TraceBattery.H_le_log_card` — **sparse-table bias**: `H f ≤ log N`. A
capacity read off a table with `N` rows can never exceed `log₂ N` bits,
whatever the alphabet.
* `TraceBattery.H_comp_le` — **data processing**: post-processing a statistic
cannot increase its capacity, `H (g ∘ f) ≤ H f`.
* `TraceBattery.H_comp_eq_of_injective` — relabelling is free.
* `TraceBattery.H_pos_of_ne` — a statistic separating two individuals has
strictly positive capacity.
* `TraceBattery.H_pair_le` — **subadditivity** `H⟨f,g⟩ ≤ H f + H g`.
Everything is stated in nats (`Real.log`); the bit-valued capacity
`TraceBattery.Hb = H / log 2` used by the experiment is introduced at the end.
-/
open TraceBattery
open Finset Real
variable {Ω : Type*} [Fintype Ω] {α β : Type*}
variable {Ω : Type*} [Fintype Ω] [Nonempty Ω] {α β : Type*}Formal statement
theorem TraceBattery.H_pair_le(f : Ω → α) (g : Ω → β) :
H (fun x => (f x, g x)) ≤ H f + H g := by sorrySource