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.GlobalLineDescent |
| 2 | |
| 3 | /-! # Faithful Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.FaithfulPullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Faithfully flat detection of line-bundle isomorphisms for PoincareBundle |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | /-- Faithfully flat affine pullback detects maps of quasi-coherent sheaves |
| 18 | which are isomorphisms after pullback. -/ |
| 19 | theorem spec_isIso_of_pullback {R S : CommRingCat.{u}} (f : R ⟶ S) |
| 20 | (hf : f.hom.FaithfullyFlat) {M N : (Spec R).Modules} |
| 21 | [M.IsQuasicoherent] [N.IsQuasicoherent] (a : M ⟶ N) |
| 22 | (ha : IsIso ((Scheme.Modules.pullback (Spec.map f)).map a)) : IsIso a := by |
| 23 | let P := SheafOfModules.isQuasicoherent (Spec R).ringCatSheaf |
| 24 | let M' : Affine.QuasiCoherent.QCSheaves R := ⟨M, inferInstance⟩ |
| 25 | let N' : Affine.QuasiCoherent.QCSheaves R := ⟨N, inferInstance⟩ |
| 26 | let a' : M' ⟶ N' := ObjectProperty.homMk a |
| 27 | have hp : IsIso ((Affine.QuasiCoherent.pullback f).map a') := |
| 28 | (ObjectProperty.isIso_hom_iff _).mp ha |
| 29 | have := Affine.QuasiCoherent.pullback_reflectsIsomorphisms f hf |
| 30 | have hi : IsIso a' := isIso_of_reflects_iso a' (Affine.QuasiCoherent.pullback f) |
| 31 | exact @Functor.map_isIso _ _ _ _ _ _ P.ι a' hi |
| 32 | |
| 33 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 34 | |
| 35 | /-- Isomorphisms of line bundles are detected by faithfully flat pullback |
| 36 | between arbitrary affine schemes. -/ |
| 37 | theorem affine_isIso_of_pullback [IsAffine X] [IsAffine Y] [Flat f] [Surjective f] |
| 38 | {M N : Y.Modules} (a : M ⟶ N) |
| 39 | (hM : Line.Bundles.IsLine M) (hN : Line.Bundles.IsLine N) |
| 40 | (ha : IsIso ((Scheme.Modules.pullback f).map a)) : IsIso a := by |
| 41 | let g := Spec.map f.appTop |
| 42 | let i := X.isoSpec.symm |
| 43 | let j := Y.isoSpec.symm |
| 44 | let w := Scheme.isoSpec_inv_naturality f |
| 45 | let α := IsoDescent.pullbackSquareIso f g i j w |
| 46 | let G := Scheme.Modules.pullback j.hom |
| 47 | let H := Scheme.Modules.pullback i.hom |
| 48 | have hM' : (G.obj M).IsQuasicoherent := |
| 49 | QuasiCoherent.isQuasicoherent_of_isLine _ (hM.pullback j.hom) |
| 50 | have hN' : (G.obj N).IsQuasicoherent := |
| 51 | QuasiCoherent.isQuasicoherent_of_isLine _ (hN.pullback j.hom) |
| 52 | have hright : IsIso ((Scheme.Modules.pullback f ⋙ H).map a) := |
| 53 | @Functor.map_isIso _ _ _ _ _ _ H ((Scheme.Modules.pullback f).map a) ha |
| 54 | have hleft : IsIso ((G ⋙ Scheme.Modules.pullback g).map a) := |
| 55 | (NatIso.isIso_map_iff α a).mpr hright |
| 56 | have hf : f.appTop.hom.FaithfullyFlat := |
| 57 | (Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine f).mp ⟨inferInstance, inferInstance⟩ |
| 58 | have hG : IsIso (G.map a) := spec_isIso_of_pullback f.appTop hf (G.map a) hleft |
| 59 | have : G.IsEquivalence := IsoDescent.pullback_isEquivalence j |
| 60 | exact isIso_of_reflects_iso a G |
| 61 | |
| 62 | /-- Faithfully flat affine pullback detects isomorphisms between global |
| 63 | line bundles. -/ |
| 64 | theorem isIso_of_pullback [IsAffineHom f] [Flat f] [Surjective f] |
| 65 | {M N : Y.Modules} (a : M ⟶ N) |
| 66 | (hM : Line.Bundles.IsLine M) (hN : Line.Bundles.IsLine N) |
| 67 | (ha : IsIso ((Scheme.Modules.pullback f).map a)) : IsIso a := by |
| 68 | apply ModuleLocality.isIso_of_locally_isIso |
| 69 | intro y |
| 70 | obtain ⟨U, hU, hy, _⟩ := exists_isAffineOpen_mem_and_subset |
| 71 | (show y ∈ (⊤ : Y.Opens) from trivial) |
| 72 | have : IsAffine U := hU |
| 73 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 74 | have : Surjective (f ∣_ U) := |
| 75 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 76 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 77 | let G := Scheme.Modules.restrictFunctor U.ι |
| 78 | let H := Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι |
| 79 | have hM' : Line.Bundles.IsLine (G.obj M) := |
| 80 | (hM.pullback U.ι).of_iso ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app M).symm |
| 81 | have hN' : Line.Bundles.IsLine (G.obj N) := |
| 82 | (hN.pullback U.ι).of_iso ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app N).symm |
| 83 | have hleft : IsIso ((Scheme.Modules.pullback f ⋙ H).map a) := |
| 84 | @Functor.map_isIso _ _ _ _ _ _ H ((Scheme.Modules.pullback f).map a) ha |
| 85 | have hright : IsIso ((G ⋙ Scheme.Modules.pullback (f ∣_ U)).map a) := |
| 86 | (NatIso.isIso_map_iff (Open.BaseChange.pullbackRestrictIso f U) a).mp hleft |
| 87 | exact ⟨U, hy, affine_isIso_of_pullback (f ∣_ U) (G.map a) hM' hN' hright⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.FaithfulPullback |