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.Relative.FiniteTargetFieldDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ParameterLevelPointComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.PullbackMapEquality |
| 4 | |
| 5 | /-! # Finite Target Field Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.FiniteTargetFieldDetection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite-target pointed-map detection holds on every test scheme of |
| 12 | fixed Noetherian projective abelian families. Local-ring pullbacks remove |
| 13 | the affine restriction without requiring descent of the finite target. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {S : Scheme.{u}} [IsNoetherian S] {g h : ℕ} |
| 20 | variable (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 21 | variable (PA : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (PB : Projective.ProjectivePresentations.ProjectivePresentation B.scheme) |
| 22 | variable (T : Over S) (D : Over T.left) [GrpObj D] |
| 23 | variable (r : D ⟶ (B.pullback T.hom).scheme) [IsMonHom r] [IsFinite r.left] |
| 24 | |
| 25 | include PA PB r in |
| 26 | theorem universalFiniteTarget_pointedMap_eq_of_fieldPullbacks |
| 27 | (f q : (A.pullback T.hom).scheme ⟶ D) |
| 28 | (hf : η[(A.pullback T.hom).scheme] ≫ f = η[D]) |
| 29 | (hq : η[(A.pullback T.hom).scheme] ≫ q = η[D]) |
| 30 | (he : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ T.left), |
| 31 | (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 32 | apply HilbertConstruction.Over.HomLocalRingDetection.overHom_eq_of_allLocalRingPullbacks |
| 33 | intro R _ _ s |
| 34 | let U : Over S := Over.mk (s ≫ T.hom) |
| 35 | let c : U ⟶ T := Over.homMk s rfl |
| 36 | let F : Over T.left ⥤ Over U.left := Over.pullback s |
| 37 | let eA : (A.pullback U.hom).scheme ≅ F.obj (A.pullback T.hom).scheme := A.parameterPullbackIso c |
| 38 | let eB : (B.pullback U.hom).scheme ≅ F.obj (B.pullback T.hom).scheme := B.parameterPullbackIso c |
| 39 | let : IsMonHom eA.hom := Abelian.Schemes.AbelianScheme.parameterPullbackIso_isMonHom c A |
| 40 | let : IsIso eB.inv.left := |
| 41 | inferInstanceAs (IsIso (((Over.forget U.left).mapIso eB).inv)) |
| 42 | let : IsMonHom eB.inv := |
| 43 | Abelian.Schemes.AbelianScheme.parameterPullbackIso_symm_isMonHom c B |
| 44 | let : IsFinite eB.inv.left := inferInstance |
| 45 | let : IsAffine U.left := inferInstanceAs (IsAffine (Spec (.of R))) |
| 46 | let r' : F.obj D ⟶ (B.pullback U.hom).scheme := F.map r ≫ eB.inv |
| 47 | let : IsFinite (F.map r).left := |
| 48 | MorphismProperty.of_isPullback (Projective.PresentationBaseChange.overPullback_map_isPullback r s) inferInstance |
| 49 | let : IsFinite r'.left := inferInstanceAs (IsFinite ((F.map r).left ≫ eB.inv.left)) |
| 50 | let : IsMonHom r' := inferInstanceAs (IsMonHom (F.map r ≫ eB.inv)) |
| 51 | have hF : η[((A.pullback T.hom).pullback s).scheme] ≫ F.map f = η[F.obj D] := |
| 52 | (MappedMonoidHomEquations.mappedMonoidHom_one_iff F f).mpr (congrArg F.map hf) |
| 53 | have hQ : η[((A.pullback T.hom).pullback s).scheme] ≫ F.map q = η[F.obj D] := |
| 54 | (MappedMonoidHomEquations.mappedMonoidHom_one_iff F q).mpr (congrArg F.map hq) |
| 55 | apply (cancel_epi eA.hom).mp |
| 56 | refine Relative.FiniteTargetFieldDetection.relativeFiniteTarget_pointedMap_eq_of_fieldPullbacks A B PA PB U (F.obj D) r' |
| 57 | (eA.hom ≫ F.map f) (eA.hom ≫ F.map q) ?_ ?_ ?_ |
| 58 | · rw [← Category.assoc, IsMonHom.one_hom, hF] |
| 59 | · rw [← Category.assoc, IsMonHom.one_hom, hQ] |
| 60 | · intro K _ t |
| 61 | have h : (Over.pullback t).map (F.map f) = (Over.pullback t).map (F.map q) := |
| 62 | (Iterated.PullbackMapEquality.overPullback_map_eq_iff_iterated t s f q).mp (he K (t ≫ s)) |
| 63 | rw [Functor.map_comp, Functor.map_comp, h] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.FiniteTargetFieldDetection |