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.Comparison.Betti.Open.AffineIsoEvaluation |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves |
| 3 | |
| 4 | /-! # Evaluation Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.EvaluationNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Evaluation on opens under an arbitrary complex scheme map |
| 12 | |
| 13 | The maps on regular sections and complex points are those of the original |
| 14 | scheme morphism. The proof uses the actual restriction to open subschemes. |
| 15 | The open-subscheme calculation generalizes the one in |
| 16 | `SectionEvaluationNaturality` to arbitrary schemes over the complex base. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | attribute [local instance] Algebraic.Sheaves.sectionAlgebra |
| 22 | |
| 23 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 24 | (U : Y.left.Opens) (W : X.left.Opens) (hWU : W ≤ f.left ⁻¹ᵁ U) |
| 25 | |
| 26 | /-- Restrict the original scheme map to the chosen open subschemes. -/ |
| 27 | def openMapOver : AffineIsoEvaluation.openOver X W ⟶ AffineIsoEvaluation.openOver Y U := |
| 28 | Over.homMk (f.left.resLE U W hWU) (by |
| 29 | change f.left.resLE U W hWU ≫ (U.ι ≫ Y.hom) = W.ι ≫ X.hom |
| 30 | rw [← Category.assoc, Scheme.Hom.resLE_comp_ι, Category.assoc] |
| 31 | exact congrArg (fun g => W.ι ≫ g) f.w) |
| 32 | |
| 33 | theorem openMapOver_inclusion : |
| 34 | openMapOver f U W hWU ≫ AffineIsoEvaluation.openInclusion Y U = AffineIsoEvaluation.openInclusion X W ≫ f := by |
| 35 | apply Over.OverMorphism.ext |
| 36 | exact Scheme.Hom.resLE_comp_ι f.left hWU |
| 37 | |
| 38 | /-- The original map on complex points, restricted to the analytic opens. -/ |
| 39 | def analyticOpenMap : C(AffineIsoEvaluation.analyticOpen X W, AffineIsoEvaluation.analyticOpen Y U) := |
| 40 | ⟨fun p => ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f p.val, hWU p.property⟩, |
| 41 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map f).comp continuous_subtype_val).subtype_mk _⟩ |
| 42 | |
| 43 | theorem openPointHomeomorph_map (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AffineIsoEvaluation.openOver X W)) : |
| 44 | AffineIsoEvaluation.openPointHomeomorph Y U (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (openMapOver f U W hWU) p) = |
| 45 | analyticOpenMap f U W hWU (AffineIsoEvaluation.openPointHomeomorph X W p) := by |
| 46 | apply Subtype.ext |
| 47 | simp only [AffineIsoEvaluation.openPointHomeomorph_val, analyticOpenMap, ContinuousMap.coe_mk, |
| 48 | ← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, openMapOver_inclusion] |
| 49 | |
| 50 | theorem topIso_inv_appLE : |
| 51 | f.left.appLE U W hWU ≫ W.topIso.inv = |
| 52 | U.topIso.inv ≫ (openMapOver f U W hWU).left.appTop := by |
| 53 | change _ = U.topIso.inv ≫ (f.left.resLE U W hWU).app ⊤ |
| 54 | erw [Scheme.Hom.resLE_app_top, ← Category.assoc, ← Category.assoc, |
| 55 | Iso.inv_hom_id, Category.id_comp] |
| 56 | rfl |
| 57 | |
| 58 | /-- Evaluating a pulled-back regular section evaluates the section at the mapped point. -/ |
| 59 | theorem sectionEvaluationOn_appLE (s : Γ(Y.left, U)) (p : AffineIsoEvaluation.analyticOpen X W) : |
| 60 | AffineIsoEvaluation.sectionEvaluationOn X W (f.left.appLE U W hWU s) p = |
| 61 | AffineIsoEvaluation.sectionEvaluationOn Y U s (analyticOpenMap f U W hWU p) := by |
| 62 | have hp : (AffineIsoEvaluation.openPointHomeomorph Y U).symm (analyticOpenMap f U W hWU p) = |
| 63 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (openMapOver f U W hWU) ((AffineIsoEvaluation.openPointHomeomorph X W).symm p) := by |
| 64 | apply (AffineIsoEvaluation.openPointHomeomorph Y U).injective |
| 65 | rw [Homeomorph.apply_symm_apply, openPointHomeomorph_map, |
| 66 | Homeomorph.apply_symm_apply] |
| 67 | change RegularFunctions.globalEvaluation ((AffineIsoEvaluation.openPointHomeomorph X W).symm p) |
| 68 | (W.topIso.inv (f.left.appLE U W hWU s)) = |
| 69 | RegularFunctions.globalEvaluation ((AffineIsoEvaluation.openPointHomeomorph Y U).symm (analyticOpenMap f U W hWU p)) |
| 70 | (U.topIso.inv s) |
| 71 | rw [hp, RegularFunctions.globalEvaluation_map] |
| 72 | exact congrArg (RegularFunctions.globalEvaluation ((AffineIsoEvaluation.openPointHomeomorph X W).symm p)) |
| 73 | (ConcreteCategory.congr_hom (topIso_inv_appLE f U W hWU) s) |
| 74 | |
| 75 | /-- The scalar-compatible section map agrees with the same pointwise evaluation. -/ |
| 76 | theorem sectionEvaluationOn_pullback (s : Γ(Y.left, U)) |
| 77 | (p : AffineIsoEvaluation.analyticOpen X (f.left ⁻¹ᵁ U)) : |
| 78 | AffineIsoEvaluation.sectionEvaluationOn X (f.left ⁻¹ᵁ U) (Algebraic.Sheaves.sectionPullback f U s) p = |
| 79 | AffineIsoEvaluation.sectionEvaluationOn Y U s (analyticOpenMap f U (f.left ⁻¹ᵁ U) le_rfl p) := by |
| 80 | change AffineIsoEvaluation.sectionEvaluationOn X (f.left ⁻¹ᵁ U) (f.left.app U s) p = _ |
| 81 | rw [f.left.app_eq_appLE] |
| 82 | exact sectionEvaluationOn_appLE f U (f.left ⁻¹ᵁ U) le_rfl s p |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.EvaluationNaturality |