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.TensorEquivalence |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarMap |
| 3 | import Mathlib.RingTheory.Flat.Stability |
| 4 | |
| 5 | /-! # Scalar Equivalence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarEquivalence.FormsBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Flat affine scalar extension identifies the actual differential-form complexes, with the canonical symbol formulas in every degree. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R S A B : Type u) [CommRing R] [CommRing S] [CommRing A] [CommRing B] |
| 19 | [Algebra R S] [Algebra R A] [Algebra R B] [Algebra A B] [Algebra S B] |
| 20 | [IsScalarTower R A B] [IsScalarTower R S B] [Algebra.IsPushout R S A B] |
| 21 | [Algebra ℚ A] [Algebra ℚ B] [Module.Flat R S] |
| 22 | |
| 23 | local instance coefficientsInvertibleTwo : Invertible (2 : A) := by |
| 24 | letI : Invertible (2 : ℚ) := invertibleOfNonzero (by norm_num) |
| 25 | exact (Invertible.map (algebraMap ℚ A) (2 : ℚ)).copy 2 (map_ofNat _ _).symm |
| 26 | |
| 27 | omit [Algebra ℚ A] [Algebra ℚ B] in |
| 28 | include R S in |
| 29 | theorem affineFlat : Module.Flat A B := by |
| 30 | let : Algebra.IsPushout R A S B := Algebra.IsPushout.symm inferInstance |
| 31 | exact Module.Flat.of_linearEquiv (Algebra.IsPushout.equiv R A S B).symm.toLinearEquiv |
| 32 | |
| 33 | def formsScalarEquiv (n : ℕ) : S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n ≃ₗ[S] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form S B n := by |
| 34 | let : Module.Flat A B := affineFlat R S A B |
| 35 | exact (Algebra.IsPushout.cancelBaseChange R S A B (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n)).symm.trans |
| 36 | ((TensorEquivalence.FormsBaseChange.formsTensorEquiv R S A B n).restrictScalars S) |
| 37 | |
| 38 | theorem formsScalarEquiv_symbol (n : ℕ) (s : S) (a : A) (v : Fin n → A) : |
| 39 | formsScalarEquiv R S A B n (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = |
| 40 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol S B (algebraMap S B s * algebraMap A B a) (fun i => algebraMap A B (v i)) := by |
| 41 | let : Module.Flat A B := affineFlat R S A B |
| 42 | change TensorEquivalence.FormsBaseChange.formsTensorEquiv R S A B n |
| 43 | ((Algebra.IsPushout.cancelBaseChange R S A B (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n)).symm |
| 44 | (s ⊗ₜ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)) = _ |
| 45 | rw [Algebra.IsPushout.cancelBaseChange_symm_tmul, TensorEquivalence.FormsBaseChange.formsTensorEquiv_symbol] |
| 46 | |
| 47 | theorem formsScalarEquiv_eq_map (n : ℕ) : |
| 48 | (formsScalarEquiv R S A B n).toLinearMap = ScalarMap.FormsBaseChange.formScalarMap R S A B n := by |
| 49 | apply TensorProduct.AlgebraTensorModule.ext |
| 50 | intro s ω |
| 51 | obtain ⟨x, rfl⟩ := Submodule.mkQ_surjective (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A n) ω |
| 52 | induction x using Finsupp.induction_linear with |
| 53 | | zero => simp only [map_zero, TensorProduct.tmul_zero] |
| 54 | | add x y hx hy => simp only [map_add, TensorProduct.tmul_add, hx, hy] |
| 55 | | single v a => |
| 56 | exact (formsScalarEquiv_symbol R S A B n s a v).trans (ScalarMap.FormsBaseChange.formScalarMap_symbol R S A B s a v).symm |
| 57 | |
| 58 | theorem formsScalarEquiv_differential (n : ℕ) (x : S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) : |
| 59 | formsScalarEquiv R S A B (n + 1) ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n).baseChange S x) = |
| 60 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential S B n (formsScalarEquiv R S A B n x) := by |
| 61 | change (formsScalarEquiv R S A B (n + 1)).toLinearMap |
| 62 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential R A n).baseChange S x) = |
| 63 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.differential S B n ((formsScalarEquiv R S A B n).toLinearMap x) |
| 64 | rw [formsScalarEquiv_eq_map, formsScalarEquiv_eq_map] |
| 65 | exact ScalarMap.FormsBaseChange.formScalarMap_differential R S A B n x |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.ScalarEquivalence.FormsBaseChange |