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.MvPolynomial |
| 3 | |
| 4 | /-! # Polynomial Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.PolynomialEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Polynomial coordinates on affine complex points |
| 12 | |
| 13 | The complex points of a polynomial algebra, with the topology induced by all |
| 14 | regular functions, are homeomorphic to the ordinary product of complex |
| 15 | coordinate spaces. This identifies the affine-point topology with the standard |
| 16 | Euclidean topology when the variable type is finite. No Zariski topology is used. |
| 17 | -/ |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | /-- A character of a polynomial algebra is uniquely determined by its coordinates. -/ |
| 22 | def polynomialPointEquiv (ι : Type u) : |
| 23 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints (MvPolynomial ι ℂ) ≃ (ι → ℂ) where |
| 24 | toFun x i := x (MvPolynomial.X i) |
| 25 | invFun z := MvPolynomial.aeval z |
| 26 | left_inv x := (MvPolynomial.aeval_unique x).symm |
| 27 | right_inv z := by |
| 28 | funext i |
| 29 | exact MvPolynomial.aeval_X z i |
| 30 | |
| 31 | @[simp] theorem polynomialPointEquiv_apply {ι : Type u} |
| 32 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (MvPolynomial ι ℂ)) (i : ι) : |
| 33 | polynomialPointEquiv ι x i = x (MvPolynomial.X i) := rfl |
| 34 | |
| 35 | @[simp] theorem polynomialPointEquiv_symm_apply {ι : Type u} |
| 36 | (z : ι → ℂ) (p : MvPolynomial ι ℂ) : |
| 37 | (polynomialPointEquiv ι).symm z p = MvPolynomial.eval z p := rfl |
| 38 | |
| 39 | /-- Evaluation in coordinates agrees with the given algebra character. -/ |
| 40 | @[simp] theorem polynomialPointEquiv_eval {ι : Type u} |
| 41 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (MvPolynomial ι ℂ)) (p : MvPolynomial ι ℂ) : |
| 42 | MvPolynomial.eval (polynomialPointEquiv ι x) p = x p := |
| 43 | (AlgHom.congr_fun (MvPolynomial.aeval_unique x) p).symm |
| 44 | |
| 45 | /-- The topology defined by all polynomial evaluations is exactly the coordinate topology. -/ |
| 46 | def polynomialPointHomeomorph (ι : Type u) : |
| 47 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints (MvPolynomial ι ℂ) ≃ₜ (ι → ℂ) where |
| 48 | toEquiv := polynomialPointEquiv ι |
| 49 | continuous_toFun := continuous_pi fun i => |
| 50 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval (MvPolynomial.X i) |
| 51 | continuous_invFun := by |
| 52 | apply (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff _).2 |
| 53 | intro p |
| 54 | exact MvPolynomial.continuous_eval p |
| 55 | |
| 56 | @[simp] theorem polynomialPointHomeomorph_apply {ι : Type u} |
| 57 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (MvPolynomial ι ℂ)) (i : ι) : |
| 58 | polynomialPointHomeomorph ι x i = x (MvPolynomial.X i) := rfl |
| 59 | |
| 60 | @[simp] theorem polynomialPointHomeomorph_symm_apply {ι : Type u} |
| 61 | (z : ι → ℂ) (p : MvPolynomial ι ℂ) : |
| 62 | (polynomialPointHomeomorph ι).symm z p = MvPolynomial.eval z p := rfl |
| 63 | |
| 64 | /-- A family of polynomial coordinate functions defines a continuous map. -/ |
| 65 | theorem continuous_polynomial_map {ι : Type u} {κ : Type v} |
| 66 | (P : κ → MvPolynomial ι ℂ) : |
| 67 | Continuous (fun z : ι → ℂ => fun j => MvPolynomial.eval z (P j)) := |
| 68 | continuous_pi fun j => MvPolynomial.continuous_eval (P j) |
| 69 | |
| 70 | /-- Restricting a regular function to any affine coordinate subspace is continuous. -/ |
| 71 | theorem continuous_polynomial_restriction {ι : Type u} |
| 72 | (s : Set (ι → ℂ)) (p : MvPolynomial ι ℂ) : |
| 73 | Continuous (fun z : s => MvPolynomial.eval (z : ι → ℂ) p) := |
| 74 | (MvPolynomial.continuous_eval p).comp continuous_subtype_val |
| 75 | |
| 76 | /-- Algebraic substitution becomes the usual polynomial map in complex coordinates. -/ |
| 77 | theorem polynomialPointEquiv_comp_aeval {ι : Type u} {κ : Type v} |
| 78 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (MvPolynomial ι ℂ)) |
| 79 | (P : κ → MvPolynomial ι ℂ) (j : κ) : |
| 80 | polynomialPointEquiv κ (x.comp (MvPolynomial.aeval P)) j = |
| 81 | MvPolynomial.eval (polynomialPointEquiv ι x) (P j) := by |
| 82 | simp only [polynomialPointEquiv_apply, AlgHom.comp_apply, MvPolynomial.aeval_X, |
| 83 | polynomialPointEquiv_eval] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.PolynomialEvaluation |