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 | /-! # Open Chart Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compose actual pointed open charts without changing the boundary labels. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {k R S : Type u} {ι : Type v} [CommRing k] [CommRing R] [CommRing S] |
| 16 | [Algebra k R] [Algebra k S] |
| 17 | |
| 18 | def Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart.comp {v : ι → S} {q : PrimeSpectrum S} |
| 19 | (C : Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k (.of S) v q) (f : R →ₐ[k] S) |
| 20 | [IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom))] |
| 21 | (w : ι → R) (hw : ∀ j, f (w j) = v j) (p : PrimeSpectrum R) |
| 22 | (hq : PrimeSpectrum.comap f.toRingHom q = p) : |
| 23 | Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k (.of R) w p := by |
| 24 | refine { carrier := C.carrier |
| 25 | algebra := C.algebra |
| 26 | map := C.map.comp f |
| 27 | isOpenImmersion := ?_ |
| 28 | point := C.point |
| 29 | point_over := ?_ |
| 30 | model := ?_ } |
| 31 | · change IsOpenImmersion (Spec.map |
| 32 | (CommRingCat.ofHom f.toRingHom ≫ CommRingCat.ofHom C.map.toRingHom)) |
| 33 | rw [Spec.map_comp] |
| 34 | infer_instance |
| 35 | · apply PrimeSpectrum.ext |
| 36 | change C.point.asIdeal.comap (C.map.toRingHom.comp f.toRingHom) = p.asIdeal |
| 37 | have hC : C.point.asIdeal.comap C.map.toRingHom = q.asIdeal := |
| 38 | congrArg PrimeSpectrum.asIdeal C.point_over |
| 39 | have hq' : q.asIdeal.comap f.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hq |
| 40 | rw [← Ideal.comap_comap, hC, hq'] |
| 41 | · have he : (fun j => (C.map.comp f) (w j)) = (fun j => C.map (v j)) := by |
| 42 | funext j |
| 43 | exact congrArg C.map (hw j) |
| 44 | rw [he] |
| 45 | exact C.model |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Resolution.Blowups |