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.HodgeConjecture.HeckeCycles.Source.UnitaryMatrix |
| 2 | |
| 3 | /-! # Unitary Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEquiv.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The source rational group and the quadratic-algebra special-unitary |
| 10 | group are isomorphic through the original field coordinates. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open _root_.Matrix OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryMatrix.CM |
| 16 | |
| 17 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 18 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (Q : GeometricSource.CM.SymplecticCoordinates E B places) |
| 19 | |
| 20 | def originalSL : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (QuadraticForms.CM.hermitianForm E Q).val →* |
| 21 | Matrix.SpecialLinearGroup (Fin 3) E where |
| 22 | toFun g := ⟨g.val.val.map (QuadraticConjugation.CM.Field.fieldEquiv E Q), by |
| 23 | change ((QuadraticConjugation.CM.Field.fieldEquiv E Q).toRingHom.mapMatrix g.val.val).det = 1 |
| 24 | rw [← RingHom.map_det] |
| 25 | have hd : g.val.val.det = 1 := congrArg Units.val g.property.2 |
| 26 | rw [hd, map_one]⟩ |
| 27 | map_one' := by |
| 28 | apply Subtype.ext |
| 29 | change (QuadraticConjugation.CM.Field.fieldEquiv E Q).toRingHom.mapMatrix 1 = 1 |
| 30 | exact map_one _ |
| 31 | map_mul' g h := by |
| 32 | apply Subtype.ext |
| 33 | change (QuadraticConjugation.CM.Field.fieldEquiv E Q).toRingHom.mapMatrix (g.val.val * h.val.val) = |
| 34 | (QuadraticConjugation.CM.Field.fieldEquiv E Q).toRingHom.mapMatrix g.val.val * (QuadraticConjugation.CM.Field.fieldEquiv E Q).toRingHom.mapMatrix h.val.val |
| 35 | exact map_mul _ _ _ |
| 36 | |
| 37 | theorem vector_action (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (QuadraticForms.CM.hermitianForm E Q).val) (x : GeometricSource.CM.Vec E) : |
| 38 | g.val.val *ᵥ UnitaryMatrix.CM.vector E Q x = UnitaryMatrix.CM.vector E Q (Matrix.SpecialLinearGroup.toLin' (originalSL E Q g) x) := by |
| 39 | funext i |
| 40 | change (∑ j, g.val.val i j * (QuadraticConjugation.CM.Field.fieldEquiv E Q).symm (x j)) = |
| 41 | (QuadraticConjugation.CM.Field.fieldEquiv E Q).symm (∑ j, QuadraticConjugation.CM.Field.fieldEquiv E Q (g.val.val i j) * x j) |
| 42 | rw [map_sum] |
| 43 | apply Finset.sum_congr rfl |
| 44 | intro j _ |
| 45 | rw [map_mul, AlgEquiv.symm_apply_apply] |
| 46 | |
| 47 | theorem original_preserves (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (QuadraticForms.CM.hermitianForm E Q).val) (x y : GeometricSource.CM.Vec E) : |
| 48 | GeometricSource.CM.hermitian E B.b (Matrix.SpecialLinearGroup.toLin' (originalSL E Q g) x) |
| 49 | (Matrix.SpecialLinearGroup.toLin' (originalSL E Q g) y) = GeometricSource.CM.hermitian E B.b x y := by |
| 50 | rw [← UnitaryMatrix.CM.form_image E Q, ← vector_action, ← vector_action] |
| 51 | have hg := RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue_unitary (QuadraticForms.CM.hermitianForm E Q).val |
| 52 | (RepresentationTheory.Theta.Adelic.SpecialUnitary.includeUnitary _ g) (UnitaryMatrix.CM.vector E Q y) (UnitaryMatrix.CM.vector E Q x) |
| 53 | change RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (QuadraticForms.CM.hermitianForm E Q).val (g.val.val *ᵥ UnitaryMatrix.CM.vector E Q y) (g.val.val *ᵥ UnitaryMatrix.CM.vector E Q x) = _ at hg |
| 54 | rw [hg, UnitaryMatrix.CM.form_image] |
| 55 | |
| 56 | def inverse : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (QuadraticForms.CM.hermitianForm E Q).val →* Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b where |
| 57 | toFun g := ⟨originalSL E Q g, original_preserves E Q g⟩ |
| 58 | map_one' := Subtype.ext (map_one (originalSL E Q)) |
| 59 | map_mul' g h := Subtype.ext (map_mul (originalSL E Q) g h) |
| 60 | |
| 61 | theorem inverse_hom (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : inverse E Q (UnitaryMatrix.CM.hom E Q g) = g := by |
| 62 | apply Subtype.ext |
| 63 | apply Subtype.ext |
| 64 | apply Matrix.ext |
| 65 | intro i j |
| 66 | exact (QuadraticConjugation.CM.Field.fieldEquiv E Q).apply_symm_apply (g.val.val i j) |
| 67 | |
| 68 | theorem hom_inverse (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (QuadraticForms.CM.hermitianForm E Q).val) : |
| 69 | UnitaryMatrix.CM.hom E Q (inverse E Q g) = g := by |
| 70 | apply Subtype.ext |
| 71 | apply Units.ext |
| 72 | apply Matrix.ext |
| 73 | intro i j |
| 74 | exact (QuadraticConjugation.CM.Field.fieldEquiv E Q).symm_apply_apply (g.val.val i j) |
| 75 | |
| 76 | def equivalence : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b ≃* |
| 77 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (QuadraticForms.CM.hermitianForm E Q).val where |
| 78 | toFun := UnitaryMatrix.CM.hom E Q |
| 79 | invFun := inverse E Q |
| 80 | left_inv := inverse_hom E Q |
| 81 | right_inv := hom_inverse E Q |
| 82 | map_mul' := (UnitaryMatrix.CM.hom E Q).map_mul |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEquiv.CM |