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.CycleClass.Thom.ProperImage.EtaleFiberDegree |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffinePointMaps |
| 3 | import Mathlib.RingTheory.RingHom.Etale |
| 4 | import Mathlib.RingTheory.RingHom.Finite |
| 5 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 6 | |
| 7 | /-! # Affine Fiber Degree -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.AffineFiberDegree.Constructions.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-- The actual fiber of the affine complex-point map consists of |
| 14 | algebra homomorphisms over the point's scalar structure. -/ |
| 15 | def affinePointFiberEquiv |
| 16 | {A B : Type*} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 17 | (h : A →ₐ[ℂ] B) (y : A →ₐ[ℂ] ℂ) : |
| 18 | letI := h.toRingHom.toAlgebra |
| 19 | letI := y.toRingHom.toAlgebra |
| 20 | {x : B →ₐ[ℂ] ℂ // x.comp h = y} ≃ (B →ₐ[A] ℂ) := by |
| 21 | let := h.toRingHom.toAlgebra |
| 22 | let := y.toRingHom.toAlgebra |
| 23 | let : IsScalarTower ℂ A B := IsScalarTower.of_algebraMap_eq' h.comp_algebraMap.symm |
| 24 | let : IsScalarTower ℂ A ℂ := IsScalarTower.of_algebraMap_eq' y.comp_algebraMap.symm |
| 25 | refine |
| 26 | { toFun := fun x => |
| 27 | { __ := x.1.toRingHom |
| 28 | commutes' := fun a => AlgHom.congr_fun x.2 a } |
| 29 | invFun := fun f => ⟨f.restrictScalars ℂ, ?_⟩ |
| 30 | left_inv := ?_ |
| 31 | right_inv := ?_ } |
| 32 | · ext a |
| 33 | exact f.commutes a |
| 34 | · intro x |
| 35 | apply Subtype.ext |
| 36 | ext b |
| 37 | rfl |
| 38 | · intro f |
| 39 | ext b |
| 40 | rfl |
| 41 | |
| 42 | /-- Every complex fiber of a finite etale map of affine integral |
| 43 | complex varieties has cardinality equal to the generic algebra rank. -/ |
| 44 | theorem card_affineEtale_fiber |
| 45 | {A B : Type*} [CommRing A] [Algebra ℂ A] [IsDomain A] |
| 46 | [CommRing B] [Algebra ℂ B] |
| 47 | (h : A →ₐ[ℂ] B) (hf : h.toRingHom.Finite) (he : h.toRingHom.Etale) |
| 48 | (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 49 | Nat.card {x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B // Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h x = y} = |
| 50 | @Module.finrank A B _ _ h.toRingHom.toAlgebra.toModule := by |
| 51 | let := h.toRingHom.toAlgebra |
| 52 | let := y.toRingHom.toAlgebra |
| 53 | let : Module.Finite A B := hf |
| 54 | let : Algebra.Etale A B := he |
| 55 | exact (Nat.card_congr (affinePointFiberEquiv h y)).trans (EtaleFiberDegree.Constructions.Construction.card_etale_point_lifts A B ℂ) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.AffineFiberDegree.Constructions.Construction |