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.Curve.BoundaryCenterLocalEquality |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.UnitBoundaryNormalCenter |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.UnitBoundaryPrincipalNeighborhood |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalContainmentNeighborhood |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Smooth |
| 6 | |
| 7 | /-! # Curve Boundary Center -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Intrinsic curve centers admit common coordinates with every labelled normal-crossing boundary. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.curve_center_chart_at_boundary |
| 20 | {k : Type u} [Field k] [IsAlgClosed k] {R : CommRingCat.{u}} |
| 21 | [Algebra k R] [Algebra ℚ R] {β : Type v} [Fintype β] {w : β → R} |
| 22 | (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R β w) (hd : ringKrullDim R ≤ 1) |
| 23 | (I : Ideal R) (hI : Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k I = ⊤) |
| 24 | (q : Ideal R) [q.IsMaximal] (hIq : I ≤ q) (j : β) (hj : w j ∈ q) : |
| 25 | ∃ F : Finset β, Nonempty (MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I w F ⟨q, inferInstance⟩) := by |
| 26 | classical |
| 27 | let : Algebra (MvPolynomial M.indices k) R := M.map.toAlgebra |
| 28 | let : IsScalarTower k (MvPolynomial M.indices k) R := |
| 29 | IsScalarTower.of_algebraMap_eq (fun c => (M.ground c).symm) |
| 30 | let : Algebra.Etale (MvPolynomial M.indices k) R := RingHom.etale_algebraMap.mp M.etale |
| 31 | let : Algebra.Smooth k R := M.smooth |
| 32 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing k R |
| 33 | cases hc : M.coordinate j with |
| 34 | | none => |
| 35 | have hu : IsUnit (w j) := by |
| 36 | rw [M.equation j, hc, mul_one] |
| 37 | exact M.multiplierUnit j |
| 38 | exact False.elim ((inferInstance : q.IsMaximal).ne_top (Ideal.eq_top_of_isUnit_mem q hj hu)) |
| 39 | | some i => |
| 40 | have hi : M.map (MvPolynomial.X i) ∈ q := by |
| 41 | apply (q.unit_mul_mem_iff_mem (M.multiplierUnit j)).mp |
| 42 | simpa only [M.equation j, hc] using hj |
| 43 | have hlocal : I.map (algebraMap R (Localization.AtPrime q)) = |
| 44 | (Ideal.span {M.map (MvPolynomial.X i)}).map (algebraMap R (Localization.AtPrime q)) := by |
| 45 | rw [Ideal.map_span, Set.image_singleton] |
| 46 | exact Curve.BoundaryCenterLocalEquality.Construction.etale_curve_center_local_eq_coordinate hd I hI q hIq i hi |
| 47 | obtain ⟨r, hr, he⟩ := LocalContainmentNeighborhood.Construction.exists_neighborhood_ideal_equality I (Ideal.span {M.map (MvPolynomial.X i)}) |
| 48 | q (IsNoetherian.noetherian I) (IsNoetherian.noetherian _) hlocal |
| 49 | let S := Localization.Away r |
| 50 | let φ : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 51 | have hφ : φ.toRingHom.Etale := RingHom.etale_algebraMap.mpr (Algebra.Etale.of_isLocalizationAway r) |
| 52 | let B := M.baseChange φ hφ |
| 53 | let F := Finset.univ.filter (fun l => M.coordinate l = some i) |
| 54 | obtain ⟨P, hP⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime r (⟨q, inferInstance⟩ : PrimeSpectrum R) hr |
| 55 | refine ⟨F, ⟨{ |
| 56 | chart := { |
| 57 | carrier := .of S |
| 58 | algebra := inferInstance |
| 59 | map := φ |
| 60 | isOpenImmersion := IsOpenImmersion.of_isLocalization r |
| 61 | point := P |
| 62 | point_over := hP |
| 63 | model := B } |
| 64 | coordinates := {i} |
| 65 | center_eq := ?_ |
| 66 | divided_iff := ?_ }⟩⟩ |
| 67 | · change I.map (algebraMap R S) = |
| 68 | (SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal ({i} : Finset M.indices)).map (φ.toRingHom.comp M.map) |
| 69 | rw [he, Ideal.map_span, Set.image_singleton, SubsetCoordinateBlowup.Construction.subsetCoordinateIdeal, |
| 70 | Finset.coe_singleton, Set.image_singleton, Ideal.map_span, Set.image_singleton] |
| 71 | rfl |
| 72 | · intro l |
| 73 | change l ∈ F ↔ ∃ s ∈ ({i} : Finset M.indices), M.coordinate l = some s |
| 74 | simp only [F, Finset.mem_filter, Finset.mem_univ, true_and, Finset.mem_singleton, |
| 75 | exists_eq_left] |
| 76 | |
| 77 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.curve_center_chart |
| 78 | {k : Type u} [Field k] [IsAlgClosed k] {R : CommRingCat.{u}} |
| 79 | [Algebra k R] [Algebra ℚ R] {β : Type v} [Fintype β] {w : β → R} |
| 80 | (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R β w) (hd : ringKrullDim R ≤ 1) |
| 81 | (I : Ideal R) (hI : Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k I = ⊤) |
| 82 | (q : Ideal R) [q.IsMaximal] (hIq : I ≤ q) : |
| 83 | ∃ F : Finset β, Nonempty (MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I w F ⟨q, inferInstance⟩) := by |
| 84 | classical |
| 85 | by_cases hw : ∃ j, w j ∈ q |
| 86 | · obtain ⟨j, hj⟩ := hw |
| 87 | exact M.curve_center_chart_at_boundary hd I hI q hIq j hj |
| 88 | · obtain ⟨r, hr, hunit⟩ := UnitBoundaryPrincipalNeighborhood.Construction.exists_unit_boundary_principal_neighborhood w |
| 89 | (⟨q, inferInstance⟩ : PrimeSpectrum R) (by simpa only [not_exists] using hw) |
| 90 | let S := Localization.Away r |
| 91 | let φ : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 92 | let : Algebra.Smooth k R := M.smooth |
| 93 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway r |
| 94 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 95 | let : IsNoetherianRing S := Algebra.FiniteType.isNoetherianRing k S |
| 96 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) := IsOpenImmersion.of_isLocalization r |
| 97 | have hI' : Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (I.map φ.toRingHom) = ⊤ := by |
| 98 | change Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k (I.map (algebraMap R S)) = ⊤ |
| 99 | rw [← Blowups.Smooth.DifferentialNaturality.Construction.smooth_firstRelativeDifferentialIdeal_baseChange k I, hI, Ideal.map_top] |
| 100 | obtain ⟨P, hP⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime r (⟨q, inferInstance⟩ : PrimeSpectrum R) hr |
| 101 | have hIP : I.map φ.toRingHom ≤ P.asIdeal := by |
| 102 | rw [Ideal.map_le_iff_le_comap] |
| 103 | exact hIq.trans_eq (congrArg PrimeSpectrum.asIdeal hP).symm |
| 104 | obtain ⟨C⟩ := UnitBoundaryNormalCenter.Construction.curve_center_unit_boundary_chart (.of S) |
| 105 | ((HypersurfaceDimension.Construction.localization_ringKrullDim_le (B := S) (Submonoid.powers r)).trans hd) |
| 106 | (I.map φ.toRingHom) hI' (fun j => φ (w j)) hunit P hIP |
| 107 | exact ⟨∅, ⟨C.comp (R := R) (S := .of S) I w ∅ φ ⟨q, inferInstance⟩ hP⟩⟩ |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Resolution.Blowups |