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.ProperFunctionsEq |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | |
| 4 | /-! # Proper Integral -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperIntegral.Construction.ProperIntegralFunctions |
| 7 | |
| 8 | /-! Global functions on a proper scheme are integral over an affine base. |
| 9 | This uses properness of the affinization map and descent of universal |
| 10 | closedness, without a cohomology finiteness hypothesis. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | noncomputable def scalarMap {R : CommRingCat.{u}} {X : Scheme.{u}} (f : X ⟶ Spec R) : |
| 17 | R ⟶ Γ(X, ⊤) := (Scheme.ΓSpecIso R).inv ≫ f.appTop |
| 18 | |
| 19 | theorem factor {R : CommRingCat.{u}} {X : Scheme.{u}} (f : X ⟶ Spec R) : |
| 20 | X.toSpecΓ ≫ Spec.map (scalarMap f) = f := by |
| 21 | simp only [scalarMap, Spec.map_comp, ← Scheme.toSpecΓ_naturality_assoc, |
| 22 | toSpecΓ_SpecMap_ΓSpecIso_inv, Category.comp_id] |
| 23 | |
| 24 | theorem isProper_toSpecΓ {R : CommRingCat.{u}} {X : Scheme.{u}} |
| 25 | (f : X ⟶ Spec R) [IsProper f] : IsProper X.toSpecΓ := by |
| 26 | have : IsProper (X.toSpecΓ ≫ Spec.map (scalarMap f)) := by |
| 27 | rw [factor] |
| 28 | infer_instance |
| 29 | exact IsProper.of_comp X.toSpecΓ (Spec.map (scalarMap f)) |
| 30 | |
| 31 | theorem isIntegral {R : CommRingCat.{u}} {X : Scheme.{u}} |
| 32 | (f : X ⟶ Spec R) [IsProper f] : (scalarMap f).hom.IsIntegral := by |
| 33 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 34 | have := isProper_toSpecΓ f |
| 35 | have : Surjective X.toSpecΓ := inferInstance |
| 36 | have : UniversallyClosed (X.toSpecΓ ≫ Spec.map (scalarMap f)) := by |
| 37 | rw [factor] |
| 38 | infer_instance |
| 39 | have : UniversallyClosed (Spec.map (scalarMap f)) := |
| 40 | UniversallyClosed.of_comp_surjective X.toSpecΓ (Spec.map (scalarMap f)) |
| 41 | exact IsIntegralHom.SpecMap_iff.mp |
| 42 | (IsIntegralHom.iff_universallyClosed_and_isAffineHom.mpr ⟨inferInstance, inferInstance⟩) |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperIntegral.Construction.ProperIntegralFunctions |