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.Complex.FiberHermitian |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.Classifying |
| 4 | |
| 5 | /-! # Hermitian Arithmetic -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.HermitianArithmetic.PELObject |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compact-place definiteness and anisotropy of the Hermitian matrix |
| 12 | on the original object's own period marking. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 17 | [IsGalois ℚ E] [Field K] {s N : ℕ} {P : Datum.RankThreePELDatum E s} |
| 18 | {iota : E →+* K} {κ : K →+* ℂ} |
| 19 | (A : PEL.Objects.PELObject P iota N (Over.mk (Spec.map (CommRingCat.ofHom κ)))) |
| 20 | (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 21 | (hP : P.IsAdmissible) (hκ : κ.comp iota = P.μ) |
| 22 | |
| 23 | local notation "H" => OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.HermitianMarking.IntrinsicHermitianMarking.markedHermitianMatrix A.polarized A.action s hs rfl hdegree |
| 24 | A.rosati P.normalizedImaginaryScalar |
| 25 | |
| 26 | include hP hκ in |
| 27 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.Objects.PELObject.originalHermitianMatrix_compact (i : Fin s) (hi : i ≠ P.distinguished) : |
| 28 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 29 | 0 < (Datum.RankThreePELDatum.complexMatrixHermitian (P.embeddings i).toRingHom H x x).re) ∨ |
| 30 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 31 | (Datum.RankThreePELDatum.complexMatrixHermitian (P.embeddings i).toRingHom H x x).re < 0) := by |
| 32 | have hr := A.complexFiber_embedding_rank κ hκ (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) (Category.id_comp _) hP i |
| 33 | have hr' : LieRanks.HasLieRank A.polarized.abelian A.action |
| 34 | ((P.embeddings i).toRingHom.comp (algebraMap (NumberField.RingOfIntegers E) E)) |
| 35 | (P.firstLieRank i) := |
| 36 | LieTransport.hasLieRank_transport (A.action.pullback (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase)) A.action |
| 37 | A.polarized.abelian.pullbackIdIso (PEL.Objects.PELIso.pullbackId A).action _ (P.firstLieRank i) hr |
| 38 | have hextreme : P.firstLieRank i = 0 ∨ P.firstLieRank i = 3 := by |
| 39 | unfold Datum.RankThreePELDatum.firstLieRank |
| 40 | rw [ite_eq_right hi] |
| 41 | split <;> simp |
| 42 | exact Intrinsic.CompactHermitian.IntrinsicHermitianMarking.nativeHermitianMatrix_definite_of_LieRank A.polarized A.action s hs rfl hdegree |
| 43 | (P.embeddings i) A.rosati P.normalizedImaginaryScalar |
| 44 | (Datum.RankThreePELDatum.normalizedImaginaryScalar_spec hP).1 |
| 45 | (Datum.RankThreePELDatum.normalizedImaginaryScalar_spec hP).2.1 hr' hextreme |
| 46 | |
| 47 | include hP hκ in |
| 48 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.Objects.PELObject.originalHermitianMatrix_anisotropic (hs' : 1 < s) : |
| 49 | ∀ x : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E, Datum.RankThreePELDatum.matrixHermitian H x x = 0 → x = 0 := by |
| 50 | let : Nontrivial (Fin s) := Fin.nontrivial_iff_two_le.mpr hs' |
| 51 | obtain ⟨i, hi⟩ := exists_ne P.distinguished |
| 52 | exact DefiniteAnisotropy.matrixHermitian_anisotropic_of_definite (P.embeddings i) H |
| 53 | (A.originalHermitianMatrix_compact hs hdegree hP hκ i hi) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.HermitianArithmetic.PELObject |