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.Boundary.CoordinateCenterChart |
| 2 | |
| 3 | /-! # Center Chart Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compose pointed coordinate-center charts with their original base opens. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {k : Type u} [CommRing k] {R S : CommRingCat.{u}} [Algebra k R] [Algebra k S] |
| 16 | |
| 17 | def Boundary.CoordinateCenterChart.Construction.BoundaryCoordinateCenterOpenChart.comp (f : R →ₐ[k] S) |
| 18 | [IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom))] |
| 19 | (I : Ideal R) {n : ℕ} (w : Fin n → R) (p : PrimeSpectrum R) (q : PrimeSpectrum S) |
| 20 | (hq : PrimeSpectrum.comap f.toRingHom q = p) |
| 21 | (C : Boundary.CoordinateCenterChart.Construction.BoundaryCoordinateCenterOpenChart k S (I.map f.toRingHom) (fun j => f (w j)) q) : |
| 22 | Boundary.CoordinateCenterChart.Construction.BoundaryCoordinateCenterOpenChart k R I w p := by |
| 23 | refine { carrier := C.carrier |
| 24 | algebra := C.algebra |
| 25 | map := C.map.comp f |
| 26 | isOpenImmersion := ?_ |
| 27 | point := C.point |
| 28 | point_over := ?_ |
| 29 | indices := C.indices |
| 30 | finite := C.finite |
| 31 | decidableEq := C.decidableEq |
| 32 | coordinateMap := C.coordinateMap |
| 33 | coordinateEtale := C.coordinateEtale |
| 34 | coordinateGround := C.coordinateGround |
| 35 | centerIndices := C.centerIndices |
| 36 | centerIdeal := ?_ |
| 37 | boundaryIndex := C.boundaryIndex |
| 38 | boundary_in_center := C.boundary_in_center |
| 39 | boundaryCoordinates := C.boundaryCoordinates } |
| 40 | · change IsOpenImmersion (Spec.map |
| 41 | (CommRingCat.ofHom f.toRingHom ≫ CommRingCat.ofHom C.map.toRingHom)) |
| 42 | rw [Spec.map_comp] |
| 43 | infer_instance |
| 44 | · apply PrimeSpectrum.ext |
| 45 | change C.point.asIdeal.comap (C.map.toRingHom.comp f.toRingHom) = p.asIdeal |
| 46 | have hC : C.point.asIdeal.comap C.map.toRingHom = q.asIdeal := |
| 47 | congrArg PrimeSpectrum.asIdeal C.point_over |
| 48 | have hq' : q.asIdeal.comap f.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hq |
| 49 | rw [← Ideal.comap_comap, hC, hq'] |
| 50 | · change I.map (C.map.toRingHom.comp f.toRingHom) = _ |
| 51 | rw [← Ideal.map_map] |
| 52 | exact C.centerIdeal |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Resolution.Blowups |