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.FixedNormalBoundaryOpen |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.ModeledCoordinateRetraction |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.RetractionDimension |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.Dimension |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 6 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 7 | |
| 8 | /-! # Normal Line Neighborhood -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.NormalLineNeighborhood.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A specified smooth normal equation admits a pointed étale-line retraction with one smaller coefficient dimension. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem exists_smooth_normal_line_neighborhood |
| 21 | (k : Type u) [Field k] [CharZero k] {R : Type u} [CommRing R] |
| 22 | [Algebra k R] [Algebra.Smooth k R] (z : R) (D : Derivation k R R) (hD : D z = 1) |
| 23 | (q : PrimeSpectrum R) (hzq : z ∈ q.asIdeal) (d : ℕ) (hd : ringKrullDim R ≤ (d + 1 : ℕ)) : |
| 24 | ∃ (H : CommRingCat.{u}) (_ : Algebra k H) (_ : Algebra.Smooth k H), |
| 25 | ringKrullDim H ≤ d ∧ |
| 26 | ∃ (V : CommRingCat.{u}) (_ : Algebra k V) (_ : Algebra H V) (_ : Algebra (Polynomial H) V), |
| 27 | IsScalarTower k H V ∧ IsScalarTower H (Polynomial H) V ∧ Algebra.Etale (Polynomial H) V ∧ |
| 28 | ∃ g : R →ₐ[k] V, g.toRingHom.Etale ∧ |
| 29 | g z = algebraMap (Polynomial H) V Polynomial.X ∧ |
| 30 | ∃ _e : (V ⧸ Ideal.span {algebraMap (Polynomial H) V Polynomial.X}) ≃ₐ[H] H, |
| 31 | ∃ Q : PrimeSpectrum V, PrimeSpectrum.comap g.toRingHom Q = q := by |
| 32 | classical |
| 33 | let : q.asIdeal.IsPrime := q.isPrime |
| 34 | obtain ⟨s, hs, r, pAlg, htor, het⟩ := |
| 35 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := k) (p := q.asIdeal) |
| 36 | let S := Localization.Away s |
| 37 | let : Algebra (MvPolynomial (Fin r) k) S := pAlg |
| 38 | let : IsScalarTower k (MvPolynomial (Fin r) k) S := htor |
| 39 | let : Algebra.IsStandardEtale (MvPolynomial (Fin r) k) S := het |
| 40 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway s |
| 41 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 42 | have hf : f.toRingHom.Etale := RingHom.etale_algebraMap.mpr inferInstance |
| 43 | let E := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D |
| 44 | have hE : E (f z) = 1 := by |
| 45 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D (algebraMap R S z) = 1 |
| 46 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD, map_one] |
| 47 | let P := MvPolynomial (Fin r) k |
| 48 | let ε := MvPolynomial.renameEquiv k (Equiv.ulift : ULift.{u} (Fin r) ≃ Fin r) |
| 49 | let φ := (algebraMap P S).comp ε.toRingHom |
| 50 | have hφ : φ.Etale := RingHom.Etale.stableUnderComposition ε.toRingHom (algebraMap P S) |
| 51 | (RingHom.Etale.of_bijective ε.bijective) (RingHom.etale_algebraMap.mpr inferInstance) |
| 52 | have hφk (c : k) : φ (MvPolynomial.C c) = algebraMap k S c := by |
| 53 | change algebraMap P S (MvPolynomial.rename (Equiv.ulift : ULift.{u} (Fin r) ≃ Fin r) (MvPolynomial.C c)) = _ |
| 54 | rw [MvPolynomial.rename_C] |
| 55 | exact (IsScalarTower.algebraMap_apply k P S c).symm |
| 56 | let w : Empty → S := Empty.elim |
| 57 | let M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k S Empty w := { |
| 58 | indices := ULift.{u} (Fin r) |
| 59 | finite := inferInstance |
| 60 | decidableEq := inferInstance |
| 61 | map := φ |
| 62 | etale := hφ |
| 63 | ground := hφk |
| 64 | coordinate := Empty.elim |
| 65 | distinct := fun i => Empty.elim i |
| 66 | multiplier := Empty.elim |
| 67 | multiplierUnit := fun i => Empty.elim i |
| 68 | equation := fun i => Empty.elim i } |
| 69 | obtain ⟨qS, hqS⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime s q hs |
| 70 | have hzS : f z ∈ qS.asIdeal := by |
| 71 | have he : qS.asIdeal.comap f.toRingHom = q.asIdeal := congrArg PrimeSpectrum.asIdeal hqS |
| 72 | change z ∈ qS.asIdeal.comap f.toRingHom |
| 73 | rw [he] |
| 74 | exact hzq |
| 75 | obtain ⟨C⟩ := FixedNormalBoundaryOpen.Construction.exists_fixed_normal_boundary_open (.of S) w M E (fun i => Empty.elim i) (f z) hE qS |
| 76 | let A := C.chart.carrier |
| 77 | let g₀ : R →ₐ[k] A := C.chart.map.comp f |
| 78 | have hC : C.chart.map.toRingHom.Etale := |
| 79 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom C.chart.map.toRingHom)).mp inferInstance |
| 80 | have hg₀ : g₀.toRingHom.Etale := RingHom.Etale.stableUnderComposition f.toRingHom C.chart.map.toRingHom hf hC |
| 81 | have hzA : C.chart.map (f z) ∈ C.chart.point.asIdeal := by |
| 82 | have he : C.chart.point.asIdeal.comap C.chart.map.toRingHom = qS.asIdeal := |
| 83 | congrArg PrimeSpectrum.asIdeal C.chart.point_over |
| 84 | change f z ∈ C.chart.point.asIdeal.comap C.chart.map.toRingHom |
| 85 | rw [he] |
| 86 | exact hzS |
| 87 | let : Algebra (MvPolynomial C.chart.model.indices k) A := C.chart.model.map.toAlgebra |
| 88 | let : Algebra.Etale (MvPolynomial C.chart.model.indices k) A := RingHom.etale_algebraMap.mp C.chart.model.etale |
| 89 | let : IsScalarTower k (MvPolynomial C.chart.model.indices k) A := |
| 90 | IsScalarTower.of_algebraMap_eq (fun c => (C.chart.model.ground c).symm) |
| 91 | let H := MvPolynomialRetraction.Construction.coordinateLineFiber (k := k) (R := A) C.normalIndex |
| 92 | let : Algebra.Smooth k H := Coordinate.RetractionDimension.Construction.coordinateLineFiber_smooth C.normalIndex |
| 93 | have hdA : ringKrullDim A ≤ (d + 1 : ℕ) := (Blowups.Etale.Dimension.Construction.ringKrullDim_le_of_etale g₀.toRingHom hg₀).trans hd |
| 94 | have hdH : ringKrullDim H ≤ d := Coordinate.RetractionDimension.Construction.coordinateLineFiber_dimension_induction C.normalIndex d hdA |
| 95 | obtain ⟨V, cV, akV, aHV, aHPV, hkHV, hHPV, heV, g, hg, hnormal, e, _, _, _, _, Q, hQ, _⟩ := |
| 96 | Pointed.ModeledCoordinateRetraction.Construction.exists_pointed_modeled_coordinate_retraction C.chart.model C.normalIndex C.normal_unused |
| 97 | (C.chart.map (f z)) C.normal_eq C.chart.point hzA |
| 98 | let h : R →ₐ[k] V := g.comp g₀ |
| 99 | have hh : h.toRingHom.Etale := RingHom.Etale.stableUnderComposition g₀.toRingHom g.toRingHom hg₀ hg |
| 100 | refine ⟨.of H, inferInstance, inferInstance, hdH, .of V, akV, aHV, aHPV, hkHV, hHPV, heV, |
| 101 | h, hh, hnormal, e, Q, ?_⟩ |
| 102 | change PrimeSpectrum.comap f.toRingHom |
| 103 | (PrimeSpectrum.comap C.chart.map.toRingHom (PrimeSpectrum.comap g.toRingHom Q)) = q |
| 104 | rw [hQ, C.chart.point_over] |
| 105 | exact hqS |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.NormalLineNeighborhood.Construction |