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.AlgebraicGeometry.ComplexPoints.Analytic.Affine |
| 2 | import Mathlib.Topology.Algebra.Ring.Basic |
| 3 | |
| 4 | /-! # Character Closed -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.CharacterClosed.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual complex algebra characters form a closed subspace of the |
| 11 | product of their evaluation coordinates, without finite generation. -/ |
| 12 | |
| 13 | variable (A : Type*) [CommRing A] [Algebra ℂ A] |
| 14 | |
| 15 | theorem character_range : |
| 16 | Set.range (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) = |
| 17 | {f : A → ℂ | f 0 = 0 ∧ f 1 = 1 ∧ |
| 18 | (∀ a b, f (a + b) = f a + f b) ∧ |
| 19 | (∀ a b, f (a * b) = f a * f b) ∧ |
| 20 | ∀ c : ℂ, f (algebraMap ℂ A c) = c} := by |
| 21 | ext f |
| 22 | constructor |
| 23 | · rintro ⟨x, rfl⟩ |
| 24 | exact ⟨x.map_zero, x.map_one, x.map_add, x.map_mul, x.commutes⟩ |
| 25 | · rintro ⟨hz, ho, ha, hm, hc⟩ |
| 26 | exact ⟨{ toFun := f |
| 27 | map_zero' := hz |
| 28 | map_one' := ho |
| 29 | map_add' := ha |
| 30 | map_mul' := hm |
| 31 | commutes' := hc }, rfl⟩ |
| 32 | |
| 33 | theorem isClosed_character_range : |
| 34 | IsClosed (Set.range (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ))) := by |
| 35 | rw [character_range] |
| 36 | simp_rw [Set.ofPred_and, Set.ofPred_forall] |
| 37 | exact (isClosed_eq (continuous_apply 0) continuous_const).inter |
| 38 | ((isClosed_eq (continuous_apply 1) continuous_const).inter |
| 39 | ((isClosed_iInter fun a => isClosed_iInter fun b => |
| 40 | isClosed_eq (continuous_apply (a + b)) |
| 41 | ((continuous_apply a).add (continuous_apply b))).inter |
| 42 | ((isClosed_iInter fun a => isClosed_iInter fun b => |
| 43 | isClosed_eq (continuous_apply (a * b)) |
| 44 | ((continuous_apply a).mul (continuous_apply b))).inter |
| 45 | (isClosed_iInter fun c => |
| 46 | isClosed_eq (continuous_apply (algebraMap ℂ A c)) continuous_const)))) |
| 47 | |
| 48 | theorem isClosedEmbedding_character_coe : |
| 49 | Topology.IsClosedEmbedding (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) := |
| 50 | ⟨Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isEmbedding_coe, isClosed_character_range A⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.CharacterClosed.Constructions |