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.Parameter.SubgroupModel |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Parameter.TestComparison |
| 3 | |
| 4 | /-! # Model Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.ModelDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A subgroup model over its parameter scheme gives a model of the |
| 11 | original family, with the original all-test membership predicate. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} (G : Grp (Over S)) (P : Over S) |
| 19 | |
| 20 | theorem terminalParameterMap_eq {U : Over P.left} |
| 21 | (a b : U ⟶ Over.mk (𝟙 P.left)) : a = b := by |
| 22 | apply Over.OverMorphism.ext |
| 23 | exact (Category.comp_id a.left).symm.trans |
| 24 | (a.w.trans (b.w.symm.trans (Category.comp_id b.left))) |
| 25 | |
| 26 | def parameterArrow {X : Over S} (t : X ⟶ P) {C : Over P.left} |
| 27 | (z : X ⟶ (Over.map P.hom).obj C) |
| 28 | (hz : z ≫ AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P C = t) : AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t ⟶ C := |
| 29 | Over.homMk z.left (congrArg Over.Hom.left hz) |
| 30 | |
| 31 | theorem parameterArrow_map {X : Over S} (t : X ⟶ P) {C : Over P.left} |
| 32 | (z : X ⟶ (Over.map P.hom).obj C) |
| 33 | (hz : z ≫ AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P C = t) : |
| 34 | (Over.map P.hom).map (parameterArrow P t z hz) = (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).hom ≫ z := |
| 35 | Over.OverMorphism.ext (Category.id_comp z.left).symm |
| 36 | |
| 37 | theorem parameterArrow_group {X : Over S} (t : X ⟶ P) {C : Over P.left} |
| 38 | (z : X ⟶ (Over.map P.hom).obj C) |
| 39 | (hz : z ≫ AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P C = t) |
| 40 | (g : C ⟶ ((Over.pullback P.hom).mapGrp.obj G).X) : |
| 41 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).symm (parameterArrow P t z hz ≫ g) = |
| 42 | (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).hom ≫ z ≫ (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G C).symm g := by |
| 43 | rw [AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.pullbackPointMulEquiv_symm_natural, parameterArrow_map, Category.assoc] |
| 44 | |
| 45 | variable (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X P) (R : (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P F).Model) |
| 46 | |
| 47 | theorem parameterModel_base_left : R.toBase.left = R.carrier.hom := |
| 48 | (Category.comp_id R.toBase.left).symm.trans R.toBase.w |
| 49 | |
| 50 | def originalParameterModel : F.Model where |
| 51 | carrier := (Over.map P.hom).obj R.carrier |
| 52 | toBase := AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P R.carrier |
| 53 | toGroup := (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G R.carrier).symm R.toGroup |
| 54 | finite := by |
| 55 | change IsFinite R.carrier.hom |
| 56 | rw [← parameterModel_base_left G P F R] |
| 57 | exact R.finite |
| 58 | flat := by |
| 59 | change Flat R.carrier.hom |
| 60 | rw [← parameterModel_base_left G P F R] |
| 61 | exact R.flat |
| 62 | finitePresentation := by |
| 63 | change LocallyOfFinitePresentation R.carrier.hom |
| 64 | rw [← parameterModel_base_left G P F R] |
| 65 | exact R.finitePresentation |
| 66 | jointly_monic X z w hbase hgroup := by |
| 67 | let t := z ≫ AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P R.carrier |
| 68 | let zp := parameterArrow P t z rfl |
| 69 | let wp := parameterArrow P t w hbase.symm |
| 70 | have h : zp = wp := by |
| 71 | apply R.jointly_monic (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t) |
| 72 | · exact terminalParameterMap_eq P _ _ |
| 73 | · apply (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).symm.injective |
| 74 | exact (parameterArrow_group G P t z rfl R.toGroup).trans |
| 75 | ((congrArg (fun k => (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).hom ≫ k) hgroup).trans |
| 76 | (parameterArrow_group G P t w hbase.symm R.toGroup).symm) |
| 77 | exact Over.OverMorphism.ext |
| 78 | (congrArg (fun k : AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t ⟶ R.carrier => k.left) h) |
| 79 | points_iff X t a := by |
| 80 | let b : AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t ⟶ Over.mk (𝟙 P.left) := Over.homMk t.left (Category.comp_id _) |
| 81 | rw [← AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint_membership G F t a b] |
| 82 | constructor |
| 83 | · intro ha |
| 84 | obtain ⟨h, _, hg⟩ := (R.points_iff _ _ _).mp ha |
| 85 | refine ⟨(AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).inv ≫ (Over.map P.hom).map h, ?_, ?_⟩ |
| 86 | · rw [Category.assoc, AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint_natural, AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso_inv_base] |
| 87 | · rw [Category.assoc, ← AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.pullbackPointMulEquiv_symm_natural] |
| 88 | apply Eq.trans (congrArg (fun k => (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).inv ≫ |
| 89 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).symm k) hg) |
| 90 | simp only [AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint, MulEquiv.symm_apply_apply, ← Category.assoc, |
| 91 | Iso.inv_hom_id, Category.id_comp] |
| 92 | · rintro ⟨z, hz, hg⟩ |
| 93 | apply (R.points_iff _ _ _).mpr |
| 94 | refine ⟨parameterArrow P t z hz, terminalParameterMap_eq P _ _, ?_⟩ |
| 95 | apply (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).symm.injective |
| 96 | exact (parameterArrow_group G P t z hz R.toGroup).trans |
| 97 | ((congrArg (fun k => (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).hom ≫ k) hg).trans |
| 98 | (MulEquiv.symm_apply_apply _ _).symm) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.ModelDescent |