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.BoundaryModel |
| 2 | |
| 3 | /-! # Operations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Preserve explicit boundary models under actual étale maps and invertible equation changes. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {k R S : Type u} {ι : Type v} [CommRing k] [CommRing R] [CommRing S] |
| 14 | [Algebra k R] [Algebra k S] {w : ι → R} |
| 15 | |
| 16 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.baseChange (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 17 | (f : R →ₐ[k] S) (hf : f.toRingHom.Etale) : |
| 18 | Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k S ι (fun j => f (w j)) where |
| 19 | indices := M.indices |
| 20 | finite := M.finite |
| 21 | decidableEq := M.decidableEq |
| 22 | map := f.toRingHom.comp M.map |
| 23 | etale := RingHom.Etale.stableUnderComposition _ _ M.etale hf |
| 24 | ground c := by |
| 25 | change f (M.map (MvPolynomial.C c)) = _ |
| 26 | rw [M.ground, f.commutes] |
| 27 | coordinate := M.coordinate |
| 28 | distinct := M.distinct |
| 29 | multiplier := fun j => f (M.multiplier j) |
| 30 | multiplierUnit j := (M.multiplierUnit j).map f.toRingHom |
| 31 | equation j := by |
| 32 | rw [M.equation j, map_mul] |
| 33 | cases M.coordinate j <;> simp |
| 34 | |
| 35 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.mulUnits (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 36 | (u : ι → R) (hu : ∀ j, IsUnit (u j)) : |
| 37 | Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι (fun j => u j * w j) where |
| 38 | indices := M.indices |
| 39 | finite := M.finite |
| 40 | decidableEq := M.decidableEq |
| 41 | map := M.map |
| 42 | etale := M.etale |
| 43 | ground := M.ground |
| 44 | coordinate := M.coordinate |
| 45 | distinct := M.distinct |
| 46 | multiplier := fun j => u j * M.multiplier j |
| 47 | multiplierUnit j := (hu j).mul (M.multiplierUnit j) |
| 48 | equation j := by rw [M.equation j, mul_assoc] |
| 49 | |
| 50 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.adjoinUnit (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 51 | (c : R) (hc : IsUnit c) : |
| 52 | Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R (Option ι) (fun j => match j with | none => c | some i => w i) where |
| 53 | indices := M.indices |
| 54 | finite := M.finite |
| 55 | decidableEq := M.decidableEq |
| 56 | map := M.map |
| 57 | etale := M.etale |
| 58 | ground := M.ground |
| 59 | coordinate := fun j => match j with | none => none | some i => M.coordinate i |
| 60 | distinct i j s hi hj := by |
| 61 | cases i with |
| 62 | | none => cases hi |
| 63 | | some i => |
| 64 | cases j with |
| 65 | | none => cases hj |
| 66 | | some j => exact congrArg some (M.distinct i j s hi hj) |
| 67 | multiplier := fun j => match j with | none => c | some i => M.multiplier i |
| 68 | multiplierUnit j := by |
| 69 | cases j with |
| 70 | | none => exact hc |
| 71 | | some i => exact M.multiplierUnit i |
| 72 | equation j := by |
| 73 | cases j with |
| 74 | | none => exact (mul_one c).symm |
| 75 | | some i => exact M.equation i |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Resolution.Blowups |