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.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SurjectiveBaseChange |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionKernel |
| 4 | |
| 5 | /-! # Fiber Section Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionNeighborhood.Trace |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A lift of the trace-dual fiber component selects a genuine source |
| 12 | principal neighborhood. On that neighborhood the pulled-back target |
| 13 | parameters generate exactly the kernel of the chosen source section. -/ |
| 14 | open scoped TensorProduct |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u v |
| 19 | variable (B C k : Type u) [CommRing B] [CommRing C] [CommRing k] |
| 20 | [Algebra B C] [Algebra B k] [Module.Free B C] [Module.Finite B C] |
| 21 | [Algebra.Etale B C] (ε : C →ₐ[B] k) |
| 22 | (h : Function.Surjective (algebraMap B k)) |
| 23 | |
| 24 | def fiberIdeal : Ideal C := (RingHom.ker (algebraMap B k)).map (algebraMap B C) |
| 25 | |
| 26 | omit [Module.Free B C] [Module.Finite B C] [Algebra.Etale B C] in |
| 27 | theorem fiberIdeal_le : fiberIdeal B C k ≤ RingHom.ker ε.toRingHom := by |
| 28 | rw [fiberIdeal, Ideal.map_le_iff_le_comap] |
| 29 | intro x hx |
| 30 | change ε (algebraMap B C x) = 0 |
| 31 | rw [ε.commutes] |
| 32 | exact hx |
| 33 | |
| 34 | include h in |
| 35 | omit [Module.Free B C] [Module.Finite B C] in |
| 36 | theorem lift_annihilates (z : C) |
| 37 | (hz : (1 ⊗ₜ[B] z : k ⊗[B] C) = FiberSectionTrace.component B C k ε) |
| 38 | (x : C) (hx : ε x = 0) : z*x ∈ fiberIdeal B C k := by |
| 39 | rw [fiberIdeal, ← SurjectiveBaseChange.kernel k C h] |
| 40 | change (1 ⊗ₜ[B] (z*x) : k ⊗[B] C) = 0 |
| 41 | have hm : (1 ⊗ₜ[B] (z*x) : k ⊗[B] C) = |
| 42 | (1 ⊗ₜ[B] z) * (1 ⊗ₜ[B] x) := by |
| 43 | rw [Algebra.TensorProduct.tmul_mul_tmul, one_mul] |
| 44 | rw [hm, hz] |
| 45 | apply SectionTrace.component_annihilates k (k ⊗[B] C) |
| 46 | (FiberSectionTrace.evaluation B C k ε) |
| 47 | rw [FiberSectionTrace.evaluation_tmul, hx, mul_zero] |
| 48 | |
| 49 | variable (z : C) (hz : (1 ⊗ₜ[B] z : k ⊗[B] C) = FiberSectionTrace.component B C k ε) |
| 50 | (S : Type v) [CommRing S] [Algebra C S] [IsLocalization.Away z S] |
| 51 | (η : S →+* k) (hη : η.comp (algebraMap C S) = ε.toRingHom) |
| 52 | |
| 53 | include h hz hη in |
| 54 | omit [Module.Free B C] [Module.Finite B C] in |
| 55 | theorem localized_kernel : RingHom.ker η = (fiberIdeal B C k).map (algebraMap C S) := |
| 56 | Principal.SectionKernel.kernel z ε.toRingHom η hη (fiberIdeal B C k) |
| 57 | (fiberIdeal_le B C k ε) (lift_annihilates B C k ε h z hz) |
| 58 | |
| 59 | include h hz hη in |
| 60 | omit [Module.Free B C] [Module.Finite B C] in |
| 61 | theorem localized_parameter_kernel {m : ℕ} (t : Fin m → B) |
| 62 | (ht : RingHom.ker (algebraMap B k) = Ideal.span (Set.range t)) : |
| 63 | RingHom.ker η = Ideal.span (Set.range (algebraMap C S ∘ algebraMap B C ∘ t)) := by |
| 64 | rw [localized_kernel B C k ε h z hz S η hη, fiberIdeal, ht, |
| 65 | Ideal.map_span, ← Set.range_comp, Ideal.map_span, ← Set.range_comp] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionNeighborhood.Trace |