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.Boundary.RetractionUnitComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CoordinateLineFiber |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.MvPolynomialRetraction |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.RetractionCoverage |
| 5 | |
| 6 | /-! # Coordinate Retraction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.CoordinateRetraction.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual coefficient retractions retain every original boundary equation up to units. -/ |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {k R : Type u} {ι : Type v} [Field k] [CommRing R] [Algebra k R] |
| 17 | {w : ι → R} |
| 18 | |
| 19 | /-- A transverse coordinate admits an actual étale retraction onto its |
| 20 | coefficient fiber. That fiber has the full original boundary model, and |
| 21 | the original ambient equations are unit multiples of its pulled-back |
| 22 | boundary equations. The retraction square is exact. -/ |
| 23 | theorem exists_modeled_coordinate_retraction (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 24 | (h : M.indices) (hh : ∀ j, M.coordinate j ≠ some h) : |
| 25 | letI : Algebra (MvPolynomial M.indices k) R := M.map.toAlgebra |
| 26 | let H := MvPolynomialRetraction.Construction.coordinateLineFiber (k := k) (R := R) h |
| 27 | Nonempty (Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k H ι (fun j => Ideal.Quotient.mk _ (w j))) ∧ |
| 28 | ∃ (V : Type u) (_ : CommRing V) (_ : Algebra k V) (_ : Algebra H V) |
| 29 | (_ : Algebra (Polynomial H) V), |
| 30 | IsScalarTower k H V ∧ IsScalarTower H (Polynomial H) V ∧ |
| 31 | Algebra.Etale (Polynomial H) V ∧ |
| 32 | ∃ g : R →ₐ[k] V, g.toRingHom.Etale ∧ |
| 33 | g (M.map (MvPolynomial.X h)) = algebraMap (Polynomial H) V Polynomial.X ∧ |
| 34 | ∃ e : (V ⧸ Ideal.span {algebraMap (Polynomial H) V Polynomial.X}) ≃ₐ[H] H, |
| 35 | e.toRingHom.comp ((Ideal.Quotient.mk _).comp g.toRingHom) = Ideal.Quotient.mk _ ∧ |
| 36 | ∃ v : ι → V, (∀ j, IsUnit (v j)) ∧ |
| 37 | (∀ j, g (w j) = v j * algebraMap H V (Ideal.Quotient.mk _ (w j))) ∧ |
| 38 | ∀ q : PrimeSpectrum R, M.map (MvPolynomial.X h) ∈ q.asIdeal → |
| 39 | ∃ Q : PrimeSpectrum V, PrimeSpectrum.comap g.toRingHom Q = q := by |
| 40 | let : Algebra (MvPolynomial M.indices k) R := M.map.toAlgebra |
| 41 | let : Algebra.Etale (MvPolynomial M.indices k) R := RingHom.etale_algebraMap.mp M.etale |
| 42 | let : IsScalarTower k (MvPolynomial M.indices k) R := |
| 43 | IsScalarTower.of_algebraMap_eq (fun c => (M.ground c).symm) |
| 44 | let H := MvPolynomialRetraction.Construction.coordinateLineFiber (k := k) (R := R) h |
| 45 | have hmodel : Nonempty (Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k H ι (fun j => Ideal.Quotient.mk _ (w j))) := |
| 46 | ⟨M.coordinateLineFiberModel h hh⟩ |
| 47 | obtain ⟨V, cV, akV, aHV, aHPV, hkHV, hHPV, heV, g, hg, hgk, hcoord, hcoeff, e, hcomm⟩ := |
| 48 | MvPolynomialRetraction.Construction.exists_coordinate_retraction_neighborhood (k := k) (R := R) h |
| 49 | let f : R →ₐ[k] V := { g with commutes' := hgk } |
| 50 | let ρ : R →+* V := (algebraMap H V).comp (Ideal.Quotient.mk _) |
| 51 | have hret (s : M.boundaryIndices) : g (M.map (MvPolynomial.X s.val)) = ρ (M.map (MvPolynomial.X s.val)) := by |
| 52 | have hs : s.val ≠ h := by |
| 53 | intro hs |
| 54 | obtain ⟨j, hj⟩ := (M.mem_boundaryIndices s.val).mp s.property |
| 55 | exact hh j (hj.trans (congrArg some hs)) |
| 56 | exact hcoeff ⟨s.val, hs⟩ |
| 57 | obtain ⟨v, hv, hw⟩ := M.retraction_unit_comparison g ρ hret |
| 58 | have hcover (q : PrimeSpectrum R) (hq : M.map (MvPolynomial.X h) ∈ q.asIdeal) : |
| 59 | ∃ Q : PrimeSpectrum V, PrimeSpectrum.comap g Q = q := by |
| 60 | obtain ⟨η, hη⟩ := Coordinate.RetractionCoverage.Construction.coordinate_retraction_lifts_hypersurface_point h |
| 61 | (algebraMap (Polynomial H) V Polynomial.X) g e hcomm q.asIdeal hq |
| 62 | refine ⟨⟨RingHom.ker η, RingHom.ker_isPrime η⟩, PrimeSpectrum.ext ?_⟩ |
| 63 | ext x |
| 64 | change η (g x) = 0 ↔ x ∈ q.asIdeal |
| 65 | rw [show η (g x) = algebraMap R q.asIdeal.ResidueField x from RingHom.congr_fun hη x] |
| 66 | exact Ideal.algebraMap_residueField_eq_zero |
| 67 | exact ⟨hmodel, V, cV, akV, aHV, aHPV, hkHV, hHPV, heV, f, hg, hcoord, e, hcomm, v, hv, hw, hcover⟩ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.CoordinateRetraction.Construction |