The number of frequency vectors is at most
ProvedFuchsThesis.Types.card_types_leinformation-theorymethod-of-typesp2o-gran-per-chapterp2o-plan-bookp2o-v1probability
Let be the set of all empirical frequency vectors of strings , where is the number of occurrences of in divided by . Then
The number of frequency vectors thus grows only polynomially in , while the number of strings grows exponentially. This is what makes the polynomial factor in the type-class bounds possible.
Formalization Note The cardinality is Set.encard, which is on an infinite set, so the statement also asserts that is finite.
Differences from the source:
- encoding: the source repeats the experiment n times and divides by n in (2.77) → Lean assumes
1 ≤ n; reason: excludes the undefined case n = 0. - encoding: |F| →
Set.encardofpossibleTypes B n; reason: the same number, with no junk value on infinite sets.
Preamble
import Mathlib import Definitions.Def_ModernOnlineLearning_Portfolio_Types set_option autoImplicit false open ModernOnlineLearning.Portfolio
Formal statement
namespace FuchsThesis.Types
/-- Fuchs, *Distinguishability and Accessible Information in Quantum Theory*,
arXiv:quant-ph/9601020v1, §2.3.2, text before (2.79), p.25 (PDF 34): the set `F` of all possible
frequency vectors (2.78) of strings of length `n` over `B` outcomes has cardinality at most
`(n + 1)^B`.
**Formalization Note.** `F` is `possibleTypes B n`, a `Set (Fin B → ℝ)`. The bound uses `Set.encard`,
which takes the value `⊤` on an infinite set, so it also asserts that `F` is finite; `n ≥ 1` is the
source's setting, in which (2.77) is defined. -/
theorem card_types_le (B n : ℕ) (hn : 1 ≤ n) :
(possibleTypes B n).encard ≤ (((n + 1) ^ B : ℕ) : ℕ∞) := by sorry
end FuchsThesis.Types
Source
Fuchs, Distinguishability and Accessible Information in Quantum Theory, arXiv:quant-ph/9601020v1, §2.3.2, p.25
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.