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.CechInvariantMaps |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechMorphismDescent |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.RecoveryComparison |
| 4 | |
| 5 | /-! # Cech Effectivity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CechEffectivity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual affine Čech invariant sheaf effectively descends the geometric line bundle |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.ModuleCat |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechRecovery OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechMorphismCoordinates |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CechInvariantMaps |
| 21 | |
| 22 | variable {R S : CommRingCat.{u}} (f : R ⟶ S) (D : Geometric.CocycleDescent.RingMapDatum f) |
| 23 | (hf : f.hom.FaithfullyFlat) |
| 24 | |
| 25 | /-- The already recovered bundle's comparison has the original geometric compatibility. -/ |
| 26 | theorem recovery_compatible : |
| 27 | Geometric.CechMorphismCoordinates.Compatible f D (P := (tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf)) (Geometric.CechRecovery.recoveryIso f D hf).hom := by |
| 28 | let := f.hom.toAlgebra |
| 29 | exact NaturalGluingCompatibility.of_equation f |
| 30 | (CechCanonicalCoordinates.firstProjection f) |
| 31 | (CechCanonicalCoordinates.secondProjection f) |
| 32 | (P := (tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf)) (M := (Geometric.CechRecovery.originalLine f D).sheaf) |
| 33 | (Geometric.CechRecovery.recoveryIso f D hf).hom D.gluing.hom |
| 34 | (Cech.MateNormalization.standardGluing (Spec.map f) |
| 35 | (Spec.map (CechCanonicalCoordinates.firstProjection f)) |
| 36 | (Spec.map (CechCanonicalCoordinates.secondProjection f)) |
| 37 | (CanonicalGluingStandard.projection_eq f |
| 38 | (CechCanonicalCoordinates.firstProjection f) |
| 39 | (CechCanonicalCoordinates.secondProjection f) |
| 40 | (CechCanonicalCoordinates.baseEquation f))) (Geometric.CechRecovery.recovery_standard_compatible f D hf) |
| 41 | |
| 42 | /-- The descended module sheaf maps canonically into the raw invariant sheaf. -/ |
| 43 | def toInvariant : (tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf) ⟶ CechInvariantMaps.invariant f D := |
| 44 | CechInvariantMaps.liftToInvariant f D (Geometric.CechRecovery.recoveryIso f D hf).hom (recovery_compatible f D hf) |
| 45 | |
| 46 | theorem toInvariant_fac : |
| 47 | (Scheme.Modules.pullback (Spec.map f)).map (toInvariant f D hf) ≫ CechInvariantMaps.comparison f D = |
| 48 | (Geometric.CechRecovery.recoveryIso f D hf).hom := |
| 49 | CechInvariantMaps.liftToInvariant_fac f D (Geometric.CechRecovery.recoveryIso f D hf).hom (recovery_compatible f D hf) |
| 50 | |
| 51 | /-- Descent of the invariant comparison gives the inverse candidate on actual sheaves. -/ |
| 52 | def fromInvariant : CechInvariantMaps.invariant f D ⟶ (tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf) := |
| 53 | Geometric.CechMorphismDescent.lift f D (CechInvariantMaps.comparison f D) |
| 54 | (CechInvariantMaps.invariantModule f D) (CechInvariantMaps.invariantPresentation f D) (CechInvariantMaps.comparison_compatible f D) hf |
| 55 | |
| 56 | theorem fromInvariant_fac : |
| 57 | (Scheme.Modules.pullback (Spec.map f)).map (fromInvariant f D hf) ≫ |
| 58 | (Geometric.CechRecovery.recoveryIso f D hf).hom = CechInvariantMaps.comparison f D := |
| 59 | Geometric.CechMorphismDescent.lift_fac f D (CechInvariantMaps.comparison f D) |
| 60 | (CechInvariantMaps.invariantModule f D) (CechInvariantMaps.invariantPresentation f D) (CechInvariantMaps.comparison_compatible f D) hf |
| 61 | |
| 62 | /-- Uniqueness of descended geometric morphisms detects the identity on the recovered bundle. -/ |
| 63 | theorem recovered_endomorphism_unique |
| 64 | (a : (tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf) ⟶ (tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf)) |
| 65 | (ha : (Scheme.Modules.pullback (Spec.map f)).map a ≫ (Geometric.CechRecovery.recoveryIso f D hf).hom = |
| 66 | (Geometric.CechRecovery.recoveryIso f D hf).hom) : a = 𝟙 _ := by |
| 67 | have hi : (Scheme.Modules.pullback (Spec.map f)).map (𝟙 ((tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf))) ≫ |
| 68 | (Geometric.CechRecovery.recoveryIso f D hf).hom = (Geometric.CechRecovery.recoveryIso f D hf).hom := by |
| 69 | rw [(Scheme.Modules.pullback (Spec.map f)).map_id, Category.id_comp] |
| 70 | exact (Geometric.CechMorphismDescent.lift_unique f D (Geometric.CechRecovery.recoveryIso f D hf).hom |
| 71 | (Geometric.CechRecovery.baseModule f D hf) (Iso.refl _) (recovery_compatible f D hf) hf a ha).trans |
| 72 | (Geometric.CechMorphismDescent.lift_unique f D (Geometric.CechRecovery.recoveryIso f D hf).hom |
| 73 | (Geometric.CechRecovery.baseModule f D hf) (Iso.refl _) (recovery_compatible f D hf) hf (𝟙 _) hi).symm |
| 74 | |
| 75 | /-- The invariant universal property detects the identity on the actual equalizer sheaf. -/ |
| 76 | theorem invariant_endomorphism_unique (a : CechInvariantMaps.invariant f D ⟶ CechInvariantMaps.invariant f D) |
| 77 | (ha : (Scheme.Modules.pullback (Spec.map f)).map a ≫ CechInvariantMaps.comparison f D = CechInvariantMaps.comparison f D) : |
| 78 | a = 𝟙 _ := by |
| 79 | apply CechInvariantMaps.liftToInvariant_unique f D (CechInvariantMaps.comparison f D) (CechInvariantMaps.comparison_compatible f D) a (𝟙 _) ha |
| 80 | rw [(Scheme.Modules.pullback (Spec.map f)).map_id, Category.id_comp] |
| 81 | |
| 82 | /-- The raw Čech invariant sheaf is the sheaf constructed by effective affine descent. -/ |
| 83 | def invariantIso : (tilde.functor R).obj (Geometric.CechRecovery.baseModule f D hf) ≅ CechInvariantMaps.invariant f D := |
| 84 | RecoveryComparison.recoveryIso (Scheme.Modules.pullback (Spec.map f)) |
| 85 | (Geometric.CechRecovery.recoveryIso f D hf) (CechInvariantMaps.comparison f D) (toInvariant f D hf) (fromInvariant f D hf) |
| 86 | (toInvariant_fac f D hf) (fromInvariant_fac f D hf) |
| 87 | (recovered_endomorphism_unique f D hf) (invariant_endomorphism_unique f D) |
| 88 | |
| 89 | include hf in |
| 90 | /-- The actual canonical Čech invariant comparison is an isomorphism. -/ |
| 91 | theorem comparison_isIso : IsIso (CechInvariantMaps.comparison f D) := |
| 92 | RecoveryComparison.comparison_isIso (Scheme.Modules.pullback (Spec.map f)) |
| 93 | (Geometric.CechRecovery.recoveryIso f D hf) (CechInvariantMaps.comparison f D) (toInvariant f D hf) (fromInvariant f D hf) |
| 94 | (toInvariant_fac f D hf) (fromInvariant_fac f D hf) |
| 95 | (recovered_endomorphism_unique f D hf) (invariant_endomorphism_unique f D) |
| 96 | |
| 97 | include hf in |
| 98 | /-- Over a noetherian affine base, the actual invariant equalizer is itself a line bundle. -/ |
| 99 | theorem invariant_isLine [IsNoetherianRing R] : Line.Bundles.IsLine (CechInvariantMaps.invariant f D) := by |
| 100 | have := Geometric.CechRecovery.baseModule_invertible f D hf |
| 101 | exact (TildePullback.isLine_tilde_of_invertible (Geometric.CechRecovery.baseModule f D hf)).of_iso (invariantIso f D hf) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CechEffectivity |