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.AbelianScheme.FrobeniusKernel.SubgroupPreimage |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FixedGroupCover |
| 3 | |
| 4 | /-! # Subgroup Preimage Projector -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SubgroupPreimageProjector.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A source coefficient endomorphism acts on the subgroup preimage, |
| 11 | fixing its target projection. Idempotence on the bounded preimage is enough |
| 12 | for the resulting fixed subgroup to remain a finite flat cover. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {A B J : Grp (Over S)} |
| 18 | (f : A ⟶ B) (j : J ⟶ B) (a : A ⟶ A) (b : B ⟶ B) |
| 19 | (hab : a ≫ f = f ≫ b) (hj : j ≫ b = j) |
| 20 | |
| 21 | def subgroupPreimageEndomorphism : SubgroupPreimage.Construction.subgroupPreimage f j ⟶ SubgroupPreimage.Construction.subgroupPreimage f j := |
| 22 | pullback.lift (SubgroupPreimage.Construction.subgroupPreimageInclusion f j ≫ a) (SubgroupPreimage.Construction.subgroupPreimageProjection f j) (by |
| 23 | rw [Category.assoc, hab, ← Category.assoc, pullback.condition, Category.assoc, hj]) |
| 24 | |
| 25 | theorem subgroupPreimageEndomorphism_inclusion : |
| 26 | subgroupPreimageEndomorphism f j a b hab hj ≫ SubgroupPreimage.Construction.subgroupPreimageInclusion f j = |
| 27 | SubgroupPreimage.Construction.subgroupPreimageInclusion f j ≫ a := pullback.lift_fst _ _ _ |
| 28 | |
| 29 | theorem subgroupPreimageEndomorphism_projection : |
| 30 | subgroupPreimageEndomorphism f j a b hab hj ≫ SubgroupPreimage.Construction.subgroupPreimageProjection f j = |
| 31 | SubgroupPreimage.Construction.subgroupPreimageProjection f j := pullback.lift_snd _ _ _ |
| 32 | |
| 33 | theorem subgroupPreimageEndomorphism_idempotent |
| 34 | (ha : (SubgroupPreimage.Construction.subgroupPreimageInclusion f j ≫ a) ≫ a = SubgroupPreimage.Construction.subgroupPreimageInclusion f j ≫ a) : |
| 35 | subgroupPreimageEndomorphism f j a b hab hj ≫ subgroupPreimageEndomorphism f j a b hab hj = |
| 36 | subgroupPreimageEndomorphism f j a b hab hj := by |
| 37 | apply pullback.hom_ext |
| 38 | · rw [Category.assoc, subgroupPreimageEndomorphism_inclusion, ← Category.assoc, |
| 39 | subgroupPreimageEndomorphism_inclusion, ha] |
| 40 | · rw [Category.assoc, subgroupPreimageEndomorphism_projection, subgroupPreimageEndomorphism_projection] |
| 41 | |
| 42 | include hab hj in |
| 43 | theorem subgroupPreimageFixed_cover |
| 44 | [IsFinite f.hom.hom.left] [Flat f.hom.hom.left] [LocallyOfFinitePresentation f.hom.hom.left] |
| 45 | [Surjective f.hom.hom.left] |
| 46 | (ha : (SubgroupPreimage.Construction.subgroupPreimageInclusion f j ≫ a) ≫ a = SubgroupPreimage.Construction.subgroupPreimageInclusion f j ≫ a) : |
| 47 | let G := SubgroupPreimage.Construction.subgroupPreimage f j |
| 48 | let e := subgroupPreimageEndomorphism f j a b hab hj |
| 49 | let p := SubgroupPreimage.Construction.subgroupPreimageProjection f j |
| 50 | IsFinite (FixedGroupCover.Construction.fixedGroupTargetOver G e p).hom ∧ |
| 51 | Flat (FixedGroupCover.Construction.fixedGroupTargetOver G e p).hom ∧ |
| 52 | LocallyOfFinitePresentation (FixedGroupCover.Construction.fixedGroupTargetOver G e p).hom ∧ |
| 53 | Surjective (FixedGroupCover.Construction.fixedGroupTargetOver G e p).hom := by |
| 54 | obtain ⟨hf, hflat, hfp, hsurj⟩ := SubgroupPreimage.Construction.subgroupPreimageProjection_cover f j |
| 55 | let := hf |
| 56 | let := hflat |
| 57 | let := hfp |
| 58 | let := hsurj |
| 59 | exact FixedGroupCover.Construction.fixedGroupProjection_cover _ _ (subgroupPreimageEndomorphism_idempotent f j a b hab hj ha) |
| 60 | _ (subgroupPreimageEndomorphism_projection f j a b hab hj) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SubgroupPreimageProjector.Construction |