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 Mathlib.RingTheory.Etale.Kaehler |
| 2 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic |
| 3 | |
| 4 | /-! # Smooth Etale Differentials -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothEtaleDifferentials |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Differential criteria for descending smooth coordinates through an |
| 11 | etale source cover. Both the first cotangent homology and differentials |
| 12 | are the actual modules in the Jacobi--Zariski sequence. -/ |
| 13 | |
| 14 | open TensorProduct KaehlerDifferential |
| 15 | |
| 16 | theorem formallyEtale_of_smooth_differential_comparison |
| 17 | (R A B : Type*) [CommRing R] [CommRing A] [CommRing B] |
| 18 | [Algebra R A] [Algebra R B] [Algebra A B] [IsScalarTower R A B] |
| 19 | [Algebra.FormallySmooth R B] |
| 20 | (h : Function.Bijective (KaehlerDifferential.mapBaseChange R A B)) : |
| 21 | Algebra.FormallyEtale A B := by |
| 22 | constructor |
| 23 | · apply (subsingleton_iff_forall_eq 0).mpr |
| 24 | intro x |
| 25 | obtain ⟨y, rfl⟩ := KaehlerDifferential.map_surjective R A B x |
| 26 | obtain ⟨z, rfl⟩ := h.2 y |
| 27 | exact (KaehlerDifferential.exact_mapBaseChange_map R A B).apply_apply_eq_zero z |
| 28 | · apply (subsingleton_iff_forall_eq 0).mpr |
| 29 | intro x |
| 30 | have hδ : Algebra.H1Cotangent.δ R A B x = 0 := by |
| 31 | apply h.1 |
| 32 | rw [map_zero] |
| 33 | exact (Algebra.H1Cotangent.exact_δ_mapBaseChange R A B).apply_apply_eq_zero x |
| 34 | obtain ⟨y, hy⟩ := (Algebra.H1Cotangent.exact_map_δ R A B x).mp hδ |
| 35 | rw [← hy, Subsingleton.elim y 0, map_zero] |
| 36 | |
| 37 | theorem differentials_flat_of_faithfully_flat_etale_cover |
| 38 | (R A B : Type*) [CommRing R] [CommRing A] [CommRing B] |
| 39 | [Algebra R A] [Algebra R B] [Algebra A B] [IsScalarTower R A B] |
| 40 | [Module.FaithfullyFlat A B] [Algebra.FormallyEtale A B] |
| 41 | [Algebra.FormallySmooth R B] : Module.Flat A Ω[A⁄R] := by |
| 42 | have : Module.Flat B (B ⊗[A] Ω[A⁄R]) := |
| 43 | Module.Flat.of_linearEquiv (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R A B) |
| 44 | exact Module.Flat.of_flat_tensorProduct A Ω[A⁄R] B |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SmoothEtaleDifferentials |