Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarPathRuns.count_endpointFlags

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

∀ {E : Type u_1} [inst : DecidableEq.{u_1 + 1} E] {n : Nat} (f : Fin n → E),
  Eq.{1} (List.count.{0} Bool.true (Nonadditivity.HaarPathRuns.endpointFlags.{u_1} f))
    (Finset.card.{0} (Nonadditivity.HaarPathRuns.endpointPositions.{u_1} f))
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: 1,490
SHA-256: 2c3c8a8076c2582f2bf83c75084daac156c49bf2f16fd8562b024ea0bd559925

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

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.

66 value references
  • AddCommMonoid.toAddMonoid external
  • AddMonoid.toAddZeroClass external
  • AddMonoid.toNSMul external
  • AddZero.toZero external
  • AddZeroClass.toAddZero external
  • Bool external
  • Bool.true external
  • Decidable.decide external
  • DecidableEq external
  • Eq external
  • Eq.mpr external
  • Eq.refl external
  • Eq.trans external
  • Fin external
  • Fin.fintype external
  • Finset external
  • Finset.card external
  • Finset.decidableMem external
  • Finset.instInter external
  • Finset.instSetLike external
  • Finset.sum external
  • Finset.sum_congr external
  • Finset.sum_const external
  • Finset.sum_ite_mem external
  • Finset.univ external
  • Finset.univ_inter external
  • Function.comp external
  • HSMul.hSMul external
  • Inter.inter external
  • List external
  • List.count external
  • List.map external
  • List.map_ofFn external
  • List.ofFn external
  • List.sum external
  • List.sum_ofFn external
  • Membership.mem external
  • MulZeroClass.toZero external
  • Nat external
  • Nat.instAddCommMonoid external
  • Nat.instMulOneClass external
  • Nat.instMulZeroClass external
  • Nonadditivity.HaarPathRuns.count_true_eq_sum
  • Nonadditivity.HaarPathRuns.endpointFlags
  • Nonadditivity.HaarPathRuns.endpointPositions
  • Not external
  • OfNat.ofNat external
  • SetLike.instMembership external
  • True external
  • Zero.toOfNat0 external
  • congrArg external
  • congrFun' external
  • decide_eq_true_eq external
  • eq_self external
  • funext external
  • id external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqBool external
  • instDecidableEqFin external
  • instHSMul external
  • instOfNatNat external
  • ite external
  • ite_congr external
  • mul_one external
  • of_eq_true 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