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.GroupTheory.QuotientGroup.Basic |
| 2 | |
| 3 | /-! # Preimage -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Preimage.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | An exact quotient of integral groups transports to the quotient of the |
| 11 | actual preimage of the target integral group in an ambient isomorphism. |
| 12 | This is the algebraic step relating Tate cokernels to isogeny lattices. |
| 13 | -/ |
| 14 | |
| 15 | section Preimage |
| 16 | |
| 17 | variable {B V W : Type*} [AddCommGroup B] [AddCommGroup V] [AddCommGroup W] |
| 18 | (iB : B →+ W) (hiB : Function.Injective iB) (F : V ≃+ W) |
| 19 | |
| 20 | def preimageRangeEquiv : iB.range.comap F.toAddMonoidHom ≃+ B := |
| 21 | (AddEquiv.ofBijective (F.toAddMonoidHom.addSubgroupComap iB.range) ⟨by |
| 22 | intro x y he |
| 23 | apply Subtype.ext |
| 24 | exact F.injective (congrArg Subtype.val he), |
| 25 | F.toAddMonoidHom.addSubgroupComap_surjective iB.range F.surjective⟩).trans |
| 26 | (AddMonoidHom.ofInjective hiB).symm |
| 27 | |
| 28 | theorem preimageRangeEquiv_spec (x : iB.range.comap F.toAddMonoidHom) : |
| 29 | iB (preimageRangeEquiv iB hiB F x) = F x.val := |
| 30 | AddMonoidHom.apply_ofInjective_symm hiB _ |
| 31 | |
| 32 | end Preimage |
| 33 | |
| 34 | variable {A B V W K : Type*} |
| 35 | [AddCommGroup A] [AddCommGroup B] [AddCommGroup V] [AddCommGroup W] [AddCommGroup K] |
| 36 | (iA : A →+ V) (iB : B →+ W) (hiB : Function.Injective iB) |
| 37 | (f : A →+ B) (F : V ≃+ W) (hnatural : ∀ a, F (iA a) = iB (f a)) |
| 38 | (δ : B →+ K) (hker : δ.ker = f.range) |
| 39 | |
| 40 | def preimageQuotientProjection : iB.range.comap F.toAddMonoidHom →+ K := |
| 41 | δ.comp (preimageRangeEquiv iB hiB F).toAddMonoidHom |
| 42 | |
| 43 | include f hnatural hker in |
| 44 | theorem preimageQuotientProjection_ker : |
| 45 | (preimageQuotientProjection iB hiB F δ).ker = |
| 46 | iA.range.comap (iB.range.comap F.toAddMonoidHom).subtype := by |
| 47 | ext x |
| 48 | change δ (preimageRangeEquiv iB hiB F x) = 0 ↔ x.val ∈ iA.range |
| 49 | rw [← AddMonoidHom.mem_ker, hker] |
| 50 | constructor |
| 51 | · rintro ⟨a, ha⟩ |
| 52 | refine ⟨a, F.injective ?_⟩ |
| 53 | rw [hnatural, ha, preimageRangeEquiv_spec] |
| 54 | · rintro ⟨a, ha⟩ |
| 55 | refine ⟨a, hiB ?_⟩ |
| 56 | rw [preimageRangeEquiv_spec, ← hnatural, ha] |
| 57 | |
| 58 | /-- Transport an exact integral quotient through an actual ambient |
| 59 | isomorphism; the smaller subgroup is its original integral image. -/ |
| 60 | def preimageRangeQuotientEquiv (hδ : Function.Surjective δ) : |
| 61 | (iB.range.comap F.toAddMonoidHom) ⧸ |
| 62 | iA.range.comap (iB.range.comap F.toAddMonoidHom).subtype ≃+ K := |
| 63 | (QuotientAddGroup.quotientAddEquivOfEq |
| 64 | (preimageQuotientProjection_ker iA iB hiB f F hnatural δ hker).symm).trans |
| 65 | (QuotientAddGroup.quotientKerEquivOfSurjective |
| 66 | (preimageQuotientProjection iB hiB F δ) |
| 67 | (hδ.comp (preimageRangeEquiv iB hiB F).surjective)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Preimage.Construction |