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.Reference.ScaledPELQuotients |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.HeckeSmoothLocus |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PELStratumLocalRegularity |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PrimeBallLatticeIsogenies |
| 5 | |
| 6 | /-! # Hecke Smoothness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.HeckeSmoothness.FinePELModel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The reference locus is smooth on the actual fine PEL scheme. |
| 13 | A native local period chart supplies one open ball patch of smooth |
| 14 | reference points. Good-prime rational isometries move every reference |
| 15 | point into that patch, and their actual paired PEL quotients preserve |
| 16 | smoothness through the finite étale Hecke correspondence. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped BigOperators |
| 20 | |
| 21 | attribute [local implicit_reducible] Models.FinePELModel.complexFiber |
| 22 | |
| 23 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 24 | [IsGalois ℚ E] [Field K] [NumberField K] |
| 25 | {s N : ℕ} [NeZero N] {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 26 | (M : Models.FinePELModel P iota N) (hM : M.IsFine) (κ : K →+* ℂ) |
| 27 | (hP : P.IsAdmissible) (hκ : κ.comp iota = P.μ) |
| 28 | [LocallyOfFiniteType M.space.hom] |
| 29 | |
| 30 | local instance : LocallyOfFinitePresentation (M.complexFiber κ).hom := |
| 31 | inferInstanceAs (LocallyOfFinitePresentation |
| 32 | (Limits.pullback.snd M.space.hom (Spec.map (CommRingCat.ofHom κ)))) |
| 33 | |
| 34 | omit [IsGalois ℚ E] in |
| 35 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Models.FinePELModel.reference_pairedQuotient_mem_smoothLocus_iff |
| 36 | (hN : 3 ≤ N) {n : ℕ} (hn : 0 < n) (hcop : Nat.Coprime n N) |
| 37 | (hmod : Nat.ModEq N n 1) |
| 38 | (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) |
| 39 | (z w : P.domain) |
| 40 | (f : Paired.PELQuotients.PairedPELQuotient (P.referencePELObject hP z iota κ hκ N) |
| 41 | (P.referencePELObject hP w iota κ hκ N) n) : |
| 42 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (M.referencePoint hM κ hP hκ z) ∈ |
| 43 | (M.complexFiber κ).hom.smoothLocus ↔ |
| 44 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (M.referencePoint hM κ hP hκ w) ∈ |
| 45 | (M.complexFiber κ).hom.smoothLocus := by |
| 46 | have : IsLocallyNoetherian M.space.left := |
| 47 | LocallyOfFiniteType.isLocallyNoetherian M.space.hom |
| 48 | have hz : AbelianScheme.IsogenyQuotient.FinePELTarget.Construction.finePELClassifyingMap M hM (P.referencePELObject hP z iota κ hκ N) = |
| 49 | M.complexPointBaseEquiv κ (M.referencePoint hM κ hP hκ z) := |
| 50 | (AbelianScheme.IsogenyQuotient.FinePELTarget.Construction.finePELClassifyingMap_unique M hM _ _ (M.referencePoint_recovery hM κ hP hκ z)).symm |
| 51 | have hw : AbelianScheme.IsogenyQuotient.FinePELTarget.Construction.finePELClassifyingMap M hM (P.referencePELObject hP w iota κ hκ N) = |
| 52 | M.complexPointBaseEquiv κ (M.referencePoint hM κ hP hκ w) := |
| 53 | (AbelianScheme.IsogenyQuotient.FinePELTarget.Construction.finePELClassifyingMap_unique M hM _ _ (M.referencePoint_recovery hM κ hP hκ w)).symm |
| 54 | simpa only [hz, hw, Equiv.symm_apply_apply] using |
| 55 | HeckeSmoothLocus.geometric_pair_complexPoints_mem_smoothLocus_iff M hM κ hN hn hcop hmod hdegree f |
| 56 | |
| 57 | omit [NumberField K] in |
| 58 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Models.FinePELModel.exists_reference_smooth_ball_patch [QuasiCompact M.space.hom] |
| 59 | (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) : |
| 60 | ∃ O : Set Geometry.ComplexBall.PrescribedSignsB.BallChart, IsOpen O ∧ O.Nonempty ∧ O ⊆ P.domain ∧ |
| 61 | ∀ z : P.domain, z.val ∈ O → |
| 62 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (M.referencePoint hM κ hP hκ z) ∈ |
| 63 | (M.complexFiber κ).hom.smoothLocus := by |
| 64 | obtain ⟨R, hR, a, x, hx⟩ := |
| 65 | M.exists_reference_smooth_surface_stratum hM κ hP hκ hs hdegree |
| 66 | let f := Intrinsic.SmoothStrata.smoothPieceInclusion (M.complexFiber κ) R |
| 67 | have hdim : Betti.AffineDimension.Realization.functionFieldDifferentialDimension R.toOver.hom = 2 := |
| 68 | (Intrinsic.SmoothStrata.smoothPiece_dimension (M.complexFiber κ) R).trans hR |
| 69 | obtain ⟨e, he, _, _, htarget, hmod⟩ := |
| 70 | M.exists_native_reference_moduli_chart hM κ hP hκ f hs hdegree hdim x a hx |
| 71 | refine ⟨e.target, e.open_target, ⟨e x, e.map_source he⟩, htarget, ?_⟩ |
| 72 | intro z hz |
| 73 | let y := e.symm z.val |
| 74 | have hy : y ∈ e.source := e.map_target hz |
| 75 | obtain ⟨hp, hpoint⟩ := hmod y hy |
| 76 | have hz' : (⟨e y, hp⟩ : P.domain) = z := Subtype.ext (e.right_inv hz) |
| 77 | rw [hz'] at hpoint |
| 78 | have hsm := M.complexPoint_mem_smoothLocus_of_surface hP hM κ hκ f y hdim |
| 79 | rw [hpoint] at hsm |
| 80 | simpa only [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying, |
| 81 | Subsingleton.elim ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.basePoint (IsLocalRing.closedPoint ℂ)] using hsm |
| 82 | |
| 83 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Models.FinePELModel.referencePoint_mem_smoothLocus [QuasiCompact M.space.hom] |
| 84 | (hN : 3 ≤ N) (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 85 | (z : P.domain) : |
| 86 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (M.referencePoint hM κ hP hκ z) ∈ |
| 87 | (M.complexFiber κ).hom.smoothLocus := by |
| 88 | classical |
| 89 | obtain ⟨O, hO, ⟨v, hv⟩, hdom, hsmooth⟩ := |
| 90 | M.exists_reference_smooth_ball_patch hM κ hP hκ hs hdegree |
| 91 | let w₀ : P.domain := ⟨v, hdom hv⟩ |
| 92 | have hdata := hP |
| 93 | rcases hdata with ⟨_, hb, hbne, _, _, _, _, _, _, hlat, _, _, _, hδ, _⟩ |
| 94 | let H : Matrix (Fin 3) (Fin 3) E := Matrix.diagonal ![1, 1, P.b] |
| 95 | have hHerm : ∀ i j, H i j = NumberField.IsCMField.complexConj E (H j i) := by |
| 96 | intro i j |
| 97 | by_cases hij : i = j |
| 98 | · subst j |
| 99 | fin_cases i <;> simp [H, hb] |
| 100 | · simp [H, Matrix.diagonal, hij, Ne.symm hij] |
| 101 | have hdet : H.det ≠ 0 := by |
| 102 | simpa [H, Matrix.det_diagonal, Fin.prod_univ_succ] using hbne |
| 103 | let e : (Fin 3 → ℂ) ≃ₗ[ℂ] (Fin 3 → ℂ) := LinearEquiv.refl ℂ _ |
| 104 | have he : ∀ x y, Datum.RankThreePELDatum.complexMatrixHermitian P.μ H (e x) (e y) = |
| 105 | Datum.RankThreePELDatum.complexMatrixHermitian P.μ (Matrix.diagonal ![1, 1, P.b]) x y := by |
| 106 | intro x y |
| 107 | rfl |
| 108 | have hC : 0 < (∏ i, P.polarizationType i) ^ 2 := |
| 109 | pow_pos (Finset.prod_pos (fun i _ => hδ i)) 2 |
| 110 | obtain ⟨g, D, m, m', hg, _, hhit, hD, hcopN, hcopδ, hmod, hm, hm', _, _, hcongr, _⟩ := |
| 111 | PrimeBallLatticeIsogenies.exists_original_ball_paired_lattice_maps P hP H hHerm hdet P.lattice hlat e he |
| 112 | N ((∏ i, P.polarizationType i) ^ 2) (NeZero.pos N) hC z w₀ O hO hv |
| 113 | have hg' : g ∈ Groups.unitarySubgroup (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b) := by |
| 114 | intro x y |
| 115 | simpa only [H, Principal.BallAction.matrixHermitian_diagonal] using hg x y |
| 116 | change P.lineAction g z.val ∈ O at hhit |
| 117 | let w : P.domain := ⟨P.lineAction g z.val, hdom hhit⟩ |
| 118 | obtain ⟨f⟩ := P.reference_paired_quotient_of_scaled_isometry hP z w iota κ hκ N |
| 119 | g hg' rfl D hD hmod m m' hm hm' hcongr |
| 120 | exact (M.reference_pairedQuotient_mem_smoothLocus_iff hM κ hP hκ hN |
| 121 | (pow_pos hD 2) hcopN hmod hcopδ z w f).mpr (hsmooth w hhit) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.HeckeSmoothness.FinePELModel |