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.Isogenies.NeighborCounting.Intrinsic.ModeledQuotient |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.KernelIsoTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.BaseChangeCoherence |
| 4 | |
| 5 | /-! # Identity Modeled Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Remove the identity base change from the source of the actual |
| 12 | integral quotient, transporting its complete embedded kernel explicitly. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} {g n : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 20 | {F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme (Over.mk (𝟙 S))} {R : F.Model} |
| 21 | (Q : Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient A (Over.mk (𝟙 S)) F R n) |
| 22 | |
| 23 | def Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient.identitySourceIsogeny : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q.target := by |
| 24 | have : IsIso A.pullbackIdIso.inv.left := (Over.forget S).map_isIso A.pullbackIdIso.inv |
| 25 | exact { |
| 26 | hom := A.pullbackIdIso.inv ≫ Q.isogeny.hom |
| 27 | preservesGroup := inferInstance |
| 28 | finite := inferInstanceAs (IsFinite (A.pullbackIdIso.inv.left ≫ Q.isogeny.hom.left)) |
| 29 | flat := inferInstanceAs (Flat (A.pullbackIdIso.inv.left ≫ Q.isogeny.hom.left)) |
| 30 | surjective := inferInstanceAs (Surjective (A.pullbackIdIso.inv.left ≫ Q.isogeny.hom.left)) } |
| 31 | |
| 32 | def Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient.identitySourceInclusion |
| 33 | (_Q : Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient A (Over.mk (𝟙 S)) F R n) : |
| 34 | (AbelianScheme.IsogenyQuotient.Subgroup.Construction.subgroupGroupScheme F R).X ⟶ A.scheme := |
| 35 | AbelianScheme.IsogenyQuotient.Intrinsic.Stability.Construction.nativeSubgroupInclusion A (Over.mk (𝟙 S)) F R ≫ A.pullbackIdIso.hom |
| 36 | |
| 37 | theorem Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient.identitySourceIsogeny_kernel : |
| 38 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel Q.identitySourceIsogeny.hom Q.identitySourceInclusion := by |
| 39 | have : IsMonHom (Iso.refl Q.target.scheme).hom := |
| 40 | inferInstanceAs (IsMonHom (𝟙 Q.target.scheme)) |
| 41 | have h := Kernel.KernelIsoTransport.prescribedKernel_isos Q.isogeny.hom |
| 42 | (AbelianScheme.IsogenyQuotient.Intrinsic.Stability.Construction.nativeSubgroupInclusion A (Over.mk (𝟙 S)) F R) Q.kernel |
| 43 | A.pullbackIdIso.symm (Iso.refl Q.target.scheme) |
| 44 | simpa only [Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient.identitySourceIsogeny, |
| 45 | Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient.identitySourceInclusion, |
| 46 | Iso.symm_hom, Iso.symm_inv, Iso.refl_hom, Category.comp_id] using h |
| 47 | |
| 48 | theorem Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient.identitySourceIsogeny_kernel_bound |
| 49 | (T : Over S) (x : T ⟶ A.scheme) (hx : x ≫ Q.identitySourceIsogeny.hom = 1) : |
| 50 | x ^ n = 1 := by |
| 51 | have : IsMonHom Q.complement := Q.complementGroup |
| 52 | have hk : (x ≫ A.pullbackIdIso.inv) ≫ Q.isogeny.hom = 1 := by |
| 53 | simpa only [Intrinsic.ModeledQuotient.Lifts.NativeModeledQuotient.identitySourceIsogeny, Category.assoc] using hx |
| 54 | have h := congrArg (fun z => (x ≫ A.pullbackIdIso.inv) ≫ z) Q.projection_complement |
| 55 | rw [← Category.assoc, hk, MonObj.one_comp, MonObj.comp_pow] at h |
| 56 | have hp : (x ≫ A.pullbackIdIso.inv) ^ n = 1 := |
| 57 | (congrArg (fun z : T ⟶ (A.pullback (𝟙 S)).scheme => z ^ n) |
| 58 | (Category.comp_id (x ≫ A.pullbackIdIso.inv))).symm.trans h.symm |
| 59 | have hh := congrArg (fun z => z ≫ A.pullbackIdIso.hom) hp |
| 60 | simpa only [MonObj.pow_comp, Category.assoc, Iso.inv_hom_id, Category.comp_id, |
| 61 | MonObj.one_comp] using hh |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |