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.Arithmetic.ComplexCover |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.FiniteAffineCover |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPrescribed.RigidityScalarChange |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAdded.FineBaseChange |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.NeighborhoodPullback |
| 6 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleReduced |
| 7 | |
| 8 | /-! # Complex Affine Cover -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.ComplexAffineCover.ArithmeticPELComparison |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual compared arithmetic parameter has a finite invariant |
| 15 | affine cover on its complex fiber, ready for finite coefficient spreading. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 20 | [Field K] [NumberField K] {κ : K →+* ℂ} (B : Base.ArithmeticBaseExtension K κ) |
| 21 | {s N p : ℕ} [Fact p.Prime] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 22 | (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) {V : Over B.base} |
| 23 | [QuasiCompact V.hom] [IsSeparated V.hom] |
| 24 | |
| 25 | theorem compared_parameter_complex_affine_cover |
| 26 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P B.R (B.integralEmbedding iota) p N V) |
| 27 | (hU : U.IsFine) (hrigid : U.PrescribedRigid) |
| 28 | (e : (Over.pullback B.generic).obj V ≅ ReferencePrimeFrame.ArithmeticPELComparison.primeFrame B M p) |
| 29 | (hredM : IsReduced (Reduced.ReducedComplexPEL.reducedComplexPEL M κ).left) |
| 30 | (hAFM : ∀ F : Set (Reduced.ReducedComplexPEL.reducedComplexPEL M κ).left, F.Finite → |
| 31 | ∃ W : (Reduced.ReducedComplexPEL.reducedComplexPEL M κ).left.Opens, IsAffineOpen W ∧ F ⊆ W) : |
| 32 | let φ := B.embedding.comp B.toField |
| 33 | let VC := (Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj V |
| 34 | let UC := U.baseChange φ |
| 35 | ∃ hred : IsReduced VC.left, let _ : IsReduced VC.left := hred |
| 36 | ∃ (I : Type) (_ : Finite I) (W : I → VC.left.Opens), |
| 37 | (∀ i, IsAffineOpen (W i)) ∧ |
| 38 | (∀ i, (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source VC (3 * s) p).left ⁻¹ᵁ W i = |
| 39 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target UC (IntegralAdded.FineBaseChange.integralAddedPEL_fine_baseChange U hU φ)).left ⁻¹ᵁ W i) ∧ |
| 40 | iSup W = ⊤ := by |
| 41 | let φ := B.embedding.comp B.toField |
| 42 | let b := Spec.map (CommRingCat.ofHom φ) |
| 43 | let VC := (Over.pullback b).obj V |
| 44 | let UC := U.baseChange φ |
| 45 | have hb : b = B.complexPoint := by |
| 46 | change Spec.map (CommRingCat.ofHom (B.embedding.comp B.toField)) = |
| 47 | Spec.map (CommRingCat.ofHom B.embedding) ≫ Spec.map (CommRingCat.ofHom B.toField) |
| 48 | exact Spec.map_comp (CommRingCat.ofHom B.toField) (CommRingCat.ofHom B.embedding) |
| 49 | let d : VC ≅ (Over.pullback B.complexPoint).obj V := Group.BaseChangeComparisons.GroupBaseChange.congrIso V b B.complexPoint hb |
| 50 | obtain ⟨q, hqf, hqt, _⟩ := ComplexCover.ArithmeticPELComparison.complex_reference_cover B M e |
| 51 | have : IsFinite q.left := hqf |
| 52 | have : Etale q.left := hqt |
| 53 | have : IsIso d.hom.left := ((Over.forget Foundations.Scheme.ProjectiveSpace.complexBase).mapIso d).isIso_hom |
| 54 | let q' := d.hom.left ≫ q.left |
| 55 | have : IsReduced (Reduced.ReducedComplexPEL.reducedComplexPEL M κ).left := hredM |
| 56 | have hred : IsReduced VC.left := IntegralModel.Finite.EtaleReduced.finite_etale_isReduced q' |
| 57 | have : IsReduced VC.left := hred |
| 58 | have : QuasiCompact VC.hom := inferInstanceAs (QuasiCompact (pullback.snd V.hom b)) |
| 59 | have : IsSeparated VC.hom := inferInstanceAs (IsSeparated (pullback.snd V.hom b)) |
| 60 | have : CompactSpace VC.left := QuasiCompact.compactSpace_of_compactSpace VC.hom |
| 61 | have : VC.left.IsSeparated := ⟨by rw [← terminal.comp_from VC.hom]; infer_instance⟩ |
| 62 | exact ⟨hred, IntegralAuxiliary.FiniteAffineCover.IntegralAuxiliaryAction.exists_finite_invariant_affine_cover UC |
| 63 | (IntegralAdded.FineBaseChange.integralAddedPEL_fine_baseChange U hU φ) |
| 64 | (IntegralPrescribed.RigidityScalarChange.integralAddedPEL_prescribedRigid_baseChange U hrigid φ) |
| 65 | (Affine.NeighborhoodPullback.finite_set_affine_neighborhood_of_affine q' hAFM)⟩ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.ComplexAffineCover.ArithmeticPELComparison |