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.AlgebraicGeometry.Hodge.AnalyticDifferentialForms |
| 18 | |
| 19 | /-! # Analytic Differential Lt -/ |
| 20 | |
| 21 | namespace OAI.AlgebraicGeometry |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | open _root_.AlgebraicGeometry |
| 26 | |
| 27 | /-! |
| 28 | # Analytic differential forms |
| 29 | |
| 30 | -/ |
| 31 | |
| 32 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 33 | open scoped ContDiff _root_.Manifold |
| 34 | |
| 35 | variable (X : Over (Spec ↧ℂ)) (d : ℕ) |
| 36 | |
| 37 | attribute [local instance] ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule |
| 38 | |
| 39 | attribute [local instance] ComplexPoint.Basic.ComplexSchemePoint.chartFieldTower |
| 40 | |
| 41 | lemma ComplexPoint.Basic.ComplexSchemePoint.formRestriction_differential [SmoothOfRelativeDimension d X.hom] |
| 42 | {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))ᵒᵖ} (i : U ⟶ V) (p : ℕ) |
| 43 | (θ : Algebra.DeRham.Basic.Form ℂ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) : |
| 44 | ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i (p + 1) |
| 45 | (Algebra.DeRham.Basic.differential ℂ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p θ) = |
| 46 | Algebra.DeRham.Basic.differential ℂ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d V) p |
| 47 | (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i p θ) := |
| 48 | Algebra.DeRham.BasicSquared.map_differential ℂ (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i) p θ |
| 49 | |
| 50 | lemma ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel_eq_top_of_lt [SmoothOfRelativeDimension d X.hom] |
| 51 | (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))ᵒᵖ) |
| 52 | {p : ℕ} (hp : d < p) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p = ⊤ := by |
| 53 | refine top_unique fun θ _ ↦ ?_ |
| 54 | refine (ComplexPoint.Basic.ComplexSchemePoint.mem_chartEvaluationKernel_iff X d U p θ).2 fun z y hy ↦ |
| 55 | ContinuousAlternatingMap.ext fun v ↦ ?_ |
| 56 | refine (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p θ y).toAlternatingMap.map_linearDependent _ fun hli ↦ ?_ |
| 57 | have hcard := hli.fintype_card_le_finrank |
| 58 | rw [Fintype.card_fin, Module.finrank_fintype_fun_eq_card, Fintype.card_fin] at hcard |
| 59 | lia |
| 60 | |
| 61 | lemma ComplexPoint.Basic.ComplexSchemePoint.holomorphicForm_eq_zero_of_lt [SmoothOfRelativeDimension d X.hom] |
| 62 | (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))ᵒᵖ) |
| 63 | {p : ℕ} (hp : d < p) (θ : ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U p) : θ = 0 := by |
| 64 | obtain ⟨θ, rfl⟩ := Submodule.mkQ_surjective (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p) θ |
| 65 | change Submodule.Quotient.mk θ = 0 |
| 66 | rw [Submodule.Quotient.mk_eq_zero, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel_eq_top_of_lt X d U hp] |
| 67 | trivial |
| 68 | |
| 69 | lemma ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential_squared [SmoothOfRelativeDimension d X.hom] |
| 70 | (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))ᵒᵖ) (p : ℕ) |
| 71 | (θ : ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U p) : |
| 72 | ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d U (p + 1) |
| 73 | (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d U p θ) = 0 := by |
| 74 | obtain ⟨θ, rfl⟩ := Submodule.mkQ_surjective (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p) θ |
| 75 | change Submodule.Quotient.mk |
| 76 | (Algebra.DeRham.Basic.differential ℂ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (p + 1) |
| 77 | (Algebra.DeRham.Basic.differential ℂ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p θ)) = 0 |
| 78 | rw [Algebra.DeRham.BasicSquared.differential_squared] |
| 79 | exact Submodule.Quotient.mk_zero _ |
| 80 | |
| 81 | lemma ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_differential [SmoothOfRelativeDimension d X.hom] |
| 82 | {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))ᵒᵖ} (i : U ⟶ V) (p : ℕ) |
| 83 | (θ : ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U p) : |
| 84 | ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d i (p + 1) |
| 85 | (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d U p θ) = |
| 86 | ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d V p |
| 87 | (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d i p θ) := by |
| 88 | obtain ⟨θ, rfl⟩ := Submodule.mkQ_surjective (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p) θ |
| 89 | change Submodule.Quotient.mk |
| 90 | (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i (p + 1) |
| 91 | (Algebra.DeRham.Basic.differential ℂ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p θ)) = |
| 92 | Submodule.Quotient.mk |
| 93 | (Algebra.DeRham.Basic.differential ℂ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d V) p |
| 94 | (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i p θ)) |
| 95 | rw [ComplexPoint.Basic.ComplexSchemePoint.formRestriction_differential] |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry |