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.Geometric.EmbeddingRanks |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.HermitianNormalizer |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.HermitianNondegenerate |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DefiniteAnisotropy |
| 5 | |
| 6 | /-! # Fiber Hermitian -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every actual complex PEL fiber has a reconstructed nondegenerate |
| 13 | Hermitian matrix, with the prescribed distinguished normalizer and |
| 14 | definite compact embedding blocks. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [Field K] {s N : ℕ} |
| 20 | {P : Datum.RankThreePELDatum E s} {iota : E →+* K} {T : Over (Spec (.of K))} |
| 21 | |
| 22 | def Datum.RankThreePELDatum.normalizedImaginaryScalar (P : Datum.RankThreePELDatum E s) : E := |
| 23 | ImaginaryHermitianWeights.positiveImaginaryScalar (P.embeddings P.distinguished) P.imaginaryScalar |
| 24 | |
| 25 | theorem Datum.RankThreePELDatum.normalizedImaginaryScalar_spec (hP : P.IsAdmissible) : |
| 26 | P.normalizedImaginaryScalar ≠ 0 ∧ |
| 27 | ComplexMultiplication.CM.TraceForm.cmFieldConjugation E P.normalizedImaginaryScalar = -P.normalizedImaginaryScalar ∧ |
| 28 | 0 < (P.μ P.normalizedImaginaryScalar).im := |
| 29 | ImaginaryHermitianWeights.positiveImaginaryScalar_spec (P.embeddings P.distinguished) P.imaginaryScalar |
| 30 | hP.2.2.2.2.2.2.1 hP.2.2.2.2.2.2.2.1 |
| 31 | |
| 32 | variable (A : PEL.Objects.PELObject P iota N T) (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 33 | (p : Spec (.of ℂ) ⟶ T.left) |
| 34 | |
| 35 | def PEL.Objects.PELObject.complexFiberHermitianMatrix : Matrix (Fin 3) (Fin 3) E := |
| 36 | Intrinsic.HermitianMarking.IntrinsicHermitianMarking.markedHermitianMatrix (A.polarized.pullback p) (A.action.pullback p) s hs rfl hdegree |
| 37 | (ActionData.RosatiConjugation.pullback A.polarized A.action A.rosati p) P.normalizedImaginaryScalar |
| 38 | |
| 39 | theorem PEL.Objects.PELObject.complexFiberHermitianMatrix_symmetry (hP : P.IsAdmissible) (i j : Fin 3) : |
| 40 | A.complexFiberHermitianMatrix hs hdegree p i j = |
| 41 | ComplexMultiplication.CM.TraceForm.cmFieldConjugation E (A.complexFiberHermitianMatrix hs hdegree p j i) := |
| 42 | Intrinsic.HermitianMarking.IntrinsicHermitianMarking.markedHermitianMatrix_symmetry (A.polarized.pullback p) (A.action.pullback p) s hs rfl hdegree |
| 43 | (ActionData.RosatiConjugation.pullback A.polarized A.action A.rosati p) P.normalizedImaginaryScalar |
| 44 | (Datum.RankThreePELDatum.normalizedImaginaryScalar_spec hP).2.1 i j |
| 45 | |
| 46 | theorem PEL.Objects.PELObject.complexFiberHermitianMatrix_det_ne_zero (hP : P.IsAdmissible) : |
| 47 | (A.complexFiberHermitianMatrix hs hdegree p).det ≠ 0 := |
| 48 | Intrinsic.HermitianNondegenerate.IntrinsicHermitianMarking.markedHermitianMatrix_det_ne_zero (A.polarized.pullback p) (A.action.pullback p) s hs rfl hdegree |
| 49 | (ActionData.RosatiConjugation.pullback A.polarized A.action A.rosati p) P.normalizedImaginaryScalar |
| 50 | (Datum.RankThreePELDatum.normalizedImaginaryScalar_spec hP).1 |
| 51 | |
| 52 | variable [IsGalois ℚ E] (κ : K →+* ℂ) (hκ : κ.comp iota = P.μ) |
| 53 | (hp : p ≫ T.hom = Spec.map (CommRingCat.ofHom κ)) |
| 54 | |
| 55 | include hκ hp in |
| 56 | theorem PEL.Objects.PELObject.complexFiberHermitianMatrix_normalizer (hP : P.IsAdmissible) : |
| 57 | ∃ e : (Fin 3 → ℂ) ≃ₗ[ℂ] (Fin 3 → ℂ), ∀ x y, |
| 58 | Datum.RankThreePELDatum.complexMatrixHermitian P.μ (A.complexFiberHermitianMatrix hs hdegree p) (e x) (e y) = |
| 59 | Datum.RankThreePELDatum.complexMatrixHermitian P.μ (Matrix.diagonal ![1, 1, P.b]) x y := by |
| 60 | obtain ⟨hξ, hc, hi⟩ := Datum.RankThreePELDatum.normalizedImaginaryScalar_spec hP |
| 61 | exact Intrinsic.HermitianNormalizer.IntrinsicHermitianMarking.exists_nativeHermitian_normalizer (A.polarized.pullback p) (A.action.pullback p) s hs rfl hdegree |
| 62 | (P.embeddings P.distinguished) (ActionData.RosatiConjugation.pullback A.polarized A.action A.rosati p) |
| 63 | P.normalizedImaginaryScalar hξ hc hi (A.complexFiber_distinguished_rank κ hκ p hp hP) |
| 64 | P.b hP.2.1 hP.2.2.2.1 |
| 65 | |
| 66 | include hκ hp in |
| 67 | theorem PEL.Objects.PELObject.complexFiberHermitianMatrix_compact (hP : P.IsAdmissible) |
| 68 | (i : Fin s) (hi : i ≠ P.distinguished) : |
| 69 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 70 | 0 < (Datum.RankThreePELDatum.complexMatrixHermitian (P.embeddings i).toRingHom |
| 71 | (A.complexFiberHermitianMatrix hs hdegree p) x x).re) ∨ |
| 72 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 73 | (Datum.RankThreePELDatum.complexMatrixHermitian (P.embeddings i).toRingHom |
| 74 | (A.complexFiberHermitianMatrix hs hdegree p) x x).re < 0) := by |
| 75 | have hextreme : P.firstLieRank i = 0 ∨ P.firstLieRank i = 3 := by |
| 76 | unfold Datum.RankThreePELDatum.firstLieRank |
| 77 | rw [ite_eq_right hi] |
| 78 | split <;> simp |
| 79 | exact Intrinsic.CompactHermitian.IntrinsicHermitianMarking.nativeHermitianMatrix_definite_of_LieRank (A.polarized.pullback p) (A.action.pullback p) |
| 80 | s hs rfl hdegree (P.embeddings i) (ActionData.RosatiConjugation.pullback A.polarized A.action A.rosati p) |
| 81 | P.normalizedImaginaryScalar (Datum.RankThreePELDatum.normalizedImaginaryScalar_spec hP).1 |
| 82 | (Datum.RankThreePELDatum.normalizedImaginaryScalar_spec hP).2.1 |
| 83 | (A.complexFiber_embedding_rank κ hκ p hp hP i) hextreme |
| 84 | |
| 85 | include hκ hp in |
| 86 | theorem PEL.Objects.PELObject.complexFiberHermitianMatrix_anisotropic (hP : P.IsAdmissible) (hs' : 1 < s) : |
| 87 | ∀ x : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E, Datum.RankThreePELDatum.matrixHermitian (A.complexFiberHermitianMatrix hs hdegree p) x x = 0 → |
| 88 | x = 0 := by |
| 89 | let : Nontrivial (Fin s) := Fin.nontrivial_iff_two_le.mpr hs' |
| 90 | obtain ⟨i, hi⟩ := exists_ne P.distinguished |
| 91 | exact DefiniteAnisotropy.matrixHermitian_anisotropic_of_definite (P.embeddings i) _ |
| 92 | (A.complexFiberHermitianMatrix_compact hs hdegree p κ hκ hp hP i hi) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |