math / data /lean /ComparatorChallenges /Jacobsthal.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
630 Bytes
import Mathlib
namespace OAI
namespace Erdos970
namespace NumberTheoryLean.Targets
open Filter
open scoped Topology
def IsJacobsthalBound (k m : β„•) : Prop :=
βˆ€ n : β„•, 0 < n β†’ n.primeFactors.card ≀ k β†’
βˆ€ a : β„€, βˆƒ i : β„•, i < m ∧ (a + i).natAbs.Coprime n
def JacobsthalQuadratic : Prop :=
βˆƒ C : ℝ, 0 < C ∧ βˆ€ k : β„•, 0 < k β†’
βˆƒ m : β„•, IsJacobsthalBound k m ∧ (m : ℝ) ≀ C * (k : ℝ) ^ 2
end NumberTheoryLean.Targets
namespace Erdos970Final
theorem erdos_970_quadratic : NumberTheoryLean.Targets.JacobsthalQuadratic := by
sorry
end Erdos970Final
end Erdos970
end OAI