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 Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 18 | |
| 19 | /-! # Locus -/ |
| 20 | |
| 21 | namespace OAI.AlgebraicGeometry.Smooth.Locus |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | open _root_.AlgebraicGeometry |
| 26 | |
| 27 | /-! |
| 28 | # Restriction to the smooth locus |
| 29 | |
| 30 | This file proves that restricting a locally finitely presented scheme morphism to its smooth |
| 31 | locus gives a smooth morphism. |
| 32 | -/ |
| 33 | |
| 34 | open _root_.CategoryTheory |
| 35 | |
| 36 | universe u |
| 37 | |
| 38 | variable {X Y : Scheme.{u}} |
| 39 | |
| 40 | /-- A locally finitely presented morphism is smooth after restricting its source to the smooth |
| 41 | locus. -/ |
| 42 | lemma Scheme.Hom.smooth_restrict_smoothLocus |
| 43 | (f : X ⟶ Y) [LocallyOfFinitePresentation f] : |
| 44 | Smooth (f.smoothLocus.ι ≫ f) := by |
| 45 | rw [← Scheme.Hom.smoothLocus_eq_top_iff, ← Scheme.Hom.preimage_smoothLocus_eq] |
| 46 | simp |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Smooth.Locus |