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.AbelianModuli.ReferenceFamily.Finite.CoefficientLineDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Isomorphisms |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 4 | |
| 5 | /-! # Coefficient Line Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.CoefficientLineDescent.Geometric.CoefficientLines |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite-coefficient descent of an actual line bundle on the |
| 12 | ordinary base change of a proper model. The recovery isomorphism |
| 13 | uses the actual coefficient projection, with both pullback orders |
| 14 | identified explicitly. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.CoefficientLineDescent |
| 19 | |
| 20 | variable (R B : Type) [CommRing R] [CommRing B] [Algebra R B] |
| 21 | (X : Over (Spec (.of R))) |
| 22 | |
| 23 | abbrev genericBase : Spec (.of B) ⟶ Spec (.of R) := |
| 24 | Spec.map (CommRingCat.ofHom (algebraMap R B)) |
| 25 | |
| 26 | abbrev stageBase (s : Finset B) : Spec (.of (AbelianModuli.ReferenceFamily.Finite.CoefficientDiagram.finiteCoefficientRing R B s)) ⟶ Spec (.of R) := |
| 27 | Spec.map (CommRingCat.ofHom (algebraMap R (AbelianModuli.ReferenceFamily.Finite.CoefficientDiagram.finiteCoefficientRing R B s))) |
| 28 | |
| 29 | abbrev stageProjection (s : Finset B) : Spec (.of B) ⟶ Spec (.of (AbelianModuli.ReferenceFamily.Finite.CoefficientDiagram.finiteCoefficientRing R B s)) := |
| 30 | Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.Finite.CoefficientDiagram.finiteCoefficientRing R B s).val.toRingHom) |
| 31 | |
| 32 | theorem stageProjection_base (s : Finset B) : |
| 33 | stageProjection R B s ≫ stageBase R B s = genericBase R B := by |
| 34 | rw [stageProjection, stageBase, ← Spec.map_comp] |
| 35 | rfl |
| 36 | |
| 37 | def genericFlip : (AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.finiteCoefficientFamilyCone R B X).pt ≅ |
| 38 | ((Over.pullback (genericBase R B)).obj X).left := |
| 39 | pullbackSymmetry (genericBase R B) X.hom |
| 40 | |
| 41 | def stageFlip (s : Finset B) : (AbelianModuli.ReferenceFamily.Finite.CoefficientFrames.finiteCoefficientFamilyDiagram R B X).obj (.op s) ≅ |
| 42 | ((Over.pullback (stageBase R B s)).obj X).left := |
| 43 | pullbackSymmetry (stageBase R B s) X.hom |
| 44 | |
| 45 | def modelProjection (s : Finset B) : |
| 46 | ((Over.pullback (genericBase R B)).obj X).left ⟶ |
| 47 | ((Over.pullback (stageBase R B s)).obj X).left := |
| 48 | pullback.map X.hom (genericBase R B) X.hom (stageBase R B s) |
| 49 | (𝟙 X.left) (stageProjection R B s) (𝟙 _) (by simp) |
| 50 | (by simpa only [Category.comp_id] using (stageProjection_base R B s).symm) |
| 51 | |
| 52 | theorem modelProjection_fst (s : Finset B) : |
| 53 | modelProjection R B X s ≫ pullback.fst X.hom (stageBase R B s) = |
| 54 | pullback.fst X.hom (genericBase R B) := by |
| 55 | simp only [modelProjection, pullback.map, pullback.lift_fst, Category.comp_id] |
| 56 | |
| 57 | theorem modelProjection_snd (s : Finset B) : |
| 58 | modelProjection R B X s ≫ pullback.snd X.hom (stageBase R B s) = |
| 59 | pullback.snd X.hom (genericBase R B) ≫ stageProjection R B s := by |
| 60 | simp only [modelProjection, pullback.map, pullback.lift_snd] |
| 61 | |
| 62 | theorem modelProjection_cartesian (s : Finset B) : |
| 63 | IsPullback (modelProjection R B X s) (pullback.snd X.hom (genericBase R B)) |
| 64 | (pullback.snd X.hom (stageBase R B s)) (stageProjection R B s) := by |
| 65 | have houter : IsPullback |
| 66 | (modelProjection R B X s ≫ pullback.fst X.hom (stageBase R B s)) |
| 67 | (pullback.snd X.hom (genericBase R B)) X.hom |
| 68 | (stageProjection R B s ≫ stageBase R B s) := by |
| 69 | rw [modelProjection_fst, stageProjection_base] |
| 70 | exact IsPullback.of_hasPullback _ _ |
| 71 | exact houter.of_right (modelProjection_snd R B X s) (IsPullback.of_hasPullback _ _) |
| 72 | |
| 73 | theorem coefficientProjection_flip (s : Finset B) : |
| 74 | (genericFlip R B X).hom ≫ modelProjection R B X s = |
| 75 | (AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.finiteCoefficientFamilyCone R B X).π.app (.op s) ≫ (stageFlip R B X s).hom := by |
| 76 | have hg₁ : (genericFlip R B X).hom ≫ pullback.fst X.hom (genericBase R B) = |
| 77 | pullback.snd (genericBase R B) X.hom := |
| 78 | pullbackSymmetry_hom_comp_fst (genericBase R B) X.hom |
| 79 | have hs₁ : (stageFlip R B X s).hom ≫ pullback.fst X.hom (stageBase R B s) = |
| 80 | pullback.snd (stageBase R B s) X.hom := |
| 81 | pullbackSymmetry_hom_comp_fst (stageBase R B s) X.hom |
| 82 | have hg₂ : (genericFlip R B X).hom ≫ pullback.snd X.hom (genericBase R B) = |
| 83 | pullback.fst (genericBase R B) X.hom := |
| 84 | pullbackSymmetry_hom_comp_snd (genericBase R B) X.hom |
| 85 | have hs₂ : (stageFlip R B X s).hom ≫ pullback.snd X.hom (stageBase R B s) = |
| 86 | pullback.fst (stageBase R B s) X.hom := |
| 87 | pullbackSymmetry_hom_comp_snd (stageBase R B s) X.hom |
| 88 | apply pullback.hom_ext |
| 89 | · rw [Category.assoc, modelProjection_fst, hg₁, Category.assoc, hs₁] |
| 90 | exact (((Over.pullback X.hom).map |
| 91 | ((AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.finiteCoefficientOverCone R B).π.app (.op s))).w).symm |
| 92 | · rw [Category.assoc, modelProjection_snd, ← Category.assoc, hg₂, Category.assoc, hs₂] |
| 93 | exact (AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange.overPullback_map_isPullback |
| 94 | ((AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.finiteCoefficientOverCone R B).π.app (.op s)) X.hom).w |
| 95 | |
| 96 | theorem coefficientProjection_inv_flip (s : Finset B) : |
| 97 | modelProjection R B X s ≫ (stageFlip R B X s).inv = |
| 98 | (genericFlip R B X).inv ≫ (AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.finiteCoefficientFamilyCone R B X).π.app (.op s) := by |
| 99 | apply (cancel_epi (genericFlip R B X).hom).mp |
| 100 | rw [← Category.assoc, coefficientProjection_flip, Category.assoc, Iso.hom_inv_id, |
| 101 | Category.comp_id, ← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 102 | |
| 103 | theorem exists_line_stage [IsNoetherianRing R] [IsProper X.hom] |
| 104 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle ((Over.pullback (genericBase R B)).obj X).left) : |
| 105 | ∃ (s : Finset B) (K : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle ((Over.pullback (stageBase R B s)).obj X).left), |
| 106 | Nonempty ((K.pullback (modelProjection R B X s)).sheaf ≅ L.sheaf) := by |
| 107 | let L' := L.pullback (genericFlip R B X).hom |
| 108 | obtain ⟨s, K, ⟨e⟩⟩ := AbelianModuli.ReferenceFamily.Finite.CoefficientLineDescent.exists_finite_coefficient_line_model R B X L' |
| 109 | refine ⟨s, K.pullback (stageFlip R B X s).inv, ⟨?_⟩⟩ |
| 110 | exact (Scheme.Modules.pullbackComp (modelProjection R B X s) (stageFlip R B X s).inv).app K.sheaf ≪≫ |
| 111 | (Scheme.Modules.pullbackCongr (coefficientProjection_inv_flip R B X s)).app K.sheaf ≪≫ |
| 112 | (Scheme.Modules.pullbackComp (genericFlip R B X).inv |
| 113 | ((AbelianModuli.ReferenceFamily.Finite.CoefficientLimit.finiteCoefficientFamilyCone R B X).π.app (.op s))).symm.app K.sheaf ≪≫ |
| 114 | (Scheme.Modules.pullback (genericFlip R B X).inv).mapIso e ≪≫ |
| 115 | (Scheme.Modules.pullbackComp (genericFlip R B X).inv (genericFlip R B X).hom).app L.sheaf ≪≫ |
| 116 | (Scheme.Modules.pullbackCongr (genericFlip R B X).inv_hom_id).app L.sheaf ≪≫ |
| 117 | (Scheme.Modules.pullbackId _).app L.sheaf |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.CoefficientLineDescent.Geometric.CoefficientLines |