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 | /-! # Generating Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry |
| 7 | |
| 8 | /-! |
| 9 | # Independence of the generating coordinates |
| 10 | |
| 11 | If a family generates a complex algebra, evaluation on that family induces the |
| 12 | ordinary topology on its complex points. The proof expresses each algebra |
| 13 | element as a multivariate polynomial in the generators. Consequently a finite |
| 14 | generating family realizes this topology inside ordinary finite-dimensional |
| 15 | complex affine space, and the topology is independent of the chosen family. |
| 16 | -/ |
| 17 | |
| 18 | universe u v w z |
| 19 | |
| 20 | variable {A : Type u} [CommRing A] [Algebra ℂ A] |
| 21 | variable {ι : Type v} {κ : Type w} |
| 22 | |
| 23 | /-- Coordinates of an affine complex point on a family of algebra elements. -/ |
| 24 | def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates (g : ι → A) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : ι → ℂ := |
| 25 | fun i => x (g i) |
| 26 | |
| 27 | /-- Evaluating any family of regular functions is continuous. -/ |
| 28 | @[continuity, fun_prop] |
| 29 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_coordinates (g : ι → A) : Continuous (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) := |
| 30 | continuous_pi fun i => Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval (g i) |
| 31 | |
| 32 | /-- A generating family gives a surjective polynomial presentation. -/ |
| 33 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.aeval_surjective_of_adjoin_eq_top (g : ι → A) |
| 34 | (hg : Algebra.adjoin ℂ (Set.range g) = ⊤) : |
| 35 | Function.Surjective (MvPolynomial.aeval g : MvPolynomial ι ℂ →ₐ[ℂ] A) := by |
| 36 | rw [← AlgHom.range_eq_top, ← Algebra.adjoin_range_eq_range_aeval] |
| 37 | exact hg |
| 38 | |
| 39 | /-- A regular-function evaluation is polynomial evaluation in the coordinates. -/ |
| 40 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.eval_aeval (g : ι → A) (p : MvPolynomial ι ℂ) : |
| 41 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.eval (MvPolynomial.aeval g p) = |
| 42 | fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => MvPolynomial.eval (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g x) p := by |
| 43 | funext x |
| 44 | exact MvPolynomial.comp_aeval_apply g x p |
| 45 | |
| 46 | /-- Generating coordinates induce exactly the ordinary topology on complex points. -/ |
| 47 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coordinates (g : ι → A) |
| 48 | (hg : Algebra.adjoin ℂ (Set.range g) = ⊤) : |
| 49 | Topology.IsInducing (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) := by |
| 50 | constructor |
| 51 | apply le_antisymm (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_coordinates g).le_induced |
| 52 | change TopologicalSpace.induced (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) inferInstance ≤ |
| 53 | TopologicalSpace.induced |
| 54 | (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) inferInstance |
| 55 | apply Continuous.le_induced |
| 56 | let : TopologicalSpace (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) := |
| 57 | TopologicalSpace.induced (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) inferInstance |
| 58 | apply continuous_pi |
| 59 | intro a |
| 60 | obtain ⟨p, rfl⟩ := Foundations.Scheme.AffineComplexPoints.affineComplexPoints.aeval_surjective_of_adjoin_eq_top g hg a |
| 61 | change @Continuous (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) ℂ |
| 62 | (TopologicalSpace.induced (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) inferInstance) _ |
| 63 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.eval (MvPolynomial.aeval g p)) |
| 64 | rw [Foundations.Scheme.AffineComplexPoints.affineComplexPoints.eval_aeval] |
| 65 | exact (MvPolynomial.continuous_eval p).comp |
| 66 | (continuous_induced_dom (f := Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g)) |
| 67 | |
| 68 | /-- A point is determined by its values on any algebra generating family. -/ |
| 69 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates_injective (g : ι → A) |
| 70 | (hg : Algebra.adjoin ℂ (Set.range g) = ⊤) : |
| 71 | Function.Injective (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) := by |
| 72 | intro x y h |
| 73 | apply AlgHom.ext_of_adjoin_eq_top hg |
| 74 | rintro a ⟨i, rfl⟩ |
| 75 | exact congrFun h i |
| 76 | |
| 77 | /-- Generating coordinates embed the complex-point space topologically. -/ |
| 78 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isEmbedding_coordinates (g : ι → A) |
| 79 | (hg : Algebra.adjoin ℂ (Set.range g) = ⊤) : |
| 80 | Topology.IsEmbedding (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) := |
| 81 | ⟨Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coordinates g hg, Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates_injective g hg⟩ |
| 82 | |
| 83 | /-- Continuity can be tested on the values of algebra generators alone. -/ |
| 84 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff_coordinates (g : ι → A) |
| 85 | (hg : Algebra.adjoin ℂ (Set.range g) = ⊤) |
| 86 | {X : Type z} [TopologicalSpace X] (f : X → Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 87 | Continuous f ↔ ∀ i : ι, Continuous (fun x => f x (g i)) := |
| 88 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coordinates g hg).continuous_iff.trans continuous_pi_iff |
| 89 | |
| 90 | /-- Two algebra generating families define exactly the same topology. -/ |
| 91 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.induced_coordinates_eq (g : ι → A) (h : κ → A) |
| 92 | (hg : Algebra.adjoin ℂ (Set.range g) = ⊤) |
| 93 | (hh : Algebra.adjoin ℂ (Set.range h) = ⊤) : |
| 94 | TopologicalSpace.induced (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates g) inferInstance = |
| 95 | TopologicalSpace.induced (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.coordinates h) inferInstance := |
| 96 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coordinates g hg).eq_induced.symm.trans |
| 97 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coordinates h hh).eq_induced |
| 98 | |
| 99 | end OAI.AlgebraicGeometry |