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.Picard.PoincareBundle.Affine.RecoveredGluing |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CechCanonicalCoordinates |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CanonicalGluingStandard |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CocycleDescent |
| 5 | |
| 6 | /-! # Cech Recovery -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechRecovery |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # A descended affine line bundle recovers its actual geometric Čech gluing |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.ModuleCat |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.Gluing OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CanonicalGluing OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CechCanonicalCoordinates |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.GluingMorphismTransfer OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.PresentedMorphisms |
| 22 | |
| 23 | variable {R S : CommRingCat.{u}} (f : R ⟶ S) (D : CocycleDescent.RingMapDatum f) |
| 24 | |
| 25 | /-- The original line bundle, forgetting only the affine scalar-coordinate presentation. -/ |
| 26 | def originalLine : Line.Bundles.LineBundle (Spec S) := by |
| 27 | letI := f.hom.toAlgebra |
| 28 | exact D.line |
| 29 | |
| 30 | /-- The actual global-section module of the original geometric line bundle. -/ |
| 31 | def sectionModule : ModuleCat.{u} S := (moduleSpecΓFunctor (R := S)).obj (originalLine f D).sheaf |
| 32 | |
| 33 | /-- Its actual Čech cocycle is transferred from the given geometric gluing. -/ |
| 34 | def moduleCech : CocycleEffectiveDescent.RingMapDatum f.hom (sectionModule f D) := |
| 35 | (CocycleDescent.moduleLineDatum f D).cech |
| 36 | |
| 37 | /-- The canonical affine presentation of the original line bundle. -/ |
| 38 | def presentation : (tilde.functor S).obj (sectionModule f D) ≅ (originalLine f D).sheaf := |
| 39 | QuasiCoherent.affineTildeIso (originalLine f D) |
| 40 | |
| 41 | /-- The module obtained by faithfully flat descent. -/ |
| 42 | def baseModule (hf : f.hom.FaithfullyFlat) : ModuleCat.{u} R := |
| 43 | CocycleEffectiveDescent.descendedModule f.hom (sectionModule f D) hf (moduleCech f D) |
| 44 | |
| 45 | /-- The recovered module isomorphism. -/ |
| 46 | def moduleRecoveryIso (hf : f.hom.FaithfullyFlat) : |
| 47 | (extendScalars f.hom).obj (baseModule f D hf) ≅ sectionModule f D := |
| 48 | CocycleEffectiveDescent.baseChangeIso f.hom (sectionModule f D) hf (moduleCech f D) |
| 49 | |
| 50 | /-- The corresponding actual geometric pullback isomorphism. -/ |
| 51 | def recoveryIso (hf : f.hom.FaithfullyFlat) : |
| 52 | (Scheme.Modules.pullback (Spec.map f)).obj ((tilde.functor R).obj (baseModule f D hf)) ≅ |
| 53 | (originalLine f D).sheaf := |
| 54 | PresentedMapNaturality.presentedIso (tilde.functor S) |
| 55 | (Affine.Gluing.comparison (baseModule f D hf) (Iso.refl _) f) (presentation f D) (moduleRecoveryIso f D hf) |
| 56 | |
| 57 | /-- Its sheaf morphism is the affine morphism used by the gluing comparison. -/ |
| 58 | theorem recoveryIso_hom (hf : f.hom.FaithfullyFlat) : |
| 59 | (recoveryIso f D hf).hom = Affine.PresentedMorphisms.presentedMap |
| 60 | (Affine.Gluing.comparison (baseModule f D hf) (Iso.refl _) f) (presentation f D) |
| 61 | (moduleRecoveryIso f D hf).hom := |
| 62 | PresentedMapNaturality.presentedIso_hom (tilde.functor S) |
| 63 | (Affine.Gluing.comparison (baseModule f D hf) (Iso.refl _) f) (presentation f D) (moduleRecoveryIso f D hf) |
| 64 | |
| 65 | /-- The transferred module gluing is the specific map of the original geometric presentation. -/ |
| 66 | theorem moduleCech_gluing_hom : |
| 67 | letI := f.hom.toAlgebra |
| 68 | (moduleCech f D).gluing.hom = Affine.Gluing.moduleHom (sectionModule f D) (presentation f D) |
| 69 | (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) D.gluing.hom := by |
| 70 | let := f.hom.toAlgebra |
| 71 | exact Affine.Gluing.moduleIso_hom (sectionModule f D) (presentation f D) |
| 72 | (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) D.gluing |
| 73 | |
| 74 | /-- Full module recovery, in the exact coordinates of the original geometric gluing. -/ |
| 75 | theorem module_recovery_compatible (hf : f.hom.FaithfullyFlat) : |
| 76 | letI := f.hom.toAlgebra |
| 77 | (extendScalars (Affine.CechCanonicalCoordinates.firstProjection f).hom).map (moduleRecoveryIso f D hf).hom ≫ |
| 78 | Affine.Gluing.moduleHom (sectionModule f D) (presentation f D) |
| 79 | (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) D.gluing.hom = |
| 80 | (Affine.CanonicalGluing.moduleTransition f (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) (Affine.CechCanonicalCoordinates.baseEquation f) |
| 81 | (baseModule f D hf)).hom ≫ |
| 82 | (extendScalars (Affine.CechCanonicalCoordinates.secondProjection f).hom).map (moduleRecoveryIso f D hf).hom := by |
| 83 | let := f.hom.toAlgebra |
| 84 | have ht := Affine.CechCanonicalCoordinates.recovery_compatible f (sectionModule f D) hf (moduleCech f D) |
| 85 | rw [moduleCech_gluing_hom] at ht |
| 86 | exact ht |
| 87 | |
| 88 | /-- The recovered geometric pullback isomorphism preserves the entire original Čech gluing. -/ |
| 89 | theorem recovery_preservesGluing (hf : f.hom.FaithfullyFlat) : |
| 90 | letI := f.hom.toAlgebra |
| 91 | Affine.GluingMorphismTransfer.PreservesGeometricGluing (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) (recoveryIso f D hf).hom |
| 92 | ((Affine.CanonicalGluing.geometricTransition f (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) (Affine.CechCanonicalCoordinates.baseEquation f)).hom.app |
| 93 | ((tilde.functor R).obj (baseModule f D hf))) D.gluing.hom := by |
| 94 | let := f.hom.toAlgebra |
| 95 | rw [recoveryIso_hom] |
| 96 | exact Affine.RecoveredGluing.transfer_from_base f (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) |
| 97 | (Affine.CechCanonicalCoordinates.baseEquation f) (baseModule f D hf) (Iso.refl _) (sectionModule f D) (presentation f D) |
| 98 | (moduleRecoveryIso f D hf).hom D.gluing.hom (module_recovery_compatible f D hf) |
| 99 | |
| 100 | /-- Recovery uses the ordinary geometric pullback-composition gluing. -/ |
| 101 | theorem recovery_standard_compatible (hf : f.hom.FaithfullyFlat) : |
| 102 | letI := f.hom.toAlgebra |
| 103 | Affine.GluingMorphismTransfer.PreservesGeometricGluing (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) (recoveryIso f D hf).hom |
| 104 | ((Cech.MateNormalization.standardGluing (Spec.map f) (Spec.map (Affine.CechCanonicalCoordinates.firstProjection f)) |
| 105 | (Spec.map (Affine.CechCanonicalCoordinates.secondProjection f)) |
| 106 | (Affine.CanonicalGluingStandard.projection_eq f (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) |
| 107 | (Affine.CechCanonicalCoordinates.baseEquation f))).hom.app ((tilde.functor R).obj (baseModule f D hf))) D.gluing.hom := by |
| 108 | let := f.hom.toAlgebra |
| 109 | have he := Affine.CanonicalGluingStandard.geometricTransition_eq_standard f |
| 110 | (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) (Affine.CechCanonicalCoordinates.baseEquation f) |
| 111 | exact Eq.mp (congrArg (fun η => |
| 112 | Affine.GluingMorphismTransfer.PreservesGeometricGluing (Affine.CechCanonicalCoordinates.firstProjection f) (Affine.CechCanonicalCoordinates.secondProjection f) (recoveryIso f D hf).hom |
| 113 | (η.hom.app ((tilde.functor R).obj (baseModule f D hf))) D.gluing.hom) he) |
| 114 | (recovery_preservesGluing f D hf) |
| 115 | |
| 116 | /-- The descended module is invertible, since its faithfully flat pullback is the given line. -/ |
| 117 | theorem baseModule_invertible [IsNoetherianRing R] (hf : f.hom.FaithfullyFlat) : |
| 118 | Module.Invertible R (baseModule f D hf) := by |
| 119 | have : Module.Invertible S |
| 120 | (CocycleEffectiveDescent.moduleDatum f.hom (sectionModule f D) (moduleCech f D)).A := |
| 121 | Affine.Classification.globalSections_invertible (originalLine f D) |
| 122 | exact Affine.Descent.descendedModule_invertible f.hom hf |
| 123 | (CocycleEffectiveDescent.moduleDatum f.hom (sectionModule f D) (moduleCech f D)) |
| 124 | |
| 125 | /-- A genuine descended line bundle whose pullback comparison retains the geometric gluing. -/ |
| 126 | def descendedLine [IsNoetherianRing R] (hf : f.hom.FaithfullyFlat) : |
| 127 | Line.Bundles.LineBundle (Spec R) := by |
| 128 | have := baseModule_invertible f D hf |
| 129 | exact TildePullback.lineBundleOfInvertible (baseModule f D hf) |
| 130 | |
| 131 | def descendedLinePullbackIso [IsNoetherianRing R] (hf : f.hom.FaithfullyFlat) : |
| 132 | (Scheme.Modules.pullback (Spec.map f)).obj (descendedLine f D hf).sheaf ≅ (originalLine f D).sheaf := |
| 133 | recoveryIso f D hf |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechRecovery |