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.Algebra.Category.CommAlgCat.Basic |
| 3 | import Mathlib.Topology.Category.TopCat.Basic |
| 4 | |
| 5 | /-! # Affine Point Maps -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | /-!+# Continuous maps of affine complex points |
| 10 | |
| 11 | The evaluation topology on `affineComplexPoints A = (A →ₐ[ℂ] ℂ)` makes |
| 12 | precomposition by an actual complex algebra homomorphism continuous. These maps |
| 13 | form a contravariant functor from complex commutative algebras to topological |
| 14 | spaces. No continuity assumption on the algebra homomorphism is needed. |
| 15 | -/ |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | section |
| 20 | |
| 21 | variable {A : Type u} {B : Type v} {D : Type w} |
| 22 | variable [CommRing A] [Algebra ℂ A] |
| 23 | variable [CommRing B] [Algebra ℂ B] |
| 24 | variable [CommRing D] [Algebra ℂ D] |
| 25 | |
| 26 | /-- The continuous map of complex points induced contravariantly by an algebra map. -/ |
| 27 | def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (f : A →ₐ[ℂ] B) : C(Foundations.Scheme.AffineComplexPoints.affineComplexPoints B, Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) where |
| 28 | toFun x := x.comp f |
| 29 | continuous_toFun := by |
| 30 | apply (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff _).mpr |
| 31 | intro a |
| 32 | exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval (f a) |
| 33 | |
| 34 | @[simp] |
| 35 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap_apply (f : A →ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (a : A) : |
| 36 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x a = x (f a) := rfl |
| 37 | |
| 38 | @[simp] |
| 39 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap_id : |
| 40 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (AlgHom.id ℂ A) = ContinuousMap.id (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) := by |
| 41 | ext x a |
| 42 | rfl |
| 43 | |
| 44 | @[simp] |
| 45 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap_comp (f : A →ₐ[ℂ] B) (g : B →ₐ[ℂ] D) : |
| 46 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (g.comp f) = (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f).comp (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap g) := by |
| 47 | ext x a |
| 48 | rfl |
| 49 | |
| 50 | /-- Isomorphic complex algebras have homeomorphic spaces of complex points. -/ |
| 51 | noncomputable def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comapHomeomorph (e : A ≃ₐ[ℂ] B) : |
| 52 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints B ≃ₜ Foundations.Scheme.AffineComplexPoints.affineComplexPoints A where |
| 53 | toFun := Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap e.toAlgHom |
| 54 | invFun := Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap e.symm.toAlgHom |
| 55 | left_inv x := by |
| 56 | ext b |
| 57 | change x (e (e.symm b)) = x b |
| 58 | exact congrArg x (e.apply_symm_apply b) |
| 59 | right_inv x := by |
| 60 | ext a |
| 61 | change x (e.symm (e a)) = x a |
| 62 | exact congrArg x (e.symm_apply_apply a) |
| 63 | continuous_toFun := (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap e.toAlgHom).continuous |
| 64 | continuous_invFun := (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap e.symm.toAlgHom).continuous |
| 65 | |
| 66 | @[simp] |
| 67 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comapHomeomorph_apply (e : A ≃ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (a : A) : |
| 68 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comapHomeomorph e x a = x (e a) := rfl |
| 69 | |
| 70 | end |
| 71 | |
| 72 | open _root_.CategoryTheory Opposite |
| 73 | |
| 74 | /-- Under the standard affine-scheme correspondence, precomposition is composition |
| 75 | with the induced morphism of affine schemes over `Spec ℂ`. -/ |
| 76 | @[simp] |
| 77 | theorem ComplexPoints.Analytic.AffinePointMaps.affineComplexPointsEquiv_comap {A B : Type} |
| 78 | [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 79 | (f : A →ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 80 | Foundations.Scheme.AffineComplexPoints.affineComplexPointsEquiv A (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) = |
| 81 | Foundations.Scheme.AffineComplexPoints.affineComplexPointsEquiv B x ≫ Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A B f := by |
| 82 | apply Over.OverMorphism.ext |
| 83 | rw [Foundations.Scheme.AffineComplexPoints.affineComplexPointsEquiv_left, Over.comp_left, Foundations.Scheme.AffineComplexPoints.affineComplexPointsEquiv_left, |
| 84 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv_left] |
| 85 | exact AlgebraicGeometry.Spec.map_comp (CommRingCat.ofHom f.toRingHom) |
| 86 | (CommRingCat.ofHom x.toRingHom) |
| 87 | |
| 88 | /-- Complex points, with their evaluation topology, form a contravariant functor. -/ |
| 89 | noncomputable def ComplexPoints.Analytic.AffinePointMaps.affineComplexPointsFunctor : (CommAlgCat.{u} ℂ)ᵒᵖ ⥤ TopCat.{u} where |
| 90 | obj A := TopCat.of (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A.unop) |
| 91 | map f := TopCat.ofHom (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f.unop.hom) |
| 92 | map_id A := by |
| 93 | ext x a |
| 94 | rfl |
| 95 | map_comp f g := by |
| 96 | ext x a |
| 97 | rfl |
| 98 | |
| 99 | end OAI.AlgebraicGeometry |