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.AbelianModuli.HilbertConstruction.Cartesian.OpenImmersionIsomorphism |
| 2 | |
| 3 | /-! # Immersion Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ImmersionTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Affine open immersions transport across commuting ring isomorphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem isOpenImmersion_SpecMap_of_conjugate |
| 16 | {A B A' B' : Type u} [CommRing A] [CommRing B] [CommRing A'] [CommRing B'] |
| 17 | (φ : A →+* B) (ψ : A' →+* B') (eA : A ≃+* A') (eB : B ≃+* B') |
| 18 | (w : ∀ x, eB (φ x) = ψ (eA x)) |
| 19 | [IsOpenImmersion (Spec.map (CommRingCat.ofHom φ))] : |
| 20 | IsOpenImmersion (Spec.map (CommRingCat.ofHom ψ)) := by |
| 21 | have : IsIso (CommRingCat.ofHom eA.toRingHom) := |
| 22 | (ConcreteCategory.isIso_iff_bijective _).mpr eA.bijective |
| 23 | have : IsIso (CommRingCat.ofHom eB.toRingHom) := |
| 24 | (ConcreteCategory.isIso_iff_bijective _).mpr eB.bijective |
| 25 | have hw : Spec.map (CommRingCat.ofHom eB.toRingHom) ≫ Spec.map (CommRingCat.ofHom φ) = |
| 26 | Spec.map (CommRingCat.ofHom ψ) ≫ Spec.map (CommRingCat.ofHom eA.toRingHom) := by |
| 27 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 28 | congr 1 |
| 29 | exact CommRingCat.hom_ext (RingHom.ext w) |
| 30 | have hc : IsOpenImmersion |
| 31 | (Spec.map (CommRingCat.ofHom eB.toRingHom) ≫ Spec.map (CommRingCat.ofHom φ)) := inferInstance |
| 32 | have : IsOpenImmersion |
| 33 | (Spec.map (CommRingCat.ofHom ψ) ≫ Spec.map (CommRingCat.ofHom eA.toRingHom)) := |
| 34 | (congrArg (fun f => IsOpenImmersion f) hw).mp hc |
| 35 | exact IsOpenImmersion.of_comp (Spec.map (CommRingCat.ofHom ψ)) |
| 36 | (Spec.map (CommRingCat.ofHom eA.toRingHom)) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ImmersionTransport |