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.SourceFiniteAffineOpens |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.SourceMorphismSpecialization |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.InvariantCoverLocalization |
| 4 | |
| 5 | /-! # Relation Invariant Affine Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.RelationInvariantAffineCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite invariant affine cover for an actual relation spreads on |
| 12 | the literal original schemes after one common coefficient localization. |
| 13 | The two relation arrows may have a different source from the parameter. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | namespace Coefficients |
| 20 | variable {R K : Type} [CommRing R] [IsNoetherianRing R] [Field K] [Algebra R K] |
| 21 | |
| 22 | theorem fixed_relation_invariant_affine_cover_away {I : Type} [Finite I] |
| 23 | (X Z : Over (Spec (.of R))) (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) |
| 24 | (hZ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Z.hom) (a b : Z ⟶ X) |
| 25 | (U : I → ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj X).left.Opens) |
| 26 | (hU : ∀ i, IsAffineOpen (U i)) (hcover : iSup U = ⊤) |
| 27 | (hInv : ∀ i, ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).map a).left ⁻¹ᵁ U i = |
| 28 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).map b).left ⁻¹ᵁ U i) : |
| 29 | ∃ (s : Finset K) (r : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K s), r ≠ 0 ∧ |
| 30 | ∃ V : I → ((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).obj X).left.Opens, |
| 31 | (∀ i, IsAffineOpen (V i)) ∧ |
| 32 | (∀ x : ((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).obj X).left, |
| 33 | r ∉ (((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).obj X).hom x).asIdeal → ∃ i, x ∈ V i) ∧ |
| 34 | (∀ i (z : ((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).obj Z).left), |
| 35 | r ∉ (((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).obj Z).hom z).asIdeal → |
| 36 | (((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).map a).left z ∈ V i ↔ |
| 37 | ((Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s)).map b).left z ∈ V i)) := by |
| 38 | classical |
| 39 | have : Fintype I := Fintype.ofFinite I |
| 40 | obtain ⟨s, V, hV, hpre⟩ := SourceFiniteAffineOpens.Coefficients.fixed_source_finite_affine_opens X hX U hU |
| 41 | let MX := CoefficientModels.Coefficients.fixedSourceModel R K s X hX |
| 42 | let MZ := CoefficientModels.Coefficients.fixedSourceModel R K s Z hZ |
| 43 | have : IsNoetherian MX.model.left := SourceMorphismSpecialization.Coefficients.fixedSourceModel_noetherian s X hX |
| 44 | have : IsNoetherian MZ.model.left := SourceMorphismSpecialization.Coefficients.fixedSourceModel_noetherian s Z hZ |
| 45 | let F := Over.pullback (CoefficientModels.Coefficients.parameterBaseMap R K s) |
| 46 | let G := Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K))) |
| 47 | have hc : MX.specialization ⁻¹ᵁ iSup V = MX.specialization ⁻¹ᵁ ⊤ := by |
| 48 | ext x |
| 49 | change MX.specialization x ∈ iSup V ↔ MX.specialization x ∈ (⊤ : MX.model.left.Opens) |
| 50 | refine ⟨fun _ => trivial, fun _ => ?_⟩ |
| 51 | have hx : x ∈ iSup U := hcover ▸ Set.mem_univ x |
| 52 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 53 | have hi' : x ∈ MX.specialization ⁻¹ᵁ V i := |
| 54 | (congrArg (fun W => x ∈ W) (hpre i)).mpr hi |
| 55 | exact Opens.mem_iSup.mpr ⟨i, hi'⟩ |
| 56 | obtain ⟨r₀, hr₀, hcov⟩ := Coefficient.InvariantCoverLocalization.Coefficients.coefficient_open_equality_away MX (iSup V) ⊤ hc |
| 57 | change ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K s at r₀ |
| 58 | have heq (i : I) : MZ.specialization ⁻¹ᵁ ((F.map a).left ⁻¹ᵁ V i) = |
| 59 | MZ.specialization ⁻¹ᵁ ((F.map b).left ⁻¹ᵁ V i) := by |
| 60 | have hn (c : Z ⟶ X) : MZ.specialization ⁻¹ᵁ ((F.map c).left ⁻¹ᵁ V i) = |
| 61 | (G.map c).left ⁻¹ᵁ U i := by |
| 62 | have hmap : MZ.specialization ≫ (F.map c).left = (G.map c).left ≫ MX.specialization := |
| 63 | SourceMorphismSpecialization.Coefficients.fixedSourceModel_specialization_map s Z X hZ hX c |
| 64 | exact (Scheme.Hom.comp_preimage MZ.specialization (F.map c).left (V i)).symm.trans |
| 65 | ((congrArg (fun q => q ⁻¹ᵁ V i) hmap).trans |
| 66 | ((Scheme.Hom.comp_preimage (G.map c).left MX.specialization (V i)).trans |
| 67 | (congrArg (fun W => (G.map c).left ⁻¹ᵁ W) (hpre i)))) |
| 68 | exact (hn a).trans ((hInv i).trans (hn b).symm) |
| 69 | choose r hr hgood using fun i : I => |
| 70 | Coefficient.InvariantCoverLocalization.Coefficients.coefficient_open_equality_away MZ ((F.map a).left ⁻¹ᵁ V i) |
| 71 | ((F.map b).left ⁻¹ᵁ V i) (heq i) |
| 72 | change I → ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R K s at r |
| 73 | let d := ∏ i, r i |
| 74 | refine ⟨s, r₀ * d, mul_ne_zero hr₀ (Finset.prod_ne_zero_iff.mpr (fun i _ => hr i)), |
| 75 | V, hV, ?_, ?_⟩ |
| 76 | · intro x hx |
| 77 | exact Opens.mem_iSup.mp ((hcov x |
| 78 | (fun h => hx ((MX.model.hom x).asIdeal.mul_mem_right d h))).mpr trivial) |
| 79 | · intro i z hz |
| 80 | apply hgood i z |
| 81 | intro h |
| 82 | have hd : r i ∣ r₀ * d := (Finset.dvd_prod_of_mem r (Finset.mem_univ i)).trans (dvd_mul_left d r₀) |
| 83 | exact hz ((MZ.model.hom z).asIdeal.mem_of_dvd hd h) |
| 84 | |
| 85 | end Coefficients |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.RelationInvariantAffineCover |