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.ResidueClassData |
| 2 | |
| 3 | /-! # Residue Map Data -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueMapData.Coordinates |
| 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 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 19 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 22 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 23 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 24 | [SmoothOfRelativeDimension g X.hom] |
| 25 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 26 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 27 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 28 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 29 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 30 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 31 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 32 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 33 | |
| 34 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueClassData.Coordinates |
| 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 | abbrev input := |
| 42 | (PrincipalReference.Concentration.Reference.functor U hU |
| 43 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).obj |
| 44 | (Survivor.dual i.left s₀ B) |
| 45 | |
| 46 | abbrev normalInput := |
| 47 | (PrincipalReference.Concentration.Reference.functor U hU |
| 48 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).obj |
| 49 | (GlobalTransferRecovery.coefficientDual B |
| 50 | (KoszulMap.scalar i.left)) |
| 51 | |
| 52 | abbrev refinementMap : input X i s₀ B U hU D ⟶ normalInput X i s₀ B U hU D := by |
| 53 | let M := KoszulMap.scalar i.left |
| 54 | let v := KoszulMap.quotientMap s₀ i.left |
| 55 | letI (q : ℕ) : ((GlobalTransferRecovery.coefficientDual B M).X q).IsQuasicoherent := |
| 56 | ProjectiveRefinement.AffineTerms.fixed_dual_qc M |
| 57 | (Survivor.chart (R := R) (n := n)) B (n+2) hB q |
| 58 | letI (q : ℕ) : ((GlobalTransferRecovery.commonDual i.left s₀ B M v).X q).IsQuasicoherent := |
| 59 | ProjectiveRefinement.AffineTerms.common_dual_qc M (Survivor.coefficient i.left s₀) |
| 60 | (Survivor.chart (R := R) (n := n)) B (n+2) hB v q |
| 61 | letI := ProjectiveRefinement.DualMap.left_quasiIso M |
| 62 | (Survivor.coefficient i.left s₀) |
| 63 | (Survivor.chart (R := R) (n := n)) B (n+2) hB v |
| 64 | exact Principal.RelativeTransfer.map U hU |
| 65 | (ResidueData.family X i s₀ U hU D) (D.codimension+g) |
| 66 | (GlobalTransferRecovery.left i.left s₀ B M v) |
| 67 | (GlobalTransferRecovery.right i.left s₀ B M v) |
| 68 | |
| 69 | abbrev output := |
| 70 | (Supported.CechHomotopyEquivalence.functor |
| 71 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).obj |
| 72 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 73 | (.up ℕ) D.codimension).obj (Principal.ClosedKoszulResidue.target i.left U hU)) |
| 74 | |
| 75 | def residueMap : normalInput X i s₀ B U hU D ⟶ output X i s₀ U hU D := |
| 76 | (Supported.CechHomotopyEquivalence.functor |
| 77 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).map |
| 78 | (Projective.TotalAdjunctionDimensionData.Residue.residue X i |
| 79 | (Survivor.chart (R := R) (n := n)) B U hU D.coordinate D.below_coordinate |
| 80 | D.equations D.generates D.regular D.ambientBasis) |
| 81 | |
| 82 | abbrev residueFunction (y : input X i s₀ B U hU D) := |
| 83 | Koszul.RefinedResidueClass.residueClass Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 84 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 85 | D.equations D.parameters (PrincipalPoint.Fraction.units U hU D.parameters) |
| 86 | (ResidueClassData.Coordinates.pointCoordinates X i s₀ B U hU D) R (Principal.TerminalScalars.bijective U hU) (n+1) |
| 87 | (ScalarFraction.pure i.left s₀ |
| 88 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU) |
| 89 | (ScalarFraction.zero i.left s₀ |
| 90 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 91 | D.equations D.parameters D.point_generates) |
| 92 | (ScalarFraction.pointQuotient i.left s₀ |
| 93 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) U hU D.contains |
| 94 | D.equations D.parameters D.point_generates) |
| 95 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 96 | (Principal.ClosedKoszulResidue.pullback i.left U hU D.equations D.generates) y |
| 97 | |
| 98 | abbrev native_comparison (y : input X i s₀ B U hU D) := by |
| 99 | let hl := ResidueClassData.Coordinates.leftCoordinates X i s₀ B U hU D |
| 100 | letI := Koszul.RefinedResidueClass.left_isIso Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 101 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 102 | D.equations _ _ _ hl (D.codimension+g) |
| 103 | exact ResidueClassData.Coordinates.scalarCore X i s₀ hbase B hB U hU D |
| 104 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 105 | (Principal.ClosedKoszulResidue.pullback i.left U hU D.equations D.generates) |
| 106 | (Principal.ClosedKoszulResidue.annihilated i.left U hU D.equations D.generates) _ hl y |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueMapData.Coordinates |