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.Intrinsic.EmbeddingSigns |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ImaginaryHermitianWeights |
| 3 | |
| 4 | /-! # Compact Hermitian -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.CompactHermitian.IntrinsicHermitianMarking |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Extreme actual Lie ranks force definite Hermitian blocks at the |
| 11 | compact embeddings. The sign of the imaginary trace weight is retained |
| 12 | and then removed by a real sign calculation. -/ |
| 13 | |
| 14 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 15 | {g N : ℕ} {δ : Fin g → ℕ} |
| 16 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N Foundations.Scheme.ProjectiveSpace.complexBase) |
| 17 | (ρ : ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 18 | (s : ℕ) (hs : 0 < s) (hg : g = 3 * s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 19 | (σ : E →ₐ[ℚ] ℂ) (hρ : ActionData.RosatiConjugation A ρ) (ξ : E) (hξ : ξ ≠ 0) |
| 20 | |
| 21 | include hξ in |
| 22 | theorem weightedEmbeddingHermitian_definite {r : ℕ} |
| 23 | (hr : LieRanks.HasLieRank A.abelian ρ (σ.toRingHom.comp (algebraMap (NumberField.RingOfIntegers E) E)) r) |
| 24 | (hextreme : r = 0 ∨ r = 3) : |
| 25 | (∀ x : Fin 3 → ℂ, x ≠ 0 → 0 < (EmbeddingSigns.IntrinsicHermitianMarking.weightedEmbeddingHermitian A ρ s hs hg hdegree hρ ξ σ x x).re) ∨ |
| 26 | (∀ x : Fin 3 → ℂ, x ≠ 0 → (EmbeddingSigns.IntrinsicHermitianMarking.weightedEmbeddingHermitian A ρ s hs hg hdegree hρ ξ σ x x).re < 0) := by |
| 27 | rcases hextreme with rfl | rfl |
| 28 | · have hd : Module.finrank ℂ (EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianPositivePart A ρ s hs hg hdegree σ) = 3 := |
| 29 | EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianPositivePart_finrank A ρ s hs hg hdegree σ hr |
| 30 | have ht : EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianPositivePart A ρ s hs hg hdegree σ = ⊤ := |
| 31 | Submodule.eq_top_of_finrank_eq (hd.trans (Module.finrank_fin_fun ℂ).symm) |
| 32 | left |
| 33 | intro x hx |
| 34 | apply EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianPositivePart_positive A ρ s hs hg hdegree σ hρ ξ hξ x _ hx |
| 35 | rw [ht] |
| 36 | trivial |
| 37 | · have hd : Module.finrank ℂ (EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianNegativePart A ρ s hs hg hdegree σ) = 3 := |
| 38 | EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianNegativePart_finrank A ρ s hs hg hdegree σ hr |
| 39 | have ht : EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianNegativePart A ρ s hs hg hdegree σ = ⊤ := |
| 40 | Submodule.eq_top_of_finrank_eq (hd.trans (Module.finrank_fin_fun ℂ).symm) |
| 41 | right |
| 42 | intro x hx |
| 43 | apply EmbeddingSigns.IntrinsicHermitianMarking.nativeHermitianNegativePart_negative A ρ s hs hg hdegree σ hρ ξ hξ x _ hx |
| 44 | rw [ht] |
| 45 | trivial |
| 46 | |
| 47 | include hξ in |
| 48 | theorem nativeHermitianMatrix_definite_of_LieRank {r : ℕ} |
| 49 | (hconj : ComplexMultiplication.CM.TraceForm.cmFieldConjugation E ξ = -ξ) |
| 50 | (hr : LieRanks.HasLieRank A.abelian ρ (σ.toRingHom.comp (algebraMap (NumberField.RingOfIntegers E) E)) r) |
| 51 | (hextreme : r = 0 ∨ r = 3) : |
| 52 | (∀ x : Fin 3 → ℂ, x ≠ 0 → 0 < (Datum.RankThreePELDatum.complexMatrixHermitian σ.toRingHom |
| 53 | (HermitianMarking.IntrinsicHermitianMarking.markedHermitianMatrix A ρ s hs hg hdegree hρ ξ) x x).re) ∨ |
| 54 | (∀ x : Fin 3 → ℂ, x ≠ 0 → (Datum.RankThreePELDatum.complexMatrixHermitian σ.toRingHom |
| 55 | (HermitianMarking.IntrinsicHermitianMarking.markedHermitianMatrix A ρ s hs hg hdegree hρ ξ) x x).re < 0) := by |
| 56 | let B : (Fin 3 → ℂ) → ℝ := fun x => (Datum.RankThreePELDatum.complexMatrixHermitian σ.toRingHom |
| 57 | (HermitianMarking.IntrinsicHermitianMarking.markedHermitianMatrix A ρ s hs hg hdegree hρ ξ) x x).re |
| 58 | have hc : -(σ ξ).im ≠ 0 := neg_ne_zero.mpr (ImaginaryHermitianWeights.imaginaryScalar_embedding_im_ne_zero σ ξ hξ hconj) |
| 59 | have hw (x : Fin 3 → ℂ) : |
| 60 | (EmbeddingSigns.IntrinsicHermitianMarking.weightedEmbeddingHermitian A ρ s hs hg hdegree hρ ξ σ x x).re = -(σ ξ).im * B x := |
| 61 | ImaginaryHermitianWeights.imaginaryHermitianWeight_re (σ ξ) _ (ImaginaryHermitianWeights.imaginaryScalar_embedding_re σ ξ hconj) |
| 62 | apply ImaginaryHermitianWeights.definite_of_real_weight B (-(σ ξ).im) hc |
| 63 | rcases weightedEmbeddingHermitian_definite A ρ s hs hg hdegree σ hρ ξ hξ hr hextreme with h | h |
| 64 | · left |
| 65 | intro x hx |
| 66 | exact hw x ▸ h x hx |
| 67 | · right |
| 68 | intro x hx |
| 69 | exact hw x ▸ h x hx |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.CompactHermitian.IntrinsicHermitianMarking |