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.Moduli.Coherence |
| 2 | |
| 3 | /-! # Total Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Polarized.TotalMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual maps of total spaces induced by polarized comparisons over |
| 10 | changing bases, with their cartesian square and composition formula. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem totalMap_comparison_composition |
| 15 | {V₀ V₁ V₂ V₃ V₄ V₅ V₆ : Scheme.{0}} |
| 16 | (q : V₀ ⟶ V₁) (r : V₁ ⟶ V₂) (c : V₂ ⟶ V₃) (π : V₃ ⟶ V₄) |
| 17 | (p : V₂ ⟶ V₅) (πf : V₅ ⟶ V₄) (πb : V₁ ⟶ V₆) (a : V₆ ⟶ V₅) |
| 18 | (hc : c ≫ π = p ≫ πf) (hr : r ≫ p = πb ≫ a) : |
| 19 | (q ≫ r ≫ c) ≫ π = (q ≫ πb) ≫ (a ≫ πf) := by |
| 20 | simp only [Category.assoc] |
| 21 | rw [hc, ← Category.assoc r p πf, hr] |
| 22 | simp only [Category.assoc] |
| 23 | |
| 24 | variable {S T U : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 25 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 26 | (B : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N T) |
| 27 | (f : T ⟶ S) (e : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f)) |
| 28 | |
| 29 | def polarizedTotalMap : B.abelian.scheme.left ⟶ A.abelian.scheme.left := |
| 30 | e.abelian.hom.left ≫ pullback.fst A.abelian.scheme.hom f |
| 31 | |
| 32 | theorem polarizedTotalMap_base : |
| 33 | polarizedTotalMap A B f e ≫ A.abelian.scheme.hom = B.abelian.scheme.hom ≫ f := by |
| 34 | change (e.abelian.hom.left ≫ pullback.fst A.abelian.scheme.hom f) ≫ A.abelian.scheme.hom = _ |
| 35 | exact (Category.assoc e.abelian.hom.left (pullback.fst A.abelian.scheme.hom f) |
| 36 | A.abelian.scheme.hom).trans |
| 37 | ((congrArg (fun q => e.abelian.hom.left ≫ q) (pullback.condition (f := A.abelian.scheme.hom) |
| 38 | (g := f))).trans |
| 39 | ((Category.assoc e.abelian.hom.left (pullback.snd A.abelian.scheme.hom f) f).symm.trans |
| 40 | (congrArg (fun q => q ≫ f) e.abelian.hom.w))) |
| 41 | |
| 42 | theorem polarizedTotalMap_isPullback : |
| 43 | IsPullback (polarizedTotalMap A B f e) B.abelian.scheme.hom A.abelian.scheme.hom f := |
| 44 | IsPullback.of_iso_pullback ⟨polarizedTotalMap_base A B f e⟩ |
| 45 | ((Over.forget T).mapIso e.abelian) rfl e.abelian.hom.w |
| 46 | |
| 47 | theorem polarizedTotalMap_id : |
| 48 | polarizedTotalMap A A (𝟙 S) (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackId A).symm = |
| 49 | 𝟙 A.abelian.scheme.left := by |
| 50 | change A.abelian.pullbackIdIso.inv.left ≫ pullback.fst A.abelian.scheme.hom (𝟙 S) = _ |
| 51 | rw [← A.abelian.pullbackIdIso_hom_left] |
| 52 | exact ((Over.forget S).mapIso A.abelian.pullbackIdIso).inv_hom_id |
| 53 | |
| 54 | theorem polarizedTotalMap_eq_of_base_eq {f' : T ⟶ S} (h : f = f') |
| 55 | (d : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f')) |
| 56 | [Subsingleton (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f))] : |
| 57 | polarizedTotalMap A B f e = polarizedTotalMap A B f' d := by |
| 58 | cases h |
| 59 | exact congrArg (polarizedTotalMap A B f) (Subsingleton.elim e d) |
| 60 | |
| 61 | theorem polarizedTotalMap_comp |
| 62 | (C : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N U) |
| 63 | (h : U ⟶ T) (d : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso C (B.pullback h)) : |
| 64 | polarizedTotalMap A C (h ≫ f) |
| 65 | (d.trans ((e.pullback h).trans (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A f h))) = |
| 66 | polarizedTotalMap B C h d ≫ polarizedTotalMap A B f e := by |
| 67 | change (d.abelian.hom.left ≫ ((Over.pullback h).map e.abelian.hom).left ≫ |
| 68 | (A.abelian.pullbackCompIso f h).inv.left) ≫ pullback.fst A.abelian.scheme.hom (h ≫ f) = |
| 69 | (d.abelian.hom.left ≫ pullback.fst B.abelian.scheme.hom h) ≫ |
| 70 | (e.abelian.hom.left ≫ pullback.fst A.abelian.scheme.hom f) |
| 71 | exact totalMap_comparison_composition d.abelian.hom.left |
| 72 | ((Over.pullback h).map e.abelian.hom).left (A.abelian.pullbackCompIso f h).inv.left |
| 73 | (pullback.fst A.abelian.scheme.hom (h ≫ f)) |
| 74 | (pullback.fst (A.abelian.pullback f).scheme.hom h) (pullback.fst A.abelian.scheme.hom f) |
| 75 | (pullback.fst B.abelian.scheme.hom h) e.abelian.hom.left |
| 76 | (A.abelian.pullbackCompIso_inv_left_fst f h) (HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst e.abelian.hom h) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Polarized.TotalMaps |