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.MvPolynomialRelativeLine |
| 2 | |
| 3 | /-! # Mv Polynomial Retraction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.MvPolynomialRetraction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Retraction neighborhoods of selected coordinate hypersurfaces, preserving the other coordinates. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {σ k R : Type u} [Field k] [CommRing R] |
| 14 | [Algebra (MvPolynomial σ k) R] [Algebra k R] [IsScalarTower k (MvPolynomial σ k) R] |
| 15 | |
| 16 | attribute [local instance] MvPolynomialRelativeLine.Construction.coordinateLineBaseAlgebra MvPolynomialRelativeLine.Construction.coordinateLineAlgebra |
| 17 | MvPolynomialRelativeLine.Construction.coordinateLine_scalarTower MvPolynomialRelativeLine.Construction.coordinateLine_originalScalarTower |
| 18 | |
| 19 | abbrev coordinateLineFiber (h : σ) := Blowups.Etale.HypersurfaceRetraction.Construction.etaleCoordinateFiber (MvPolynomialRelativeLine.Construction.coordinateLineBase (k := k) h) R |
| 20 | |
| 21 | /-- The fiber used by the relative-line construction is the original |
| 22 | selected-coordinate hypersurface as an algebra over the ground field. -/ |
| 23 | def coordinateLineFiberEquiv (h : σ) : coordinateLineFiber (k := k) (R := R) h ≃ₐ[k] |
| 24 | (R ⧸ Ideal.span {algebraMap (MvPolynomial σ k) R (MvPolynomial.X h)}) := |
| 25 | Ideal.quotientEquivAlgOfEq k (congrArg (fun z : R => Ideal.span {z}) (MvPolynomialRelativeLine.Construction.coordinateLineMap_X h)) |
| 26 | |
| 27 | omit [IsScalarTower k (MvPolynomial σ k) R] in |
| 28 | theorem coordinateLineFiberEquiv_mk (h : σ) (x : R) : |
| 29 | coordinateLineFiberEquiv (k := k) (R := R) h (Ideal.Quotient.mk _ x) = |
| 30 | Ideal.Quotient.mk (Ideal.span {algebraMap (MvPolynomial σ k) R (MvPolynomial.X h)}) x := |
| 31 | Ideal.quotientEquivAlgOfEq_mk k _ x |
| 32 | |
| 33 | variable [Algebra.Etale (MvPolynomial σ k) R] |
| 34 | |
| 35 | attribute [local instance] MvPolynomialRelativeLine.Construction.coordinateLine_etale |
| 36 | |
| 37 | /-- Every selected étale coordinate hypersurface has an actual étale ambient |
| 38 | refinement retracted onto the same fiber. The ground field, quotient map, |
| 39 | and every other polynomial coordinate are preserved. -/ |
| 40 | theorem exists_coordinate_retraction_neighborhood (h : σ) : |
| 41 | let H := coordinateLineFiber (k := k) (R := R) h |
| 42 | ∃ (V : Type u) (_ : CommRing V) (_ : Algebra k V) (_ : Algebra H V) |
| 43 | (_ : Algebra (Polynomial H) V), |
| 44 | IsScalarTower k H V ∧ IsScalarTower H (Polynomial H) V ∧ |
| 45 | Algebra.Etale (Polynomial H) V ∧ |
| 46 | ∃ g : R →+* V, g.Etale ∧ |
| 47 | (∀ c : k, g (algebraMap k R c) = algebraMap k V c) ∧ |
| 48 | g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X h)) = algebraMap (Polynomial H) V Polynomial.X ∧ |
| 49 | (∀ j : {j : σ // j ≠ h}, |
| 50 | g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)) = |
| 51 | algebraMap H V (Ideal.Quotient.mk _ (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)))) ∧ |
| 52 | ∃ e : (V ⧸ Ideal.span {algebraMap (Polynomial H) V Polynomial.X}) ≃ₐ[H] H, |
| 53 | e.toRingHom.comp ((Ideal.Quotient.mk _).comp g) = Ideal.Quotient.mk _ := by |
| 54 | let A := MvPolynomialRelativeLine.Construction.coordinateLineBase (k := k) h |
| 55 | let H := coordinateLineFiber (k := k) (R := R) h |
| 56 | obtain ⟨V, vRing, hAlg, pAlg, ht, he, g, hg, hgX, hgA, ε, hε⟩ := |
| 57 | Blowups.Etale.HypersurfaceRetraction.Construction.exists_etale_hypersurface_retraction_neighborhood A R |
| 58 | let : CommRing V := vRing |
| 59 | let : Algebra H V := hAlg |
| 60 | let : Algebra (Polynomial H) V := pAlg |
| 61 | let : Algebra k V := ((algebraMap H V).comp (algebraMap k H)).toAlgebra |
| 62 | let : IsScalarTower k H V := IsScalarTower.of_algebraMap_eq' rfl |
| 63 | have hgk (c : k) : g (algebraMap k R c) = algebraMap k V c := by |
| 64 | have hc := hgA (MvPolynomial.C c) |
| 65 | change g (MvPolynomialRelativeLine.Construction.coordinateLineBaseMap h (MvPolynomial.C c)) = |
| 66 | algebraMap H V (Ideal.Quotient.mk _ (MvPolynomialRelativeLine.Construction.coordinateLineBaseMap h (MvPolynomial.C c))) at hc |
| 67 | rw [MvPolynomialRelativeLine.Construction.coordinateLineBaseMap_C] at hc |
| 68 | exact hc |
| 69 | have hgcoord : g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X h)) = |
| 70 | algebraMap (Polynomial H) V Polynomial.X := by |
| 71 | change g (MvPolynomialRelativeLine.Construction.coordinateLineMap h Polynomial.X) = _ at hgX |
| 72 | rw [MvPolynomialRelativeLine.Construction.coordinateLineMap_X] at hgX |
| 73 | exact hgX |
| 74 | have hideal : Ideal.span {algebraMap (Polynomial H) V Polynomial.X} = |
| 75 | Ideal.span {g (algebraMap (Polynomial A) R Polynomial.X)} := |
| 76 | congrArg (fun z : V => Ideal.span {z}) hgX.symm |
| 77 | let e : (V ⧸ Ideal.span {algebraMap (Polynomial H) V Polynomial.X}) ≃ₐ[H] H := |
| 78 | (Ideal.quotientEquivAlgOfEq H hideal).trans ε |
| 79 | refine ⟨V, vRing, inferInstance, hAlg, pAlg, inferInstance, ht, he, g, hg, hgk, hgcoord, ?_, e, ?_⟩ |
| 80 | · intro j |
| 81 | have hj := hgA (MvPolynomial.X j) |
| 82 | change g (MvPolynomialRelativeLine.Construction.coordinateLineBaseMap h (MvPolynomial.X j)) = |
| 83 | algebraMap H V (Ideal.Quotient.mk _ (MvPolynomialRelativeLine.Construction.coordinateLineBaseMap h (MvPolynomial.X j))) at hj |
| 84 | rw [MvPolynomialRelativeLine.Construction.coordinateLineBaseMap_X] at hj |
| 85 | exact hj |
| 86 | · apply RingHom.ext |
| 87 | intro x |
| 88 | change ε (Ideal.quotientEquivAlgOfEq H hideal (Ideal.Quotient.mk _ (g x))) = _ |
| 89 | rw [Ideal.quotientEquivAlgOfEq_mk] |
| 90 | exact RingHom.congr_fun hε x |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Resolution.Blowups.MvPolynomialRetraction.Construction |