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 Mathlib.Geometry.Manifold.ContMDiff.NormedSpace |
| 2 | |
| 3 | /-! # Smooth Cover Functions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.SmoothCoverFunctions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Gluing compatible smooth real functions on an open cover indexed by its points. -/ |
| 10 | |
| 11 | open _root_.TopologicalSpace |
| 12 | open scoped _root_.Manifold ContDiff |
| 13 | |
| 14 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 15 | [TopologicalSpace M] [ChartedSpace E M] |
| 16 | (U : M → Opens M) (hU : ∀ x, x ∈ U x) (f : ∀ i, U i → ℝ) |
| 17 | |
| 18 | def smoothCoverFunction : M → ℝ := fun x => f x ⟨x, hU x⟩ |
| 19 | |
| 20 | theorem smoothCoverFunction_onOpen |
| 21 | (hf : ∀ i j x (hi : x ∈ U i) (hj : x ∈ U j), f i ⟨x, hi⟩ = f j ⟨x, hj⟩) |
| 22 | (i : M) (x : U i) : smoothCoverFunction U hU f x.val = f i x := |
| 23 | hf x.val i x.val (hU x.val) x.property |
| 24 | |
| 25 | theorem smoothCoverFunction_contMDiff |
| 26 | (hf : ∀ i j x (hi : x ∈ U i) (hj : x ∈ U j), f i ⟨x, hi⟩ = f j ⟨x, hj⟩) |
| 27 | (hs : ∀ i, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (f i)) : |
| 28 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (smoothCoverFunction U hU f) := by |
| 29 | intro x |
| 30 | apply (contMDiffAt_subtype_iff (U := U x) (x := ⟨x, hU x⟩)).mp |
| 31 | have he : (fun y : U x => smoothCoverFunction U hU f y.val) = f x := |
| 32 | funext (smoothCoverFunction_onOpen U hU f hf x) |
| 33 | rw [he] |
| 34 | exact hs x ⟨x, hU x⟩ |
| 35 | |
| 36 | theorem smoothCoverFunction_pos (hf : ∀ i x, 0 < f i x) (x : M) : |
| 37 | 0 < smoothCoverFunction U hU f x := hf x ⟨x, hU x⟩ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.DivisorClass.Chern.SmoothCoverFunctions |