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.PELModuli.IntegralModel.Fixed.SourceEnlargement |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FiniteAffineOpens |
| 3 | |
| 4 | /-! # Source Finite Affine Opens -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.SourceFiniteAffineOpens |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finitely many affine opens of a fixed arithmetic scheme's field |
| 11 | base change spread as actual affine opens on a coefficient base change |
| 12 | of that same arithmetic scheme. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace Coefficients |
| 19 | variable {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 20 | |
| 21 | theorem fixed_source_finite_affine_opens {I : Type} [Finite I] |
| 22 | (X : Over (Spec (.of R))) (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) |
| 23 | (U : I → ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj X).left.Opens) |
| 24 | (hU : ∀ i, IsAffineOpen (U i)) : |
| 25 | ∃ (s : Finset K) (V : I → ((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).obj X).left.Opens), |
| 26 | (∀ i, IsAffineOpen (V i)) ∧ |
| 27 | (∀ i, (CoefficientModels.Coefficients.fixedSourceModel R K s X hX).specialization ⁻¹ᵁ V i = U i) := by |
| 28 | let M := CoefficientModels.Coefficients.fixedSourceModel R K ∅ X hX |
| 29 | obtain ⟨s, hs, V, hV, hpre⟩ := Coefficient.FiniteAffineOpens.Coefficients.finite_affine_opens_in_fixed_model |
| 30 | (Coefficient.Finiteness.Coefficients.baseChange_finitePresentation _ _ hX) M U hU |
| 31 | change (∅ : Finset K) ⊆ s at hs |
| 32 | let e := SourceEnlargement.Coefficients.fixedSourceEnlargementIso hs X |
| 33 | have : IsIso e.inv.left := ((Over.forget (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K s)).mapIso e).isIso_inv |
| 34 | have hp : (CoefficientModels.Coefficients.fixedSourceModel R K s X hX).specialization ≫ e.inv.left = |
| 35 | Coefficient.Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w hs := by |
| 36 | rw [← SourceEnlargement.Coefficients.fixedSourceEnlargement_generic hs X hX, Category.assoc, |
| 37 | Over.hom_left_inv_left] |
| 38 | exact Category.comp_id (Coefficient.Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w hs) |
| 39 | refine ⟨s, fun i => e.inv.left ⁻¹ᵁ V i, fun i => (hV i).preimage_of_isIso e.inv.left, ?_⟩ |
| 40 | intro i |
| 41 | rw [← Scheme.Hom.comp_preimage, hp] |
| 42 | exact hpre i |
| 43 | |
| 44 | end Coefficients |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.SourceFiniteAffineOpens |