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 OAI.AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints |
| 3 | import Mathlib.Topology.Algebra.GroupWithZero |
| 4 | |
| 5 | /-! # Localization Point Evaluation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | /-! |
| 10 | # Continuity of fractions on principal affine open sets |
| 11 | |
| 12 | The ambient topology is the ordinary evaluation topology on complex algebra |
| 13 | characters. Denominators are nonzero because the domain is the principal open |
| 14 | set on which the element being inverted does not vanish. |
| 15 | -/ |
| 16 | |
| 17 | variable {A : Type*} [CommRing A] [Algebra ℂ A] |
| 18 | |
| 19 | /-- Fractions with a power denominator are continuous on the corresponding |
| 20 | principal open set of affine complex points. -/ |
| 21 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_principalFraction (a g : A) (n : ℕ) : |
| 22 | Continuous (fun x : {x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A // x g ≠ 0} => |
| 23 | x.1 a / (x.1 g) ^ n) := by |
| 24 | exact ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval a).comp continuous_subtype_val).div |
| 25 | (((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval g).comp continuous_subtype_val).pow n) |
| 26 | (fun x => pow_ne_zero n x.2) |
| 27 | |
| 28 | /-- Every evaluation of the universal-property extension to a principal |
| 29 | localization varies continuously with the original complex point. -/ |
| 30 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_localizePoint_eval (g : A) (z : Localization.Away g) : |
| 31 | Continuous (fun x : {x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A // x g ≠ 0} => |
| 32 | Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x.1 g x.2 z) := by |
| 33 | simpa only [Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_eq_div_sec] using |
| 34 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_principalFraction (IsLocalization.Away.sec g z).1 g |
| 35 | (IsLocalization.Away.sec g z).2 |
| 36 | |
| 37 | /-- Extension of complex characters to a principal localization is continuous |
| 38 | for the ordinary evaluation topologies. -/ |
| 39 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_localizePoint (g : A) : |
| 40 | Continuous (fun x : {x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A // x g ≠ 0} => |
| 41 | Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x.1 g x.2) := by |
| 42 | apply (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff _).mpr |
| 43 | exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_localizePoint_eval g |
| 44 | |
| 45 | /-- The inverse algebraic localization-point equivalence is continuous. -/ |
| 46 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_localizationPointEquiv_symm (g : A) : |
| 47 | Continuous (Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizationPointEquiv (K := ℂ) g).symm := by |
| 48 | change Continuous (fun x : {x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A // x g ≠ 0} => |
| 49 | Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x.1 g x.2) |
| 50 | exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_localizePoint g |
| 51 | |
| 52 | end OAI.AlgebraicGeometry |