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.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeClosed |
| 3 | import Mathlib.Topology.Homeomorph.Lemmas |
| 4 | |
| 5 | /-! # Abelian Family Points -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.AbelianFamilyPoints.FamilyPoints |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Native topology of actual scheme fibers. The actual base change at a |
| 13 | complex point is homeomorphic to the topological fiber of the actual |
| 14 | map on complex points. The result is then specialized to abelian schemes. |
| 15 | No local topological trivialization is assumed or asserted. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | variable {X S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} |
| 22 | |
| 23 | def fiber (p : X ⟶ S) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := |
| 24 | Over.mk (pullback.snd p.left s.left) |
| 25 | |
| 26 | def fiberInclusion (p : X ⟶ S) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : fiber p s ⟶ X := |
| 27 | Over.homMk (pullback.fst p.left s.left) (by |
| 28 | change pullback.fst p.left s.left ≫ X.hom = pullback.snd p.left s.left |
| 29 | rw [← Over.w p, ← Category.assoc, pullback.condition, Category.assoc, Over.w s] |
| 30 | exact Category.comp_id _) |
| 31 | |
| 32 | instance fiberInclusion_closed (p : X ⟶ S) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : |
| 33 | IsClosedImmersion (fiberInclusion p s).left := by |
| 34 | have : IsClosedImmersion s.left := |
| 35 | isClosedImmersion_of_comp_eq_id S.hom s.left s.w |
| 36 | change IsClosedImmersion (pullback.fst p.left s.left) |
| 37 | infer_instance |
| 38 | |
| 39 | theorem fiberInclusion_range (p : X ⟶ S) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : |
| 40 | Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (fiberInclusion p s)) = |
| 41 | {x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p x = s} := by |
| 42 | ext x |
| 43 | constructor |
| 44 | · rintro ⟨q, rfl⟩ |
| 45 | apply Over.OverMorphism.ext |
| 46 | change (q.left ≫ pullback.fst p.left s.left) ≫ p.left = s.left |
| 47 | erw [Category.assoc, pullback.condition, ← Category.assoc] |
| 48 | have hq : q.left ≫ pullback.snd p.left s.left = 𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := q.w |
| 49 | rw [hq] |
| 50 | exact Category.id_comp s.left |
| 51 | · intro hx |
| 52 | have hx' : x.left ≫ p.left = s.left := congrArg Over.Hom.left hx |
| 53 | have h : x.left ≫ p.left = (𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ≫ s.left := by |
| 54 | simpa only [Category.id_comp] using hx' |
| 55 | let q : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (fiber p s) := |
| 56 | Over.homMk (pullback.lift x.left (𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) h) (by |
| 57 | change pullback.lift x.left (𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) h ≫ pullback.snd p.left s.left = |
| 58 | 𝟙 AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase |
| 59 | exact pullback.lift_snd _ _ _) |
| 60 | refine ⟨q, ?_⟩ |
| 61 | apply Over.OverMorphism.ext |
| 62 | exact pullback.lift_fst _ _ _ |
| 63 | |
| 64 | /-- Actual scheme base change gives precisely the native topological fiber. -/ |
| 65 | def fiberHomeomorph (p : X ⟶ S) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : |
| 66 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (fiber p s) ≃ₜ |
| 67 | {x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X // AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p x = s} := |
| 68 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion |
| 69 | (fiberInclusion p s)).isEmbedding.toHomeomorph.trans |
| 70 | (Homeomorph.setCongr (fiberInclusion_range p s)) |
| 71 | |
| 72 | theorem fiberHomeomorph_apply (p : X ⟶ S) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) |
| 73 | (x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (fiber p s)) : |
| 74 | (fiberHomeomorph p s x).val = AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (fiberInclusion p s) x := rfl |
| 75 | |
| 76 | /-- The total space of an abelian scheme over a complex base scheme. -/ |
| 77 | def total {g : ℕ} (S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S.left) : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := |
| 78 | Over.mk (A.scheme.hom ≫ S.hom) |
| 79 | |
| 80 | def projection {g : ℕ} (S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S.left) : |
| 81 | total S A ⟶ S := Over.homMk A.scheme.hom rfl |
| 82 | |
| 83 | /-- The genuine algebraic identity section of the abelian scheme, |
| 84 | regarded over the complex base. -/ |
| 85 | def identitySection {g : ℕ} (S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S.left) : |
| 86 | S ⟶ total S A := |
| 87 | Over.homMk (1 : Over.mk (𝟙 S.left) ⟶ A.scheme).left (by |
| 88 | change (1 : Over.mk (𝟙 S.left) ⟶ A.scheme).left ≫ (A.scheme.hom ≫ S.hom) = S.hom |
| 89 | rw [← Category.assoc, Over.w] |
| 90 | exact Category.id_comp S.hom) |
| 91 | |
| 92 | theorem identitySection_projection {g : ℕ} (S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 93 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S.left) : identitySection S A ≫ projection S A = 𝟙 S := by |
| 94 | apply Over.OverMorphism.ext |
| 95 | exact (1 : Over.mk (𝟙 S.left) ⟶ A.scheme).w |
| 96 | |
| 97 | /-- The actual native point map of the identity section is continuous |
| 98 | and is a section of the actual native family projection. -/ |
| 99 | theorem native_identitySection {g : ℕ} (S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 100 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S.left) : |
| 101 | Continuous (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (identitySection S A)) ∧ |
| 102 | Function.RightInverse (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (identitySection S A)) |
| 103 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (projection S A)) := by |
| 104 | refine ⟨AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map _, fun s => ?_⟩ |
| 105 | change (s ≫ identitySection S A) ≫ projection S A = s |
| 106 | rw [Category.assoc, identitySection_projection, Category.comp_id] |
| 107 | |
| 108 | /-- This is the literal base-change fiber of the actual abelian scheme, |
| 109 | with its existing native topology on complex points. -/ |
| 110 | def abelianFiberHomeomorph {g : ℕ} (S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 111 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S.left) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : |
| 112 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (A.pullback s.left).scheme ≃ₜ |
| 113 | {x : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (total S A) // AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (projection S A) x = s} := |
| 114 | fiberHomeomorph (projection S A) s |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.ArithmeticGeometry.Descent.CMVariety.AbelianFamilyPoints.FamilyPoints |