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.Etale.Monomial |
| 2 | |
| 3 | /-! # Boundary Model -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.BoundaryModel.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Explicit étale normal-crossing models for individually labelled boundary equations. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | /-- Each labelled equation is an invertible factor times a distinct |
| 16 | coordinate, or is itself invertible. The actual étale map retains the |
| 17 | original ground algebra. -/ |
| 18 | structure EtaleBoundaryModel (k A : Type u) (ι : Type v) [CommRing k] [CommRing A] |
| 19 | [Algebra k A] (w : ι → A) where |
| 20 | indices : Type u |
| 21 | finite : Fintype indices |
| 22 | decidableEq : DecidableEq indices |
| 23 | map : MvPolynomial indices k →+* A |
| 24 | etale : map.Etale |
| 25 | ground : ∀ c : k, map (MvPolynomial.C c) = algebraMap k A c |
| 26 | coordinate : ι → Option indices |
| 27 | distinct : ∀ i j s, coordinate i = some s → coordinate j = some s → i = j |
| 28 | multiplier : ι → A |
| 29 | multiplierUnit : ∀ j, IsUnit (multiplier j) |
| 30 | equation : ∀ j, w j = multiplier j * |
| 31 | match coordinate j with |
| 32 | | none => 1 |
| 33 | | some s => map (MvPolynomial.X s) |
| 34 | |
| 35 | attribute [instance] EtaleBoundaryModel.finite EtaleBoundaryModel.decidableEq |
| 36 | |
| 37 | /-- A normal-crossing model on an actual affine open through a specified |
| 38 | point, with all equations pulled back by the displayed algebra map. -/ |
| 39 | structure EtaleBoundaryOpenChart (k : Type u) [CommRing k] |
| 40 | (R : CommRingCat.{u}) [Algebra k R] {ι : Type v} (w : ι → R) |
| 41 | (p : PrimeSpectrum R) where |
| 42 | carrier : CommRingCat.{u} |
| 43 | algebra : Algebra k carrier |
| 44 | map : R →ₐ[k] carrier |
| 45 | isOpenImmersion : IsOpenImmersion (Spec.map (CommRingCat.ofHom map.toRingHom)) |
| 46 | point : PrimeSpectrum carrier |
| 47 | point_over : PrimeSpectrum.comap map.toRingHom point = p |
| 48 | model : EtaleBoundaryModel k carrier ι (fun j => map (w j)) |
| 49 | |
| 50 | attribute [instance] EtaleBoundaryOpenChart.algebra EtaleBoundaryOpenChart.isOpenImmersion |
| 51 | |
| 52 | variable {k A : Type u} {ι : Type v} [CommRing k] [CommRing A] [Algebra k A] |
| 53 | {w : ι → A} (M : EtaleBoundaryModel k A ι w) |
| 54 | |
| 55 | theorem EtaleBoundaryModel.component_ideal (j : ι) : |
| 56 | Ideal.span {w j} = match M.coordinate j with |
| 57 | | none => ⊤ |
| 58 | | some s => Ideal.span {M.map (MvPolynomial.X s)} := by |
| 59 | rw [M.equation j] |
| 60 | cases h : M.coordinate j with |
| 61 | | none => |
| 62 | dsimp only |
| 63 | rw [mul_one, Ideal.span_singleton_eq_top] |
| 64 | exact M.multiplierUnit j |
| 65 | | some s => |
| 66 | dsimp only |
| 67 | exact Ideal.span_singleton_mul_left_unit (M.multiplierUnit j) _ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.BoundaryModel.Construction |