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.FaithfulPullback |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent |
| 3 | |
| 4 | /-! # Faithfully Flat Quasicoherent Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.FaithfullyFlatQuasicoherentIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Faithfully flat affine pullback detects isomorphisms of arbitrary quasicoherent modules. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 16 | |
| 17 | theorem affine_quasicoherent_isIso_of_pullback [IsAffine X] [IsAffine Y] [Flat f] [Surjective f] |
| 18 | {M N : Y.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] (a : M ⟶ N) |
| 19 | (ha : IsIso ((Scheme.Modules.pullback f).map a)) : IsIso a := by |
| 20 | let g := Spec.map f.appTop |
| 21 | let i := X.isoSpec.symm |
| 22 | let j := Y.isoSpec.symm |
| 23 | let w := Scheme.isoSpec_inv_naturality f |
| 24 | let α := Picard.PoincareBundle.IsoDescent.pullbackSquareIso f g i j w |
| 25 | let G := Scheme.Modules.pullback j.hom |
| 26 | let H := Scheme.Modules.pullback i.hom |
| 27 | have : (G.obj M).IsQuasicoherent := |
| 28 | ObjectProperty.prop_of_iso _ ((Scheme.Modules.restrictFunctorIsoPullback j.hom).app M) |
| 29 | (inferInstanceAs ((Scheme.Modules.restrictFunctor j.hom).obj M).IsQuasicoherent) |
| 30 | have : (G.obj N).IsQuasicoherent := |
| 31 | ObjectProperty.prop_of_iso _ ((Scheme.Modules.restrictFunctorIsoPullback j.hom).app N) |
| 32 | (inferInstanceAs ((Scheme.Modules.restrictFunctor j.hom).obj N).IsQuasicoherent) |
| 33 | have hright : IsIso ((Scheme.Modules.pullback f ⋙ H).map a) := |
| 34 | @Functor.map_isIso _ _ _ _ _ _ H ((Scheme.Modules.pullback f).map a) ha |
| 35 | have hleft : IsIso ((G ⋙ Scheme.Modules.pullback g).map a) := |
| 36 | (NatIso.isIso_map_iff α a).mpr hright |
| 37 | have hf : f.appTop.hom.FaithfullyFlat := |
| 38 | (Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine f).mp ⟨inferInstance, inferInstance⟩ |
| 39 | have : IsIso (G.map a) := Picard.PoincareBundle.FaithfulPullback.spec_isIso_of_pullback f.appTop hf (G.map a) hleft |
| 40 | have : G.IsEquivalence := Picard.PoincareBundle.IsoDescent.pullback_isEquivalence j |
| 41 | exact isIso_of_reflects_iso a G |
| 42 | |
| 43 | theorem quasicoherent_isIso_of_faithfullyFlat_pullback [IsAffineHom f] [Flat f] [Surjective f] |
| 44 | {M N : Y.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] (a : M ⟶ N) |
| 45 | (ha : IsIso ((Scheme.Modules.pullback f).map a)) : IsIso a := by |
| 46 | apply Picard.PoincareBundle.ModuleLocality.isIso_of_locally_isIso |
| 47 | intro y |
| 48 | obtain ⟨U, hU, hy, _⟩ := exists_isAffineOpen_mem_and_subset |
| 49 | (show y ∈ (⊤ : Y.Opens) from trivial) |
| 50 | have : IsAffine U := hU |
| 51 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 52 | have : Surjective (f ∣_ U) := |
| 53 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 54 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 55 | let G := Scheme.Modules.restrictFunctor U.ι |
| 56 | let H := Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι |
| 57 | have hleft : IsIso ((Scheme.Modules.pullback f ⋙ H).map a) := |
| 58 | @Functor.map_isIso _ _ _ _ _ _ H ((Scheme.Modules.pullback f).map a) ha |
| 59 | have hright : IsIso ((G ⋙ Scheme.Modules.pullback (f ∣_ U)).map a) := |
| 60 | (NatIso.isIso_map_iff (Picard.PoincareBundle.Open.BaseChange.pullbackRestrictIso f U) a).mp hleft |
| 61 | exact ⟨U, hy, affine_quasicoherent_isIso_of_pullback (f ∣_ U) (G.map a) hright⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.FaithfullyFlatQuasicoherentIso |