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.DivisorClass.Chern.Supported.Winding |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.Coordinates |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.AnalyticCover |
| 4 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Open.Logarithms |
| 5 | |
| 6 | /-! # Section Winding -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: supported winding of the actual rational-section coordinates |
| 14 | |
| 15 | On the reference trivializing open, the actual rational section is a generator. |
| 16 | Its coordinates in each other algebraic frame are the already-constructed |
| 17 | transition units. Their continuous evaluation gives relative winding classes. |
| 18 | Changing the frame changes the equation by an actual ambient unit, so these |
| 19 | local relative classes agree. No geometric multiplicity comparison is assumed. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | set_option backward.defeqAttrib.useBackward true |
| 27 | |
| 28 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) |
| 29 | variable [IsIntegral X.carrier] |
| 30 | |
| 31 | /-- The part of an analytic algebraic open where the reference section is a generator. -/ |
| 32 | def Line.Bundles.AlgebraicLineBundle.referenceLocus (W : X.carrier.Opens) : Set (Line.Bundles.AlgebraicLineBundle.analyticOpen X W) := |
| 33 | {p | p.val ∈ Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen} |
| 34 | |
| 35 | /-- Flatten the actual nested subspace to the analytic intersection. -/ |
| 36 | def Line.Bundles.AlgebraicLineBundle.referenceLocusIntersectionMap (W : X.carrier.Opens) : |
| 37 | C(L.referenceLocus W, Line.Bundles.AlgebraicLineBundle.analyticOpen X (W ⊓ L.rationalReferenceOpen)) := |
| 38 | ⟨fun p => ⟨p.val.val, p.val.property, p.property⟩, |
| 39 | (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _⟩ |
| 40 | |
| 41 | /-- The equation on the reference locus is the actual unit whose generic germ |
| 42 | is the already-constructed rational-section coordinate. -/ |
| 43 | def Line.Bundles.AlgebraicLineBundle.referenceEquation (i : X.carrier) (W : X.carrier.Opens) (hi : W ≤ L.trivializingOpen i) : |
| 44 | C(L.referenceLocus W, ℂ) := |
| 45 | (Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X (W ⊓ L.rationalReferenceOpen) |
| 46 | (L.ambientTransitionOn i (genericPoint X.carrier) (W ⊓ L.rationalReferenceOpen) |
| 47 | (inf_le_left.trans hi) inf_le_right : Γ(X.carrier, W ⊓ L.rationalReferenceOpen))).comp |
| 48 | (L.referenceLocusIntersectionMap W) |
| 49 | |
| 50 | theorem Line.Bundles.AlgebraicLineBundle.referenceEquation_ne_zero (i : X.carrier) (W : X.carrier.Opens) |
| 51 | (hi : W ≤ L.trivializingOpen i) (p : L.referenceLocus W) : |
| 52 | L.referenceEquation i W hi p ≠ 0 := |
| 53 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_unit_ne_zero X _ _ _ |
| 54 | |
| 55 | /-- The evaluated unit changing two actual algebraic frames on the whole open. -/ |
| 56 | def Line.Bundles.AlgebraicLineBundle.frameChangeFunction (i j : X.carrier) (W : X.carrier.Opens) |
| 57 | (hi : W ≤ L.trivializingOpen i) (hj : W ≤ L.trivializingOpen j) : C(Line.Bundles.AlgebraicLineBundle.analyticOpen X W, ℂ) := |
| 58 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X W (L.ambientTransitionOn i j W hi hj : Γ(X.carrier, W)) |
| 59 | |
| 60 | omit [IsIntegral X.carrier] in |
| 61 | theorem Line.Bundles.AlgebraicLineBundle.frameChangeFunction_ne_zero (i j : X.carrier) (W : X.carrier.Opens) |
| 62 | (hi : W ≤ L.trivializingOpen i) (hj : W ≤ L.trivializingOpen j) (p : Line.Bundles.AlgebraicLineBundle.analyticOpen X W) : |
| 63 | L.frameChangeFunction i j W hi hj p ≠ 0 := |
| 64 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_unit_ne_zero X _ _ _ |
| 65 | |
| 66 | /-- Actual analytic equation change, obtained from the algebraic transition cocycle. -/ |
| 67 | theorem Line.Bundles.AlgebraicLineBundle.referenceEquation_change (i j : X.carrier) (W : X.carrier.Opens) |
| 68 | (hi : W ≤ L.trivializingOpen i) (hj : W ≤ L.trivializingOpen j) (p : L.referenceLocus W) : |
| 69 | L.referenceEquation i W hi p = |
| 70 | L.referenceEquation j W hj p * L.frameChangeFunction i j W hi hj p.val := by |
| 71 | let V := W ⊓ L.rationalReferenceOpen |
| 72 | have hVW : V ≤ W := inf_le_left |
| 73 | have ht := congrArg Units.val (L.ambientTransitionOn_cocycle i j (genericPoint X.carrier) V |
| 74 | (hVW.trans hi) (hVW.trans hj) inf_le_right) |
| 75 | change (L.ambientTransitionOn i j V (hVW.trans hi) (hVW.trans hj) : Γ(X.carrier, V)) * |
| 76 | (L.ambientTransitionOn j (genericPoint X.carrier) V (hVW.trans hj) inf_le_right : Γ(X.carrier, V)) = |
| 77 | (L.ambientTransitionOn i (genericPoint X.carrier) V (hVW.trans hi) inf_le_right : Γ(X.carrier, V)) at ht |
| 78 | have hr := congrArg Units.val (L.ambientTransitionOn_restrict i j hVW hi hj) |
| 79 | change X.carrier.presheaf.map (homOfLE hVW).op (L.ambientTransitionOn i j W hi hj : Γ(X.carrier, W)) = |
| 80 | (L.ambientTransitionOn i j V (hVW.trans hi) (hVW.trans hj) : Γ(X.carrier, V)) at hr |
| 81 | change Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X V _ (L.referenceLocusIntersectionMap W p) = |
| 82 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X V _ (L.referenceLocusIntersectionMap W p) * Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X W _ p.val |
| 83 | rw [← ht, Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_mul, ← hr, Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_restrict] |
| 84 | exact mul_comm _ _ |
| 85 | |
| 86 | /-- The actual relative class of the rational section in one algebraic frame. -/ |
| 87 | def Line.Bundles.AlgebraicLineBundle.rationalSectionLocalSupportedClass (i : X.carrier) (W : X.carrier.Opens) |
| 88 | (hi : W ≤ L.trivializingOpen i) : |
| 89 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (Line.Bundles.AlgebraicLineBundle.analyticOpen X W)) |
| 90 | (L.referenceLocus W) 2 := |
| 91 | Supported.Winding.supportedWindingClass (TopCat.of (Line.Bundles.AlgebraicLineBundle.analyticOpen X W)) (L.referenceLocus W) |
| 92 | (L.referenceEquation i W hi) (L.referenceEquation_ne_zero i W hi) |
| 93 | |
| 94 | /-- The relative class does not depend on the algebraic frame used to compute it. -/ |
| 95 | theorem Line.Bundles.AlgebraicLineBundle.rationalSectionLocalSupportedClass_frame_independent (i j : X.carrier) |
| 96 | (W : X.carrier.Opens) (hi : W ≤ L.trivializingOpen i) (hj : W ≤ L.trivializingOpen j) : |
| 97 | L.rationalSectionLocalSupportedClass i W hi = L.rationalSectionLocalSupportedClass j W hj := by |
| 98 | have he : L.referenceEquation i W hi = L.referenceEquation j W hj * |
| 99 | (L.frameChangeFunction i j W hi hj).comp ⟨Subtype.val, continuous_subtype_val⟩ := |
| 100 | ContinuousMap.ext (L.referenceEquation_change i j W hi hj) |
| 101 | unfold Line.Bundles.AlgebraicLineBundle.rationalSectionLocalSupportedClass |
| 102 | refine (Supported.Winding.supportedWindingClass_congr _ _ _ _ _ |
| 103 | (fun p => mul_ne_zero (L.referenceEquation_ne_zero j W hj p) |
| 104 | (L.frameChangeFunction_ne_zero i j W hi hj p.val)) he).trans ?_ |
| 105 | exact Supported.Winding.supportedWindingClass_mul_extending_unit (TopCat.of (Line.Bundles.AlgebraicLineBundle.analyticOpen X W)) (L.referenceLocus W) |
| 106 | (L.referenceEquation j W hj) (L.referenceEquation_ne_zero j W hj) |
| 107 | (L.frameChangeFunction i j W hi hj) (L.frameChangeFunction_ne_zero i j W hi hj) |
| 108 | |
| 109 | /-- The regular coordinate used here has exactly the existing rational-section germ. -/ |
| 110 | theorem Line.Bundles.AlgebraicLineBundle.referenceEquation_genericCoordinate (i : X.carrier) (W : X.carrier.Opens) |
| 111 | [Nonempty (W ⊓ L.rationalReferenceOpen : X.carrier.Opens)] (hi : W ≤ L.trivializingOpen i) : |
| 112 | L.genericTransitionUnit i (genericPoint X.carrier) (W ⊓ L.rationalReferenceOpen) |
| 113 | (inf_le_left.trans hi) inf_le_right = L.rationalSectionCoordinate i := by |
| 114 | have h : W ⊓ L.rationalReferenceOpen ≤ L.rationalCoordinateDomain i := |
| 115 | le_inf (inf_le_left.trans hi) inf_le_right |
| 116 | exact L.genericTransitionUnit_restrict i (genericPoint X.carrier) h inf_le_left inf_le_right |
| 117 | |
| 118 | /-- Restriction of the equation is actual restriction of the same algebraic transition unit. -/ |
| 119 | theorem Line.Bundles.AlgebraicLineBundle.referenceEquation_restrict (i : X.carrier) {V W : X.carrier.Opens} (hVW : V ≤ W) |
| 120 | (hi : W ≤ L.trivializingOpen i) (p : L.referenceLocus V) : |
| 121 | L.referenceEquation i V (hVW.trans hi) p = |
| 122 | L.referenceEquation i W hi ⟨⟨p.val.val, hVW p.val.property⟩, p.property⟩ := by |
| 123 | have h : V ⊓ L.rationalReferenceOpen ≤ W ⊓ L.rationalReferenceOpen := inf_le_inf_right _ hVW |
| 124 | have hr := congrArg Units.val (L.ambientTransitionOn_restrict i (genericPoint X.carrier) h |
| 125 | (inf_le_left.trans hi) inf_le_right) |
| 126 | change X.carrier.presheaf.map (homOfLE h).op |
| 127 | (L.ambientTransitionOn i (genericPoint X.carrier) (W ⊓ L.rationalReferenceOpen) |
| 128 | (inf_le_left.trans hi) inf_le_right : Γ(X.carrier, W ⊓ L.rationalReferenceOpen)) = |
| 129 | (L.ambientTransitionOn i (genericPoint X.carrier) (V ⊓ L.rationalReferenceOpen) |
| 130 | (inf_le_left.trans (hVW.trans hi)) inf_le_right : Γ(X.carrier, V ⊓ L.rationalReferenceOpen)) at hr |
| 131 | change Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X (V ⊓ L.rationalReferenceOpen) _ _ = |
| 132 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X (W ⊓ L.rationalReferenceOpen) _ _ |
| 133 | rw [← hr, Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_restrict] |
| 134 | rfl |
| 135 | |
| 136 | /-- The analytic inclusion of two algebraic opens, written with its actual source and target. -/ |
| 137 | def Line.Bundles.AlgebraicLineBundle.referenceAmbientInclusion {V W : X.carrier.Opens} (hVW : V ≤ W) : |
| 138 | TopCat.of (Line.Bundles.AlgebraicLineBundle.analyticOpen X V) ⟶ TopCat.of (Line.Bundles.AlgebraicLineBundle.analyticOpen X W) := |
| 139 | TopCat.ofHom (LogRefinementOpen.Construction.openInclusionMap (show Line.Bundles.AlgebraicLineBundle.analyticOpen X V ≤ Line.Bundles.AlgebraicLineBundle.analyticOpen X W from fun _ hp => hVW hp)) |
| 140 | |
| 141 | /-- The analytic inclusion is a map of the actual reference-locus pairs. -/ |
| 142 | theorem Line.Bundles.AlgebraicLineBundle.referenceAmbientInclusion_mapsTo {V W : X.carrier.Opens} (hVW : V ≤ W) : |
| 143 | Set.MapsTo (Line.Bundles.AlgebraicLineBundle.referenceAmbientInclusion hVW) (L.referenceLocus V) (L.referenceLocus W) := |
| 144 | fun _ hp => hp |
| 145 | |
| 146 | /-- The frame-independent local supported classes also commute with open restriction. -/ |
| 147 | theorem Line.Bundles.AlgebraicLineBundle.rationalSectionLocalSupportedClass_restrict (i : X.carrier) {V W : X.carrier.Opens} |
| 148 | (hVW : V ≤ W) (hi : W ≤ L.trivializingOpen i) : |
| 149 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Line.Bundles.AlgebraicLineBundle.referenceAmbientInclusion hVW) |
| 150 | (L.referenceAmbientInclusion_mapsTo hVW) 2 (L.rationalSectionLocalSupportedClass i W hi) = |
| 151 | L.rationalSectionLocalSupportedClass i V (hVW.trans hi) := by |
| 152 | unfold Line.Bundles.AlgebraicLineBundle.rationalSectionLocalSupportedClass |
| 153 | rw [Supported.Winding.supportedWindingClass_pullback] |
| 154 | apply Supported.Winding.supportedWindingClass_congr |
| 155 | apply ContinuousMap.ext |
| 156 | intro p |
| 157 | exact (L.referenceEquation_restrict i hVW hi p).symm |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI.AlgebraicGeometry.DivisorClass.Chern |