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.ArithmeticGeometry.Models.SpreadingOut.SmoothComponents |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 3 | |
| 4 | /-! # Generic Faithfulness -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.GenericFaithfulness.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equality of morphisms between smooth separated models can be checked |
| 11 | on the generic fiber. This will descend group identities after the operations |
| 12 | have been spread out. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem spec_injective_schematically_dominant |
| 19 | {R K : Type u} [CommRing R] [Field K] [IsReduced R] |
| 20 | (φ : R →+* K) (hφ : Function.Injective φ) : |
| 21 | IsSchemeTheoreticallyDominant (Spec.map (CommRingCat.ofHom φ)) := by |
| 22 | have : IsDominant (Spec.map (CommRingCat.ofHom φ)) := by |
| 23 | constructor |
| 24 | apply (PrimeSpectrum.denseRange_comap_iff_ker_le_nilRadical φ).mpr |
| 25 | rw [(RingHom.injective_iff_ker_eq_bot φ).mp hφ] |
| 26 | exact bot_le |
| 27 | exact IsSchemeTheoreticallyDominant.of_isDominant _ |
| 28 | |
| 29 | theorem smooth_model_reduced_of_injective_generic |
| 30 | {R K : Type u} [CommRing R] [Field K] [IsReduced R] |
| 31 | (φ : R →+* K) (hφ : Function.Injective φ) |
| 32 | (X : Over (Spec (.of R))) [Smooth X.hom] : IsReduced X.left := by |
| 33 | let g := Spec.map (CommRingCat.ofHom φ) |
| 34 | have : IsSchemeTheoreticallyDominant g := spec_injective_schematically_dominant φ hφ |
| 35 | have : IsReduced (pullback X.hom g) := SmoothComponents.Construction.smooth_scheme_reduced (pullback.snd X.hom g) |
| 36 | exact IsSchemeTheoreticallyDominant.isReduced (pullback.fst X.hom g) |
| 37 | |
| 38 | theorem generic_pullback_map_injective |
| 39 | {R K : Type u} [CommRing R] [Field K] [IsReduced R] |
| 40 | (φ : R →+* K) (hφ : Function.Injective φ) |
| 41 | {X Y : Over (Spec (.of R))} [Smooth X.hom] [IsSeparated Y.hom] : |
| 42 | Function.Injective (fun f : X ⟶ Y ↦ |
| 43 | (Over.pullback (Spec.map (CommRingCat.ofHom φ))).map f) := by |
| 44 | let g := Spec.map (CommRingCat.ofHom φ) |
| 45 | have : IsSchemeTheoreticallyDominant g := spec_injective_schematically_dominant φ hφ |
| 46 | have : IsReduced X.left := smooth_model_reduced_of_injective_generic φ hφ X |
| 47 | intro f a h |
| 48 | apply Over.OverMorphism.ext |
| 49 | apply ext_of_isDominant_of_isSeparated Y.hom (f.w.trans a.w.symm) |
| 50 | (pullback.fst X.hom g) |
| 51 | have H := congrArg (fun k ↦ k.left ≫ pullback.fst Y.hom g) h |
| 52 | change ((Over.pullback g).map f).left ≫ pullback.fst Y.hom g = |
| 53 | ((Over.pullback g).map a).left ≫ pullback.fst Y.hom g at H |
| 54 | erw [pullback.lift_fst, pullback.lift_fst] at H |
| 55 | exact H |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.ArithmeticGeometry.Models.SpreadingOut.GenericFaithfulness.Construction |