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.ReferenceFamily.Intrinsic.Torsion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionScheme |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 5 | import OAI.AlgebraicGeometry.Foundations.Scheme.StandardSmoothDimension |
| 6 | import OAI.AlgebraicGeometry.Betti.SmoothDimension |
| 7 | |
| 8 | /-! # Intrinsic Adapter -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Relate HilbertConstruction's actual complex abelian schemes to the native abelian |
| 15 | variety model. Integrality is proved from smoothness and connectedness; |
| 16 | the projective input is an actual closed embedding of the same scheme. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 22 | |
| 23 | variable {g : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) |
| 24 | |
| 25 | theorem carrier_integral : IsIntegral A.scheme.left := by |
| 26 | have hc : ConnectedSpace A.scheme.left := |
| 27 | GeometricallyConnected.connectedSpace_of_subsingleton A.scheme.hom |
| 28 | let : ConnectedSpace A.scheme.left := hc |
| 29 | let : IsLocallyNoetherian A.scheme.left := LocallyOfFiniteType.isLocallyNoetherian A.scheme.hom |
| 30 | let : CompactSpace A.scheme.left := QuasiCompact.compactSpace_of_compactSpace A.scheme.hom |
| 31 | let : IsNoetherian A.scheme.left := ⟨⟩ |
| 32 | let x : A.scheme.left := Classical.choice inferInstance |
| 33 | have hi := irreducibleComponent_mem_irreducibleComponents x |
| 34 | have ho := Foundations.Scheme.LocalDomainComponents.isOpen_irreducibleComponent_of_stalkDomains |
| 35 | (Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain A.scheme.hom) finite_irreducibleComponents_of_isNoetherian hi |
| 36 | have he : irreducibleComponent x = Set.univ := |
| 37 | (show IsClopen (irreducibleComponent x) from ⟨isClosed_irreducibleComponent, ho⟩).eq_univ |
| 38 | ⟨x, mem_irreducibleComponent⟩ |
| 39 | have hir : IsIrreducible (Set.univ : Set A.scheme.left) := he ▸ hi.1 |
| 40 | let : PreirreducibleSpace A.scheme.left := ⟨hir.2⟩ |
| 41 | let : IrreducibleSpace A.scheme.left := ⟨inferInstance⟩ |
| 42 | let : IsReduced A.scheme.left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced A.scheme.hom |
| 43 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 44 | |
| 45 | local instance : IsIntegral A.scheme.left := carrier_integral A |
| 46 | |
| 47 | def native (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety where |
| 48 | variety := ⟨{ |
| 49 | carrier := A.scheme.left |
| 50 | structureMap := A.scheme.hom |
| 51 | projective := P |
| 52 | smooth := inferInstance }, carrier_integral A⟩ |
| 53 | group := A.group |
| 54 | commutative := A.commutative |
| 55 | |
| 56 | /-- The native object has exactly the original underlying scheme. -/ |
| 57 | theorem native_carrier (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) : |
| 58 | (native A P).toOver.left = A.scheme.left := rfl |
| 59 | |
| 60 | def nativeOverIso (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) : |
| 61 | (native A P).toOver ≅ A.scheme := |
| 62 | Over.isoMk (Iso.refl _) (Category.id_comp _) |
| 63 | |
| 64 | /-- The intrinsic native dimension equals HilbertConstruction's stated relative dimension. -/ |
| 65 | theorem dimension_eq : Betti.AffineDimension.Realization.functionFieldDifferentialDimension A.scheme.hom = g := by |
| 66 | let x : A.scheme.left := Classical.choice inferInstance |
| 67 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := |
| 68 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension (n := g) (f := A.scheme.hom) x |
| 69 | have htop : U = ⊤ := by |
| 70 | ext y |
| 71 | constructor |
| 72 | · intro _; trivial |
| 73 | · intro _ |
| 74 | exact (Subsingleton.elim (A.scheme.hom x) y) ▸ e hx |
| 75 | subst U |
| 76 | let : Nonempty V := ⟨⟨x, hx⟩⟩ |
| 77 | let := Betti.AffineDimension.Realization.sectionBaseAlgebra A.scheme.hom V |
| 78 | let : Algebra.IsStandardSmoothOfRelativeDimension g Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) Γ(A.scheme.left, V) := hstd |
| 79 | let : Algebra.IsStandardSmooth Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) Γ(A.scheme.left, V) := |
| 80 | Algebra.IsStandardSmoothOfRelativeDimension.isStandardSmooth g |
| 81 | let : Algebra.IsStandardSmoothOfRelativeDimension |
| 82 | (Betti.AffineDimension.Realization.functionFieldDifferentialDimension A.scheme.hom) |
| 83 | Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) Γ(A.scheme.left, V) := |
| 84 | Betti.SmoothDimension.Realization.affineStandardSmooth_dimension A.scheme.hom V hV inferInstance |
| 85 | exact Foundations.Scheme.StandardSmoothDimension.Algebraic.standardSmooth_dimension_unique |
| 86 | (R := Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤)) (S := Γ(A.scheme.left, V)) _ _ |
| 87 | |
| 88 | instance nativeOverIso_isMonHom (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) : |
| 89 | IsMonHom (nativeOverIso A P).hom where |
| 90 | one_hom := by |
| 91 | apply Over.OverMorphism.ext |
| 92 | exact Category.comp_id _ |
| 93 | mul_hom := by |
| 94 | apply Over.OverMorphism.ext |
| 95 | change μ[A.scheme].left ≫ 𝟙 _ = |
| 96 | (CategoryTheory.MonoidalCategory.tensorHom |
| 97 | (𝟙 A.scheme) (𝟙 A.scheme)).left ≫ μ[A.scheme].left |
| 98 | simp only [CategoryTheory.MonoidalCategory.tensorHom_id, |
| 99 | CategoryTheory.MonoidalCategory.id_whiskerRight, Over.id_left, |
| 100 | Category.comp_id, Category.id_comp] |
| 101 | |
| 102 | def nativePointEquiv (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) : |
| 103 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (native A P).toOver ≃* |
| 104 | A.Points (ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase) := |
| 105 | CategoryTheory.Hom.mulEquivCongrRight (nativeOverIso A P) (ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase) |
| 106 | |
| 107 | def torsionAddEquiv (N : ℕ) : |
| 108 | Additive (A.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase)) ≃+ |
| 109 | TorsionCongruence.TorusTorsion.killedBy (Additive (A.Points (ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase))) N where |
| 110 | toFun x := ⟨Additive.ofMul x.toMul.val, x.toMul.property⟩ |
| 111 | invFun x := Additive.ofMul ⟨x.val.toMul, x.property⟩ |
| 112 | left_inv _ := rfl |
| 113 | right_inv _ := rfl |
| 114 | map_add' _ _ := rfl |
| 115 | |
| 116 | /-- The native lattice calculation gives the standard torsion group of |
| 117 | the original HilbertConstruction abelian scheme, with its exact relative dimension. -/ |
| 118 | def torsionPointEquiv (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) |
| 119 | (N : ℕ) [NeZero N] : |
| 120 | (Fin (2 * g) → ZMod N) ≃+ |
| 121 | Additive (A.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase)) := by |
| 122 | let : IsIntegral (native A P).toOver.left := (native A P).variety.property |
| 123 | have hd : Betti.AffineDimension.Realization.functionFieldDifferentialDimension (native A P).toOver.hom = g := |
| 124 | dimension_eq A |
| 125 | let reindex {m n : ℕ} (h : m = n) : (Fin (2 * m) → ZMod N) ≃+ (Fin (2 * n) → ZMod N) := |
| 126 | h ▸ AddEquiv.refl _ |
| 127 | exact ((reindex hd.symm).trans (Intrinsic.Torsion.IntrinsicTorsion.nativeTorsionEquiv (native A P) N)).trans |
| 128 | ((TorsionCongruence.TorusTorsion.killedByEquiv (nativePointEquiv A P).toAdditive N).trans |
| 129 | (torsionAddEquiv A N).symm) |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter |