Lean / Reader
Lean readerHuberCounterexample.lean
Lean 4 Web has Mathlib, so it can check files that import only Mathlib. This one also imports HuberTranslate, HuberVolumes, which it does not have: you can read it there, but it will not check. Build the project itself to check it.
import HuberTranslateimport HuberVolumesnamespace HuberDisk/-- The free center at (1/2,1/2) strictly improves on every integralcenter at the same positive integer radius. -/theorem free_center_beats_all_grid_centers (a b : ℤ) :hullArea ((a:ℝ),(b:ℝ)) 8 < hullArea (1/2,1/2) 8 := byrw [integer_center_area]exact strict_increase/-- Refutation of the universal assertion for integer disk radii. -/theorem refutes_center_conjecture :¬ ∀ n : ℕ, 0 < n → ∀ c : Plane, ∃ a b : ℤ, hullArea c n ≤ hullArea ((a:ℝ),(b:ℝ)) n := byintro hobtain ⟨a,b,hab⟩ := h 8 (by decide) (1/2,1/2)exact (not_le_of_gt (free_center_beats_all_grid_centers a b)) hab#print axioms refutes_center_conjectureend HuberDisk