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.Divisors.LineBundles.Symmetric.HyperplaneIdealIso |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricInfinity.Inclusion |
| 3 | |
| 4 | /-! # Double Hyperplane -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.DoubleHyperplane.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The first two coordinates in a twice-augmented module give |
| 11 | two genuine isomorphic hyperplane ideals. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable (R M : Type) [CommRing R] [AddCommGroup M] [Module R M] |
| 16 | |
| 17 | def augmentedCoordinateSwap : (R × (R × M)) ≃ₗ[R] R × (R × M) where |
| 18 | toFun z := (z.2.1, (z.1, z.2.2)) |
| 19 | invFun z := (z.2.1, (z.1, z.2.2)) |
| 20 | left_inv _ := rfl |
| 21 | right_inv _ := rfl |
| 22 | map_add' _ _ := rfl |
| 23 | map_smul' _ _ := rfl |
| 24 | |
| 25 | theorem symmetricSplitHyperplane_refl : |
| 26 | HyperplaneIdealIso.BundleCycles.symmetricSplitHyperplaneMap (LinearEquiv.refl R (R × M)) = SymmetricInfinity.Inclusion.BundleCycles.symmetricInfinityInclusion R M := by |
| 27 | have h : SplitHyperplane.BundleCycles.splitHyperplaneQuotient (LinearEquiv.refl R (R × M)) = LinearMap.snd R R M := by |
| 28 | apply LinearMap.ext |
| 29 | intro z |
| 30 | rfl |
| 31 | exact SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveMap_congr h _ _ |
| 32 | |
| 33 | def symmetricSecondHyperplane : |
| 34 | SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × M) ⟶ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × (R × M)) := |
| 35 | HyperplaneIdealIso.BundleCycles.symmetricSplitHyperplaneMap (augmentedCoordinateSwap R M) |
| 36 | |
| 37 | instance symmetricSecondHyperplane_isClosedImmersion : IsClosedImmersion (symmetricSecondHyperplane R M) := |
| 38 | inferInstanceAs (IsClosedImmersion (HyperplaneIdealIso.BundleCycles.symmetricSplitHyperplaneMap (augmentedCoordinateSwap R M))) |
| 39 | |
| 40 | theorem symmetricSecondHyperplane_regular : Cartier.IdealBundle.Cycles.HasRegularPrincipalImageIdeals (symmetricSecondHyperplane R M) := |
| 41 | HyperplaneIdealIso.BundleCycles.symmetricSplitHyperplane_regular (augmentedCoordinateSwap R M) |
| 42 | |
| 43 | def symmetricFirstSecondHyperplaneIdealIso : |
| 44 | Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule (SymmetricInfinity.Inclusion.BundleCycles.symmetricInfinityInclusion R (R × M)) ≅ Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule (symmetricSecondHyperplane R M) := |
| 45 | eqToIso (congrArg Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule (symmetricSplitHyperplane_refl R (R × M)).symm) ≪≫ |
| 46 | HyperplaneIdealIso.BundleCycles.symmetricSplitHyperplaneIdealIso (LinearEquiv.refl R (R × (R × M))) (augmentedCoordinateSwap R M) |
| 47 | |
| 48 | theorem symmetricSecondHyperplane_equation_image : |
| 49 | GradedMap.BundleCycles.symmetricGradedMap (LinearMap.snd R R (R × M)) (SplitHyperplane.BundleCycles.splitHyperplaneEquation (augmentedCoordinateSwap R M)) = |
| 50 | Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R M := by |
| 51 | exact GradedMap.BundleCycles.symmetricGradedMap_generator (LinearMap.snd R R (R × M)) ((augmentedCoordinateSwap R M).symm (1, 0)) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.DoubleHyperplane.BundleCycles |