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.Smooth.ProjectiveResidueRecovery |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.CanonicalSource |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SameSupportIntrinsic |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.SupportConditions |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FormSourceCoordinates |
| 6 | |
| 7 | /-! # Projective Point Source Recovery -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectivePointSourceRecovery |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original smooth point section recovers through the genuine |
| 14 | native principal comparison on any affine neighborhood of its support. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.TopologicalSpace _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 | |
| 20 | private theorem join_equalities {A : Type*} {a b c d : A} |
| 21 | (hab : a = b) (hcd : c = d) (hbc : b = c) : a = d := |
| 22 | hab.trans (hbc.trans hcd) |
| 23 | |
| 24 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |
| 25 | variable {R : Type} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 26 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 27 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 28 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 29 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 30 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 31 | [SmoothOfRelativeDimension g X.hom] |
| 32 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 33 | (hbase : s₀ ≫ X.hom = 𝟙 _) |
| 34 | (B : ℕ) (hB : n+2≤B) |
| 35 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 36 | (D : ProjectivePoint.PointParameterData.Chart.Data X i s₀ g U hU) |
| 37 | attribute [local instance] ProjectivePointTransfer.sourceSeparated |
| 38 | ProjectiveSectionClassData.composite_smooth |
| 39 | ProjectiveFormTrace.composite_proper ProjectiveFormTrace.composite_connected |
| 40 | ProjectiveFormTrace.composite_dimension |
| 41 | ProjectivePoint.Survivor.coefficient_qc ProjectivePoint.Survivor.coefficient_finite |
| 42 | |
| 43 | local instance projectiveSeparated : (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).left.IsSeparated := by |
| 44 | change (Proj (homogeneousSubmodule (Fin (n+2)) R)).IsSeparated |
| 45 | constructor |
| 46 | rw [← terminal.comp_from (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))] |
| 47 | infer_instance |
| 48 | |
| 49 | abbrev form := GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g |
| 50 | local instance form_qc : (form (g := g) X).IsQuasicoherent := |
| 51 | FormCoherence.Integral.quasicoherent R X g |
| 52 | abbrev cover := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n+2)) |
| 53 | abbrev coverFull := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n+2)) |
| 54 | abbrev coverAffine := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) (σ := Fin (n+2)) |
| 55 | abbrev baseMap := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)) |
| 56 | abbrev globalCover := PrincipalPoint.PulledIntegerRefinement.global (𝟙 X.left) i.left |
| 57 | (cover (R := R) (n := n)) |
| 58 | abbrev globalCoverFull := PrincipalPoint.PulledIntegerRefinement.global_cover (𝟙 X.left) i.left |
| 59 | (cover (R := R) (n := n)) (coverFull (R := R) (n := n)) |
| 60 | abbrev globalCoverAffine := PrincipalPoint.PulledIntegerRefinement.global_affine (𝟙 X.left) i.left |
| 61 | (cover (R := R) (n := n)) (coverAffine (R := R) (n := n)) |
| 62 | |
| 63 | def sourceOutput := PrincipalPoint.Source.Comparison.sourceOutput |
| 64 | (c := D.codimension) (g := g) (𝟙 X.left) i.left (baseMap (R := R) (n := n)) |
| 65 | (cover (R := R) (n := n)) (form (g := g) X) |
| 66 | |
| 67 | abbrev ordinary_comparison := PrincipalPoint.Source.Comparison.comparison_apply |
| 68 | (𝟙 X.left) i.left (baseMap (R := R) (n := n)) s₀ U hU D.contains |
| 69 | D.equations D.parameters D.generates |
| 70 | ((KoszulPoint.Ideal.append _ D.equations D.parameters).symm.trans D.point_generates) |
| 71 | (cover (R := R) (n := n)) (coverFull (R := R) (n := n)) (coverAffine (R := R) (n := n)) |
| 72 | (form (g := g) X) (ProjectivePoint.ResidueData.form X i s₀ hbase B hB U hU D) |
| 73 | |
| 74 | omit [IsNoetherianRing R] [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] |
| 75 | [Nonempty X.left] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 76 | theorem ordinary_map : ProjectiveResidueRecoveryData.ordinaryMap X i s₀ U hU D = |
| 77 | PrincipalPoint.Source.Comparison.ordinaryMap |
| 78 | (𝟙 X.left) i.left (baseMap (R := R) (n := n)) s₀ U hU D.contains |
| 79 | D.equations D.parameters D.generates |
| 80 | ((KoszulPoint.Ideal.append _ D.equations D.parameters).symm.trans D.point_generates) |
| 81 | (cover (R := R) (n := n)) (coverFull (R := R) (n := n)) (coverAffine (R := R) (n := n)) |
| 82 | (form (g := g) X) (D.codimension+g) (Nat.add_comm D.codimension g) := rfl |
| 83 | |
| 84 | abbrev recovery := by |
| 85 | have ho := ordinary_comparison X i s₀ hbase B hB U hU D |
| 86 | have hr := ProjectiveResidueRecovery.comparison X i s₀ hbase B hB U hU D |
| 87 | have hs := congrArg (sourceOutput X i s₀ U hU D) hr.symm |
| 88 | have hm := ConcreteCategory.congr_hom (ordinary_map X i s₀ U hU D) |
| 89 | (ProjectivePoint.ResidueData.form X i s₀ hbase B hB U hU D) |
| 90 | exact join_equalities hs ho (congrArg (sourceOutput X i s₀ U hU D) hm) |
| 91 | |
| 92 | variable (V : X.left.Opens) (hV : IsAffineOpen V) (hVU : V ≤ i.left ⁻¹ᵁ U) |
| 93 | (hcontains : ⊤ ≤ s₀ ⁻¹ᵁ V) |
| 94 | |
| 95 | abbrev conditions := PrincipalPoint.SupportConditions.ProjectiveParameter.conditions X i s₀ g U hU D.toParameterData |
| 96 | V hV hVU hcontains |
| 97 | abbrev outside := SectionIdealPuncturedCover.outside s₀.ker |
| 98 | |
| 99 | abbrev canonical_recovery := by |
| 100 | have h := recovery X i s₀ hbase B hB U hU D |
| 101 | have hc := PrincipalPoint.CanonicalSource.sourceComparison_eq (𝟙 X.left) i.left s₀ U hU D.contains |
| 102 | D.equations D.parameters D.generates |
| 103 | ((KoszulPoint.Ideal.append _ D.equations D.parameters).symm.trans D.point_generates) |
| 104 | (cover (R := R) (n := n)) (coverFull (R := R) (n := n)) (coverAffine (R := R) (n := n)) |
| 105 | (form (g := g) X) (PrincipalSource.OpenReindex.geometricOpens i.left U hU V) |
| 106 | (outside X s₀) (conditions X i s₀ U hU D V hV hVU hcontains) |
| 107 | rw [hc] at h |
| 108 | exact h |
| 109 | |
| 110 | abbrev native_recovery := by |
| 111 | have hc := canonical_recovery X i s₀ hbase B hB U hU D V hV hVU hcontains |
| 112 | have hn := Principal.SameSupportIntrinsic.Intrinsic.recovery i.left U hU V hV hVU D.parameters |
| 113 | (outside X s₀) (conditions X i s₀ U hU D V hV hVU hcontains) (form (g := g) X) |
| 114 | D.codimension (g+D.codimension) (globalCover X i) |
| 115 | (globalCoverFull X i) (globalCoverAffine X i) |
| 116 | (PrincipalSource.ClassCoordinates.wideClass (𝟙 X.left) i.left U hU (form (g := g) X) |
| 117 | D.parameters D.codimension (ProjectivePoint.ResidueData.form X i s₀ hbase B hB U hU D)) |
| 118 | exact hc.trans hn |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectivePointSourceRecovery |