Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarMarkedCompositions.length_blocks

Defined in Nonadditivity.HaarMarkedCompositions. 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.length.{0} (Nonadditivity.HaarMarkedCompositions.blocks l))
    (HAdd.hAdd.{0, 0, 0} (Nonadditivity.HaarPathRuns.blockCount l)
      (ite.{1} (Eq.{1} (List.getLast?.{0} l) (Option.some.{0} Bool.false)) 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: 1,624
SHA-256: 02a4371497bc2757326c7450f5b17764b43fcfbad576bb2ac88d1240b0ee5a39

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

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

86 value references
  • AddMonoid.toAddZeroClass external
  • And external
  • Bool external
  • Bool.casesOn external
  • Bool.false external
  • Bool.false_eq_true external
  • Bool.true external
  • Bool.true_eq_false external
  • Decidable.byContradiction external
  • Eq external
  • Eq.mp external
  • Eq.mpr external
  • Eq.ndrec external
  • Eq.refl external
  • Eq.symm external
  • Eq.trans external
  • False external
  • False.elim external
  • HAdd.hAdd external
  • List external
  • List.Nodup external
  • List.casesOn external
  • List.cons external
  • List.count external
  • List.count_cons_of_ne external
  • List.count_cons_self external
  • List.count_eq_one_of_mem external
  • List.getLast? external
  • List.getLast?_cons_cons external
  • List.head? external
  • List.instMembership external
  • List.length external
  • List.mem_cons._simp_1 external
  • List.nil external
  • List.nodup_cons._simp_1 external
  • List.nodup_nil._simp_1 external
  • List.not_mem_nil._simp_1 external
  • List.rec external
  • Membership.mem external
  • Nat external
  • Nat.instAddMonoid external
  • Nonadditivity.HaarMarkedCompositions.blocks
  • Nonadditivity.HaarMarkedCompositions.length_blocks._proof_1_5
  • Nonadditivity.HaarMarkedCompositions.length_blocks._proof_1_6
  • Nonadditivity.HaarMarkedCompositions.length_blocks._proof_1_7
  • Nonadditivity.HaarPathRuns.blockCount
  • Nonadditivity.HaarPathRuns.middleRuns
  • Not external
  • OfNat.ofNat external
  • Option external
  • Option.ctorIdx external
  • Option.instDecidableEq external
  • Option.none external
  • Option.some external
  • Option.some.injEq external
  • Or external
  • True external
  • add_zero external
  • and_false external
  • and_self external
  • and_true external
  • congr external
  • congrArg external
  • congrFun' external
  • eq_false' external
  • eq_self external
  • false_and external
  • id external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableAnd external
  • instDecidableEqBool external
  • instDecidableEqNat external
  • instHAdd external
  • instLawfulBEqBool external
  • instOfNatNat external
  • ite external
  • ite_cond_eq_false external
  • ite_cond_eq_true external
  • ite_congr external
  • noConfusion_of_Nat external
  • not_false_eq_true external
  • of_eq_true external
  • or_false external
  • true_and 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