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.RelativeSectionCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.CoefficientIdentity |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarRestriction |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Forms.CoefficientRestriction |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.FormsCech |
| 6 | |
| 7 | /-! # Affine Form Maps -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineFormMaps.AffineCoordinates |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The native Cohomology forms on a relative affine spectrum identify with the actual coordinate-form modules after restricting scalars. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable (R A : Type) [CommRing R] [CommRing A] [Algebra R A] |
| 20 | |
| 21 | attribute [local instance] Affine.CoordinateLocalization.AffineCoordinates.sectionAlgebra |
| 22 | |
| 23 | @[instance_reducible] |
| 24 | def coordinateBaseAlgebra (U : (Spec (CommRingCat.of A)).Opens) : |
| 25 | Algebra R Γ(Spec (CommRingCat.of A), U) := |
| 26 | ((algebraMap A Γ(Spec (CommRingCat.of A), U)).comp (algebraMap R A)).toAlgebra |
| 27 | |
| 28 | theorem nativeSectionAlgebra_eq (U : (Spec (CommRingCat.of A)).Opens) : |
| 29 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U = coordinateBaseAlgebra R A U := |
| 30 | Algebra.algebra_ext _ _ (fun r => DFunLike.congr_fun (RelativeSectionCoefficients.AffineCoordinates.relative_sectionBaseMap_eq R A U) r) |
| 31 | |
| 32 | theorem nativeFormsModuleIso_exists (U : (Spec (CommRingCat.of A)).Opens) (n : ℕ) : |
| 33 | ∃ e : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) n).obj (Opposite.op U) ≅ |
| 34 | (ModuleCat.restrictScalars (algebraMap R A)).obj |
| 35 | ((Affine.FormsCech.CoordinateForms.specPresheaf R A n).obj (Opposite.op U)), |
| 36 | ∀ (b : Γ(Spec (CommRingCat.of A), U)) (v : Fin n → Γ(Spec (CommRingCat.of A), U)), |
| 37 | e.hom (@AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(Spec (CommRingCat.of A), U) _ _ |
| 38 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U) n b v) = |
| 39 | @AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(Spec (CommRingCat.of A), U) _ _ |
| 40 | (coordinateBaseAlgebra R A U) n b v := by |
| 41 | let B := Γ(Spec (CommRingCat.of A), U) |
| 42 | let α : Algebra R B := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U |
| 43 | let β : Algebra R B := coordinateBaseAlgebra R A U |
| 44 | let : Algebra R B := β |
| 45 | let : IsScalarTower R A B := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 46 | exact Forms.CoefficientRestriction.FormsCoefficientRestriction.exists_iso_symbols R A B α (nativeSectionAlgebra_eq R A U) n |
| 47 | |
| 48 | def nativeFormsModuleIso (U : (Spec (CommRingCat.of A)).Opens) (n : ℕ) : |
| 49 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) n).obj (Opposite.op U) ≅ |
| 50 | (ModuleCat.restrictScalars (algebraMap R A)).obj |
| 51 | ((Affine.FormsCech.CoordinateForms.specPresheaf R A n).obj (Opposite.op U)) := |
| 52 | (nativeFormsModuleIso_exists R A U n).choose |
| 53 | |
| 54 | theorem nativeFormsModuleIso_symbol (U : (Spec (CommRingCat.of A)).Opens) (n : ℕ) |
| 55 | (b : Γ(Spec (CommRingCat.of A), U)) (v : Fin n → Γ(Spec (CommRingCat.of A), U)) : |
| 56 | (nativeFormsModuleIso R A U n).hom |
| 57 | (@AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(Spec (CommRingCat.of A), U) _ _ |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U) n b v) = |
| 59 | @AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(Spec (CommRingCat.of A), U) _ _ |
| 60 | (coordinateBaseAlgebra R A U) n b v := |
| 61 | (nativeFormsModuleIso_exists R A U n).choose_spec b v |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! Actual restriction maps on native and coordinate affine forms have identical differential-symbol formulas. -/ |
| 66 | |
| 67 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 68 | |
| 69 | variable (R A : Type) [CommRing R] [CommRing A] [Algebra R A] |
| 70 | |
| 71 | attribute [local instance] Affine.CoordinateLocalization.AffineCoordinates.sectionAlgebra |
| 72 | |
| 73 | def nativeSymbol (U : (Spec (CommRingCat.of A)).Opens) (n : ℕ) |
| 74 | (b : Γ(Spec (CommRingCat.of A), U)) (v : Fin n → Γ(Spec (CommRingCat.of A), U)) : |
| 75 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) n).obj (op U) := |
| 76 | @AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(Spec (CommRingCat.of A), U) _ _ |
| 77 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) U) n b v |
| 78 | |
| 79 | def coordinateSymbol (U : (Spec (CommRingCat.of A)).Opens) (n : ℕ) |
| 80 | (b : Γ(Spec (CommRingCat.of A), U)) (v : Fin n → Γ(Spec (CommRingCat.of A), U)) : |
| 81 | (Affine.FormsCech.CoordinateForms.specPresheaf R A n).obj (op U) := |
| 82 | @AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R Γ(Spec (CommRingCat.of A), U) _ _ |
| 83 | (coordinateBaseAlgebra R A U) n b v |
| 84 | |
| 85 | theorem nativeSymbol_map {U V : (Spec (CommRingCat.of A)).Opens} (f : op U ⟶ op V) |
| 86 | (n : ℕ) (b : Γ(Spec (CommRingCat.of A), U)) (v : Fin n → Γ(Spec (CommRingCat.of A), U)) : |
| 87 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A) n).map f (nativeSymbol R A U n b v) = |
| 88 | nativeSymbol R A V n ((Spec (CommRingCat.of A)).presheaf.map f b) |
| 89 | (fun i => (Spec (CommRingCat.of A)).presheaf.map f (v i)) := |
| 90 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (RelativeSectionCoefficients.AffineCoordinates.relativeSpecModel R A)).map f) n b v |
| 91 | |
| 92 | theorem coordinateSymbol_map {U V : (Spec (CommRingCat.of A)).Opens} (f : op U ⟶ op V) |
| 93 | (n : ℕ) (b : Γ(Spec (CommRingCat.of A), U)) (v : Fin n → Γ(Spec (CommRingCat.of A), U)) : |
| 94 | (Affine.FormsCech.CoordinateForms.specPresheaf R A n).map f (coordinateSymbol R A U n b v) = |
| 95 | coordinateSymbol R A V n ((Spec (CommRingCat.of A)).presheaf.map f b) |
| 96 | (fun i => (Spec (CommRingCat.of A)).presheaf.map f (v i)) := |
| 97 | RelativeFormsFunctor.CoordinateForms.formMap_symbol R A ((Affine.CoordinateLocalization.AffineCoordinates.algebras A).map f) n b v |
| 98 | |
| 99 | theorem nativeSymbol_comparison (U : (Spec (CommRingCat.of A)).Opens) (n : ℕ) |
| 100 | (b : Γ(Spec (CommRingCat.of A), U)) (v : Fin n → Γ(Spec (CommRingCat.of A), U)) : |
| 101 | (nativeFormsModuleIso R A U n).hom (nativeSymbol R A U n b v) = coordinateSymbol R A U n b v := |
| 102 | nativeFormsModuleIso_symbol R A U n b v |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineFormMaps.AffineCoordinates |