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.PointParameterData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.CoefficientLocalClass |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ResidueTotalAdjunctionApply |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectivePointTransfer |
| 6 | |
| 7 | /-! # Residue Data -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueData |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The genuine projective point chart supplies the original scalar |
| 14 | residue and its differential-form image on one fixed principal diagram. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 22 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 25 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 26 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 27 | [SmoothOfRelativeDimension g X.hom] |
| 28 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 29 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 30 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 31 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 32 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 33 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 34 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 35 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 36 | |
| 37 | local instance scalar_qc : (KoszulMap.scalar i.left).IsQuasicoherent := |
| 38 | Projective.ClosedImmersionPurity.directImage_quasicoherent i.left |
| 39 | local instance scalar_finite : (KoszulMap.scalar i.left).IsFiniteType := |
| 40 | Projective.ClosedImmersionPurity.directImage_finiteType i.left |
| 41 | |
| 42 | abbrev family := PrincipalPoint.Fraction.family U D.parameters |
| 43 | abbrev frame := Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 44 | (Survivor.chart (R := R) (n := n)) U hU D.coordinate D.below_coordinate D.ambientBasis |
| 45 | |
| 46 | abbrev pointTransfer := CoefficientLocalClass.value i.left s₀ |
| 47 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB |
| 48 | (KoszulMap.scalar i.left) |
| 49 | (KoszulMap.quotientMap s₀ i.left) |
| 50 | U hU D.equations D.parameters D.point_generates D.dimension |
| 51 | |
| 52 | abbrev residue := |
| 53 | (Supported.CechHomotopyEquivalence.functor (family X i s₀ U hU D) (D.codimension+g)).map |
| 54 | (Projective.TotalAdjunctionDimensionData.Residue.residue X i |
| 55 | (Survivor.chart (R := R) (n := n)) B U hU D.coordinate D.below_coordinate |
| 56 | D.equations D.generates D.regular D.ambientBasis) |
| 57 | (pointTransfer X i s₀ hbase B hB U hU D) |
| 58 | |
| 59 | abbrev form := Projective.TotalAdjunctionDimensionData.Residue.rightMap D.dimension X i |
| 60 | (Survivor.chart (R := R) (n := n)) B hB U hU |
| 61 | (family X i s₀ U hU D) (D.codimension+g) |
| 62 | (pointTransfer X i s₀ hbase B hB U hU D) |
| 63 | |
| 64 | abbrev differential := |
| 65 | (Supported.CechHomotopyEquivalence.functor (family X i s₀ U hU D) (D.codimension+g)).map |
| 66 | (Projective.TotalAdjunctionDimensionData.Residue.symbol X i U hU D.parameters) |
| 67 | (residue X i s₀ hbase B hB U hU D) |
| 68 | |
| 69 | abbrev comparison := by |
| 70 | letI := D.finiteVariables |
| 71 | letI := D.coordinates |
| 72 | letI := D.coordinateTower |
| 73 | letI := D.coordinateEtale |
| 74 | exact Projective.ResidueTotalAdjunctionApply.comparison D.dimension X i |
| 75 | (Survivor.chart (R := R) (n := n)) B hB U hU |
| 76 | D.coordinate D.below_coordinate D.equations D.generates D.regular |
| 77 | D.conormalBasis D.conormalBasis_apply D.quotientBasis D.parameters D.quotientBasis_apply |
| 78 | D.ambientBasis D.ambientBasis_apply D.coordinateIndex |
| 79 | (family X i s₀ U hU D) (D.codimension+g) |
| 80 | (pointTransfer X i s₀ hbase B hB U hU D) |
| 81 | |
| 82 | abbrev residue_eq := |
| 83 | ResidueClass.fixedPoint i.left s₀ |
| 84 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU D.contains |
| 85 | D.coordinate D.below_coordinate (frame X i s₀ U hU D) |
| 86 | D.equations D.parameters D.generates D.point_generates D.regular D.point_regular D.dimension |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueData |