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.Smooth.AffineEtaleControlTree |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 3 | |
| 4 | /-! # Hypersurface Tree Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.HypersurfaceTreeCover.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Completing a finite hypersurface refinement cover by its terminal complement. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (k : Type u) [CommRing k] |
| 17 | |
| 18 | /-- A finite étale family covering the hypersurface, together with its |
| 19 | already constructed child trees, gives a full ambient tree. The complementary |
| 20 | principal open is terminal and introduces no additional blowup depth. -/ |
| 21 | theorem exists_control_tree_of_hypersurface_cover |
| 22 | (R : CommRingCat.{u}) [Algebra k R] [Algebra.Smooth k R] |
| 23 | (J : Ideal R) (z : R) (n m : ℕ) (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 24 | (ι : Type u) [Fintype ι] (S : ι → CommRingCat.{u}) [∀ i, Algebra k (S i)] |
| 25 | (f : ∀ i, R →ₐ[k] S i) (hf : ∀ i, (f i).toRingHom.Etale) |
| 26 | (hcover : ∀ p : PrimeSpectrum R, z ∈ p.asIdeal → |
| 27 | ∃ i, ∃ q : PrimeSpectrum (S i), PrimeSpectrum.comap (f i).toRingHom q = p) |
| 28 | (children : ∀ i, Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) (S i) (J.map (f i).toRingHom)) |
| 29 | (hdepth : ∀ i, (children i).blowupDepth ≤ m) : |
| 30 | ∃ T : Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) R J, T.blowupDepth ≤ m := by |
| 31 | classical |
| 32 | let A : Option ι → CommRingCat.{u} |
| 33 | | none => .of (Localization.Away z) |
| 34 | | some i => S i |
| 35 | let aA : ∀ j, Algebra k (A j) := by |
| 36 | intro j |
| 37 | cases j with |
| 38 | | none => exact inferInstanceAs (Algebra k (Localization.Away z)) |
| 39 | | some i => exact inferInstanceAs (Algebra k (S i)) |
| 40 | let aInst : ∀ j, Algebra k (A j) := aA |
| 41 | let g : ∀ j, R →ₐ[k] A j := by |
| 42 | intro j |
| 43 | cases j with |
| 44 | | none => exact IsScalarTower.toAlgHom k R (Localization.Away z) |
| 45 | | some i => exact f i |
| 46 | have hg : ∀ j, (g j).toRingHom.Etale := by |
| 47 | intro j |
| 48 | cases j with |
| 49 | | none => exact RingHom.etale_algebraMap.mpr (Algebra.Etale.of_isLocalizationAway z) |
| 50 | | some i => exact hf i |
| 51 | have hcov (p : PrimeSpectrum R) : ∃ j, ∃ q : PrimeSpectrum (A j), |
| 52 | PrimeSpectrum.comap (g j).toRingHom q = p := by |
| 53 | by_cases hp : z ∈ p.asIdeal |
| 54 | · obtain ⟨i, q, hq⟩ := hcover p hp |
| 55 | exact ⟨some i, q, hq⟩ |
| 56 | · obtain ⟨q, hq⟩ := RefinementHelpers.Construction.exists_localization_away_prime z p hp |
| 57 | exact ⟨none, q, hq⟩ |
| 58 | let next : ∀ j, Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) (A j) (J.map (g j).toRingHom) := by |
| 59 | intro j |
| 60 | cases j with |
| 61 | | none => |
| 62 | apply Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree.terminal |
| 63 | rw [Nat.add_sub_cancel, ← Blowups.Smooth.DifferentialMap.Construction.smooth_iteratedRelativeDifferentialIdeal_map k (g none) (hg none) J n] |
| 64 | apply Ideal.eq_top_of_isUnit_mem _ (Ideal.mem_map_of_mem (g none).toRingHom hz) |
| 65 | change IsUnit (algebraMap R (Localization.Away z) z) |
| 66 | exact IsLocalization.Away.algebraMap_isUnit z |
| 67 | | some i => exact children i |
| 68 | refine ⟨.refineEtale (Option ι) A g hg hcov next, ?_⟩ |
| 69 | change (Finset.univ.sup fun j => (next j).blowupDepth) ≤ m |
| 70 | apply Finset.sup_le |
| 71 | intro j _ |
| 72 | cases j with |
| 73 | | none => exact Nat.zero_le _ |
| 74 | | some i => exact hdepth i |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.HypersurfaceTreeCover.Construction |