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.Isogenies.NeighborCounting.Evaluated.BlockGroupComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence |
| 3 | |
| 4 | /-! # Polarized Tower Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PolarizedTowerIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual scalar-tower group comparison underlies a full |
| 11 | polarized and ordered-level isomorphism of the original source. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.BlockSplitting |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.BlockGroupComparison |
| 18 | |
| 19 | variable {S T U : Scheme} {d N : ℕ} {δ : Fin d → ℕ} |
| 20 | |
| 21 | def polarizedBaseCongrIso (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel d δ N S) |
| 22 | (f g : T ⟶ S) (w : f = g) : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback f) (A.pullback g) := by |
| 23 | cases w |
| 24 | exact AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.refl _ |
| 25 | |
| 26 | def polarizedIteratedIso (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel d δ N S) |
| 27 | (f : T ⟶ S) (h : U ⟶ T) (g : U ⟶ S) (w : h ≫ f = g) : |
| 28 | AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso ((A.pullback f).pullback h) (A.pullback g) := |
| 29 | (AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A f h).trans (polarizedBaseCongrIso A (h ≫ f) g w) |
| 30 | |
| 31 | theorem polarizedIteratedIso_abelian (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel d δ N S) |
| 32 | (f : T ⟶ S) (h : U ⟶ T) (g : U ⟶ S) (w : h ≫ f = g) : |
| 33 | (polarizedIteratedIso A f h g w).abelian = PELModuli.IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso A.abelian.scheme f h g w := by |
| 34 | cases w |
| 35 | apply Iso.ext |
| 36 | change (A.abelian.pullbackCompIso f h).inv ≫ 𝟙 _ = |
| 37 | (PELModuli.IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.compositeIso A.abelian.scheme f h).inv ≫ PELModuli.IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.congrMap A.abelian.scheme (h ≫ f) (h ≫ f) rfl |
| 38 | rw [PELModuli.IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.congrMap_self, Category.comp_id, Category.comp_id, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv] |
| 39 | rfl |
| 40 | |
| 41 | variable (R F L : Type) [CommRing R] [IsLocalRing R] [Field F] [Field L] |
| 42 | [Algebra R F] [Algebra F L] [Algebra R L] [IsScalarTower R F L] |
| 43 | (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel d δ N (Spec (.of R))) (v : EvaluationDVRLifts.EvaluationDVR R L) |
| 44 | |
| 45 | def evaluatedIntegralPolarizedIso := |
| 46 | (polarizedIteratedIso A |
| 47 | (Spec.map (CommRingCat.ofHom (algebraMap R F))) |
| 48 | (Spec.map (CommRingCat.ofHom (algebraMap F L))) |
| 49 | (Spec.map (CommRingCat.ofHom (algebraMap R L))) (Evaluated.BlockSplitting.algebraTowerBaseComp R F L)).trans |
| 50 | (polarizedIteratedIso A |
| 51 | (Spec.map (CommRingCat.ofHom (algebraMap R v.carrier))) |
| 52 | (Spec.map (CommRingCat.ofHom (algebraMap v.carrier L))) |
| 53 | (Spec.map (CommRingCat.ofHom (algebraMap R L))) (Evaluated.BlockSplitting.algebraTowerBaseComp R v.carrier L)).symm |
| 54 | |
| 55 | theorem evaluatedIntegralPolarizedIso_abelian : |
| 56 | (evaluatedIntegralPolarizedIso R F L A v).abelian = |
| 57 | Evaluated.BlockSplitting.evaluatedIntegralBlockIso R F L A.abelian.scheme v := by |
| 58 | change (polarizedIteratedIso A _ _ _ (Evaluated.BlockSplitting.algebraTowerBaseComp R F L)).abelian ≪≫ |
| 59 | (polarizedIteratedIso A _ _ _ (Evaluated.BlockSplitting.algebraTowerBaseComp R v.carrier L)).abelian.symm = _ |
| 60 | rw [polarizedIteratedIso_abelian, polarizedIteratedIso_abelian] |
| 61 | rfl |
| 62 | |
| 63 | theorem evaluatedIntegralPolarizedIso_group_hom : |
| 64 | (evaluatedIntegralPolarizedIso R F L A v).abelian.hom = |
| 65 | (Evaluated.BlockGroupComparison.evaluatedIntegralBlockGroupIso R F L (Grp.mk A.abelian.scheme) v).hom.hom.hom := |
| 66 | congrArg Iso.hom (evaluatedIntegralPolarizedIso_abelian R F L A v) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PolarizedTowerIso |