Holevo Additivity Gap in Lean 4

Lean explorer

theorem

Nonadditivity.HaarPathWeights.count_edgeList._proof_1_5

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

Defined in Nonadditivity.HaarPathWeights. 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.

∀ {N : Nat} (x y : Fin (HAdd.hAdd.{0, 0, 0} N 1)) (a : Fin 2)
  (L : List.{0} (Nonadditivity.HaarPathWeights.SignedEntry N)) (b : Fin 2)
  (u v : Fin (HAdd.hAdd.{0, 0, 0} N 1)),
  Not
      (Eq.{1}
        (HAdd.hAdd.{0, 0, 0}
          (HAdd.hAdd.{0, 0, 0}
            (List.count.{0} (Prod.mk.{0, 0} x y)
              (List.map.{0, 0} Prod.snd.{0, 0}
                (List.filter.{0}
                  (fun e => Decidable.decide (Eq.{1} e.1 (Prod.mk.{0, 0} a Bool.true))) L)))
            (List.count.{0} (Prod.mk.{0, 0} x y)
              (List.map.{0, 0} Prod.snd.{0, 0}
                (List.filter.{0}
                  (fun e => Decidable.decide (Eq.{1} e.1 (Prod.mk.{0, 0} a Bool.false))) L))))
          1)
        (HAdd.hAdd.{0, 0, 0}
          (HAdd.hAdd.{0, 0, 0}
            (List.count.{0} (Prod.mk.{0, 0} x y)
              (List.map.{0, 0} Prod.snd.{0, 0}
                (List.filter.{0}
                  (fun e => Decidable.decide (Eq.{1} e.1 (Prod.mk.{0, 0} a Bool.true))) L)))
            1)
          (List.count.{0} (Prod.mk.{0, 0} x y)
            (List.map.{0, 0} Prod.snd.{0, 0}
              (List.filter.{0}
                (fun e => Decidable.decide (Eq.{1} e.1 (Prod.mk.{0, 0} a Bool.false))) L))))) →
    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,834
SHA-256: 8cfb345e2a51205acc59cde74ffc838f48ab607bf0bdc51d96cee7cb4be83bc1

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

28 type references
  • Bool external
  • Bool.false external
  • Bool.true external
  • Decidable.decide external
  • Eq external
  • False external
  • Fin external
  • HAdd.hAdd external
  • List external
  • List.count external
  • List.filter external
  • List.map external
  • Nat external
  • Nonadditivity.HaarPathWeights.Entry
  • Nonadditivity.HaarPathWeights.SignedEntry
  • Not external
  • OfNat.ofNat external
  • Prod external
  • Prod.fst external
  • Prod.mk external
  • Prod.snd external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqBool external
  • instDecidableEqFin external
  • instDecidableEqProd external
  • instHAdd external
  • instOfNatNat 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.

78 value references
  • Bool external
  • Bool.false external
  • Bool.true external
  • Decidable.decide external
  • Eq external
  • Eq.refl external
  • Eq.symm external
  • Eq.trans external
  • False external
  • Fin external
  • Fin.val external
  • GT.gt external
  • HAdd.hAdd 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.sub_nonneg_of_le external
  • LT.lt external
  • Lean.Omega.Coeffs.ofList external
  • Lean.Omega.Constraint.addInequality_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.filter external
  • List.map external
  • List.nil external
  • Nat external
  • Nat.cast external
  • Nat.lt_or_gt_of_ne external
  • Neg.neg external
  • Nonadditivity.HaarPathGraph.Edge
  • Nonadditivity.HaarPathWeights.Entry
  • Nonadditivity.HaarPathWeights.SignedEntry
  • Not external
  • OfNat.ofNat external
  • Option.none external
  • Option.some external
  • Or.elim external
  • Prod external
  • Prod.fst external
  • Prod.mk external
  • Prod.snd external
  • id external
  • instAddNat external
  • instBEqOfDecidableEq external
  • instDecidableEqBool external
  • instDecidableEqFin external
  • instDecidableEqProd external
  • instHAdd external
  • instHSub external
  • instLTNat external
  • instNatCastInt external
  • instOfNat external
  • instOfNatNat 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