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.FromPrime.ArithmeticComplexCoveredExistence |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.ReducedOrbit |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.RelabelBaseChange |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.AffineOrbits |
| 5 | |
| 6 | /-! # Models Arithmetic Orbit Existence -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FromPrime.ModelsArithmeticOrbitExistence.FromPrimeModels |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! IntegralModel construction from actual arithmetic prime-level PEL models. |
| 13 | The original family, prescribed level, and full conclusion are retained. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem exists_arithmetic_prime_pel_model_with_affine_orbits |
| 18 | (h43 : ReferenceFamily.ModuliInput) |
| 19 | (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 20 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [NumberField.IsCMField E] [IsGalois ℚ E] |
| 22 | (s : ℕ) (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 23 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 24 | {K : Type} [Field K] [NumberField K] (iota : E →+* K) (κ : K →+* ℂ) |
| 25 | (hemb : κ.comp iota = P.μ) (N : ℕ) (hN : 3 ≤ N) |
| 26 | (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) (hM : M.IsFine) [Arithmetic.PrimeModels.ArithmeticPrimePELModels P] : |
| 27 | ∃ B : Base.ArithmeticBaseExtension K κ, IsUnit (N : B.R) ∧ |
| 28 | ∃ p : ℕ, ∃ hp : p.Prime, 3 ≤ p ∧ Nat.Coprime p N ∧ |
| 29 | Nat.Coprime p (∏ i, P.polarizationType i) ∧ IsUnit (p : B.R) ∧ |
| 30 | let _ : Fact p.Prime := ⟨hp⟩ |
| 31 | ∃ V : Over B.base, ∃ hred : IsReduced V.left, let _ : IsReduced V.left := hred |
| 32 | IsNoetherian V.left ∧ LocallyOfFiniteType V.hom ∧ QuasiCompact V.hom ∧ IsSeparated V.hom ∧ |
| 33 | ∃ U : IntegralAdded.PELId.IntegralAddedPELLevel P B.R (B.integralEmbedding iota) p N V, |
| 34 | ∃ hU : U.IsFine, U.PrescribedRigid ∧ |
| 35 | (∃ e : (Over.pullback B.generic).obj V ≅ Arithmetic.ReferencePrimeFrame.ArithmeticPELComparison.primeFrame B M p, |
| 36 | Nonempty (IntegralAdded.PELId.IntegralAddedPELLevel.Iso ((Arithmetic.ReferencePrimeFrame.ArithmeticPELComparison.primeUniversal B M p).pullback e.hom) |
| 37 | (U.genericIntegralFamily B iota))) ∧ |
| 38 | ∀ x : V.left, ∃ W : V.left.Opens, IsAffineOpen W ∧ |
| 39 | ∀ y, Quotients.FiniteDescent.Invariant.Construction.InvariantCore.Related (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source V (3 * s) p).left |
| 40 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left x y → y ∈ W := by |
| 41 | have : NeZero N := ⟨by omega⟩ |
| 42 | obtain ⟨B, _, p, hp, hp3, hpN, hpδ, hpB, X, hr, _, hft, hqc, hsep, U, hU, |
| 43 | hrigid, _, hredC, I, hI, V, hV, hInv, hcover⟩ := |
| 44 | ArithmeticComplexCoveredExistence.FromPrimeModels.exists_arithmetic_prime_complex_covered_pel_model h43 hPresentations |
| 45 | s hs hdegree P hP iota κ hemb N hN M hM |
| 46 | have : Fact p.Prime := ⟨hp⟩ |
| 47 | have : Finite I := hI |
| 48 | have : IsReduced X.left := hr |
| 49 | have : LocallyOfFiniteType X.hom := hft |
| 50 | have : QuasiCompact X.hom := hqc |
| 51 | have : IsSeparated X.hom := hsep |
| 52 | let φC := B.embedding.comp B.toField |
| 53 | let : Algebra B.R ℂ := φC.toAlgebra |
| 54 | have : IsReduced ((Over.pullback (Spec.map (CommRingCat.ofHom φC))).obj X).left := hredC |
| 55 | have hstable : ∀ σ : AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut (3 * s) p, ∀ i, |
| 56 | ((Over.pullback (Spec.map (CommRingCat.ofHom φC))).map (U.auxiliaryRelabelMap hU σ)).left ⁻¹ᵁ V i = V i := by |
| 57 | intro σ i |
| 58 | rw [U.auxiliaryRelabelMap_baseChange hU φC σ] |
| 59 | exact ((IntegralAuxiliary.AffineOrbits.IntegralAuxiliaryAction.invariant_iff_relabel (U.baseChange φC) |
| 60 | (IntegralAdded.FineBaseChange.integralAddedPEL_fine_baseChange U hU φC) (V i)).mp (hInv i)) σ |
| 61 | obtain ⟨C, hNC, ψ, Z, hrZ, hnZ, hftZ, hqcZ, hsepZ, A, hA, hrigidA, hOrbit⟩ := |
| 62 | Arithmetic.ReducedOrbit.arithmetic_reduced_pel_affine_orbit_model iota B U hU hrigid rfl V hV hcover hstable |
| 63 | have : IsReduced Z.left := hrZ |
| 64 | have : LocallyOfFiniteType Z.hom := hftZ |
| 65 | have : QuasiCompact Z.hom := hqcZ |
| 66 | have hpC : IsUnit (p : C.R) := by simpa only [map_natCast] using hpB.map ψ |
| 67 | exact ⟨C, hNC, p, hp, hp3, hpN, hpδ, hpC, Z, hrZ, hnZ, hftZ, hqcZ, hsepZ, A, hA, |
| 68 | hrigidA, Arithmetic.ReferenceComparison.arithmetic_pel_reference_comparison C iota A hA M hM hN hPresentations, hOrbit⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FromPrime.ModelsArithmeticOrbitExistence.FromPrimeModels |