theorem
Nonadditivity.HaarPathRuns.count_true_eq_sum
Defined in Nonadditivity.HaarPathRuns. 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.count.{0} Bool.true l)
(List.sum.{0} (List.map.{0, 0} (fun b => ite.{1} (Eq.{1} b Bool.true) 1 0) l))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,419
SHA-256: bc3da1bb70131de47a32d0540e8b82a5949f0c1cb368cc1af4a1422937449535
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
16 type references
BoolexternalBool.trueexternalEqexternalListexternalList.countexternalList.mapexternalList.sumexternalMulZeroClass.toZeroexternalNatexternalNat.instMulZeroClassexternalOfNat.ofNatexternalinstAddNatexternalinstBEqOfDecidableEqexternalinstDecidableEqBoolexternalinstOfNatNatexternaliteexternal
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.
47 value references
AddMonoid.toAddZeroClassexternalBoolexternalBool.casesOnexternalBool.falseexternalBool.false_eq_trueexternalBool.trueexternalEqexternalEq.ndrecexternalEq.reflexternalEq.symmexternalEq.transexternalFalseexternalHAdd.hAddexternalListexternalList.consexternalList.countexternalList.count_cons_of_neexternalList.count_cons_selfexternalList.mapexternalList.nilexternalList.recexternalList.sumexternalMulZeroClass.toZeroexternalNatexternalNat.add_commexternalNat.add_left_cancel_iff._simp_1externalNat.instAddMonoidexternalNat.instMulZeroClassexternalNotexternalOfNat.ofNatexternalTrueexternalcongrexternalcongrArgexternalcongrFun'externaleq_selfexternalinstAddNatexternalinstBEqOfDecidableEqexternalinstDecidableEqBoolexternalinstHAddexternalinstLawfulBEqBoolexternalinstOfNatNatexternaliteexternalite_cond_eq_falseexternalite_cond_eq_trueexternalnot_false_eq_trueexternalof_eq_trueexternalzero_addexternal
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