Uniform threshold for a finite list of type counts
Lax977378.Threshold · concepts/Lax977378/Threshold.lean · lax-977378
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural 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
Lean source view on GitHub
| 1 | import Mathlib.Data.List.Basic |
| 2 | import Mathlib.Order.Monotone.Basic |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Uniform threshold for a finite list of type counts |
| 7 | type: lemma |
| 8 | --- |
| 9 | For a fixed number of counts we can choose a uniformly bounded positive |
| 10 | threshold. The threshold dominates a prescribed nondecreasing function of |
| 11 | the total of the counts strictly below it, including when some counts vanish. |
| 12 | -/ |
| 13 | namespace Lax977378.Threshold |
| 14 | |
| 15 | def rareTotal (t : Nat) (counts : List Nat) : Nat := |
| 16 | ((counts.filter (fun n => decide (n < t))).sum) |
| 17 | |
| 18 | axiom 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 | |
| 22 | end Lax977378.Threshold |
| 23 |
Builds on
none
Used by
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments