Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarPathRuns.count_true_eq_sum

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: none.

∀ (l : List.{0} Bool),
  Eq.{1} (List.count.{0} Bool.true l)
    (List.sum.{0} (List.map.{0, 0} (fun b => ite.{1} (Eq.{1} b Bool.true) 1 0) 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,419
SHA-256: bc3da1bb70131de47a32d0540e8b82a5949f0c1cb368cc1af4a1422937449535

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
  • Bool external
  • Bool.true external
  • Eq external
  • List external
  • List.count external
  • List.map external
  • List.sum external
  • MulZeroClass.toZero external
  • Nat external
  • Nat.instMulZeroClass external
  • OfNat.ofNat external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqBool external
  • instOfNatNat 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.

47 value references
  • AddMonoid.toAddZeroClass external
  • Bool external
  • Bool.casesOn external
  • Bool.false external
  • Bool.false_eq_true external
  • Bool.true external
  • Eq external
  • Eq.ndrec external
  • Eq.refl external
  • Eq.symm external
  • Eq.trans external
  • False external
  • HAdd.hAdd external
  • List external
  • List.cons external
  • List.count external
  • List.count_cons_of_ne external
  • List.count_cons_self external
  • List.map external
  • List.nil external
  • List.rec external
  • List.sum external
  • MulZeroClass.toZero external
  • Nat external
  • Nat.add_comm external
  • Nat.add_left_cancel_iff._simp_1 external
  • Nat.instAddMonoid external
  • Nat.instMulZeroClass external
  • Not external
  • OfNat.ofNat external
  • True external
  • congr external
  • congrArg external
  • congrFun' external
  • eq_self external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqBool external
  • instHAdd external
  • instLawfulBEqBool external
  • instOfNatNat external
  • ite external
  • ite_cond_eq_false external
  • ite_cond_eq_true external
  • not_false_eq_true external
  • of_eq_true external
  • zero_add 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