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.Foundations.Scheme.PresentationComplexPoints |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffinePointMaps |
| 3 | import Mathlib.RingTheory.Extension.Presentation.Basic |
| 4 | |
| 5 | /-! # Presented Complex Points -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.PresentedComplexPoints |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Complex points in a native algebra presentation |
| 13 | |
| 14 | This transports polynomial-quotient coordinates to an arbitrary complex algebra |
| 15 | using mathlib's proved quotient isomorphism for `Algebra.Presentation`. Its |
| 16 | coordinates are the values of the presentation's actual generators. The formulas |
| 17 | also describe arbitrary algebra maps by polynomials in target generators. |
| 18 | -/ |
| 19 | |
| 20 | universe u v w u' v' w' |
| 21 | |
| 22 | variable {S : Type u} [CommRing S] [Algebra ℂ S] |
| 23 | variable {ι : Type v} {σ : Type w} |
| 24 | |
| 25 | /-- The presentation kernel and its specified generating relations have the same solutions. -/ |
| 26 | def presentationKernelRelationsEquiv (P : Algebra.Presentation ℂ S ι σ) : |
| 27 | MvPolynomial.zeroLocus ℂ P.ker ≃ |
| 28 | {z : ι → ℂ // ∀ j, MvPolynomial.eval z (P.relation j) = 0} where |
| 29 | toFun z := ⟨z.val, fun j => z.property (P.relation j) (P.relation_mem_ker j)⟩ |
| 30 | invFun z := ⟨z.val, by |
| 31 | rw [← P.span_range_relation_eq_ker, MvPolynomial.zeroLocus_span] |
| 32 | rintro p ⟨j, rfl⟩ |
| 33 | exact z.property j⟩ |
| 34 | left_inv _ := rfl |
| 35 | right_inv _ := rfl |
| 36 | |
| 37 | /-- A native presentation identifies the actual algebra's complex points with its equations. -/ |
| 38 | def presentedComplexPointsEquiv (P : Algebra.Presentation ℂ S ι σ) : |
| 39 | AffineComplexPoints.affineComplexPoints S ≃ |
| 40 | {z : ι → ℂ // ∀ j, MvPolynomial.eval z (P.relation j) = 0} := |
| 41 | (AffineComplexPoints.affineComplexPoints.comapHomeomorph (P.quotientEquiv.restrictScalars ℂ)).toEquiv.trans |
| 42 | ((PresentationComplexPoints.presentationComplexPointsEquiv P.ker).trans (presentationKernelRelationsEquiv P)) |
| 43 | |
| 44 | /-- Native presentation coordinates evaluate its given generators. -/ |
| 45 | @[simp] theorem presentedComplexPointsEquiv_apply (P : Algebra.Presentation ℂ S ι σ) |
| 46 | (x : AffineComplexPoints.affineComplexPoints S) (i : ι) : |
| 47 | (presentedComplexPointsEquiv P x).val i = x (P.val i) := by |
| 48 | change x (P.quotientEquiv (Ideal.Quotient.mk P.ker (MvPolynomial.X i))) = _ |
| 49 | rw [P.quotientEquiv_mk, P.algebraMap_apply, MvPolynomial.aeval_X] |
| 50 | |
| 51 | /-- Evaluating a polynomial in presentation coordinates evaluates its image in the algebra. -/ |
| 52 | @[simp] theorem presentedComplexPointsEquiv_eval (P : Algebra.Presentation ℂ S ι σ) |
| 53 | (x : AffineComplexPoints.affineComplexPoints S) (p : MvPolynomial ι ℂ) : |
| 54 | MvPolynomial.eval (presentedComplexPointsEquiv P x).val p = |
| 55 | x (MvPolynomial.aeval P.val p) := by |
| 56 | change MvPolynomial.eval |
| 57 | (PresentationComplexPoints.presentationComplexPointsEquiv P.ker |
| 58 | (x.comp (P.quotientEquiv.restrictScalars ℂ).toAlgHom)).val p = _ |
| 59 | rw [PresentationComplexPoints.presentationComplexPointsEquiv_eval] |
| 60 | change x (P.quotientEquiv (Ideal.Quotient.mk P.ker p)) = _ |
| 61 | rw [P.quotientEquiv_mk, P.algebraMap_apply] |
| 62 | |
| 63 | /-- The inverse evaluates any algebra element through the presentation's chosen representative. -/ |
| 64 | @[simp] theorem presentedComplexPointsEquiv_symm_apply |
| 65 | (P : Algebra.Presentation ℂ S ι σ) |
| 66 | (z : {z : ι → ℂ // ∀ j, MvPolynomial.eval z (P.relation j) = 0}) (s : S) : |
| 67 | (presentedComplexPointsEquiv P).symm z s = MvPolynomial.eval z.val (P.σ s) := by |
| 68 | simpa only [Equiv.apply_symm_apply, P.aeval_val_σ] using |
| 69 | (presentedComplexPointsEquiv_eval P ((presentedComplexPointsEquiv P).symm z) |
| 70 | (P.σ s)).symm |
| 71 | |
| 72 | /-- Every algebra map is given in presentation coordinates by polynomial representatives. -/ |
| 73 | theorem presentedComplexPointsEquiv_map_apply |
| 74 | {T : Type u'} [CommRing T] [Algebra ℂ T] {κ : Type v'} {τ : Type w'} |
| 75 | (P : Algebra.Presentation ℂ S ι σ) (Q : Algebra.Presentation ℂ T κ τ) |
| 76 | (f : S →ₐ[ℂ] T) (x : AffineComplexPoints.affineComplexPoints T) (i : ι) : |
| 77 | (presentedComplexPointsEquiv P (x.comp f)).val i = |
| 78 | MvPolynomial.eval (presentedComplexPointsEquiv Q x).val |
| 79 | (Q.σ (f (P.val i))) := by |
| 80 | rw [presentedComplexPointsEquiv_apply, presentedComplexPointsEquiv_eval, |
| 81 | Q.aeval_val_σ] |
| 82 | rfl |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Foundations.Scheme.PresentedComplexPoints |