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.Divisors.LineBundles.Section.ConormalFinite |
| 2 | import Mathlib.LinearAlgebra.Dual.Defs |
| 3 | |
| 4 | /-! # Conormal Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ConormalMaps.SectionConormal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth algebra sections have actual finite projective conormal |
| 11 | modules. Maps preserving the sections induce functorial conormal maps. -/ |
| 12 | |
| 13 | variable {R B C D : Type} [CommRing R] [CommRing B] [CommRing C] [CommRing D] |
| 14 | [Algebra R B] [Algebra R C] [Algebra R D] |
| 15 | |
| 16 | def module (e : B →ₐ[R] R) := (RingHom.ker e.toRingHom).Cotangent |
| 17 | |
| 18 | instance (e : B →ₐ[R] R) : AddCommGroup (module e) := |
| 19 | inferInstanceAs (AddCommGroup (RingHom.ker e.toRingHom).Cotangent) |
| 20 | |
| 21 | instance (e : B →ₐ[R] R) : Module R (module e) := |
| 22 | inferInstanceAs (Module R (RingHom.ker e.toRingHom).Cotangent) |
| 23 | |
| 24 | theorem kernel_le_comap (e : B →ₐ[R] R) (q : C →ₐ[R] R) |
| 25 | (f : B →ₐ[R] C) (hf : q.comp f = e) : |
| 26 | RingHom.ker e.toRingHom ≤ (RingHom.ker q.toRingHom).comap f.toRingHom := by |
| 27 | intro b hb |
| 28 | change q (f b) = 0 |
| 29 | exact (AlgHom.congr_fun hf b).trans hb |
| 30 | |
| 31 | def map (e : B →ₐ[R] R) (q : C →ₐ[R] R) |
| 32 | (f : B →ₐ[R] C) (hf : q.comp f = e) : module e →ₗ[R] module q := |
| 33 | Ideal.mapCotangent _ _ f (kernel_le_comap e q f hf) |
| 34 | |
| 35 | theorem map_toCotangent (e : B →ₐ[R] R) (q : C →ₐ[R] R) |
| 36 | (f : B →ₐ[R] C) (hf : q.comp f = e) (b : RingHom.ker e.toRingHom) : |
| 37 | map e q f hf (Ideal.toCotangent _ b) = |
| 38 | Ideal.toCotangent _ ⟨f b, kernel_le_comap e q f hf b.property⟩ := rfl |
| 39 | |
| 40 | theorem map_id (e : B →ₐ[R] R) : map e e (AlgHom.id R B) (AlgHom.comp_id e) = LinearMap.id := by |
| 41 | apply LinearMap.ext |
| 42 | intro v |
| 43 | obtain ⟨b, rfl⟩ := Ideal.toCotangent_surjective (RingHom.ker e.toRingHom) v |
| 44 | rfl |
| 45 | |
| 46 | theorem map_comp (e : B →ₐ[R] R) (q : C →ₐ[R] R) (r : D →ₐ[R] R) |
| 47 | (f : B →ₐ[R] C) (g : C →ₐ[R] D) (hf : q.comp f = e) (hg : r.comp g = q) : |
| 48 | (map q r g hg).comp (map e q f hf) = |
| 49 | map e r (g.comp f) (by rw [← AlgHom.comp_assoc, hg, hf]) := by |
| 50 | apply LinearMap.ext |
| 51 | intro v |
| 52 | obtain ⟨b, rfl⟩ := Ideal.toCotangent_surjective (RingHom.ker e.toRingHom) v |
| 53 | rfl |
| 54 | |
| 55 | theorem finite_projective (e : B →ₐ[R] R) [Algebra.FormallySmooth R B] |
| 56 | [Algebra.EssFiniteType R B] : |
| 57 | Module.Finite R (module e) ∧ Module.Projective R (module e) := by |
| 58 | let : Algebra B R := e.toRingHom.toAlgebra |
| 59 | let : IsScalarTower R B R := IsScalarTower.of_algebraMap_eq fun r => (e.commutes r).symm |
| 60 | exact ⟨Divisors.LineBundles.Section.ConormalFinite.BundleCycles.sectionConormal_finite R B, |
| 61 | Divisors.LineBundles.Smooth.SectionCotangent.BundleCycles.smoothSectionCotangent_projective (A := R) (B := B)⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ConormalMaps.SectionConormal |