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 | This file has been modified. |
| 16 | -/ |
| 17 | import OAI.AlgebraicTopology.Singular.RelativePairExcision |
| 18 | import OAI.AlgebraicTopology.LocalHomology.FundamentalClassGenerator |
| 19 | import OAI.AlgebraicTopology.LocalHomology.PuncturedEuclidean |
| 20 | |
| 21 | /-! # Chart Fundamental Class Generator -/ |
| 22 | |
| 23 | namespace OAI.AlgebraicTopology.LocalHomology.ChartFundamentalClassGenerator.Singular |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | /-! |
| 28 | # Generator properties of chart-local fundamental classes |
| 29 | |
| 30 | A compressed complex chart is a homeomorphism from `ℂ^d` onto its open target. On relative |
| 31 | homology, its map to the ambient point-complement pair factors as the isomorphism onto that target |
| 32 | followed by open-neighborhood excision. Consequently the chart map is an isomorphism and the |
| 33 | transported standard complex local class generates the full ambient local homology group. |
| 34 | -/ |
| 35 | |
| 36 | open _root_.CategoryTheory _root_.Topology |
| 37 | |
| 38 | variable {M : Type} [TopologicalSpace M] |
| 39 | variable (d : ℕ) (e : OpenPartialHomeomorph M (Fin d → ℂ)) (x : M) |
| 40 | (hx : x ∈ e.source) |
| 41 | |
| 42 | lemma chartModelEmbedding_range_eq_target : |
| 43 | Set.range (ChartFundamentalClass.Singular.chartModelEmbedding d e x hx) = (ChartFundamentalClass.Singular.chartModelEmbedding d e x hx).target := by |
| 44 | rw [← Set.image_univ, ← ChartFundamentalClass.Singular.chartModelEmbedding_source d e x hx] |
| 45 | exact (ChartFundamentalClass.Singular.chartModelEmbedding d e x hx).image_source_eq_target |
| 46 | |
| 47 | /-- The compressed inverse chart as a homeomorphism onto its open target. -/ |
| 48 | def chartModelTargetHomeomorph : |
| 49 | (Fin d → ℂ) ≃ₜ (ChartFundamentalClass.Singular.chartModelEmbedding d e x hx).target := |
| 50 | ((ChartFundamentalClass.Singular.chartModelEmbedding d e x hx).isOpenEmbedding |
| 51 | (ChartFundamentalClass.Singular.chartModelEmbedding_source d e x hx)).isEmbedding.toHomeomorph |>.trans |
| 52 | (Homeomorph.setCongr (chartModelEmbedding_range_eq_target d e x hx)) |
| 53 | |
| 54 | @[simp] |
| 55 | lemma chartModelTargetHomeomorph_apply_val (y : Fin d → ℂ) : |
| 56 | (chartModelTargetHomeomorph d e x hx y).1 = ChartFundamentalClass.Singular.chartModelEmbedding d e x hx y := |
| 57 | rfl |
| 58 | |
| 59 | variable [T1Space M] |
| 60 | |
| 61 | omit [T1Space M] in |
| 62 | /-- The oriented standard complex class generates its local homology in every complex |
| 63 | dimension. -/ |
| 64 | lemma span_standardComplexLocalClass_eq_top_for_chart : |
| 65 | Submodule.span ℚ {ComplexClass.Singular.standardComplexLocalClass ℚ d} = ⊤ := by |
| 66 | cases d with |
| 67 | | zero => exact FundamentalClassGenerator.Singular.span_standardComplexLocalClass_zero_eq_top |
| 68 | | succ n => |
| 69 | rw [FundamentalClassGenerator.Singular.span_standardComplexLocalClass_eq_top_iff] |
| 70 | have hdeg : (n + 1) * 2 = n * 2 + 2 := by lia |
| 71 | rw [hdeg] |
| 72 | exact PuncturedEuclidean.Singular.span_standardLocalClass_add_two_eq_top (n * 2) |
| 73 | |
| 74 | /-- The oriented standard complex local class is nonzero in every complex dimension. -/ |
| 75 | lemma standardComplexLocalClass_ne_zero_for_chart : |
| 76 | ComplexClass.Singular.standardComplexLocalClass ℚ d ≠ 0 := by |
| 77 | rw [FundamentalClassGenerator.Singular.standardComplexLocalClass_ne_zero_iff] |
| 78 | by_cases hd : d = 0 |
| 79 | · subst d |
| 80 | exact FundamentalClassGenerator.Singular.standardLocalClass_zero_ne_zero |
| 81 | · exact PuncturedEuclidean.Singular.standardLocalClass_ne_zero_of_pos (d * 2) |
| 82 | (Nat.mul_pos (Nat.pos_of_ne_zero hd) (by norm_num)) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicTopology.LocalHomology.ChartFundamentalClassGenerator.Singular |