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.ComplexMultiplication.InjectiveRelativeOpenNaturality |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.Reference.SupportedCycleSmoothSection |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.Span |
| 4 | |
| 5 | /-! # Supported Cycle -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.Reference.SupportedCycle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # The genuine native cycle class gives the literal original supported injective class -/ |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry ComplexPoint _root_.TopologicalSpace Opposite |
| 20 | open OAI.AlgebraicTopology.Singular |
| 21 | |
| 22 | attribute [-instance] ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.instTopologicalSpace |
| 23 | |
| 24 | variable (X : Over (Spec (.of ℂ))) [IsIntegral X.left] [Smooth X.hom] |
| 25 | [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (p : ℕ) (x : CycleClassMap.OriginalCycleComponent X p) |
| 26 | |
| 27 | theorem originalSupportedCycleInjectiveClass_comparison : |
| 28 | InjectiveRelativeOpenNaturality.originalCycleRelativeToSupportedInjectiveClass X x.val p |
| 29 | (SupportedCycleRelativeClass.originalSupportedCycleRelativeClass X p x) = |
| 30 | ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedInjectiveClass X x.val x.property := by |
| 31 | let e := ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedClassNormalizationIso X x.val x.property |
| 32 | let a := InjectiveRelativeOpenNaturality.originalCycleRelativeToSupportedInjectiveClass X x.val p |
| 33 | (SupportedCycleRelativeClass.originalSupportedCycleRelativeClass X p x) |
| 34 | have h : e.hom a = ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportCoclassSection X x.val x.property := by |
| 35 | rw [CycleLowestNormalization.originalCycleNormalization_relative, |
| 36 | InjectiveRelativeOpenNaturality.originalCycleSmoothRelativeClass_fromRelativeClass] |
| 37 | exact SupportedCycleSmoothSection.originalSupportedCycleRelativeClass_smoothSection X p x |
| 38 | calc |
| 39 | a = e.inv (e.hom a) := e.addCommGroupIsoToAddEquiv.symm_apply_apply a |>.symm |
| 40 | _ = e.inv (ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothSupportCoclassSection X x.val x.property) := congrArg e.inv h |
| 41 | _ = ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedInjectiveClass X x.val x.property := rfl |
| 42 | |
| 43 | end |
| 44 | |
| 45 | section |
| 46 | |
| 47 | /-! # The original supported class is the inverse of the actual relative comparison -/ |
| 48 | set_option backward.defeqAttrib.useBackward true |
| 49 | set_option backward.isDefEq.respectTransparency false |
| 50 | set_option backward.isDefEq.respectTransparency.types false |
| 51 | open _root_.CategoryTheory _root_.AlgebraicGeometry ComplexPoint _root_.TopologicalSpace |
| 52 | open OAI.AlgebraicTopology.Singular _root_.TopCat.Sheaf _root_.HomologicalComplex |
| 53 | attribute [-instance] ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.instTopologicalSpace |
| 54 | |
| 55 | theorem degreeTransport_roundtrip {α : Sort*} (A : α → Sort*) {i j : α} |
| 56 | (h : i = j) (g : j = i) (z : A i) : g ▸ (h ▸ z) = z := by |
| 57 | cases h |
| 58 | rfl |
| 59 | |
| 60 | variable (X : Over (Spec (.of ℂ))) [IsIntegral X.left] [Smooth X.hom] |
| 61 | [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (p : ℕ) (x : CycleClassMap.OriginalCycleComponent X p) |
| 62 | local notation "S" => OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentAnalyticClosedSupport X x.val |
| 63 | |
| 64 | theorem originalSupportedCycleInverse : |
| 65 | ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSheafSupportedClass X x.val x.property = |
| 66 | (ComplexPoint.Basic.ComplexSchemePoint.rationalSupportAddEquivSupportedInjectiveHomology X (S) (2 * p)).symm |
| 67 | ((ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveSectionCohomologyEquiv X (S) ⊤ (2 * p)).symm |
| 68 | (SupportedCycleRelativeClass.originalSupportedCycleRelativeClass X p x)) := by |
| 69 | let z := (ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveSectionCohomologyEquiv X (S) ⊤ (2 * p)).symm |
| 70 | (SupportedCycleRelativeClass.originalSupportedCycleRelativeClass X p x) |
| 71 | have he : 2 * (p : ℤ) = ((2 * p : ℕ) : ℤ) := by omega |
| 72 | have hc := originalSupportedCycleInjectiveClass_comparison X p x |
| 73 | change InjectiveRelativeOpenNaturality.originalCycleSupportedDegreeClass X x.val p z = |
| 74 | ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedInjectiveClass X x.val x.property at hc |
| 75 | change (ComplexPoint.Basic.ComplexSchemePoint.rationalSupportAddEquivSupportedInjectiveHomology X (S) (2 * p)).symm |
| 76 | (he ▸ ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSupportedInjectiveClass X x.val x.property) = _ |
| 77 | rw [← hc] |
| 78 | apply congrArg (ComplexPoint.Basic.ComplexSchemePoint.rationalSupportAddEquivSupportedInjectiveHomology X (S) (2 * p)).symm |
| 79 | exact degreeTransport_roundtrip |
| 80 | (fun n => ((((AlgebraicTopology.Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)) ⊤).mapHomologicalComplex |
| 81 | ℤᵘᵖ).obj (ComplexPoint.Basic.ComplexSchemePoint.complexSupportInjectiveComplex X (S)))).homology n) he.symm he z |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! # The same genuine native cycle class in the two spellings of its even degree -/ |
| 86 | set_option backward.defeqAttrib.useBackward true |
| 87 | set_option backward.isDefEq.respectTransparency false |
| 88 | set_option backward.isDefEq.respectTransparency.types false |
| 89 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 90 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 91 | |
| 92 | def nativeAbsoluteCycleClass (D : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 93 | V.rationalCohomology (2 * p) := |
| 94 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) |
| 95 | (TopCat.of V.analyticSpace) (Set.range D.analyticInclusion)ᶜ |
| 96 | (2 * p) D.rationalSupportedCycleClass |
| 97 | |
| 98 | theorem nativeRationalCycleClass_transport (D : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 99 | D.rationalCycleClass = (two_mul p) ▸ nativeAbsoluteCycleClass D := by |
| 100 | unfold CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.rationalCycleClass |
| 101 | apply eq_of_heq |
| 102 | exact (cast_heq _ (nativeAbsoluteCycleClass D)).trans |
| 103 | (@eqRec_heq ℕ (fun n => V.rationalCohomology n) |
| 104 | (2 * p) (p + p) (two_mul p) (nativeAbsoluteCycleClass D)).symm |
| 105 | |
| 106 | theorem nativeRationalCycleClass_untransport (D : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 107 | (two_mul p).symm ▸ D.rationalCycleClass = nativeAbsoluteCycleClass D := by |
| 108 | have h := congrArg (fun z => (two_mul p).symm ▸ z) |
| 109 | (nativeRationalCycleClass_transport D) |
| 110 | exact h.trans (degreeTransport_roundtrip (fun n => V.rationalCohomology n) |
| 111 | (two_mul p) (two_mul p).symm (nativeAbsoluteCycleClass D)) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.ComplexMultiplication.Reference.SupportedCycle |