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.AbelianScheme.TateComparison.PeriodNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Circle |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TateProducts |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 5 | |
| 6 | /-! # Period Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PeriodCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Full integral period coordinates identify the canonical completed |
| 13 | period map with the actual Tate module of the torus quotient. -/ |
| 14 | |
| 15 | open scoped TensorProduct Classical |
| 16 | |
| 17 | variable (q : ℕ) [Fact q.Prime] |
| 18 | {V I : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 19 | [Module ℚ V] [IsScalarTower ℚ ℝ V] |
| 20 | (L : Submodule ℤ V) [DiscreteTopology L] [IsZLattice ℝ L] |
| 21 | [Fintype I] (b : Module.Basis I ℤ L) |
| 22 | |
| 23 | def periodCircleCoordinates : (V ⧸ L.toAddSubgroup) ≃+ (I → UnitAddCircle) := |
| 24 | (QuotientAddGroup.quotientAddEquivOfEq |
| 25 | (congrArg Submodule.toAddSubgroup (b.ofZLatticeBasis_span ℝ L))).symm.trans |
| 26 | (AbelianModuli.ReferenceFamily.TorsionCongruence.TorusTorsion.basisTorusEquiv (b.ofZLatticeBasis ℝ L)) |
| 27 | |
| 28 | omit [Module ℚ V] [IsScalarTower ℚ ℝ V] in |
| 29 | theorem periodCircleCoordinates_mk (v : V) (i : I) : |
| 30 | periodCircleCoordinates L b (QuotientAddGroup.mk' L.toAddSubgroup v) i = |
| 31 | ((b.ofZLatticeBasis ℝ L).equivFun v i : UnitAddCircle) := rfl |
| 32 | |
| 33 | theorem periodCircleCoordinates_division_basis (n : ℕ) (i j : I) : |
| 34 | periodCircleCoordinates L b (PeriodMap.periodDivisionPoint q L n (b i)) j = |
| 35 | if j = i then ZMod.toAddCircle (1 : ZMod (q ^ n)) else 0 := by |
| 36 | classical |
| 37 | change periodCircleCoordinates L b |
| 38 | (QuotientAddGroup.mk' L.toAddSubgroup (((q : ℚ) ^ n)⁻¹ • (b i).val)) j = _ |
| 39 | rw [periodCircleCoordinates_mk] |
| 40 | have hs := congrFun (((b.ofZLatticeBasis ℝ L).equivFun.restrictScalars ℚ).map_smul |
| 41 | (((q : ℚ) ^ n)⁻¹) (b i).val) j |
| 42 | change (b.ofZLatticeBasis ℝ L).equivFun (((q : ℚ) ^ n)⁻¹ • (b i).val) j = |
| 43 | ((q : ℚ) ^ n)⁻¹ • (b.ofZLatticeBasis ℝ L).equivFun (b i).val j at hs |
| 44 | rw [hs, ← Module.Basis.ofZLatticeBasis_apply ℝ L b i, Module.Basis.equivFun_self] |
| 45 | by_cases hji : j = i |
| 46 | · subst j |
| 47 | simp only [ite_true] |
| 48 | calc |
| 49 | _ = ((1 / (q : ℝ) ^ n : ℝ) : UnitAddCircle) := by congr 1; simp |
| 50 | _ = ZMod.toAddCircle (1 : ZMod (q ^ n)) := by |
| 51 | simpa using (ZMod.toAddCircle_natCast (N := q ^ n) 1).symm |
| 52 | · simp [hji, Ne.symm hji] |
| 53 | |
| 54 | def periodTateCoordinateEquiv : |
| 55 | Add.Tate.Module (H := V ⧸ L.toAddSubgroup) q ≃ₗ[ℤ_[q]] (I → ℤ_[q]) := |
| 56 | (TateProducts.Tate.mapEquiv q (periodCircleCoordinates L b)).trans |
| 57 | ((TateProducts.Tate.piEquiv q (fun _ : I => UnitAddCircle)).trans |
| 58 | (LinearEquiv.piCongrRight fun _ => (Circle.circleTateEquiv q).symm)) |
| 59 | |
| 60 | omit [Module ℚ V] [IsScalarTower ℚ ℝ V] in |
| 61 | theorem periodTateCoordinateEquiv_level (t : Add.Tate.Module (H := V ⧸ L.toAddSubgroup) q) |
| 62 | (i : I) (n : ℕ) : |
| 63 | ZMod.toAddCircle (PadicInt.toZModPow n (periodTateCoordinateEquiv q L b t i)) = |
| 64 | periodCircleCoordinates L b (t.val n).val i := by |
| 65 | have h := (Circle.circleTateEquiv q).apply_symm_apply |
| 66 | ((TateProducts.Tate.piEquiv q (fun _ : I => UnitAddCircle)) |
| 67 | (Add.Tate.map q (periodCircleCoordinates L b).toAddMonoidHom t) i) |
| 68 | exact congrArg (fun z : Add.Tate.Module (H := UnitAddCircle) q => (z.val n).val) h |
| 69 | |
| 70 | theorem periodTateCoordinateEquiv_basis (i : I) : |
| 71 | periodTateCoordinateEquiv q L b (PeriodMap.periodTateMap q L (b i)) = Pi.single i 1 := by |
| 72 | funext j |
| 73 | apply PadicInt.ext_of_toZModPow.mp |
| 74 | intro n |
| 75 | apply ZMod.toAddCircle_injective |
| 76 | rw [periodTateCoordinateEquiv_level] |
| 77 | change periodCircleCoordinates L b (PeriodMap.periodDivisionPoint q L n (b i)) j = _ |
| 78 | rw [periodCircleCoordinates_division_basis] |
| 79 | by_cases hji : j = i |
| 80 | · subst j |
| 81 | simp only [Pi.single_eq_same, ite_true] |
| 82 | rw [(PadicInt.toZModPow n).map_one] |
| 83 | · simp only [Pi.single_eq_of_ne hji, ite_eq_right hji, map_zero] |
| 84 | |
| 85 | theorem completedPeriodTateMap_coordinates : |
| 86 | (periodTateCoordinateEquiv q L b).toLinearMap.comp (PeriodNaturality.completedPeriodTateMap q L) = |
| 87 | (b.baseChange ℤ_[q]).equivFun.toLinearMap := by |
| 88 | apply (b.baseChange ℤ_[q]).ext |
| 89 | intro i |
| 90 | simp only [LinearMap.comp_apply, Module.Basis.baseChange_apply] |
| 91 | rw [PeriodNaturality.completedPeriodTateMap_tmul, one_smul, LinearEquiv.coe_coe, periodTateCoordinateEquiv_basis] |
| 92 | funext j |
| 93 | rw [← Module.Basis.baseChange_apply, LinearEquiv.coe_coe, Module.Basis.equivFun_self] |
| 94 | simp only [Pi.single_apply, eq_comm] |
| 95 | |
| 96 | include b in |
| 97 | theorem completedPeriodTateMap_bijective : Function.Bijective (PeriodNaturality.completedPeriodTateMap q L) := by |
| 98 | have hc (z : ℤ_[q] ⊗[ℤ] L) := LinearMap.congr_fun (completedPeriodTateMap_coordinates q L b) z |
| 99 | constructor |
| 100 | · intro x y hxy |
| 101 | apply (b.baseChange ℤ_[q]).equivFun.injective |
| 102 | exact (hc x).symm.trans ((congrArg (periodTateCoordinateEquiv q L b) hxy).trans (hc y)) |
| 103 | · intro y |
| 104 | obtain ⟨x, hx⟩ := (b.baseChange ℤ_[q]).equivFun.surjective (periodTateCoordinateEquiv q L b y) |
| 105 | exact ⟨x, (periodTateCoordinateEquiv q L b).injective ((hc x).trans hx)⟩ |
| 106 | |
| 107 | def completedPeriodTateEquiv : |
| 108 | ℤ_[q] ⊗[ℤ] L ≃ₗ[ℤ_[q]] Add.Tate.Module (H := V ⧸ L.toAddSubgroup) q := |
| 109 | LinearEquiv.ofBijective (PeriodNaturality.completedPeriodTateMap q L) (completedPeriodTateMap_bijective q L b) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PeriodCoordinates |