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.AbelianModuli.ReferenceFamily.Integral.ChartCharacterQuotient |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.FlatRankLocus |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.LieRankConormalCriterion |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.LieRankCharacter |
| 5 | import Mathlib.AlgebraicGeometry.Noetherian |
| 6 | |
| 7 | /-! # Character Lie Locus -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Local.CharacterLieLocus |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original geometric character Lie rank has an actual clopen |
| 14 | representing locus on every constructed action chart. Every test scheme |
| 15 | is classified, including nonreduced tests. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.LieRankCharacter |
| 21 | |
| 22 | theorem exists_local_character_lie_locus |
| 23 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 24 | {S : Scheme.{0}} [IsLocallyNoetherian S] {g : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 25 | (ρ : ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 26 | (χ : NumberField.RingOfIntegers E →+* Γ(S, ⊤)) (r : ℕ) |
| 27 | (C : PELModuli.IntegralModel.Section.ActionCharts.SectionMorphismChart A.scheme.hom η[A.scheme].left |
| 28 | (fun i => (ρ.map (PELModuli.IntegralModel.Finite.Actions.integralActionBasis E i)).left)) |
| 29 | [Algebra ℚ Γ(C.V.toScheme, ⊤)] : |
| 30 | ∃ (Z : Scheme.{0}) (j : Z ⟶ C.V.toScheme), IsOpenImmersion j ∧ IsClosedImmersion j ∧ |
| 31 | ∀ (T : Scheme.{0}) (x : T ⟶ C.V.toScheme), |
| 32 | (∀ (k : Type) [Field k] [IsAlgClosed k] (p : Spec (.of k) ⟶ T), |
| 33 | PELModuli.IntegralModel.LieRankCharacter.CharacterLieRank A ρ χ r ((p ≫ x) ≫ C.V.ι)) ↔ |
| 34 | ∃! f : T ⟶ Z, f ≫ j = x := by |
| 35 | let := Divisors.LineBundles.Affine.SchemeSection.BundleCycles.AffineSchemeSection.baseAlgebra C.targetProjection |
| 36 | let R := Γ(C.V.toScheme, ⊤) |
| 37 | let V := (RingHom.ker C.targetSection.appTop.hom).Cotangent |
| 38 | let : Module.Finite R V := (C.conormal_finite_projective (PELModuli.IntegralModel.AbelianConormalCharts.abelian_unit_section A)).1 |
| 39 | let : IsNoetherianRing R := |
| 40 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top C.V.toScheme⟩ |
| 41 | let d := C.conormalOperator (PELModuli.IntegralModel.AbelianConormalCharts.abelian_unit_section A) |
| 42 | (PELModuli.IntegralModel.AbelianConormalCharts.action_over A ρ (PELModuli.IntegralModel.Finite.Actions.integralActionBasis E)) (PELModuli.IntegralModel.AbelianConormalCharts.action_unit_section A ρ (PELModuli.IntegralModel.Finite.Actions.integralActionBasis E)) |
| 43 | let t := fun i => C.V.ι.appTop (χ (PELModuli.IntegralModel.Finite.Actions.integralActionBasis E i)) |
| 44 | let Q := PELModuli.IntegralModel.ConormalEigenquotient.conormalEigenquotient d t |
| 45 | let : Module.Projective R Q := Integral.ChartCharacterQuotient.integralChartCharacterQuotient_projective A ρ |
| 46 | (PELModuli.IntegralModel.Finite.Actions.integralActionBasis E) C (C.V.ι.appTop.hom.comp χ) |
| 47 | let : Module.FinitePresentation R Q := PELModuli.IntegralModel.ConormalEigenquotient.conormalEigenquotient_finitePresentation d t |
| 48 | obtain ⟨Z, j, hopen, hclosed, hclass⟩ := Affine.FlatRankLocus.exists_affine_flat_module_rank_locus C.V.toScheme Q r |
| 49 | refine ⟨Z, j, hopen, hclosed, ?_⟩ |
| 50 | intro T x |
| 51 | refine Iff.trans ?_ (hclass T x) |
| 52 | have h (k : Type) [Field k] (q : Spec (.of k) ⟶ C.V.toScheme) : |
| 53 | letI := PELModuli.IntegralModel.Affine.SectionLie.AffineSectionLie.baseFieldAlgebra q |
| 54 | PELModuli.IntegralModel.LieRankCharacter.CharacterLieRank A ρ χ r (q ≫ C.V.ι) ↔ Module.finrank k (k ⊗[R] Q) = r := by |
| 55 | apply PELModuli.IntegralModel.LieRankConormalCriterion.AlgebraicLie.hasLieRank_iff_chart_quotient A ρ C q |
| 56 | ((HilbertScheme.Presentations.PointCoefficients.schemePointCoefficientMap (q ≫ C.V.ι)).comp χ) t |
| 57 | intro i |
| 58 | exact RingHom.congr_fun (PELModuli.IntegralModel.TangentPointCoefficients.RelativeTangent.coefficientMap_postcomp q C.V.ι) |
| 59 | (χ (PELModuli.IntegralModel.Finite.Actions.integralActionBasis E i)) |
| 60 | constructor |
| 61 | · intro hx k hk ha p |
| 62 | exact (h k (p ≫ x)).mp (hx k p) |
| 63 | · intro hx k hk ha p |
| 64 | exact (h k (p ≫ x)).mpr (hx k p) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Local.CharacterLieLocus |