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.GenericAmbientPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.RelativeAnnihilator |
| 3 | |
| 4 | /-! # Intrinsic Subgroup -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Parameter.IntrinsicSubgroup.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The original subgroup model embeds as a native commutative group over |
| 12 | the parameter. Its image is precisely the original subgroup after the |
| 13 | ordinary base-change point comparison. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} (G : Grp (Over S)) [IsCommMonObj G.X] (P : Over S) |
| 23 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X P) (R : F.Model) |
| 24 | |
| 25 | def parameterNativeSubgroupInclusion : |
| 26 | (Subgroup.Construction.subgroupGroupScheme F R).toGrp ⟶ (Over.pullback P.hom).mapGrp.obj G := by |
| 27 | let k : (Kernel.Inclusion.Construction.ambientGroupScheme G.X P).toGrp ⟶ (Over.pullback P.hom).mapGrp.obj G := |
| 28 | Grp.homMk (GenericAmbientPullback.Construction.nativeAmbientPullbackIso G P).hom |
| 29 | exact (Kernel.Inclusion.Construction.subgroupInclusion F R).hom ≫ k |
| 30 | |
| 31 | theorem parameterNativeSubgroupInclusion_eq : |
| 32 | (parameterNativeSubgroupInclusion G P F R).hom.hom = SubgroupModel.Construction.parameterModelToGroup G P F R := by |
| 33 | apply Over.OverMorphism.ext |
| 34 | apply pullback.hom_ext |
| 35 | · change ((lift R.toBase R.toGroup).left ≫ (pullbackSymmetry P.hom G.X.hom).hom) ≫ |
| 36 | pullback.fst G.X.hom P.hom = |
| 37 | pullback.lift R.toGroup.left R.toBase.left _ ≫ pullback.fst G.X.hom P.hom |
| 38 | exact (Category.assoc _ _ _).trans |
| 39 | ((congrArg (fun k => (lift R.toBase R.toGroup).left ≫ k) |
| 40 | (pullbackSymmetry_hom_comp_fst P.hom G.X.hom)).trans |
| 41 | ((congrArg Over.Hom.left (lift_snd R.toBase R.toGroup)).trans |
| 42 | (pullback.lift_fst R.toGroup.left R.toBase.left (R.toGroup.w.trans R.toBase.w.symm)).symm)) |
| 43 | · exact (parameterNativeSubgroupInclusion G P F R).hom.hom.w.trans |
| 44 | (SubgroupModel.Construction.parameterModelToGroup G P F R).w.symm |
| 45 | |
| 46 | instance parameterNativeSubgroupInclusion_mono : |
| 47 | Mono (parameterNativeSubgroupInclusion G P F R).hom.hom := |
| 48 | (parameterNativeSubgroupInclusion_eq G P F R).symm ▸ SubgroupModel.Construction.parameterModelToGroup_mono G P F R |
| 49 | |
| 50 | theorem parameterNativeSubgroup_image : |
| 51 | Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup (parameterNativeSubgroupInclusion G P F R).hom.hom = |
| 52 | Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P F := by |
| 53 | ext U t y |
| 54 | have h := (SubgroupModel.Construction.relativeSubgroupOverParameter_model G P F R).points_iff U t y |
| 55 | constructor |
| 56 | · rintro ⟨x, hx⟩ |
| 57 | apply h.mpr |
| 58 | refine ⟨x, ?_, ?_⟩ |
| 59 | · apply Over.OverMorphism.ext |
| 60 | exact x.w.trans (t.w.symm.trans (Category.comp_id t.left)) |
| 61 | · exact (congrArg (fun k => x ≫ k) (parameterNativeSubgroupInclusion_eq G P F R)).symm.trans hx |
| 62 | · intro hy |
| 63 | obtain ⟨x, _, hx⟩ := h.mp hy |
| 64 | exact ⟨x, (congrArg (fun k => x ≫ k) (parameterNativeSubgroupInclusion_eq G P F R)).trans hx⟩ |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Parameter.IntrinsicSubgroup.Construction |