Lean / Reader
Lean reader

PaperMain.lean

35 lines3 declarationsno sorryimports OAI.NumberTheory.JointDickman.UnconditionalMain

Lean 4 Web has Mathlib, so it can check files that import only Mathlib. This one also imports OAI.NumberTheory.JointDickman.UnconditionalMain, which it does not have: you can read it there, but it will not check. Build the project itself to check it.

  1. import OAI.NumberTheory.JointDickman.UnconditionalMain
  2. namespace OAI
  3. /-! # The joint Dickman law for consecutive integers -/
  4. namespace JointDickmanPaper
  5. open Filter JointDickman
  6. open scoped Topology
  7. /-- Theorem 1: ordinary natural density, with both thresholds based at `n`. -/
  8. theorem joint_law (a b : ℝ) (ha : 0 < a) (ha1 : a < 1) (hb : 0 < b) (hb1 : b < 1) :
  9. Tendsto (realDensity (fun n =>
  10. (n.maxPrimeFac : ℝ) ≤ (n : ℝ) ^ a ∧ ((n + 1).maxPrimeFac : ℝ) ≤ (n : ℝ) ^ b))
  11. atTop (𝓝 (Erdos970.NumberTheoryLean.Dickman.rho (1 / a) *
  12. Erdos970.NumberTheoryLean.Dickman.rho (1 / b))) :=
  13. jointDickmanLaw_unconditional a b ha ha1 hb hb1
  14. /-- Corollary 2: the increasing strict ordering has natural density one half. -/
  15. theorem increasing_order :
  16. Tendsto (realDensity (fun n => n.maxPrimeFac < (n + 1).maxPrimeFac))
  17. atTop (𝓝 (1 / 2)) :=
  18. increasingOrderLaw_unconditional
  19. /-- The reverse strict ordering also has natural density one half. -/
  20. theorem decreasing_order :
  21. Tendsto (realDensity (fun n => (n + 1).maxPrimeFac < n.maxPrimeFac))
  22. atTop (𝓝 (1 / 2)) :=
  23. decreasingOrderLaw_unconditional
  24. end JointDickmanPaper
  25. end OAI