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.CMPoints.PeriodRealization |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Iso |
| 3 | |
| 4 | /-! # Coordinate Realization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateRealization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinate CM realizations and their transport through actual |
| 11 | scheme isomorphisms, independent of the component-existence proof. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.Module |
| 15 | open scoped Classical |
| 16 | |
| 17 | def coordinateRealizationOfBasisPeriod |
| 18 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 20 | (b : Basis (Fin 3) E (Fin 3 → E)) |
| 21 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (Fin 3 → E)) (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization H) |
| 22 | (hH : ∀ x, x ∈ H.holomorphic ↔ x ∈ (BasisHodge.basisCMHodge P hP b).holomorphic) : |
| 23 | ComplexMultiplication.CMKnownResults.CM.HodgeRealization (PeriodCoordinates.coordinateCMHodge P hP) := by |
| 24 | have hf : ComplexMultiplication.WeightOne.CM.IsHodgeMap (BasisHodge.basisCMHodge P hP b) H LinearMap.id := by |
| 25 | intro x hx |
| 26 | simpa only [LinearMap.baseChange_id, LinearMap.id_apply] using (hH x).mpr hx |
| 27 | have hi : ComplexMultiplication.WeightOne.CM.IsHodgeMap H (BasisHodge.basisCMHodge P hP b) LinearMap.id := by |
| 28 | intro x hx |
| 29 | simpa only [LinearMap.baseChange_id, LinearMap.id_apply] using (hH x).mp hx |
| 30 | exact TypeTransport.hodgeRealizationAlongEquiv (BasisHodge.rationalBasisEquiv b) |
| 31 | ((PeriodCoordinates.coordinateCMHodge P hP).transport_isHodgeMap _) |
| 32 | ((PeriodCoordinates.coordinateCMHodge P hP).transport_symm_isHodgeMap _) |
| 33 | (TypeTransport.hodgeRealizationAlongEquiv (LinearEquiv.refl ℚ _) hf hi R) |
| 34 | |
| 35 | def HasCoordinateCMRealization |
| 36 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 37 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : Prop := |
| 38 | ∃ R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (PeriodCoordinates.coordinateCMHodge P hP), R.abelianVariety = A |
| 39 | |
| 40 | theorem HasCoordinateCMRealization.hasCMH1 |
| 41 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 42 | {s : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {hP : P.IsAdmissible} {A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} |
| 43 | (h : HasCoordinateCMRealization P hP A) : A.HasCMH1 := by |
| 44 | obtain ⟨R, rfl⟩ := h |
| 45 | exact PeriodCoordinates.coordinateCMRealization_hasCMH1 P hP R |
| 46 | |
| 47 | def hodgeRealizationOfSchemeIso |
| 48 | {U : Type*} [AddCommGroup U] [Module ℚ U] {H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U} |
| 49 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization H) (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (e : B.toOver ≅ R.abelianVariety.toOver) : |
| 50 | ComplexMultiplication.CMKnownResults.CM.HodgeRealization H where |
| 51 | abelianVariety := B |
| 52 | comparison := R.comparison.trans (Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalBettiEquiv e 1) |
| 53 | holomorphic x := by |
| 54 | rw [LinearEquiv.coe_trans, LinearMap.baseChange_comp, LinearMap.comp_apply] |
| 55 | exact (Iso.h1Pullback_iso_holomorphic e _).trans (R.holomorphic x) |
| 56 | antiholomorphic x := by |
| 57 | rw [LinearEquiv.coe_trans, LinearMap.baseChange_comp, LinearMap.comp_apply] |
| 58 | exact (Iso.h1Pullback_iso_antiholomorphic e _).trans (R.antiholomorphic x) |
| 59 | |
| 60 | theorem HasCoordinateCMRealization.of_iso |
| 61 | {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 62 | {s : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {hP : P.IsAdmissible} {A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} |
| 63 | (e : B.toOver ≅ A.toOver) (h : HasCoordinateCMRealization P hP A) : |
| 64 | HasCoordinateCMRealization P hP B := by |
| 65 | obtain ⟨R, rfl⟩ := h |
| 66 | exact ⟨hodgeRealizationOfSchemeIso R B e, rfl⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateRealization |