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 | |
| 3 | /-! # Relative Forms Functor -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.RelativeFormsFunctor.CoordinateForms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Relative forms carry the fixed coordinate-base module structure needed for affine Čech descent. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 16 | |
| 17 | @[instance_reducible] |
| 18 | def baseAlgebra (B : CommAlgCat.{u} A) : Algebra R B := |
| 19 | ((algebraMap A B).comp (algebraMap R A)).toAlgebra |
| 20 | |
| 21 | abbrev restrictAlg (B : CommAlgCat.{u} A) : CommAlgCat.{u} R := by |
| 22 | letI := baseAlgebra R A B |
| 23 | exact CommAlgCat.of R B |
| 24 | |
| 25 | local instance coordinateAlgebra (B : CommAlgCat.{u} A) : Algebra A (restrictAlg R A B) := |
| 26 | B.algebra |
| 27 | |
| 28 | def restrictAlgMap {B C : CommAlgCat.{u} A} (f : B ⟶ C) : |
| 29 | restrictAlg R A B ⟶ restrictAlg R A C := by |
| 30 | letI := baseAlgebra R A B |
| 31 | letI := baseAlgebra R A C |
| 32 | let : IsScalarTower R A B := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 33 | let : IsScalarTower R A C := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 34 | exact CommAlgCat.ofHom (f.hom.restrictScalars R) |
| 35 | |
| 36 | def formMap {B C : CommAlgCat.{u} A} (f : B ⟶ C) (n : ℕ) : |
| 37 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (restrictAlg R A B) n →ₗ[A] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (restrictAlg R A C) n where |
| 38 | toFun := AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (restrictAlgMap R A f) n |
| 39 | map_add' := map_add _ |
| 40 | map_smul' a ω := by |
| 41 | change AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (restrictAlgMap R A f) n (a • ω) = |
| 42 | a • AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (restrictAlgMap R A f) n ω |
| 43 | rw [← IsScalarTower.algebraMap_smul (restrictAlg R A B) a ω, Forms.CoordinateLinearity.FormsBaseChange.formMap_smul] |
| 44 | have h : (restrictAlgMap R A f) (algebraMap A B a) = algebraMap A C a := f.hom.commutes a |
| 45 | rw [h, IsScalarTower.algebraMap_smul] |
| 46 | |
| 47 | theorem formMap_symbol {B C : CommAlgCat.{u} A} (f : B ⟶ C) (n : ℕ) (b : B) (v : Fin n → B) : |
| 48 | formMap R A f n (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (restrictAlg R A B) b v) = |
| 49 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (restrictAlg R A C) (f b) (fun i => f (v i)) := by |
| 50 | change AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (restrictAlgMap R A f) n |
| 51 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (restrictAlg R A B) b v) = _ |
| 52 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol] |
| 53 | rfl |
| 54 | |
| 55 | def functor (n : ℕ) : CommAlgCat.{u} A ⥤ ModuleCat.{u} A where |
| 56 | obj B := ModuleCat.of A (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R (restrictAlg R A B) n) |
| 57 | map f := ModuleCat.ofHom (formMap R A f n) |
| 58 | map_id B := by |
| 59 | apply ModuleCat.hom_ext |
| 60 | exact LinearMap.ext (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_id (restrictAlg R A B) n) |
| 61 | map_comp f g := by |
| 62 | apply ModuleCat.hom_ext |
| 63 | exact LinearMap.ext (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_comp |
| 64 | (restrictAlgMap R A f) (restrictAlgMap R A g) n) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.GeometricComparison.RelativeFormsFunctor.CoordinateForms |