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.LocalRationalBallPoint |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.HermitianOrthogonalBasis |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.PeriodOnBall |
| 4 | |
| 5 | /-! # Local Periods -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPeriods |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct a coordinate-CM period in every nonempty open part of any |
| 12 | Hermitian ball with the prescribed signatures. Only the chosen negative |
| 13 | line must be non-null; global anisotropy is unnecessary. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | open _root_.Module |
| 18 | |
| 19 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [NumberField.IsCMField E] {s : ℕ} |
| 21 | |
| 22 | theorem orthogonal_embedding_annihilator_of_self_ne_zero |
| 23 | (σ : E →ₐ[ℚ] ℂ) (H : Matrix (Fin 3) (Fin 3) E) |
| 24 | (b : Basis (Fin 3) E (Fin 3 → E)) |
| 25 | (hb : Pairwise (fun i j => AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b i) (b j) = 0)) |
| 26 | (i : Fin 3) (hself : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b i) (b i) ≠ 0) (y : Geometry.ComplexBall.PrescribedSignsB.Vec) : |
| 27 | Geometry.ComplexBall.PrescribedSignsB.localB (fun _ : Unit => σ) H () (fun k => σ (b i k)) |
| 28 | (EmbeddedBasis.embeddedBasisEquiv (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding σ).toRingHom b y) = 0 ↔ y i = 0 := by |
| 29 | rw [EmbeddedBasis.orthogonal_embedding_pairing σ H b hb] |
| 30 | exact mul_eq_zero.trans (or_iff_right ((map_ne_zero σ).mpr hself)) |
| 31 | |
| 32 | variable (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 33 | |
| 34 | include hP in |
| 35 | theorem coordinateSignCondition_iff_componentPrescribed_of_last_ne_zero |
| 36 | (H : Matrix (Fin 3) (Fin 3) E) |
| 37 | (b : Basis (Fin 3) E (Fin 3 → E)) |
| 38 | (hb : Pairwise (fun i j => AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b i) (b j) = 0)) |
| 39 | (hself : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b 2) (b 2) ≠ 0) |
| 40 | (u : Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s)) : |
| 41 | PeriodCoordinates.coordinateSignCondition P u ↔ |
| 42 | ClosedCoefficientPeriods.componentPrescribed P H (fun i => P.μ (b 2 i)) (BasisHodge.ambientBasisEquiv P b u) := by |
| 43 | rw [ZeroPeriod.zero_signCondition_iff_prescribed P hP] |
| 44 | unfold Geometry.ComplexBall.PrescribedSignsB.Prescribed ClosedCoefficientPeriods.componentPrescribed |
| 45 | apply forall_congr' |
| 46 | intro i |
| 47 | by_cases hi : i = P.distinguished |
| 48 | · subst i |
| 49 | simp only [ite_true] |
| 50 | change ((u P.distinguished).1 ∈ Submodule.span ℂ {Geometry.ComplexBall.PrescribedSignsB.lineVector (0 : Geometry.ComplexBall.PrescribedSignsB.BallChart)} ∧ |
| 51 | Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings (Matrix.diagonal ![1, 1, P.b]) P.distinguished |
| 52 | (Geometry.ComplexBall.PrescribedSignsB.lineVector 0) (u P.distinguished).2 = 0) ↔ |
| 53 | (EmbeddedBasis.embeddedBasisEquiv P.μ b (u P.distinguished).1 ∈ |
| 54 | Submodule.span ℂ {fun i => P.μ (b 2 i)} ∧ |
| 55 | Geometry.ComplexBall.PrescribedSignsB.localB (fun _ : Unit => P.embeddings P.distinguished) H () |
| 56 | (fun i => P.embeddings P.distinguished (b 2 i)) |
| 57 | (EmbeddedBasis.embeddedBasisEquiv (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings P.distinguished)).toRingHom b |
| 58 | (u P.distinguished).2) = 0) |
| 59 | rw [ClosedCoefficientPeriods.embeddedBasis_line_mem, |
| 60 | orthogonal_embedding_annihilator_of_self_ne_zero (P.embeddings P.distinguished) H b hb 2 hself, |
| 61 | ZeroPeriod.diagonal_pairing_zero_line] |
| 62 | have hn : P.embeddings P.distinguished P.b ≠ 0 := |
| 63 | (map_ne_zero _).mpr hP.2.2.1 |
| 64 | rw [mul_eq_zero, or_iff_right hn] |
| 65 | · simp only [hi, ite_false] |
| 66 | cases hsign : P.compactSigns i |
| 67 | · change (u i).2 = 0 ↔ EmbeddedBasis.embeddedBasisEquiv |
| 68 | (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)).toRingHom b (u i).2 = 0 |
| 69 | exact (EmbeddedBasis.embeddedBasisEquiv (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)).toRingHom b).map_eq_zero_iff.symm |
| 70 | · change (u i).1 = 0 ↔ EmbeddedBasis.embeddedBasisEquiv (P.embeddings i).toRingHom b (u i).1 = 0 |
| 71 | exact (EmbeddedBasis.embeddedBasisEquiv (P.embeddings i).toRingHom b).map_eq_zero_iff.symm |
| 72 | |
| 73 | theorem basisCMHodge_component_period_of_last_ne_zero (H : Matrix (Fin 3) (Fin 3) E) |
| 74 | (b : Basis (Fin 3) E (Fin 3 → E)) |
| 75 | (hb : Pairwise (fun i j => AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b i) (b j) = 0)) |
| 76 | (hself : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b 2) (b 2) ≠ 0) |
| 77 | (x : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E)) : |
| 78 | x ∈ (BasisHodge.basisCMHodge P hP b).holomorphic ↔ |
| 79 | ClosedCoefficientPeriods.componentPrescribed P H (fun i => P.μ (b 2 i)) (PeriodCoordinates.cmPeriodCoordinates P hP x) := by |
| 80 | rw [BasisHodge.basisCMHodge_holomorphic, |
| 81 | coordinateSignCondition_iff_componentPrescribed_of_last_ne_zero P hP H b hb hself, |
| 82 | LinearEquiv.apply_symm_apply] |
| 83 | |
| 84 | theorem exists_CM_period_in_open |
| 85 | (H : Matrix (Fin 3) (Fin 3) E) |
| 86 | (hH : ∀ i j, H i j = NumberField.IsCMField.complexConj E (H j i)) |
| 87 | (e : Geometry.ComplexBall.PrescribedSignsB.Vec ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Vec) |
| 88 | (he : ∀ x y, AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.complexMatrixHermitian P.μ H (e x) (e y) = |
| 89 | AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.complexMatrixHermitian P.μ (Matrix.diagonal ![1, 1, P.b]) x y) |
| 90 | (U : Set Geometry.ComplexBall.PrescribedSignsB.BallChart) (hU : IsOpen U) (hUd : U ⊆ P.domain) (hUn : U.Nonempty) : |
| 91 | ∃ (z : P.Domain) (b : Basis (Fin 3) E (Fin 3 → E)), z.val ∈ U ∧ |
| 92 | ∀ x : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E), |
| 93 | x ∈ (BasisHodge.basisCMHodge P hP b).holomorphic ↔ |
| 94 | ClosedCoefficientPeriods.componentPrescribed P H (e (Geometry.ComplexBall.PrescribedSignsB.lineVector z.val)) (PeriodCoordinates.cmPeriodCoordinates P hP x) := by |
| 95 | obtain ⟨z, v, a, hzU, _, ha, heq, hv⟩ := LocalRationalBallPoint.exists_rational_ball_line_in_open P H e he U hU hUd hUn |
| 96 | have hvself : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H v v ≠ 0 := by |
| 97 | intro h |
| 98 | have hz := HermitianDiagonalization.matrixHermitian_embedding (P.embeddings P.distinguished) H v v |
| 99 | rw [h, map_zero] at hz |
| 100 | change 0 = AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.complexMatrixHermitian P.μ H (fun i => P.μ (v i)) |
| 101 | (fun i => P.μ (v i)) at hz |
| 102 | rw [← hz] at hv |
| 103 | exact (lt_irrefl 0) hv |
| 104 | let c := (NumberField.IsCMField.complexConj E).toRingEquiv |
| 105 | have hc : c P.imaginaryScalar ≠ P.imaginaryScalar := by |
| 106 | intro h |
| 107 | have hi : c P.imaginaryScalar = -P.imaginaryScalar := hP.2.2.2.2.2.2.2.1 |
| 108 | have ht : (2 : E) * P.imaginaryScalar = 0 := by |
| 109 | rw [hi] at h |
| 110 | linear_combination -h |
| 111 | exact hP.2.2.2.2.2.2.1 ((mul_eq_zero.mp ht).resolve_left (by norm_num)) |
| 112 | obtain ⟨b, hb0, hb⟩ := HermitianOrthogonalBasis.exists_hermitian_orthogonal_basis_with_first |
| 113 | c P.imaginaryScalar hc (HermitianDiagonalization.matrixHermitianFirstLinear H) |
| 114 | (HermitianDiagonalization.matrixHermitian_conjugate_swap H hH) v hvself 2 (by simp) |
| 115 | let b' := b.reindex (Equiv.swap 0 2) |
| 116 | have hlast : b' 2 = v := by |
| 117 | simpa only [b', Basis.reindex_apply, Equiv.symm_swap, Equiv.swap_apply_right] using hb0 |
| 118 | have ho : Pairwise (fun i j => AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b' i) (b' j) = 0) := by |
| 119 | intro i j hij |
| 120 | have h := hb ((Equiv.swap (0 : Fin 3) 2).symm.injective.ne hij) |
| 121 | change AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b ((Equiv.swap (0 : Fin 3) 2).symm i)) |
| 122 | (b ((Equiv.swap (0 : Fin 3) 2).symm j)) = 0 at h |
| 123 | simpa only [b', Basis.reindex_apply] using h |
| 124 | have hself : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b' 2) (b' 2) ≠ 0 := by |
| 125 | simpa only [hlast] using hvself |
| 126 | refine ⟨z, b', hzU, fun x => ?_⟩ |
| 127 | rw [heq, PeriodOnBall.componentPrescribed_smul P H a ha, |
| 128 | basisCMHodge_component_period_of_last_ne_zero P hP H b' ho hself, hlast] |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.LocalPeriods |