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.Resolution.Blowups.Coordinate.AtVariable |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.HypersurfaceRetraction |
| 3 | |
| 4 | /-! # Mv Polynomial Relative Line -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.MvPolynomialRelativeLine.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Separating any selected étale polynomial coordinate as a relative affine line. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {σ k R : Type u} [Field k] [CommRing R] |
| 15 | |
| 16 | abbrev coordinateLineBase (h : σ) := MvPolynomial {j : σ // j ≠ h} k |
| 17 | |
| 18 | /-- The chosen variable is the line coordinate, and all others are coefficients. -/ |
| 19 | def coordinateLineEquiv (h : σ) : MvPolynomial σ k ≃ₐ[k] Polynomial (coordinateLineBase (k := k) h) := |
| 20 | (Coordinate.AtVariable.Construction.separateVariableEquiv h).trans (MvPolynomial.optionEquivLeft k {j : σ // j ≠ h}) |
| 21 | |
| 22 | theorem coordinateLineEquiv_X (h : σ) : |
| 23 | coordinateLineEquiv (k := k) h (MvPolynomial.X h) = Polynomial.X := by |
| 24 | rw [coordinateLineEquiv, AlgEquiv.trans_apply, Coordinate.AtVariable.Construction.separateVariableEquiv_X_self, |
| 25 | MvPolynomial.optionEquivLeft_X_none] |
| 26 | |
| 27 | theorem coordinateLineEquiv_other (h : σ) (j : {j : σ // j ≠ h}) : |
| 28 | coordinateLineEquiv (k := k) h (MvPolynomial.X j.val) = Polynomial.C (MvPolynomial.X j) := by |
| 29 | rw [coordinateLineEquiv, AlgEquiv.trans_apply, Coordinate.AtVariable.Construction.separateVariableEquiv_X_ne h j.val j.property, |
| 30 | MvPolynomial.optionEquivLeft_X_some] |
| 31 | |
| 32 | theorem coordinateLineEquiv_symm_X (h : σ) : |
| 33 | (coordinateLineEquiv (k := k) h).symm Polynomial.X = MvPolynomial.X h := by |
| 34 | apply (coordinateLineEquiv h).injective |
| 35 | rw [AlgEquiv.apply_symm_apply, coordinateLineEquiv_X] |
| 36 | |
| 37 | theorem coordinateLineEquiv_symm_other (h : σ) (j : {j : σ // j ≠ h}) : |
| 38 | (coordinateLineEquiv (k := k) h).symm (Polynomial.C (MvPolynomial.X j)) = MvPolynomial.X j.val := by |
| 39 | apply (coordinateLineEquiv h).injective |
| 40 | rw [AlgEquiv.apply_symm_apply, coordinateLineEquiv_other] |
| 41 | |
| 42 | variable [Algebra (MvPolynomial σ k) R] |
| 43 | |
| 44 | def coordinateLineMap (h : σ) : Polynomial (coordinateLineBase (k := k) h) →+* R := |
| 45 | (algebraMap (MvPolynomial σ k) R).comp (coordinateLineEquiv h).symm.toRingHom |
| 46 | |
| 47 | def coordinateLineBaseMap (h : σ) : coordinateLineBase (k := k) h →+* R := |
| 48 | (coordinateLineMap (R := R) h).comp Polynomial.C |
| 49 | |
| 50 | theorem coordinateLineMap_X (h : σ) : |
| 51 | coordinateLineMap (k := k) (R := R) h Polynomial.X = |
| 52 | algebraMap (MvPolynomial σ k) R (MvPolynomial.X h) := by |
| 53 | change algebraMap (MvPolynomial σ k) R ((coordinateLineEquiv h).symm Polynomial.X) = _ |
| 54 | rw [coordinateLineEquiv_symm_X] |
| 55 | |
| 56 | theorem coordinateLineBaseMap_X (h : σ) (j : {j : σ // j ≠ h}) : |
| 57 | coordinateLineBaseMap (k := k) (R := R) h (MvPolynomial.X j) = |
| 58 | algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val) := by |
| 59 | change algebraMap (MvPolynomial σ k) R |
| 60 | ((coordinateLineEquiv h).symm (Polynomial.C (MvPolynomial.X j))) = _ |
| 61 | rw [coordinateLineEquiv_symm_other] |
| 62 | |
| 63 | abbrev coordinateLineBaseAlgebra (h : σ) : Algebra (coordinateLineBase (k := k) h) R := |
| 64 | (coordinateLineBaseMap h).toAlgebra |
| 65 | |
| 66 | abbrev coordinateLineAlgebra (h : σ) : Algebra (Polynomial (coordinateLineBase (k := k) h)) R := |
| 67 | (coordinateLineMap h).toAlgebra |
| 68 | |
| 69 | attribute [local instance] coordinateLineBaseAlgebra coordinateLineAlgebra |
| 70 | |
| 71 | theorem coordinateLine_scalarTower (h : σ) : |
| 72 | IsScalarTower (coordinateLineBase (k := k) h) (Polynomial (coordinateLineBase (k := k) h)) R := |
| 73 | IsScalarTower.of_algebraMap_eq' rfl |
| 74 | |
| 75 | theorem coordinateLine_etale [Algebra.Etale (MvPolynomial σ k) R] (h : σ) : |
| 76 | Algebra.Etale (Polynomial (coordinateLineBase (k := k) h)) R := |
| 77 | RingHom.Etale.stableUnderComposition (coordinateLineEquiv h).symm.toRingHom |
| 78 | (algebraMap (MvPolynomial σ k) R) |
| 79 | (RingHom.Etale.of_bijective (coordinateLineEquiv h).symm.bijective) |
| 80 | (RingHom.etale_algebraMap.mpr inferInstance) |
| 81 | |
| 82 | variable [Algebra k R] [IsScalarTower k (MvPolynomial σ k) R] |
| 83 | |
| 84 | theorem coordinateLineBaseMap_C (h : σ) (c : k) : |
| 85 | coordinateLineBaseMap (k := k) (R := R) h (MvPolynomial.C c) = algebraMap k R c := by |
| 86 | change algebraMap (MvPolynomial σ k) R |
| 87 | ((coordinateLineEquiv h).symm (algebraMap k (Polynomial (coordinateLineBase (k := k) h)) c)) = _ |
| 88 | rw [AlgEquiv.commutes] |
| 89 | exact (IsScalarTower.algebraMap_apply k (MvPolynomial σ k) R c).symm |
| 90 | |
| 91 | theorem coordinateLine_originalScalarTower (h : σ) : |
| 92 | IsScalarTower k (coordinateLineBase (k := k) h) R := by |
| 93 | apply IsScalarTower.of_algebraMap_eq' |
| 94 | apply RingHom.ext |
| 95 | intro c |
| 96 | exact (coordinateLineBaseMap_C h c).symm |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Resolution.Blowups.MvPolynomialRelativeLine.Construction |