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.Reference.MarkedLevel |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Diagonal |
| 3 | |
| 4 | /-! # Fixed Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.FixedBasis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Choose one basis of the original lattice for the entire reference |
| 11 | period family. Transporting this fixed basis to each fiber makes its |
| 12 | ordered finite-level labels independent of the tangent presentation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 18 | |
| 19 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [NumberField.IsCMField E] {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 21 | |
| 22 | namespace RankThreePELDatum |
| 23 | |
| 24 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.zero_mem_domain (hP : P.IsAdmissible) : 0 ∈ P.domain := by |
| 25 | have h := hP |
| 26 | rcases h with ⟨_, _, _, hn, _⟩ |
| 27 | change (Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings (Matrix.diagonal ![1, 1, P.b]) P.distinguished |
| 28 | (Geometry.ComplexBall.PrescribedSignsB.lineVector 0) (star (Geometry.ComplexBall.PrescribedSignsB.lineVector 0))).re < 0 |
| 29 | simpa [NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.localB_diagonal, Geometry.ComplexBall.PrescribedSignsB.lineVector, Datum.RankThreePELDatum.μ] using hn |
| 30 | |
| 31 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.referenceOrigin (hP : P.IsAdmissible) : P.domain := ⟨0, P.zero_mem_domain hP⟩ |
| 32 | |
| 33 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.referenceBasis_nonempty (hP : P.IsAdmissible) : |
| 34 | Nonempty (Module.Basis (Fin (2 * (3 * s))) ℤ P.lattice) := by |
| 35 | let F := Fiber.referenceAnalyticFiber P hP (P.referenceOrigin hP) |
| 36 | exact ⟨F.latticeBasis.map F.integralLatticeEquiv.symm⟩ |
| 37 | |
| 38 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.referenceBasis (hP : P.IsAdmissible) : Module.Basis (Fin (2 * (3 * s))) ℤ P.lattice := |
| 39 | Classical.choice (P.referenceBasis_nonempty hP) |
| 40 | |
| 41 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.fixedLevelLabel (hP : P.IsAdmissible) (N : ℕ) (v : P.lattice) : |
| 42 | Fin (2 * (3 * s)) → ZMod N := fun i => (P.referenceBasis hP).repr v i |
| 43 | |
| 44 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.fixedLevelLabel_surjective (hP : P.IsAdmissible) (N : ℕ) : |
| 45 | Function.Surjective (P.fixedLevelLabel hP N) := by |
| 46 | intro a |
| 47 | choose b hb using fun i => ZMod.intCast_surjective (a i) |
| 48 | refine ⟨(P.referenceBasis hP).equivFun.symm b, ?_⟩ |
| 49 | funext i |
| 50 | change (((P.referenceBasis hP).equivFun ((P.referenceBasis hP).equivFun.symm b) i : ℤ) : ZMod N) = a i |
| 51 | rw [LinearEquiv.apply_symm_apply] |
| 52 | exact hb i |
| 53 | |
| 54 | end RankThreePELDatum |
| 55 | |
| 56 | variable {P} {z : P.domain} {F : Fiber.ReferenceAnalyticFiber P z} {hP : P.IsAdmissible} |
| 57 | |
| 58 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber.fixedLatticeBasis (F : Fiber.ReferenceAnalyticFiber P z) (hP : P.IsAdmissible) : |
| 59 | Module.Basis (Fin (2 * (3 * s))) ℤ F.periodData.periodIntegerLattice := |
| 60 | (P.referenceBasis hP).map F.integralLatticeEquiv |
| 61 | |
| 62 | namespace ReferenceAlgebraicModel |
| 63 | |
| 64 | local instance (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : IsIntegral A.toOver.left := A.variety.property |
| 65 | local instance (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : Smooth A.toOver.hom := A.variety.presentation.smooth |
| 66 | |
| 67 | variable (M : AlgebraicModel.ReferenceAlgebraicModel F hP) |
| 68 | |
| 69 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel.fixedTorsionEquiv (N : ℕ) [NeZero N] : (Fin (2 * (3 * s)) → ZMod N) ≃+ |
| 70 | Additive (M.abelianScheme.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase)) := |
| 71 | (TorsionCongruence.TorusTorsion.latticeTorsionEquiv F.periodData.periodIntegerLattice (F.fixedLatticeBasis hP) N).trans |
| 72 | ((TorsionCongruence.TorusTorsion.killedByEquiv M.periodAddEquiv N).trans |
| 73 | (Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.torsionAddEquiv M.abelianScheme N).symm) |
| 74 | |
| 75 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel.fixedTorsionEquiv_reference (N : ℕ) [NeZero N] (v : P.lattice) : |
| 76 | (M.fixedTorsionEquiv N (P.fixedLevelLabel hP N v)).toMul.val = |
| 77 | M.period (F.divisionPoint N v) := by |
| 78 | have he := RepresentationTheory.Theta.Geometric.TorsionLabels.latticeTorsionEquiv_reference F.periodData.periodIntegerLattice |
| 79 | (F.fixedLatticeBasis hP) N (F.integralLatticeEquiv v) |
| 80 | have hl : (fun i => ((F.fixedLatticeBasis hP).repr (F.integralLatticeEquiv v) i : ZMod N)) = |
| 81 | P.fixedLevelLabel hP N v := by |
| 82 | funext i |
| 83 | simp [Fiber.ReferenceAnalyticFiber.fixedLatticeBasis, Datum.RankThreePELDatum.fixedLevelLabel] |
| 84 | rw [hl] at he |
| 85 | exact congrArg M.period he |
| 86 | |
| 87 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel.fixedFullLevel (N : ℕ) [NeZero N] : M.abelianScheme.FullLevel N := |
| 88 | RepresentationTheory.Theta.Geometric.LevelLabels.relabelFullLevel M.abelianScheme (M.fullLevel N) |
| 89 | (AddEquiv.toMultiplicativeLeft (M.fixedTorsionEquiv N)) |
| 90 | |
| 91 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel.fixedFullLevel_reference (N : ℕ) [NeZero N] (v : P.lattice) : |
| 92 | (((M.fixedFullLevel N).hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest Foundations.Scheme.ProjectiveSpace.complexBase))) |
| 93 | (LocallyConstant.const Foundations.Scheme.ProjectiveSpace.complexBase (Multiplicative.ofAdd (P.fixedLevelLabel hP N v)))).val = |
| 94 | M.period (F.divisionPoint N v) := by |
| 95 | have he := RepresentationTheory.Theta.Geometric.LevelLabels.relabelFullLevel_points M.abelianScheme (M.fullLevel N) |
| 96 | (AddEquiv.toMultiplicativeLeft (M.fixedTorsionEquiv N)) |
| 97 | have hv := DFunLike.congr_fun he (Multiplicative.ofAdd (P.fixedLevelLabel hP N v)) |
| 98 | exact (congrArg Subtype.val hv).trans (M.fixedTorsionEquiv_reference N v) |
| 99 | |
| 100 | end ReferenceAlgebraicModel |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.FixedBasis |