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.Modeled.LogarithmicHypersurface |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Operations |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.ModelRestriction |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.Logarithmic |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.LogarithmicBoundary |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 7 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.PrimeOrderNaturality |
| 8 | |
| 9 | /-! # Active Modeled Boundary Chart -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ActiveModeledBoundaryChart.Construction |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Actual pointed opens retaining exactly the active original boundary labels and their logarithmic bound. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | structure ActiveModeledBoundaryOpenChart (k : Type u) [CommRing k] |
| 22 | (R : CommRingCat.{u}) [Algebra k R] {ι : Type v} (w : ι → R) |
| 23 | (J : Ideal R) (m : ℕ) (p : PrimeSpectrum R) where |
| 24 | denominator : R |
| 25 | denominator_not_mem : denominator ∉ p.asIdeal |
| 26 | active : Finset ι |
| 27 | active_iff : ∀ j, j ∈ active ↔ w j ∈ p.asIdeal |
| 28 | point : PrimeSpectrum (Localization.Away denominator) |
| 29 | point_over : PrimeSpectrum.comap (algebraMap R (Localization.Away denominator)) point = p |
| 30 | inactive_units : ∀ j, j ∉ active → IsUnit (algebraMap R (Localization.Away denominator) (w j)) |
| 31 | model : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k (Localization.Away denominator) active |
| 32 | (fun j => algebraMap R (Localization.Away denominator) (w j.val)) |
| 33 | logarithmicBound : Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k |
| 34 | (fun j : active => algebraMap R (Localization.Away denominator) (w j.val)) |
| 35 | (J.map (algebraMap R (Localization.Away denominator))) m = ⊤ |
| 36 | |
| 37 | /-- Isolating the active original labels uses an actual localization, |
| 38 | preserves the original prime, and carries both the boundary model and |
| 39 | the stronger relative logarithmic order bound to that open. -/ |
| 40 | theorem exists_active_modeled_boundary_open_chart {k : Type u} [CommRing k] |
| 41 | (R : CommRingCat.{u}) [Algebra k R] {ι : Type v} [Fintype ι] |
| 42 | (w : ι → R) (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) (J : Ideal R) (m : ℕ) |
| 43 | (p : PrimeSpectrum R) |
| 44 | (hbound : Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w J m = ⊤) : |
| 45 | Nonempty (ActiveModeledBoundaryOpenChart k R w J m p) := by |
| 46 | classical |
| 47 | have hs : Function.Surjective (fun j : (Finset.univ : Finset ι) => j.val) := |
| 48 | fun j => ⟨⟨j, Finset.mem_univ j⟩, rfl⟩ |
| 49 | have hfull : Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k |
| 50 | (fun j : (Finset.univ : Finset ι) => w j.val) J m = ⊤ := |
| 51 | (Relative.LogarithmicBoundary.Construction.iteratedRelativeLogarithmicDifferentialIdeal_surjective_reindex k w _ hs J m).trans hbound |
| 52 | obtain ⟨B, t, _, ht, hactive, hunit, hlog⟩ := Relative.Logarithmic.Construction.exists_relative_active_boundary_neighborhood |
| 53 | k w Finset.univ J p.asIdeal m hfull |
| 54 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime t p ht |
| 55 | let f : R →ₐ[k] Localization.Away t := IsScalarTower.toAlgHom k R (Localization.Away t) |
| 56 | have hf : f.toRingHom.Etale := RingHom.etale_algebraMap.mpr inferInstance |
| 57 | let e : B ↪ ι := ⟨Subtype.val, Subtype.val_injective⟩ |
| 58 | exact ⟨{ denominator := t |
| 59 | denominator_not_mem := ht |
| 60 | active := B |
| 61 | active_iff := fun j => hactive j (Finset.mem_univ j) |
| 62 | point := Q |
| 63 | point_over := hQ |
| 64 | inactive_units := fun j hj => hunit j (Finset.mem_univ j) hj |
| 65 | model := (M.reindex e).baseChange f hf |
| 66 | logarithmicBound := hlog }⟩ |
| 67 | |
| 68 | variable {k : Type u} [CommRing k] {R : CommRingCat.{u}} [Algebra k R] |
| 69 | {ι : Type v} {w : ι → R} {J : Ideal R} {m : ℕ} {p : PrimeSpectrum R} |
| 70 | |
| 71 | theorem ActiveModeledBoundaryOpenChart.active_equations_mem |
| 72 | (C : ActiveModeledBoundaryOpenChart k R w J m p) (j : C.active) : |
| 73 | algebraMap R (Localization.Away C.denominator) (w j.val) ∈ C.point.asIdeal := by |
| 74 | have hq : C.point.asIdeal.comap (algebraMap R (Localization.Away C.denominator)) = p.asIdeal := |
| 75 | congrArg PrimeSpectrum.asIdeal C.point_over |
| 76 | change w j.val ∈ C.point.asIdeal.comap (algebraMap R (Localization.Away C.denominator)) |
| 77 | rw [hq] |
| 78 | exact (C.active_iff j.val).mp j.property |
| 79 | |
| 80 | /-- The chosen open has exactly the original ideal order at the lifted |
| 81 | prime; passing to the active boundary chart does not lose the order condition. -/ |
| 82 | theorem ActiveModeledBoundaryOpenChart.local_order |
| 83 | (C : ActiveModeledBoundaryOpenChart k R w J m p) |
| 84 | (hJ : J.map (algebraMap R (Localization.AtPrime p.asIdeal)) ≤ |
| 85 | IsLocalRing.maximalIdeal (Localization.AtPrime p.asIdeal) ^ m) : |
| 86 | (J.map (algebraMap R (Localization.Away C.denominator))).map |
| 87 | (algebraMap (Localization.Away C.denominator) (Localization.AtPrime C.point.asIdeal)) ≤ |
| 88 | IsLocalRing.maximalIdeal (Localization.AtPrime C.point.asIdeal) ^ m := by |
| 89 | have hf : (algebraMap R (Localization.Away C.denominator)).Etale := |
| 90 | RingHom.etale_algebraMap.mpr inferInstance |
| 91 | have hq : C.point.asIdeal.comap (algebraMap R (Localization.Away C.denominator)) = p.asIdeal := |
| 92 | congrArg PrimeSpectrum.asIdeal C.point_over |
| 93 | exact (Blowups.Etale.PrimeOrderNaturality.Construction.etale_map_prime_order_iff _ hf J p.asIdeal C.point.asIdeal hq.symm m).mpr hJ |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.Resolution.Blowups.ActiveModeledBoundaryChart.Construction |