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.DividedPowers.DPMorphism |
| 2 | |
| 3 | /-! # Principal Base -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PrincipalBase.PrincipalBasePDMorphism |
| 6 | |
| 7 | /-! |
| 8 | # Maps out of a principal base divided-power ideal |
| 9 | |
| 10 | If the source divided-power ideal is generated by an element of the |
| 11 | base ring, compatibility on the base determines all divided powers. |
| 12 | The target may have torsion. |
| 13 | -/ |
| 14 | |
| 15 | variable (R A B : Type*) [CommRing R] [CommRing A] [CommRing B] [Algebra R A] |
| 16 | (I₀ : Ideal R) (δ₀ : DividedPowers I₀) (r : R) (hr : r ∈ I₀) |
| 17 | (δA : DividedPowers (Ideal.span {algebraMap R A r})) |
| 18 | (J : Ideal B) (δB : DividedPowers J) (f : A →+* B) |
| 19 | (hA : DividedPowers.IsDPMorphism δ₀ δA (algebraMap R A)) |
| 20 | (hB : DividedPowers.IsDPMorphism δ₀ δB (f.comp (algebraMap R A))) |
| 21 | |
| 22 | include hr hA hB in |
| 23 | theorem isDPMorphism : DividedPowers.IsDPMorphism δA δB f := by |
| 24 | have ha : algebraMap R A r ∈ Ideal.span {algebraMap R A r} := Ideal.subset_span (Set.mem_singleton _) |
| 25 | have hb : f (algebraMap R A r) ∈ J := |
| 26 | hB.ideal_comp (Ideal.mem_map_of_mem (f.comp (algebraMap R A)) hr) |
| 27 | refine ⟨?_, ?_⟩ |
| 28 | · rw [Ideal.map_span, Set.image_singleton, Ideal.span_singleton_le_iff_mem] |
| 29 | exact hb |
| 30 | · intro n x hx |
| 31 | obtain ⟨a, rfl⟩ := Ideal.mem_span_singleton.mp hx |
| 32 | rw [f.map_mul, mul_comm (f (algebraMap R A r)) (f a), δB.dpow_mul hb, |
| 33 | mul_comm (algebraMap R A r) a, δA.dpow_mul ha, f.map_mul, f.map_pow, |
| 34 | hA.dpow_comp r hr] |
| 35 | change f a ^ n * δB.dpow n ((f.comp (algebraMap R A)) r) = |
| 36 | f a ^ n * (f.comp (algebraMap R A)) (δ₀.dpow n r) |
| 37 | rw [hB.dpow_comp r hr] |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PrincipalBase.PrincipalBasePDMorphism |