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.HilbertScheme.Presentations.Flat.IntrinsicFamilyBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.FlatModelPolynomial |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalParameter |
| 4 | |
| 5 | /-! # Arbitrary Local Parameter -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryLocalParameter.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native Hilbert families over arbitrary local test rings have actual |
| 12 | bounded Hilbert parameters whenever their base map factors through a |
| 13 | Noetherian affine scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 19 | variable {A B : Type u} [CommRing A] [IsLocalRing A] [CommRing B] [IsNoetherianRing B] |
| 20 | variable [Algebra B A] {n N : ℕ} {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 21 | |
| 22 | theorem exists_local_hilbert_parameter_of_base_factorization |
| 23 | (c : Spec (.of B) ⟶ S) (a : Spec (.of A) ⟶ S) |
| 24 | (ha : Spec.map (CommRingCat.ofHom (algebraMap B A)) ≫ c = a) |
| 25 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 26 | (P : Polynomial ℚ) (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) |
| 27 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 28 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 29 | ∃ x : Over.mk a ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 30 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 31 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F := by |
| 32 | let E := Intrinsic.AffineEquationModel.GradedHilbert.nativeAffineEquations a F |
| 33 | let C := Intrinsic.AffineEquationModel.GradedHilbert.nativeEquationCoefficientRing E B |
| 34 | let M := Intrinsic.FlatEquationModel.GradedHilbert.nativeLocalFlatEquationModel (B := B) E |
| 35 | let R := M.R |
| 36 | let I := Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := R) (Intrinsic.AffineEquationModel.GradedHilbert.nativeEquationModelIdeal E B) |
| 37 | have : IsProper (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := Projective.Properness.GradedHilbert.projectiveQuotient_proper I |
| 38 | have : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := M.flat |
| 39 | let φ : R →+* A := algebraMap R A |
| 40 | let ψ : B →+* R := (algebraMap C R).comp (algebraMap B C) |
| 41 | have hψφ : φ.comp ψ = algebraMap B A := by |
| 42 | apply RingHom.ext |
| 43 | intro b |
| 44 | change algebraMap R A (algebraMap C R (algebraMap B C b)) = algebraMap B A b |
| 45 | rw [← IsScalarTower.algebraMap_apply C R A] |
| 46 | rfl |
| 47 | let aR : Spec (.of R) ⟶ S := Spec.map (CommRingCat.ofHom ψ) ≫ c |
| 48 | have hw : Spec.map (CommRingCat.ofHom φ) ≫ aR = a := by |
| 49 | dsimp only [aR] |
| 50 | rw [← Category.assoc, ← Spec.map_comp] |
| 51 | change Spec.map (CommRingCat.ofHom (φ.comp ψ)) ≫ c = a |
| 52 | rw [hψφ] |
| 53 | exact ha |
| 54 | let b : Over.mk a ⟶ Over.mk aR := Over.homMk (Spec.map (CommRingCat.ofHom φ)) hw |
| 55 | let G := Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.nativeFamilyOfHomogeneousIdeal n aR I |
| 56 | have hPI : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P := Intrinsic.FlatModelPolynomial.GradedHilbert.nativeLocalFlatEquationModel_hilbertPolynomial |
| 57 | (B := B) E P hP |
| 58 | obtain ⟨x, hx⟩ := Noetherian.LocalParameter.GradedHilbert.exists_noetherian_local_hilbert_parameter aR G P |
| 59 | (Presentations.Flat.IntrinsicFamilyBaseChange.GradedHilbert.localFlat_nativeFamily_residue_polynomial I aR P hPI) N hN ι hr |
| 60 | refine ⟨b ≫ x, ?_⟩ |
| 61 | rw [Hilbert.Functor.pullbackFamily_comp, hx] |
| 62 | exact Presentations.Flat.IntrinsicFamilyBaseChange.GradedHilbert.nativeFamilyOfHomogeneousIdeal_pullback_eq I aR a b rfl F |
| 63 | (Intrinsic.FlatEquationModel.GradedHilbert.nativeLocalFlatEquationModel_coordinates (B := B) E) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryLocalParameter.GradedHilbert |