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.Quotients.FiniteDescent.TorsionSection |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineTrivializationOf |
| 3 | |
| 4 | /-! # From Power Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FromPowerSections.Construction.FiniteFromPowerSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A proper map is finite when suitable powers of line bundles defining |
| 11 | affine section neighborhoods are pulled back from its target. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem isFinite {X Y : Scheme.{u}} (f : X ⟶ Y) [IsProper f] |
| 18 | (h : ∀ x : X, ∃ (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (n : ℕ), 0 < n ∧ |
| 19 | Nonempty ((L.tensorPower n).sheaf ≅ (M.pullback f).sheaf) ∧ |
| 20 | ∃ s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf, |
| 21 | x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s ∧ IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s)) : IsFinite f := by |
| 22 | have : LocallyQuasiFinite f := (locallyQuasiFinite_iff_isFinite_fiber (f := f)).mpr (by |
| 23 | intro y |
| 24 | let i := f.fiberι y |
| 25 | let p := f.fiberToSpecResidueField y |
| 26 | let a := Y.fromSpecResidueField y |
| 27 | let T : Over (Spec (Y.residueField y)) := Over.mk p |
| 28 | have hpT : IsProper T.hom := inferInstanceAs (IsProper (pullback.snd f a)) |
| 29 | have ha : IsAffineHom a := @LineTrivializationOf.Construction.LineTrivialization.isAffineHom_from_field |
| 30 | (Y.residueField y) inferInstance Y a |
| 31 | have : IsAffineHom i := |
| 32 | MorphismProperty.of_isPullback (IsPullback.of_hasPullback f a).flip ha |
| 33 | have hT : IsFinite T.hom := @TorsionSection.Construction.TorsionSectionFinite.isFinite |
| 34 | (Y.residueField y) inferInstance T hpT (by |
| 35 | intro x |
| 36 | obtain ⟨L, M, n, hn, ⟨e⟩, s, hx, hs⟩ := h (i x) |
| 37 | obtain ⟨e₀⟩ := @LineTrivializationOf.Construction.LineTrivialization.pullback_trivial_over_field |
| 38 | (Y.residueField y) inferInstance Y a M |
| 39 | let eT : ((L.pullback i).tensorPower n).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T.left := |
| 40 | (TensorPullback.Construction.TensorPullbackMap.iso i L n).symm ≪≫ |
| 41 | (Scheme.Modules.pullback i).mapIso e ≪≫ |
| 42 | (Scheme.Modules.pullbackComp i f).app M.sheaf ≪≫ |
| 43 | (Scheme.Modules.pullbackCongr (f.fiber_fac y)).app M.sheaf ≪≫ |
| 44 | (Scheme.Modules.pullbackComp p a).symm.app M.sheaf ≪≫ |
| 45 | (Scheme.Modules.pullback p).mapIso e₀ ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p |
| 46 | let t := AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection i s |
| 47 | have ht : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t = i ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := |
| 48 | SectionBase.Construction.SectionBaseChange.nonvanishing_pullback i L s |
| 49 | exact ⟨L.pullback i, n, hn, ⟨eT⟩, t, ht.symm ▸ hx, ht.symm ▸ hs.preimage i⟩) |
| 50 | exact hT) |
| 51 | exact IsFinite.of_isProper_of_locallyQuasiFinite f |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FromPowerSections.Construction.FiniteFromPowerSections |