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.SchemeAffineCover |
| 2 | import Mathlib.RingTheory.TensorProduct.Maps |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 4 | |
| 5 | /-! # Point Product -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PointProduct.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual complex points of a scheme product carry the ordinary |
| 12 | product topology, proved using genuine affine tensor-product characters. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.Topology MonoidalCategory TensorProduct |
| 17 | |
| 18 | /-- The complex character of a tensor product determined by a pair of characters. -/ |
| 19 | def affineTensorPair (A B : Type) [CommRing A] [Algebra ℂ A] |
| 20 | [CommRing B] [Algebra ℂ B] (xy : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A × Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 21 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints (A ⊗[ℂ] B) := |
| 22 | Algebra.TensorProduct.lift xy.1 xy.2 (fun _ _ => Commute.all _ _) |
| 23 | |
| 24 | /-- Pairing affine characters is continuous in their ordinary evaluation topologies. -/ |
| 25 | theorem affineTensorPair_continuous (A B : Type) [CommRing A] [Algebra ℂ A] |
| 26 | [CommRing B] [Algebra ℂ B] : Continuous (affineTensorPair A B) := by |
| 27 | apply (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff _).mpr |
| 28 | intro t |
| 29 | induction t using TensorProduct.inductionOn with |
| 30 | | add x y hx hy => simp only [map_add]; exact hx.add hy |
| 31 | | tmul a b => |
| 32 | change Continuous (fun xy : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A × Foundations.Scheme.AffineComplexPoints.affineComplexPoints B => xy.1 a * xy.2 b) |
| 33 | exact ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval a).comp continuous_fst).mul |
| 34 | ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval b).comp continuous_snd) |
| 35 | |
| 36 | /-- The actual scheme map from the tensor-product affine chart to a product. -/ |
| 37 | def affineProductMap {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (A B : CommAlgCat ℂ) |
| 38 | (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) : |
| 39 | Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (A ⊗[ℂ] B) ⟶ X ⊗ Y := |
| 40 | lift |
| 41 | (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A (A ⊗[ℂ] B) Algebra.TensorProduct.includeLeft ≫ f) |
| 42 | (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ B (A ⊗[ℂ] B) Algebra.TensorProduct.includeRight ≫ g) |
| 43 | |
| 44 | /-- The algebraic product chart has the expected value on complex points. -/ |
| 45 | theorem affineProductMap_apply {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (A B : CommAlgCat ℂ) |
| 46 | (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 47 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 48 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ (A ⊗[ℂ] B)) |
| 49 | (affineProductMap A B f g) (affineTensorPair A B (x, y)) = |
| 50 | lift (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A f x) |
| 51 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B g y) := by |
| 52 | apply CartesianMonoidalCategory.hom_ext |
| 53 | · simp only [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap, affineProductMap, Category.assoc, lift_fst] |
| 54 | rw [← Category.assoc, ← ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap] |
| 55 | change ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A |
| 56 | ((Algebra.TensorProduct.lift x y _).comp Algebra.TensorProduct.includeLeft) ≫ f = _ |
| 57 | rw [Algebra.TensorProduct.lift_comp_includeLeft] |
| 58 | · simp only [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap, affineProductMap, Category.assoc, lift_snd] |
| 59 | rw [← Category.assoc, ← ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap] |
| 60 | change ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv B |
| 61 | ((Algebra.TensorProduct.lift x y _).comp Algebra.TensorProduct.includeRight) ≫ g = _ |
| 62 | rw [Algebra.TensorProduct.lift_comp_includeRight'] |
| 63 | |
| 64 | /-- Pairing points is continuous on each pair of affine test spaces. -/ |
| 65 | theorem affinePointPair_continuous {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (A B : CommAlgCat ℂ) |
| 66 | (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) : |
| 67 | Continuous (fun xy : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A × Foundations.Scheme.AffineComplexPoints.affineComplexPoints B => |
| 68 | lift (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A f xy.1) |
| 69 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B g xy.2)) := by |
| 70 | exact ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap |
| 71 | (CommAlgCat.of ℂ (A ⊗[ℂ] B)) (affineProductMap A B f g)).comp |
| 72 | (affineTensorPair_continuous A B)).congr (fun xy => affineProductMap_apply A B f g xy.1 xy.2) |
| 73 | |
| 74 | /-- Affine open charts prove continuity of the global point-pairing map. -/ |
| 75 | theorem schemePointPair_continuous (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 76 | Continuous (fun xy : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X × ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y => lift xy.1 xy.2) := by |
| 77 | apply continuous_iff_continuousAt.mpr |
| 78 | rintro ⟨x, y⟩ |
| 79 | obtain ⟨U, hU, u, rfl⟩ := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineOpenPoint_lift X x |
| 80 | obtain ⟨V, hV, v, rfl⟩ := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineOpenPoint_lift Y y |
| 81 | have ho := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_affineOpenPointMap X U hU).prodMap |
| 82 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_affineOpenPointMap Y V hV) |
| 83 | have hc := (affinePointPair_continuous (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) |
| 84 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V) |
| 85 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU) |
| 86 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y V hV)).continuousAt (x := (u, v)) |
| 87 | exact (ho.continuousAt_iff |
| 88 | (g := fun xy : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X × ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y => lift xy.1 xy.2) |
| 89 | (x := (u, v))).mp hc |
| 90 | |
| 91 | /-- Complex points of the scheme product carry the ordinary product topology. -/ |
| 92 | def schemePointProductHomeomorph (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 93 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (X ⊗ Y) ≃ₜ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X × ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) where |
| 94 | toFun p := (p ≫ fst X Y, p ≫ snd X Y) |
| 95 | invFun xy := lift xy.1 xy.2 |
| 96 | left_inv p := by simp |
| 97 | right_inv xy := by simp |
| 98 | continuous_toFun := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map (fst X Y)).prodMk |
| 99 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map (snd X Y)) |
| 100 | continuous_invFun := schemePointPair_continuous X Y |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PointProduct.Constructions |