Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarMatchingCount.marked_card_le_three_excess._proof_1_2

Flagged by Lean’s Name.isInternal, Name.isInternalDetail predicates. Generated declarations without these flags remain visible in the default catalog.

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} (x y : Fin p → E),
  Not
      (LE.le.{0}
        (List.sum.{0}
          (List.map.{u_1, 0}
            (fun e =>
              ite.{1}
                (LE.le.{0} 3
                  (List.count.{u_1} e
                    (HAppend.hAppend.{u_1, u_1, u_1} (List.ofFn.{u_1} x) (List.ofFn.{u_1} y))))
                1 0)
            (List.ofFn.{u_1} x)))
        (HAdd.hAdd.{0, 0, 0}
          (List.sum.{0}
            (List.map.{u_1, 0}
              (fun e =>
                ite.{1}
                  (LE.le.{0} 3
                    (List.count.{u_1} e
                      (HAppend.hAppend.{u_1, u_1, u_1} (List.ofFn.{u_1} x) (List.ofFn.{u_1} y))))
                  1 0)
              (List.ofFn.{u_1} x)))
          (List.sum.{0}
            (List.map.{u_1, 0}
              (fun e =>
                ite.{1}
                  (LE.le.{0} 3
                    (List.count.{u_1} e
                      (HAppend.hAppend.{u_1, u_1, u_1} (List.ofFn.{u_1} x) (List.ofFn.{u_1} y))))
                  1 0)
              (List.ofFn.{u_1} y))))) →
    False
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: 3,097
SHA-256: 342f74e6c7fcf9fff13a5f3ae4efc62370411a6c294616da02d31ab7818913dc

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

25 type references
  • DecidableEq external
  • False external
  • Fin external
  • HAdd.hAdd external
  • HAppend.hAppend external
  • LE.le external
  • List external
  • List.count external
  • List.instAppend external
  • List.map external
  • List.ofFn external
  • List.sum external
  • MulZeroClass.toZero external
  • Nat external
  • Nat.decLe external
  • Nat.instMulZeroClass external
  • Not external
  • OfNat.ofNat external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instHAdd external
  • instHAppendOfAppend external
  • instLENat 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.

77 value references
  • Bool external
  • Bool.true external
  • Decidable.decide external
  • DecidableEq external
  • Eq external
  • Eq.refl external
  • Eq.symm external
  • Eq.trans external
  • Fin external
  • Finset.card external
  • HAdd.hAdd external
  • HAppend.hAppend external
  • HSub.hSub external
  • Int external
  • Int.add_one_le_of_lt external
  • Int.instAdd external
  • Int.instLEInt external
  • Int.instNegInt external
  • Int.instSub external
  • Int.natCast_add external
  • Int.natCast_nonneg external
  • Int.sub_nonneg_of_le external
  • LE.le external
  • Lean.Omega.Coeffs.ofList external
  • Lean.Omega.Constraint.addInequality_sat external
  • Lean.Omega.Constraint.combine_sat' external
  • Lean.Omega.Constraint.isImpossible external
  • Lean.Omega.Constraint.mk external
  • Lean.Omega.Constraint.not_sat'_of_isImpossible external
  • Lean.Omega.Int.add_congr external
  • Lean.Omega.Int.ofNat_lt_of_lt external
  • Lean.Omega.Int.sub_congr external
  • Lean.Omega.LinearCombo external
  • Lean.Omega.LinearCombo.add_eval external
  • Lean.Omega.LinearCombo.coordinate external
  • Lean.Omega.LinearCombo.coordinate_eval_1 external
  • Lean.Omega.LinearCombo.coordinate_eval_2 external
  • Lean.Omega.LinearCombo.eval external
  • Lean.Omega.LinearCombo.instAdd external
  • Lean.Omega.LinearCombo.instSub external
  • Lean.Omega.LinearCombo.mk external
  • Lean.Omega.LinearCombo.sub_eval external
  • Lean.Omega.tidy_sat external
  • List external
  • List.cons external
  • List.count external
  • List.instAppend external
  • List.map external
  • List.nil external
  • List.ofFn external
  • List.sum external
  • MulZeroClass.toZero external
  • Nat external
  • Nat.cast external
  • Nat.decLe external
  • Nat.instMulZeroClass external
  • Nat.lt_of_not_le external
  • Neg.neg external
  • Nonadditivity.HaarMatchingCount.marked
  • Not external
  • OfNat.ofNat external
  • Option.none external
  • Option.some external
  • id external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqBool external
  • instHAdd external
  • instHAppendOfAppend external
  • instHSub external
  • instLENat external
  • instNatCastInt external
  • instOfNat external
  • instOfNatNat external
  • ite external
  • le_of_le_of_eq external
  • of_decide_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