Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarWordPhase.sum_counts

Defined in Nonadditivity.HaarWordPhase. 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} α]
  (l : List.{u_1} (Prod.{u_1, 0} α Bool)),
  Eq.{1}
    (∑ a,
      HAdd.hAdd.{0, 0, 0} (Nonadditivity.HaarWordPhase.positiveCount.{u_1} a l)
        (Nonadditivity.HaarWordPhase.negativeCount.{u_1} a l))
    (List.length.{u_1} l)
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,924
SHA-256: 64d77cc6265eb53bfa7c14c42e188adf5627d61aaf9fcb3e1d1004343f25edd8

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

16 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.

77 value references
  • AddCommMagma.toAdd external
  • AddCommMonoid.toAddMonoid external
  • AddCommSemigroup.toAddCommMagma external
  • AddMonoid.toAddZeroClass external
  • AddZero.toAdd external
  • AddZeroClass.toAddZero external
  • BEq.beq external
  • Bool external
  • Bool.beq_eq_decide_eq external
  • Bool.false external
  • Bool.fintype external
  • Bool.true external
  • Bool.true_eq_false external
  • Decidable.decide external
  • DecidableEq external
  • Eq external
  • Eq.mp external
  • Eq.mpr external
  • Eq.refl external
  • Eq.trans external
  • False external
  • Finset external
  • Finset.instInsert external
  • Finset.instSetLike external
  • Finset.instSingleton external
  • Finset.mem_singleton._simp_1 external
  • Finset.mem_univ external
  • Finset.sum external
  • Finset.sum_congr external
  • Finset.sum_insert external
  • Finset.sum_singleton external
  • Finset.univ external
  • Fintype external
  • Fintype.sum_prod_type external
  • HAdd.hAdd external
  • Insert.insert external
  • List external
  • List.count external
  • List.countP external
  • List.length external
  • Membership.mem external
  • Multiset external
  • Multiset.card external
  • Multiset.coe_count external
  • Multiset.count external
  • Multiset.instMembership external
  • Multiset.ofList external
  • Multiset.sum_count_eq_card external
  • Nat external
  • Nat.instAddCommMonoid external
  • Nat.instAddCommSemigroup external
  • Nonadditivity.HaarWordPhase.negativeCount
  • Nonadditivity.HaarWordPhase.positiveCount
  • Not external
  • Prod external
  • Prod.instLawfulBEq external
  • Prod.mk external
  • SetLike.instMembership external
  • Singleton.singleton external
  • True external
  • add_comm external
  • congr external
  • congrArg external
  • congrFun' external
  • funext external
  • id external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instBEqProd external
  • instDecidableEqBool external
  • instDecidableEqProd external
  • instFintypeProd external
  • instHAdd external
  • instLawfulBEq external
  • instLawfulBEqBool external
  • not_false_eq_true 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