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.RepresentationTheory.Theta.Geometric.Reference.LevelTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.Stabilizers |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Marking |
| 4 | |
| 5 | /-! # Reference Level -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A cleared rational SU map carries the complete fixed marking to |
| 12 | the actual scalar-shifted target marking over every complex test scheme. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 20 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 21 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 22 | {D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA} |
| 23 | {hg : D.pel.HasIntegralModelGeometry} {x : D.domain} |
| 24 | |
| 25 | section |
| 26 | |
| 27 | theorem Data.ActiveHeckeThetaData.PeriodModel.period_zero (M : D.PeriodModel hg x) : M.period 0 = 1 := by |
| 28 | have h := M.period_add 0 0 |
| 29 | rw [zero_add] at h |
| 30 | exact (mul_left_cancel ((mul_one (M.period 0)).trans h)).symm |
| 31 | |
| 32 | theorem Data.ActiveHeckeThetaData.PeriodModel.period_nsmul (M : D.PeriodModel hg x) (n : ℕ) |
| 33 | (t : (D.canonicalPeriodData hg x).periodTorus) : M.period (n • t) = M.period t ^ n := by |
| 34 | induction n with |
| 35 | | zero => simpa only [zero_smul, pow_zero] using M.period_zero |
| 36 | | succ n hn => rw [succ_nsmul, M.period_add, hn, pow_succ] |
| 37 | |
| 38 | end |
| 39 | |
| 40 | variable (D) |
| 41 | |
| 42 | theorem Data.ActiveHeckeThetaData.algebraic_cleared_map_fixedLevel |
| 43 | (hgood : D.pel.IsGoodCompletelySplitPrime) (hc : D.HasFiniteCoordinates) |
| 44 | (g : D.RationalSU) (ha : D.away g ∈ D.awayLevel) (n : ℕ) |
| 45 | (hn : ∀ v ∈ D.pel.reference.lattice, |
| 46 | (q : ℤ) ^ n • D.rationalLinear g v ∈ D.pel.reference.lattice) |
| 47 | (M : D.PeriodModel hg x) (N : D.PeriodModel hg (D.rationalPeriodPoint g x)) |
| 48 | (F : D.ReferenceAnalyticFiber x) (G : D.ReferenceAnalyticFiber (D.rationalPeriodPoint g x)) |
| 49 | (f : M.abelian.toOver ⟶ N.abelian.toOver) [IsMonHom f] |
| 50 | (hf : ∀ t, AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f (M.period t) = |
| 51 | N.period (D.clearedPeriodTorusMap hg g n hn x t)) |
| 52 | (T : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 53 | (c : LocallyConstant T.left (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Labels.LevelCover.Coefficients (3 * s) D.pel.level)) : |
| 54 | ((M.fixedReferenceLevel F).hom.app (.op T) c).val ≫ f = |
| 55 | ((N.fixedReferenceLevel G).hom.app (.op T) c).val ^ (q ^ n) := by |
| 56 | have hqn : Nat.Coprime (q ^ n) D.pel.level := hgood.2.2.1.pow_left n |
| 57 | let β : N.abelianScheme.FullLevel D.pel.level := |
| 58 | AlgebraicGeometry.AbelianScheme.TateComparison.Marking.levelScalarIso (3 * s) D.pel.level AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase (ZMod.unitOfCoprime (q ^ n) hqn) ≪≫ |
| 59 | N.fixedReferenceLevel G |
| 60 | have hβ (U : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 61 | (a : LocallyConstant U.left (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Labels.LevelCover.Coefficients (3 * s) D.pel.level)) : |
| 62 | (β.hom.app (.op U) a).val = ((N.fixedReferenceLevel G).hom.app (.op U) a).val ^ (q ^ n) := by |
| 63 | change ((N.fixedReferenceLevel G).hom.app (.op U) |
| 64 | ((AlgebraicGeometry.AbelianScheme.TateComparison.Marking.levelScalarIso (3 * s) D.pel.level AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase |
| 65 | (ZMod.unitOfCoprime (q ^ n) hqn)).hom.app (.op U) a)).val = _ |
| 66 | rw [AlgebraicGeometry.AbelianScheme.TateComparison.Marking.levelScalarIso_q_apply] |
| 67 | exact congrArg Subtype.val (map_pow ((N.fixedReferenceLevel G).hom.app (.op U)).hom a (q ^ n)) |
| 68 | have hbase (a : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Labels.LevelCover.Coefficients (3 * s) D.pel.level) : |
| 69 | ((M.fixedReferenceLevel F).hom.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) |
| 70 | (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase a)).val ≫ f = |
| 71 | (β.hom.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) |
| 72 | (LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase a)).val := by |
| 73 | obtain ⟨v, hv⟩ := D.pel.reference.fixedLevelLabel_surjective hg.reference_admissible D.pel.level a.toAdd |
| 74 | have hv' : Multiplicative.ofAdd |
| 75 | (D.pel.reference.fixedLevelLabel hg.reference_admissible D.pel.level v) = a := |
| 76 | congrArg Multiplicative.ofAdd hv |
| 77 | rw [hβ, ← hv', M.fixedReferenceLevel_period, N.fixedReferenceLevel_period] |
| 78 | have hm := (hf (D.periodLevelPoint x v)).trans |
| 79 | (congrArg N.period (D.clearedPeriodTorusMap_marking hg hgood hc g ha n hn x v)) |
| 80 | refine hm.trans ?_ |
| 81 | rw [← Nat.cast_pow, natCast_zsmul] |
| 82 | exact N.period_nsmul (q ^ n) _ |
| 83 | exact (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Level.Stabilizers.LevelCover.level_comparison_of_base_constants (M.fixedReferenceLevel F) β f hbase T c).trans |
| 84 | (hβ T c) |
| 85 | |
| 86 | theorem Data.ActiveHeckeThetaData.exists_algebraic_cleared_map_fixedLevel |
| 87 | (hgood : D.pel.IsGoodCompletelySplitPrime) (hc : D.HasFiniteCoordinates) |
| 88 | (g : D.RationalSU) (ha : D.away g ∈ D.awayLevel) (n : ℕ) |
| 89 | (hn : ∀ v ∈ D.pel.reference.lattice, |
| 90 | (q : ℤ) ^ n • D.rationalLinear g v ∈ D.pel.reference.lattice) |
| 91 | (M : D.PeriodModel hg x) (N : D.PeriodModel hg (D.rationalPeriodPoint g x)) |
| 92 | (F : D.ReferenceAnalyticFiber x) (G : D.ReferenceAnalyticFiber (D.rationalPeriodPoint g x)) : |
| 93 | ∃ f : M.abelian.toOver ⟶ N.abelian.toOver, IsMonHom f ∧ |
| 94 | (∀ t, AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f (M.period t) = N.period (D.clearedPeriodTorusMap hg g n hn x t)) ∧ |
| 95 | ∀ (T : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 96 | (c : LocallyConstant T.left (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Labels.LevelCover.Coefficients (3 * s) D.pel.level)), |
| 97 | ((M.fixedReferenceLevel F).hom.app (.op T) c).val ≫ f = |
| 98 | ((N.fixedReferenceLevel G).hom.app (.op T) c).val ^ (q ^ n) := by |
| 99 | obtain ⟨f, hmon, hf⟩ := D.exists_algebraic_cleared_period_map hg g n hn x M.abelian N.abelian |
| 100 | M.period N.period M.period_add N.period_add |
| 101 | let : IsMonHom f := hmon |
| 102 | exact ⟨f, hmon, hf, D.algebraic_cleared_map_fixedLevel hgood hc g ha n hn M N F G f hf⟩ |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.RepresentationTheory.Theta.Geometric |