Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarInvariantTensor.gram_apply_card._simp_1_1

Flagged by Lean’s Name.isInternal, Name.isInternalDetail predicates. Generated declarations without these flags remain visible in the default catalog.

Defined in Nonadditivity.HaarWeingartenGram. Read exact source module · Download .lean

Readable Lean statement

Lean’s readable pretty-print of the stored type can hide implicit or proof arguments. The complete kernel JSON expression is available below; universe parameters are listed separately.

Universe parameters: u_1, u_4.

∀ {ι : Type u_1} {R : Type u_4} [inst : AddCommMonoidWithOne.{u_4} R] (p : ι → Prop)
  [inst_1 : DecidablePred.{u_1 + 1} p] (s : Finset.{u_1} ι),
  Eq.{u_4 + 1} (↑(Finset.card.{u_1} ({x ∈ s | p x}))) (∑ x ∈ s, ite.{u_4 + 1} (p x) 1 0)
Complete kernel type expression (JSON)

Canonical JSON encodes the complete kernel type as a shared expression DAG, including every argument, universe, binder and name component. Kernel-irrelevant metadata annotations are omitted. This is a machine expression artifact, distinct from Lean source text. The inline preview is limited to 64,000 characters.

Uncompressed UTF-8 bytes: 2,920
SHA-256: 8ceac62d9c3a566938c975f13f3b4e8350dc1c3ed5cedf2106b2becac0338a74

Download the complete artifact (.expr.json.gz)

Expand to decode a bounded preview locally. The complete compressed download also works without JavaScript.

Direct references in the type

20 type references
  • AddCommMonoidWithOne external
  • AddCommMonoidWithOne.toAddCommMonoid external
  • AddCommMonoidWithOne.toAddMonoidWithOne external
  • AddMonoid.toAddZeroClass external
  • AddMonoidWithOne.toAddMonoid external
  • AddMonoidWithOne.toNatCast external
  • AddMonoidWithOne.toOne external
  • AddZero.toZero external
  • AddZeroClass.toAddZero external
  • DecidablePred external
  • Eq external
  • Finset external
  • Finset.card external
  • Finset.filter external
  • Finset.sum external
  • Nat.cast external
  • OfNat.ofNat external
  • One.toOfNat1 external
  • Zero.toOfNat0 external
  • ite external

Direct references in the proof or definition

For declaration kinds without a stored value expression, this list is empty. Recursor rules, constructor fields and other kernel metadata are not silently reinterpreted as proof expressions.

21 value references
  • AddCommMonoidWithOne external
  • AddCommMonoidWithOne.toAddCommMonoid external
  • AddCommMonoidWithOne.toAddMonoidWithOne external
  • AddMonoid.toAddZeroClass external
  • AddMonoidWithOne.toAddMonoid external
  • AddMonoidWithOne.toNatCast external
  • AddMonoidWithOne.toOne external
  • AddZero.toZero external
  • AddZeroClass.toAddZero external
  • DecidablePred external
  • Eq.symm external
  • Finset external
  • Finset.card external
  • Finset.filter external
  • Finset.sum external
  • Finset.sum_boole external
  • Nat.cast external
  • OfNat.ofNat external
  • One.toOfNat1 external
  • Zero.toOfNat0 external
  • ite external

Used by project declarations

Direct references in types or stored values across the entire exported project environment, including internal and private constants.

Explore these constant dependencies · Reproduce proof checks · Metadata and export provenance