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.NumberTheory.PadicHodge.GeometricComparison.Forms.CoordinateLinearity |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.EtaleEquivalence |
| 3 | |
| 4 | /-! # Localization -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.Localization.FormsBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Localization of the coordinate algebra localizes the actual differential-form module in every degree. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R A B : Type u) [CommRing R] [CommRing A] [CommRing B] |
| 18 | [Algebra R A] [Algebra R B] [Algebra A B] [IsScalarTower R A B] |
| 19 | [Algebra ℚ A] [Algebra ℚ B] (T : Submonoid A) [IsLocalization T B] |
| 20 | |
| 21 | local instance localizationInvertibleTwo : Invertible (2 : A) := by |
| 22 | letI : Invertible (2 : ℚ) := invertibleOfNonzero (by norm_num) |
| 23 | exact (Invertible.map (algebraMap ℚ A) (2 : ℚ)).copy 2 (map_ofNat _ _).symm |
| 24 | |
| 25 | def localizationFormsEquiv (n : ℕ) : B ⊗[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n ≃ₗ[B] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R B n := by |
| 26 | let : Module.Flat A B := IsLocalization.flat B T |
| 27 | let : Algebra.FormallyEtale A B := Algebra.FormallyEtale.of_isLocalization T |
| 28 | exact EtaleEquivalence.FormsBaseChange.formsEtaleEquiv R A B n |
| 29 | |
| 30 | theorem localizationFormsEquiv_symbol (n : ℕ) (b : B) (a : A) (v : Fin n → A) : |
| 31 | localizationFormsEquiv R A B T n (b ⊗ₜ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = |
| 32 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R B (b * algebraMap A B a) (fun i => algebraMap A B (v i)) := by |
| 33 | let : Module.Flat A B := IsLocalization.flat B T |
| 34 | let : Algebra.FormallyEtale A B := Algebra.FormallyEtale.of_isLocalization T |
| 35 | exact EtaleEquivalence.FormsBaseChange.formsEtaleEquiv_symbol R A B n b a v |
| 36 | |
| 37 | theorem localizationFormsEquiv_one_tmul (n : ℕ) (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) : |
| 38 | localizationFormsEquiv R A B T n (1 ⊗ₜ[A] ω) = CoordinateLinearity.FormsBaseChange.coordinateFormMap R A B n ω := by |
| 39 | obtain ⟨x, rfl⟩ := Submodule.mkQ_surjective (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n) ω |
| 40 | induction x using Finsupp.induction_linear with |
| 41 | | zero => simp only [map_zero, TensorProduct.tmul_zero] |
| 42 | | add x y hx hy => simp only [map_add, TensorProduct.tmul_add, hx, hy] |
| 43 | | single v a => |
| 44 | change localizationFormsEquiv R A B T n (1 ⊗ₜ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = |
| 45 | CoordinateLinearity.FormsBaseChange.coordinateFormMap R A B n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) |
| 46 | rw [localizationFormsEquiv_symbol, one_mul, CoordinateLinearity.FormsBaseChange.coordinateFormMap_symbol] |
| 47 | |
| 48 | include T in |
| 49 | theorem coordinateFormMap_isBaseChange (n : ℕ) : IsBaseChange B (CoordinateLinearity.FormsBaseChange.coordinateFormMap R A B n) := by |
| 50 | have h := (TensorProduct.isBaseChange A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) B).comp |
| 51 | (IsBaseChange.ofEquiv (localizationFormsEquiv R A B T n)) |
| 52 | have he : ((localizationFormsEquiv R A B T n).toLinearMap.restrictScalars A).comp |
| 53 | (TensorProduct.mk A B (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) 1) = CoordinateLinearity.FormsBaseChange.coordinateFormMap R A B n := |
| 54 | LinearMap.ext (localizationFormsEquiv_one_tmul R A B T n) |
| 55 | exact he ▸ h |
| 56 | |
| 57 | theorem coordinateFormMap_isLocalized (n : ℕ) : IsLocalizedModule T (CoordinateLinearity.FormsBaseChange.coordinateFormMap R A B n) := |
| 58 | (isLocalizedModule_iff_isBaseChange T B _).mpr (coordinateFormMap_isBaseChange R A B T n) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.Localization.FormsBaseChange |