Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.Analysis.HodgeTheory.Decomposition.CoordinateLp |
| 2 | import Mathlib.Topology.MetricSpace.Pseudo.Basic |
| 3 | |
| 4 | /-! # Compact Transfer -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.CompactTransfer.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transfer of total boundedness under a proved comparison of pairwise |
| 11 | distances. This will carry coordinate compactness to genuine manifold L². -/ |
| 12 | |
| 13 | open Set _root_.Metric |
| 14 | |
| 15 | theorem totallyBounded_image_of_dist_le {A X Y : Type*} |
| 16 | [PseudoMetricSpace X] [PseudoMetricSpace Y] (f : A → X) (g : A → Y) |
| 17 | (S : Set A) (C : ℝ) (hC : 0 < C) |
| 18 | (h : ∀ a ∈ S, ∀ b ∈ S, dist (g a) (g b) ≤ C * dist (f a) (f b)) |
| 19 | (hf : TotallyBounded (f '' S)) : TotallyBounded (g '' S) := by |
| 20 | classical |
| 21 | apply Metric.totallyBounded_iff.mpr |
| 22 | intro ε hε |
| 23 | obtain ⟨T, hTsub, hTfin, hcover⟩ := Metric.finite_approx_of_totallyBounded hf (ε / C) (div_pos hε hC) |
| 24 | have hlift : ∀ t : T, ∃ a : A, a ∈ S ∧ f a = t.val := fun t => hTsub t.property |
| 25 | choose lift hliftS hliftF using hlift |
| 26 | let : Fintype T := hTfin.fintype |
| 27 | refine ⟨Set.range (fun t : T => g (lift t)), Set.finite_range _, ?_⟩ |
| 28 | rintro _ ⟨a, ha, rfl⟩ |
| 29 | obtain ⟨t, ht, hclose⟩ := Set.mem_iUnion₂.mp (hcover (Set.mem_image_of_mem f ha)) |
| 30 | apply Set.mem_iUnion₂.mpr |
| 31 | refine ⟨g (lift ⟨t, ht⟩), ⟨⟨t, ht⟩, rfl⟩, ?_⟩ |
| 32 | change dist (g a) (g (lift ⟨t, ht⟩)) < ε |
| 33 | calc |
| 34 | _ ≤ C * dist (f a) (f (lift ⟨t, ht⟩)) := h a ha _ (hliftS _) |
| 35 | _ = C * dist (f a) t := by rw [hliftF] |
| 36 | _ < C * (ε / C) := mul_lt_mul_of_pos_left hclose hC |
| 37 | _ = ε := mul_div_cancel₀ ε hC.ne' |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.Analysis.HodgeTheory.Decomposition.CompactTransfer.Constructions |