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.AbelianScheme.IsogenyQuotient.AlgebraicallyClosedHomDescent |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.QuotientFactor |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Quasi |
| 4 | |
| 5 | /-! # Recovered Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.RecoveredDescent.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Descent of a specified homomorphism through actual source and |
| 12 | target recoveries. Finite etale isogenies retain their geometry. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | variable (k K : Type) [Field k] [IsAlgClosed k] [Field K] [Algebra k K] |
| 18 | {g h : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))) |
| 19 | (C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) (D : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 20 | (eA : C.scheme ≅ (A.pullback (Spec.map (CommRingCat.ofHom (algebraMap k K)))).scheme) |
| 21 | (eB : D.scheme ≅ (B.pullback (Spec.map (CommRingCat.ofHom (algebraMap k K)))).scheme) |
| 22 | [IsMonHom eA.hom] [IsMonHom eB.hom] |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false in |
| 25 | theorem algebraicallyClosed_hom_of_recovery (f : C.scheme ⟶ D.scheme) [IsMonHom f] : |
| 26 | ∃ w : A.scheme ⟶ B.scheme, IsMonHom w ∧ |
| 27 | eA.hom ≫ (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap k K)))).map w = |
| 28 | f ≫ eB.hom := by |
| 29 | let f' := eA.inv ≫ f ≫ eB.hom |
| 30 | have : IsMonHom f' := inferInstance |
| 31 | obtain ⟨w, hw, he⟩ := AlgebraicallyClosedHomDescent.Construction.algebraicallyClosed_field_hom_descends k K A B f' |
| 32 | refine ⟨w, hw, ?_⟩ |
| 33 | rw [he] |
| 34 | exact eA.hom_inv_id_assoc (f ≫ eB.hom) |
| 35 | |
| 36 | set_option backward.isDefEq.respectTransparency false in |
| 37 | theorem algebraicallyClosed_etale_isogeny_of_recovery |
| 38 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny C D) [Etale f.hom.left] : |
| 39 | ∃ w : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B, Etale w.hom.left ∧ |
| 40 | eA.hom ≫ (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap k K)))).map w.hom = |
| 41 | f.hom ≫ eB.hom := by |
| 42 | let u := Spec.map (CommRingCat.ofHom (algebraMap k K)) |
| 43 | let F := Over.pullback u |
| 44 | have : Surjective u := ⟨Function.surjective_to_subsingleton _⟩ |
| 45 | obtain ⟨w, hw, he⟩ := algebraicallyClosed_hom_of_recovery k K A B C D eA eB f.hom |
| 46 | have : IsMonHom w := hw |
| 47 | have hc : F.map w = eA.inv ≫ f.hom ≫ eB.hom := by |
| 48 | rw [← he, eA.inv_hom_id_assoc] |
| 49 | have : IsIso eA.inv.left := inferInstanceAs (IsIso ((Over.forget (Spec (.of K))).map eA.inv)) |
| 50 | have : IsIso eB.hom.left := inferInstanceAs (IsIso ((Over.forget (Spec (.of K))).map eB.hom)) |
| 51 | have het : Etale (F.map w).left := by rw [hc]; change Etale (eA.inv.left ≫ f.hom.left ≫ eB.hom.left); infer_instance |
| 52 | have hsurj : Surjective (F.map w).left := by |
| 53 | rw [hc] |
| 54 | change Surjective (eA.inv.left ≫ f.hom.left ≫ eB.hom.left) |
| 55 | infer_instance |
| 56 | have : Etale w.left := PELModuli.IntegralModel.Arithmetic.QuotientFactor.property_of_fpqc_baseChange u (@Etale) w het |
| 57 | have : Surjective w.left := PELModuli.IntegralModel.Arithmetic.QuotientFactor.property_of_fpqc_baseChange u (@Surjective) w hsurj |
| 58 | have : IsProper (w.left ≫ B.scheme.hom) := w.w.symm ▸ inferInstanceAs (IsProper A.scheme.hom) |
| 59 | have : IsProper w.left := IsProper.of_comp w.left B.scheme.hom |
| 60 | have : IsFinite w.left := TorsionQuotient.Quasi.TorsionGeometry.finite_of_proper_formallyUnramified w.left |
| 61 | exact ⟨⟨w, hw, inferInstance, inferInstance, inferInstance⟩, inferInstance, he⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.RecoveredDescent.Construction |