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.NumberTheory.PadicHodge.GeometricComparison.Betti |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Projective.SmoothIsomorphism |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Projective.Components |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Smooth.Naturality |
| 5 | |
| 6 | /-! # Projective Complex -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.ProjectiveComplex.ProjectiveComplexComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual projective de Rham/Betti comparison and filtration |
| 13 | compatibility follow from the given projective presentation, without |
| 14 | assuming the full smooth-proper BettiComparison comparison proposition. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth X.hom] [IsProper X.hom] |
| 19 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation X.left X.hom) |
| 20 | |
| 21 | def originalEquiv (n : ℕ) : AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves.algebraicDeRham X n ≃ₗ[ℂ] |
| 22 | AlgebraicGeometry.Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) X n := by |
| 23 | let := AlgebraicGeometry.Comparison.Betti.Projective.SmoothIsomorphism.projectivePresentation_smoothDeRhamBettiMap_isIso X P n |
| 24 | exact Betti.ComplexComparison.equivOfBijective (AlgebraicGeometry.Comparison.Betti.Target.smoothDeRhamBettiLinearMap X n) |
| 25 | ((AlgebraicGeometry.Comparison.Betti.Smooth.ReferenceCongruence.bettiDownEquiv X n).bijective.comp |
| 26 | ((asIso (AlgebraicGeometry.Comparison.Betti.Smooth.ReferenceCongruence.smoothDeRhamBettiMap X n)).toLinearEquiv.bijective)) |
| 27 | |
| 28 | theorem originalEquiv_toLinearMap (n : ℕ) : |
| 29 | (originalEquiv X P n).toLinearMap = AlgebraicGeometry.Comparison.Betti.Target.smoothDeRhamBettiLinearMap X n := |
| 30 | Betti.ComplexComparison.equivOfBijective_toLinearMap _ _ |
| 31 | |
| 32 | def nativeEquiv (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℂ X n ≃ₗ[ℂ] |
| 33 | AlgebraicGeometry.Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) X n := |
| 34 | (SheafFormsAdapter.FormsAdapter.cohomologyEquiv X n).symm.trans (originalEquiv X P n) |
| 35 | |
| 36 | theorem nativeEquiv_comp_forms (n : ℕ) : |
| 37 | (nativeEquiv X P n).toLinearMap.comp (SheafFormsAdapter.FormsAdapter.cohomologyEquiv X n).toLinearMap = |
| 38 | AlgebraicGeometry.Comparison.Betti.Target.smoothDeRhamBettiLinearMap X n := |
| 39 | (Betti.ComplexComparison.inverse_trans_comp (SheafFormsAdapter.FormsAdapter.cohomologyEquiv X n) (originalEquiv X P n)).trans |
| 40 | (originalEquiv_toLinearMap X P n) |
| 41 | |
| 42 | theorem nativeEquiv_filtration (n : ℕ) (r : ℤ) : |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration ℂ X n r).map (nativeEquiv X P n).toLinearMap = |
| 44 | AlgebraicGeometry.Comparison.Betti.Target.projectiveBettiHodgeFiltration (AlgebraicGeometry.Comparison.Betti.Target.projectivePresentation X P) n r := by |
| 45 | have h₁ := congrArg (Submodule.map (nativeEquiv X P n).toLinearMap) |
| 46 | (FilteredComplexAdapter.FormsAdapter.cohomologyEquiv_filtration X n r).symm |
| 47 | have h₂ := (Submodule.map_comp (SheafFormsAdapter.FormsAdapter.cohomologyEquiv X n).toLinearMap |
| 48 | (nativeEquiv X P n).toLinearMap (FilteredComplexAdapter.FormsAdapter.filtration66 X n r)).symm |
| 49 | have h₃ := congrArg (fun m => (FilteredComplexAdapter.FormsAdapter.filtration66 X n r).map m) |
| 50 | (nativeEquiv_comp_forms X P n) |
| 51 | exact h₁.trans (h₂.trans (h₃.trans |
| 52 | (AlgebraicGeometry.Comparison.Betti.Projective.Components.projectivePresentation_hodgeFiltration_comparison X P n r))) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.ProjectiveComplex.ProjectiveComplexComparison |