Exact greatest-integer semantics of
ProvedErdos788.f_isGreatestIntegerGuaranteecombinatoricserdos-problemsformalization
For every , the integer has the universal guarantee from Erdős Problem 788, and it is maximal among all integer thresholds with that guarantee:
Thus the bounded natural-number construction used to define recovers the exact “greatest integer” quantifier order in the original problem, including negative candidate thresholds and the edge case .
Preamble
import Definitions.Def_erdos788_problem
Formal statement
namespace Erdos788
/-- `f n` is exactly the greatest integer having the universal guarantee in
the original finite problem. -/
theorem f_isGreatestIntegerGuarantee (n : ℕ) :
IntegerGuarantees n (f n) ∧
∀ t : ℤ, IntegerGuarantees n t → t ≤ f n := by sorry
end Erdos788Source
Shouqiao Wang, Erdős Problem 788 formalization, Definitions.lean, lines 92–96: https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/788/lean/Erdos788/Definitions.lean#L92-L96.