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.Grassmann.OverlapSchemes |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.PermutationTransitions |
| 3 | |
| 4 | /-! # Overlap Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.OverlapFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The represented overlap functor, with its natural inclusion in the quotient-chart functor. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] {k l : ℕ} (τ : Equiv.Perm (Fin k ⊕ Fin l)) |
| 17 | |
| 18 | /-- Points of the overlap form a functor under scalar extension of their defining quotients. -/ |
| 19 | def grassmannOverlapFunctor : CommAlgCat.{u} R ⥤ Type u where |
| 20 | obj A := LocalizationChartParameters.GrassmannOverlapPoint τ A |
| 21 | map f := TypeCat.ofHom (fun c => ⟨Charts.GrassmannChart.map f.hom.toRingHom c.val, |
| 22 | Charts.GrassmannChart.overlap_map f.hom.toRingHom c.val τ c.property⟩) |
| 23 | map_id A := by |
| 24 | apply ConcreteCategory.hom_ext |
| 25 | intro c |
| 26 | exact Subtype.ext (Charts.GrassmannChart.map_id c.val) |
| 27 | map_comp f g := by |
| 28 | apply ConcreteCategory.hom_ext |
| 29 | intro c |
| 30 | exact Subtype.ext (Charts.GrassmannChart.map_comp f.hom.toRingHom g.hom.toRingHom c.val) |
| 31 | |
| 32 | /-- The overlap condition is forgotten naturally. -/ |
| 33 | def grassmannOverlapForget : grassmannOverlapFunctor R τ ⟶ ChartRepresentability.grassmannChartFunctor R k l where |
| 34 | app _ := TypeCat.ofHom Subtype.val |
| 35 | naturality _ _ _ := rfl |
| 36 | |
| 37 | /-- The overlap functor is corepresented by the localized polynomial coordinate algebra. -/ |
| 38 | def grassmannOverlapCorepresentable : |
| 39 | (grassmannOverlapFunctor R τ).CorepresentableBy (OverlapSchemes.grassmannOverlapCoordinateAlgebra R τ) where |
| 40 | homEquiv := |
| 41 | { toFun := fun f => LocalizationChartParameters.grassmannOverlapAlgHomEquiv R τ _ f.hom |
| 42 | invFun := fun c => CommAlgCat.ofHom ((LocalizationChartParameters.grassmannOverlapAlgHomEquiv R τ _).symm c) |
| 43 | left_inv := fun f => by |
| 44 | apply CommAlgCat.hom_ext |
| 45 | exact (LocalizationChartParameters.grassmannOverlapAlgHomEquiv R τ _).symm_apply_apply f.hom |
| 46 | right_inv := fun c => (LocalizationChartParameters.grassmannOverlapAlgHomEquiv R τ _).apply_symm_apply c } |
| 47 | homEquiv_comp g f := by |
| 48 | apply Subtype.ext |
| 49 | exact Charts.GrassmannChart.polynomialEquiv_naturality g.hom |
| 50 | (f.hom.comp (Algebra.algHom R (MvPolynomial (Fin k × Fin l) R) |
| 51 | (Localization.Away (Chart.OverlapDeterminants.chartOverlapPolynomial R τ)))) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.OverlapFunctor |