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.IntegralComparison.ProjectivePoint.ResidueIntrinsicMaps |
| 2 | |
| 3 | /-! # Residue Map Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueMapCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original projective point residue has its literal ordinary |
| 10 | single-complex coordinate, with the point scalar and interchange sign |
| 11 | retained. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | attribute [local irreducible] HomologicalComplex.homology |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 20 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 23 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 24 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 25 | [SmoothOfRelativeDimension g X.hom] |
| 26 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 27 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 28 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 29 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 30 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 31 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 32 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 33 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 34 | |
| 35 | attribute [local instance] ResidueClassData.Coordinates.sectionAlgebra |
| 36 | ResidueClassData.Coordinates.scalar_qc |
| 37 | ResidueClassData.Coordinates.scalar_finite |
| 38 | ResidueClassData.Coordinates.line_qc |
| 39 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 40 | |
| 41 | private theorem apply_comp_eq {S : Type*} [Ring S] {P Q T : ModuleCat S} |
| 42 | {f f' : Q ⟶ T} {g g' : P ⟶ Q} (hf : f = f') (hg : g = g') (x : P) : |
| 43 | f (g x) = f' (g' x) := by |
| 44 | cases hf |
| 45 | cases hg |
| 46 | rfl |
| 47 | |
| 48 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 49 | theorem map_comparison (y : ResidueMapData.Coordinates.input X i s₀ B U hU D) : |
| 50 | ResidueMapData.Coordinates.residueMap X i s₀ B U hU D |
| 51 | (ResidueMapData.Coordinates.refinementMap X i s₀ B hB U hU D y) = |
| 52 | ResidueMapData.Coordinates.residueFunction X i s₀ hbase B hB U hU D y := by |
| 53 | have h := apply_comp_eq (ResidueIntrinsicMaps.MapCoordinates.residueMap_eq X i s₀ B U hU D) |
| 54 | (ResidueIntrinsicMaps.MapCoordinates.refinementMap_eq X i s₀ B hB U hU D) y |
| 55 | exact h.trans (ResidueMapData.Coordinates.native_comparison X i s₀ hbase B hB U hU D y) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueMapCoordinates |