Uniform threshold for a finite list of type counts

Lax977378.Threshold · concepts/Lax977378/Threshold.lean · lax-977378

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Lemma

    For a fixed number of counts we can choose a uniformly bounded positive threshold. The threshold dominates a prescribed nondecreasing function of the total of the counts strictly below it, including when some counts vanish.

    Concept map
    1 concept
    100%
    Proven claimThis conceptDescendants are omitted for concepts with more than 10 descendants.
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Mathlib.Data.List.Basic
    2import Mathlib.Order.Monotone.Basic
    3
    4/-!
    5---
    6title: Uniform threshold for a finite list of type counts
    7type: lemma
    8---
    9For a fixed number of counts we can choose a uniformly bounded positive
    10threshold. The threshold dominates a prescribed nondecreasing function of
    11the total of the counts strictly below it, including when some counts vanish.
    12-/
    13namespace Lax977378.Threshold
    14
    15def rareTotal (t : Nat) (counts : List Nat) : Nat :=
    16 ((counts.filter (fun n => decide (n < t))).sum)
    17
    18axiom uniformGap (N : Nat) (h : Nat → Nat) (mono : Monotone h) :
    19 ∃ U, ∀ counts : List Nat, counts.length ≤ N →
    20 ∃ t, 0 < t ∧ t ≤ U ∧ h (rareTotal t counts) ≤ t
    21
    22end Lax977378.Threshold
    23
    Show Proof

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…