Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarMatchingCount.count_ofFn_eq_card

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),
  Eq.{1} (List.count.{u_1} e (List.ofFn.{u_1} f)) (Finset.card.{0} {a | Eq.{u_1 + 1} (f a) e})
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,648
SHA-256: 4d251f390d6775d8a246d02b21c6c80887369147ad72abd54ac34ae87c9aa349

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.

88 value references
  • AddCommMonoid.toAddMonoid external
  • AddCommMonoidWithOne.toAddMonoidWithOne external
  • AddMonoid.toAddZeroClass external
  • AddMonoidWithOne.toAddMonoid external
  • AddMonoidWithOne.toNatCast external
  • AddZero.toAdd external
  • AddZero.toZero external
  • AddZeroClass.toAddZero external
  • BEq.beq external
  • BEq.rfl external
  • Bool external
  • Bool.true external
  • CharP.cast_eq_zero external
  • CharP.ofCharZero external
  • DecidableEq external
  • EmptyCollection.emptyCollection external
  • Eq external
  • Eq.mp external
  • Eq.mpr external
  • Eq.refl external
  • Eq.trans external
  • EquivBEq.toReflBEq external
  • False external
  • Fin external
  • Fin.fintype external
  • Fin.instOfNat external
  • Fin.isEmpty' external
  • Fin.succ external
  • Fin.sum_univ_succ external
  • Finset external
  • Finset.card external
  • Finset.filter external
  • Finset.filter_empty external
  • Finset.instEmptyCollection external
  • Finset.instSetLike external
  • Finset.sum external
  • Finset.sum_boole external
  • Finset.sum_congr external
  • Finset.univ external
  • Finset.univ_eq_empty external
  • HAdd.hAdd external
  • List external
  • List.cons external
  • List.count external
  • List.count_cons external
  • List.nil external
  • List.ofFn external
  • List.ofFn_succ external
  • List.ofFn_zero external
  • Membership.mem external
  • Nat external
  • Nat.add_comm external
  • Nat.add_left_cancel_iff._simp_1 external
  • Nat.cast external
  • Nat.instAddCommMonoid external
  • Nat.instAddCommMonoidWithOne external
  • Nat.instAddMonoid external
  • Nat.instAddMonoidWithOne external
  • Nat.instCharZero external
  • Nat.instNeZeroSucc external
  • Nat.recAux external
  • Not external
  • OfNat.ofNat external
  • SetLike.instMembership external
  • True external
  • Zero.toOfNat0 external
  • add_zero external
  • beq_iff_eq._simp_1 external
  • congr external
  • congrArg external
  • congrFun' external
  • dite external
  • eq_false external
  • eq_self external
  • id external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqBool external
  • instEquivBEqOfLawfulBEq external
  • instHAdd external
  • instLawfulBEq external
  • instNeZeroNatHAdd_1 external
  • instOfNatNat external
  • ite external
  • ite_cond_eq_false external
  • ite_cond_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