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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | This file has been modified. |
| 17 | -/ |
| 18 | |
| 19 | import HodgeConjecture.Lemmas.AlgebraicGeometry.ComplexPoint.Manifold |
| 20 | import Mathlib.Geometry.Manifold.ContMDiff.Defs |
| 21 | |
| 22 | namespace OAI.AlgebraicGeometry.ComplexPoint.AnalyticMap |
| 23 | |
| 24 | open _root_.AlgebraicGeometry |
| 25 | |
| 26 | /-! |
| 27 | # Analytic maps induced by morphisms of smooth complex schemes |
| 28 | |
| 29 | A morphism of schemes over `Spec ℂ` induces a holomorphic map between the complex manifolds |
| 30 | constructed from algebraic étale coordinates. In local charts, every target coordinate is a |
| 31 | regular function. Its pullback is again regular, so analyticity follows from the chartwise |
| 32 | analyticity of regular-function evaluation. |
| 33 | -/ |
| 34 | |
| 35 | noncomputable section |
| 36 | |
| 37 | open _root_.CategoryTheory Filter _root_.Topology _root_.TopologicalSpace |
| 38 | open scoped _root_.Manifold ContDiff |
| 39 | |
| 40 | section |
| 41 | section |
| 42 | |
| 43 | open _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point |
| 44 | |
| 45 | variable (X Y : Over (Spec ↧ℂ)) (f : X ⟶ Y) |
| 46 | (d e : ℕ) |
| 47 | |
| 48 | /-- In algebraic coordinate charts, each component of a morphism of smooth complex schemes is |
| 49 | complex analytic. -/ |
| 50 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_localChart_symm_map_component |
| 51 | [SmoothOfRelativeDimension d X.hom] |
| 52 | [SmoothOfRelativeDimension e Y.hom] |
| 53 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) {w : Fin d → ℂ} |
| 54 | (hw : w ∈ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).target) |
| 55 | (hmap : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm w) ∈ |
| 56 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z)).source) |
| 57 | (i : Fin e) : |
| 58 | AnalyticAt ℂ |
| 59 | (fun v ↦ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z) |
| 60 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm v)) i) w := by |
| 61 | let D := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localEtaleCoordinates Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z) |
| 62 | have htargetOpen : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm w) ∈ |
| 63 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.overOpen D.ambientCoordinateOpen := by |
| 64 | have hmem := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.mem_coordinateNeighborhood_of_mem_localChart_source |
| 65 | Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z) |
| 66 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm w)) hmap |
| 67 | simpa only [D, _root_.OAI.AlgebraicGeometry.ComplexPoint.SmoothCoordinates.LocalEtaleCoordinates.ambientCoordinateOpen, |
| 68 | Scheme.Opens.ι_image_top] using hmem |
| 69 | have hsourceOpen : (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm w ∈ |
| 70 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.overOpen (f.left ⁻¹ᵁ D.ambientCoordinateOpen) := |
| 71 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.mem_overOpen_map_iff f _ D.ambientCoordinateOpen).mp htargetOpen |
| 72 | have ha := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_localChart_symm_evaluate X d z hw |
| 73 | (f.left ⁻¹ᵁ D.ambientCoordinateOpen) |
| 74 | (f.left.app D.ambientCoordinateOpen (D.ambientCoordinateSection i)) hsourceOpen |
| 75 | have hcontinuous : ContinuousAt |
| 76 | (fun v ↦ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm v)) w := |
| 77 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.continuous_map f).continuousAt.comp |
| 78 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).continuousAt_symm hw) |
| 79 | have heventually : |
| 80 | (fun v ↦ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm v)) ⁻¹' |
| 81 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z)).source ∈ 𝓝 w := |
| 82 | hcontinuous ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z)).open_source.mem_nhds hmap) |
| 83 | apply ha.congr |
| 84 | filter_upwards [heventually] with v hv |
| 85 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart_apply_component_eq_evaluate Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z) |
| 86 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm v)) hv i] |
| 87 | exact _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.evaluate_map f D.ambientCoordinateOpen |
| 88 | (D.ambientCoordinateSection i) ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm v) |>.symm |
| 89 | |
| 90 | /-- In algebraic coordinate charts, the map induced by a morphism of smooth complex schemes is |
| 91 | complex analytic. -/ |
| 92 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_localChart_symm_map |
| 93 | [SmoothOfRelativeDimension d X.hom] |
| 94 | [SmoothOfRelativeDimension e Y.hom] |
| 95 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) {w : Fin d → ℂ} |
| 96 | (hw : w ∈ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).target) |
| 97 | (hmap : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm w) ∈ |
| 98 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z)).source) : |
| 99 | AnalyticAt ℂ |
| 100 | (fun v ↦ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart Y e (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f z) |
| 101 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map f ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.localChart X d z).symm v))) w := |
| 102 | AnalyticAt.pi fun i ↦ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.analyticAt_localChart_symm_map_component |
| 103 | X Y f d e z hw hmap i |
| 104 | |
| 105 | end |
| 106 | end |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.ComplexPoint.AnalyticMap |