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.IntersectionTheory.ProjectionFormula.CurveParameter |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.Place |
| 3 | |
| 4 | /-! # Inversion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Inversion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Replacing a transcendental parameter by its inverse preserves its |
| 11 | extension degree. The comparison uses the explicit inversion automorphism |
| 12 | of the rational function field and the actual evaluation embeddings. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveParameter OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.Place |
| 15 | |
| 16 | variable (k : Type) [Field k] |
| 17 | |
| 18 | theorem parameter_transcendental : Transcendental k (ProjectionFormula.Polynomial.Place.parameter k) := by |
| 19 | intro h |
| 20 | apply Polynomial.transcendental_X k |
| 21 | exact (isAlgebraic_algHom_iff |
| 22 | (IsScalarTower.toAlgHom k (Polynomial k) (FractionRing (Polynomial k))) |
| 23 | (IsFractionRing.injective (Polynomial k) (FractionRing (Polynomial k)))).mp h |
| 24 | |
| 25 | theorem inverse_parameter_transcendental : Transcendental k (ProjectionFormula.Polynomial.Place.parameter k)⁻¹ := by |
| 26 | intro h |
| 27 | apply parameter_transcendental k |
| 28 | simpa only [inv_inv] using h.inv |
| 29 | |
| 30 | def parameterHom (L : Type) [Field L] [Algebra k L] (g : L) (hg : Transcendental k g) : |
| 31 | FractionRing (Polynomial k) →ₐ[k] L := |
| 32 | IsFractionRing.liftAlgHom (transcendental_iff_injective.mp hg) |
| 33 | |
| 34 | theorem parameterHom_parameter (L : Type) [Field L] [Algebra k L] |
| 35 | (g : L) (hg : Transcendental k g) : parameterHom k L g hg (ProjectionFormula.Polynomial.Place.parameter k) = g := by |
| 36 | rw [parameterHom, IsFractionRing.liftAlgHom_apply, ProjectionFormula.Polynomial.Place.parameter, IsFractionRing.lift_algebraMap] |
| 37 | exact Polynomial.aeval_X g |
| 38 | |
| 39 | theorem hom_ext_parameter {L : Type} [Field L] [Algebra k L] |
| 40 | (a b : FractionRing (Polynomial k) →ₐ[k] L) (h : a (ProjectionFormula.Polynomial.Place.parameter k) = b (ProjectionFormula.Polynomial.Place.parameter k)) : a = b := by |
| 41 | have hp : a.comp (IsScalarTower.toAlgHom k (Polynomial k) (FractionRing (Polynomial k))) = |
| 42 | b.comp (IsScalarTower.toAlgHom k (Polynomial k) (FractionRing (Polynomial k))) := by |
| 43 | apply Polynomial.algHom_ext |
| 44 | exact h |
| 45 | have he : a.toRingHom = b.toRingHom := by |
| 46 | apply IsFractionRing.ringHom_ext (A := Polynomial k) |
| 47 | intro p |
| 48 | exact DFunLike.congr_fun hp p |
| 49 | exact AlgHom.coe_ringHom_injective he |
| 50 | |
| 51 | def inversion : FractionRing (Polynomial k) →ₐ[k] FractionRing (Polynomial k) := |
| 52 | parameterHom k _ (ProjectionFormula.Polynomial.Place.parameter k)⁻¹ (inverse_parameter_transcendental k) |
| 53 | |
| 54 | theorem inversion_parameter : inversion k (ProjectionFormula.Polynomial.Place.parameter k) = (ProjectionFormula.Polynomial.Place.parameter k)⁻¹ := |
| 55 | parameterHom_parameter k _ _ _ |
| 56 | |
| 57 | theorem inversion_involutive : Function.Involutive (inversion k) := by |
| 58 | have h : (inversion k).comp (inversion k) = AlgHom.id k (FractionRing (Polynomial k)) := by |
| 59 | apply hom_ext_parameter k |
| 60 | change inversion k (inversion k (ProjectionFormula.Polynomial.Place.parameter k)) = ProjectionFormula.Polynomial.Place.parameter k |
| 61 | rw [inversion_parameter, map_inv₀, inversion_parameter, inv_inv] |
| 62 | intro x |
| 63 | exact DFunLike.congr_fun h x |
| 64 | |
| 65 | def inversionEquiv : FractionRing (Polynomial k) ≃ₐ[k] FractionRing (Polynomial k) := |
| 66 | AlgEquiv.ofBijective (inversion k) (inversion_involutive k).bijective |
| 67 | |
| 68 | theorem parameterHom_inv (L : Type) [Field L] [Algebra k L] |
| 69 | (g : L) (hg : Transcendental k g) (hgi : Transcendental k g⁻¹) : |
| 70 | (parameterHom k L g hg).comp (inversion k) = parameterHom k L g⁻¹ hgi := by |
| 71 | apply hom_ext_parameter k |
| 72 | change parameterHom k L g hg (inversion k (ProjectionFormula.Polynomial.Place.parameter k)) = parameterHom k L g⁻¹ hgi (ProjectionFormula.Polynomial.Place.parameter k) |
| 73 | rw [inversion_parameter, map_inv₀, parameterHom_parameter, parameterHom_parameter] |
| 74 | |
| 75 | /-- The two actual evaluation algebra structures have equal degree. -/ |
| 76 | theorem parameter_finrank_inv (L : Type) [Field L] [Algebra k L] |
| 77 | (g : L) (hg : Transcendental k g) (hgi : Transcendental k g⁻¹) : |
| 78 | @Module.finrank (FractionRing (Polynomial k)) L _ _ |
| 79 | (CurveParameter.fractionAlgebra k L g hg).toModule = |
| 80 | @Module.finrank (FractionRing (Polynomial k)) L _ _ |
| 81 | (CurveParameter.fractionAlgebra k L g⁻¹ hgi).toModule := by |
| 82 | let a := CurveParameter.fractionAlgebra k L g hg |
| 83 | let b := CurveParameter.fractionAlgebra k L g⁻¹ hgi |
| 84 | have he : (RingHom.id L).comp (parameterHom k L g⁻¹ hgi).toRingHom = |
| 85 | (parameterHom k L g hg).toRingHom.comp (inversionEquiv k).toRingHom := by |
| 86 | exact congrArg AlgHom.toRingHom (parameterHom_inv k L g hg hgi).symm |
| 87 | exact (@Algebra.finrank_eq_of_equiv_equiv (FractionRing (Polynomial k)) L _ _ b |
| 88 | (FractionRing (Polynomial k)) L _ _ a (inversionEquiv k).toRingEquiv (RingEquiv.refl L) he.symm).symm |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Inversion |