Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarMatchingCount.two_le_count_ofFn

Defined in Nonadditivity.HaarMatchingCount. 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] {p : Nat} (f : Fin p → E) (e : E) (a b : Fin p),
  Eq.{u_1 + 1} (f a) e →
    Eq.{u_1 + 1} (f b) e → Ne.{1} a b → LE.le.{0} 2 (List.count.{u_1} e (List.ofFn.{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,885
SHA-256: 599d23c9c1c63f0b5761065fe95a5c17a77f568d6268236cb36fb543d74a73ec

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.

59 value references
  • And external
  • DecidableEq external
  • Eq external
  • Eq.mp external
  • Eq.mpr external
  • Eq.ndrec external
  • Eq.trans external
  • False external
  • Fin external
  • Fin.fintype external
  • Finset external
  • Finset.card external
  • Finset.card_insert_of_notMem external
  • Finset.card_le_card external
  • Finset.card_singleton external
  • Finset.filter external
  • Finset.instHasSubset external
  • Finset.instInsert external
  • Finset.instSetLike external
  • Finset.instSingleton external
  • Finset.mem_filter._simp_1 external
  • Finset.mem_singleton._simp_1 external
  • Finset.mem_univ._simp_1 external
  • Finset.univ external
  • HAdd.hAdd external
  • HasSubset.Subset external
  • Insert.insert external
  • LE.le external
  • List.count external
  • List.ofFn external
  • Membership.mem external
  • Nat external
  • Ne external
  • Nonadditivity.HaarMatchingCount.count_ofFn_eq_card
  • Nonadditivity.HaarMatchingCount.two_le_count_ofFn._simp_1_1
  • Nonadditivity.HaarMatchingCount.two_le_count_ofFn._simp_1_2
  • Not external
  • OfNat.ofNat external
  • Or external
  • Or.casesOn external
  • SetLike.instMembership external
  • Singleton.singleton external
  • True external
  • and_self external
  • congr external
  • congrArg external
  • congrFun' external
  • eq_false external
  • eq_self external
  • ge_iff_le._simp_1 external
  • id external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqFin external
  • instHAdd external
  • instLENat external
  • instOfNatNat 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