Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.StateEnsembles.Ensemble.mk.sizeOf_spec

Defined in Nonadditivity.StateEnsembles. 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.

∀ {ι : Type u_1} [inst : Fintype.{u_1} ι] [inst_1 : DecidableEq.{u_1 + 1} ι]
  {outputs : Set.{u_1} (Nonadditivity.Entropy.DensityMatrix.{u_1} ι)} [inst_2 : SizeOf.{u_1 + 1} ι]
  [inst_3 : (a : Nonadditivity.Entropy.DensityMatrix.{u_1} ι) → SizeOf.{0} (outputs a)] (size : Nat)
  (weight : Fin size → Real) (weight_nonneg : ∀ (i : Fin size), LE.le.{0} 0 (weight i))
  (weight_sum : Eq.{1} (∑ i, weight i) 1)
  (state : Fin size → Nonadditivity.Entropy.DensityMatrix.{u_1} ι)
  (state_mem : ∀ (i : Fin size), Membership.mem.{u_1, u_1} outputs (state i)),
  Eq.{1}
    (SizeOf.sizeOf.{u_1 + 1}
      (Nonadditivity.StateEnsembles.Ensemble.mk.{u_1} size weight weight_nonneg weight_sum state
        state_mem))
    (HAdd.hAdd.{0, 0, 0} (HAdd.hAdd.{0, 0, 0} 1 (SizeOf.sizeOf.{1} size))
      (SizeOf.sizeOf.{0} weight_sum))
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: 5,083
SHA-256: 7cb6c8df6351ac033ceec0e8a07d36592593f45fc811de58e7bee0b7971b45f6

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

32 type references

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.

30 value references
  • DecidableEq external
  • Eq external
  • Eq.refl external
  • Fin external
  • Fin.fintype external
  • Finset.sum external
  • Finset.univ external
  • Fintype external
  • HAdd.hAdd external
  • LE.le external
  • Membership.mem external
  • Nat external
  • Nonadditivity.Entropy.DensityMatrix
  • OfNat.ofNat external
  • One.toOfNat1 external
  • Real external
  • Real.instAddCommMonoid external
  • Real.instLE external
  • Real.instOne external
  • Real.instZero external
  • Set external
  • Set.instMembership external
  • SizeOf external
  • SizeOf.sizeOf external
  • Zero.toOfNat0 external
  • instAddNat external
  • instHAdd external
  • instOfNatNat external
  • instSizeOfDefault external
  • instSizeOfNat external

Used by project declarations

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

No project declarations referring to this constant in the exported expression.

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