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.BallReflectionLifts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflectionInterfaces |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalReflectionNormLevel |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.NonisotropicReflectionVector |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Principal.BallRealization |
| 6 | |
| 7 | /-! # Rational Ball Neighborhood -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalBallNeighborhood |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Rational Hermitian isometries with the actual lattice congruence |
| 14 | condition meet every neighborhood in the original ReferenceFamily ball coordinates. |
| 15 | The field matrix, complex normalizer, affine action and lattice are the |
| 16 | original objects used by the arithmetic-component specification. |
| 17 | -/ |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 23 | {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 24 | |
| 25 | theorem exists_rational_isometry_in_original_ball_neighborhood |
| 26 | (hP : P.IsAdmissible) (H : Matrix (Fin 3) (Fin 3) E) |
| 27 | (hHerm : ∀ i j, H i j = NumberField.IsCMField.complexConj E (H j i)) |
| 28 | (hdet : H.det ≠ 0) |
| 29 | (Λ : Submodule ℤ (Fin 3 → E)) (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice Λ) |
| 30 | (e : (Fin 3 → ℂ) ≃ₗ[ℂ] (Fin 3 → ℂ)) |
| 31 | (he : ∀ x y, Datum.RankThreePELDatum.complexMatrixHermitian P.μ H (e x) (e y) = |
| 32 | Datum.RankThreePELDatum.complexMatrixHermitian P.μ (Matrix.diagonal ![1, 1, P.b]) x y) |
| 33 | (N : ℕ) (hN : 0 < N) (z w : P.Domain) |
| 34 | (U : Set Geometry.ComplexBall.PrescribedSignsB.BallChart) (hU : IsOpen U) (hwU : w.val ∈ U) : |
| 35 | ∃ g : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E), |
| 36 | (∀ x y, Datum.RankThreePELDatum.matrixHermitian H (g x) (g y) = |
| 37 | Datum.RankThreePELDatum.matrixHermitian H x y) ∧ |
| 38 | LinearMap.det g.toLinearMap = 1 ∧ |
| 39 | LatticeReflectionCongruence.ClearedPrincipalLatticeCongruence Λ N g ∧ |
| 40 | P.lineActionVia e g z.val ∈ U := by |
| 41 | have hbim : (P.μ P.b).im = 0 := by |
| 42 | apply Complex.conj_eq_iff_im.mp |
| 43 | exact (NumberField.IsCMField.complexEmbedding_complexConj E P.μ P.b).symm.trans |
| 44 | (congrArg P.μ hP.2.1) |
| 45 | let v (t : P.Domain) := Intrinsic.BallReflectionLifts.nativeBallReflectionLift (P.μ P.b) hbim hP.2.2.2.1 |
| 46 | (P.arithmeticBallEquiv t) |
| 47 | let x := e (v z) |
| 48 | let y := e (v w) |
| 49 | have hnorm (t : P.Domain) : |
| 50 | MatrixReflectionEmbedding.matrixReflectionForm (starRingEnd ℂ) (H.map P.μ) (e (v t)) (e (v t)) = P.μ P.b := by |
| 51 | rw [ReflectionInterfaces.complexReflectionForm_eq_original, he, Normalized.HodgeLine.complexMatrixHermitian_diagonal] |
| 52 | exact Intrinsic.BallReflectionLifts.nativeBallReflectionLift_norm (P.μ P.b) hbim hP.2.2.2.1 (P.arithmeticBallEquiv t) |
| 53 | have hlast (t : P.Domain) : (e.symm (e (v t))) 2 ≠ 0 := by |
| 54 | rw [e.symm_apply_apply] |
| 55 | exact Intrinsic.BallReflectionLifts.nativeBallReflectionLift_last_ne_zero (P.μ P.b) hbim hP.2.2.2.1 |
| 56 | (P.arithmeticBallEquiv t) |
| 57 | have hcoord (t : P.Domain) : NegativeLine.negativeLineCoordinate (e.symm (e (v t))) = t.val := by |
| 58 | rw [e.symm_apply_apply] |
| 59 | exact (Intrinsic.BallReflectionLifts.nativeBallReflectionLift_coordinate (P.μ P.b) hbim hP.2.2.2.1 |
| 60 | (P.arithmeticBallEquiv t)).trans (P.arithmeticBallEquiv_val t) |
| 61 | have hy : y ∈ NegativeCoordinateOpen.negativeCoordinateOpenPreimage e U := by |
| 62 | refine ⟨hlast w, ?_⟩ |
| 63 | change NegativeLine.negativeLineCoordinate (e.symm (e (v w))) ∈ U |
| 64 | rwa [hcoord w] |
| 65 | have hphase : ∀ a : ℂ, ‖a‖ = 1 → a • y ∈ NegativeCoordinateOpen.negativeCoordinateOpenPreimage e U := by |
| 66 | intro a ha |
| 67 | apply NegativeCoordinateOpen.negativeCoordinateOpenPreimage_smul e U y hy a |
| 68 | intro hzero |
| 69 | rw [hzero, norm_zero] at ha |
| 70 | exact zero_ne_one ha |
| 71 | obtain ⟨r, hr⟩ := NonisotropicReflectionVector.exists_nonisotropic_cm_matrix_vector_of_det P.μ H hdet |
| 72 | have hΛ' : @NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice E _ DivisionRing.toRatAlgebra Λ := by |
| 73 | have hA : (inferInstance : Algebra ℚ E) = DivisionRing.toRatAlgebra := Subsingleton.elim _ _ |
| 74 | exact hA ▸ hΛ |
| 75 | obtain ⟨g, hhit, hpres, hgdet, hcongr⟩ := RationalReflectionNormLevel.exists_rational_lattice_reflections_at_common_norm |
| 76 | P.μ H hHerm r hr Λ hΛ' N hN P.b hP.2.2.1 hP.2.1 x y (hnorm z) (hnorm w) |
| 77 | (NegativeCoordinateOpen.negativeCoordinateOpenPreimage e U) (NegativeCoordinateOpen.negativeCoordinateOpenPreimage_isOpen e U hU) hphase |
| 78 | refine ⟨g, ?_, hgdet, hcongr, ?_⟩ |
| 79 | · intro a d |
| 80 | simpa only [ReflectionInterfaces.matrixReflectionForm_eq_original] using hpres a d |
| 81 | · rw [NegativeCoordinateOpen.lineActionVia_eq_on_vector_representative P e g z.val x (hlast z) (hcoord z)] |
| 82 | exact hhit.2 |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RationalBallNeighborhood |