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.Descent.CMVariety.OverEndomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.Transport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 4 | |
| 5 | /-! # Abelian Coefficient Comparison -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.AbelianCoefficientComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Group-preserving comparisons for the actual iterated coefficient fibers. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | def iteratedAbelianPullbackIso |
| 17 | {S S' S'' : Scheme} {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 18 | (f : S' ⟶ S) (h : S'' ⟶ S') (p : S'' ⟶ S) (hp : h ≫ f = p) : |
| 19 | ((A.pullback f).pullback h).scheme ≅ (A.pullback p).scheme := |
| 20 | (A.pullbackCompIso f h).symm ≪≫ A.pullbackCongrIso (h ≫ f) p hp |
| 21 | |
| 22 | instance iteratedAbelianPullbackIso_group |
| 23 | {S S' S'' : Scheme} {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 24 | (f : S' ⟶ S) (h : S'' ⟶ S') (p : S'' ⟶ S) (hp : h ≫ f = p) : |
| 25 | IsMonHom (iteratedAbelianPullbackIso A f h p hp).hom := by |
| 26 | change IsMonHom ((A.pullbackCompIso f h).inv ≫ (A.pullbackCongrIso (h ≫ f) p hp).hom) |
| 27 | infer_instance |
| 28 | |
| 29 | theorem iteratedAbelianPullbackIso_inv_fst_fst |
| 30 | {S S' S'' : Scheme} {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 31 | (f : S' ⟶ S) (h : S'' ⟶ S') (p : S'' ⟶ S) (hp : h ≫ f = p) : |
| 32 | (iteratedAbelianPullbackIso A f h p hp).inv.left ≫ |
| 33 | pullback.fst (A.pullback f).scheme.hom h ≫ pullback.fst A.scheme.hom f = |
| 34 | pullback.fst A.scheme.hom p := by |
| 35 | cases hp |
| 36 | simp only [iteratedAbelianPullbackIso, Iso.trans_inv, Iso.symm_inv, |
| 37 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCongrIso, eqToIso_refl, Iso.refl_inv, |
| 38 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_hom] |
| 39 | exact AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons.pullbackComp_hom_fst_fst A.scheme f h |
| 40 | |
| 41 | variable (R B : Type) [CommRing R] [CommRing B] [Algebra R B] |
| 42 | |
| 43 | def coefficientInclusion (s : (Finset B)ᵒᵖ) : |
| 44 | Spec (CommRingCat.of B) ⟶ Spec (CommRingCat.of (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s.unop)) := |
| 45 | Spec.map (CommRingCat.ofHom (algebraMap (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s.unop) B)) |
| 46 | |
| 47 | theorem coefficientInclusion_base (s : (Finset B)ᵒᵖ) : |
| 48 | coefficientInclusion R B s ≫ FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop = |
| 49 | Spec.map (CommRingCat.ofHom (algebraMap R B)) := |
| 50 | FiniteCoefficientDiagram.Abelian.finiteCoefficientSchemeCone_structure R B s |
| 51 | |
| 52 | def abelianCoefficientComparison {g : ℕ} |
| 53 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) : |
| 54 | ((A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).pullback (coefficientInclusion R B s)).scheme ≅ |
| 55 | (A.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).scheme := |
| 56 | iteratedAbelianPullbackIso A (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) |
| 57 | (coefficientInclusion R B s) _ (coefficientInclusion_base R B s) |
| 58 | |
| 59 | instance abelianCoefficientComparison_group {g : ℕ} |
| 60 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) : |
| 61 | IsMonHom (abelianCoefficientComparison R B A s).hom := |
| 62 | iteratedAbelianPullbackIso_group _ _ _ _ _ |
| 63 | |
| 64 | theorem abelianCoefficientComparison_inv_fst {g : ℕ} |
| 65 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) : |
| 66 | (abelianCoefficientComparison R B A s).inv.left ≫ |
| 67 | pullback.fst (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).scheme.hom |
| 68 | (coefficientInclusion R B s) = OverEndomorphism.Abelian.standardCoefficientProjection R B A.scheme s := by |
| 69 | let p := Spec.map (CommRingCat.ofHom (algebraMap R B)) |
| 70 | let f := FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop |
| 71 | let h := coefficientInclusion R B s |
| 72 | let e := abelianCoefficientComparison R B A s |
| 73 | let eInv : pullback A.scheme.hom p ⟶ pullback (pullback.snd A.scheme.hom f) h := e.inv.left |
| 74 | let π : pullback (pullback.snd A.scheme.hom f) h ⟶ pullback A.scheme.hom f := |
| 75 | pullback.fst (pullback.snd A.scheme.hom f) h |
| 76 | let q : pullback A.scheme.hom p ⟶ pullback A.scheme.hom f := |
| 77 | OverEndomorphism.Abelian.standardCoefficientProjection R B A.scheme s |
| 78 | have hf : eInv ≫ π ≫ pullback.fst A.scheme.hom f = pullback.fst A.scheme.hom p := |
| 79 | iteratedAbelianPullbackIso_inv_fst_fst A f h p (coefficientInclusion_base R B s) |
| 80 | have hw : eInv ≫ pullback.snd (pullback.snd A.scheme.hom f) h = pullback.snd A.scheme.hom p := |
| 81 | e.inv.w |
| 82 | change eInv ≫ π = q |
| 83 | apply pullback.hom_ext |
| 84 | · rw [Category.assoc] |
| 85 | exact hf.trans (OverEndomorphism.Abelian.standardCoefficientProjection_fst R B A.scheme s).symm |
| 86 | · dsimp only [π] |
| 87 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 88 | rw [hw] |
| 89 | exact (OverEndomorphism.Abelian.standardCoefficientProjection_snd R B A.scheme s).symm |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.ArithmeticGeometry.Descent.CMVariety.AbelianCoefficientComparison |