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.TorsionQuotient.UniversalUniqueness |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupMarkingCover |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupDetection |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.OverDescentUnique |
| 5 | |
| 6 | /-! # Classifying Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.ClassifyingMap.UniversalSubgroup |
| 9 | |
| 10 | /-! Constructing the unique classifying map of an actual finite subgroup family. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {H T : Over S} [GrpObj H] |
| 18 | variable {M : Type u} [Group M] [Fintype M] |
| 19 | variable [IsFinite H.hom] [Etale H.hom] |
| 20 | variable (D : Unmarked.UnmarkedQuotient.Data H M) {F : SubgroupFunctor.RelativeSubgroup H T} (R : F.Model) |
| 21 | |
| 22 | theorem exists_descended_marking (hType : SubgroupMarkingCover.SubgroupMarkingLocus.HasType F M) : |
| 23 | ∃ f : T ⟶ D.parameter, |
| 24 | SubgroupMarkingIs.SubgroupMarkingLocus.toBase (M := M) R ≫ f = |
| 25 | SubgroupMarkingIs.SubgroupMarkingLocus.marking R ≫ D.projection := by |
| 26 | have : Etale D.parameter.hom := D.etale |
| 27 | obtain ⟨hf, he⟩ := SubgroupMarkingIs.SubgroupMarkingLocus.finite_etale (M := M) R |
| 28 | let : IsFinite (SubgroupMarkingIs.SubgroupMarkingLocus.toBase (M := M) R).left := hf |
| 29 | let : Etale (SubgroupMarkingIs.SubgroupMarkingLocus.toBase (M := M) R).left := he |
| 30 | let : Surjective (SubgroupMarkingIs.SubgroupMarkingLocus.toBase (M := M) R).left := |
| 31 | SubgroupMarkingCover.SubgroupMarkingLocus.surjective R hType |
| 32 | have hi : ∀ (U : Over S) (a b : U ⟶ SubgroupMarkingIs.SubgroupMarkingLocus.carrier (M := M) R), |
| 33 | a ≫ SubgroupMarkingIs.SubgroupMarkingLocus.toBase R = b ≫ SubgroupMarkingIs.SubgroupMarkingLocus.toBase R → |
| 34 | a ≫ (SubgroupMarkingIs.SubgroupMarkingLocus.marking R ≫ D.projection) = |
| 35 | b ≫ (SubgroupMarkingIs.SubgroupMarkingLocus.marking R ≫ D.projection) := by |
| 36 | intro U a b hab |
| 37 | apply IsogenyQuotient.Geometric.Points.Construction.etale_ext_of_geometric_points |
| 38 | intro K hK hclosed s x |
| 39 | have hb : (x ≫ a) ≫ SubgroupMarkingIs.SubgroupMarkingLocus.toBase R = |
| 40 | (x ≫ b) ≫ SubgroupMarkingIs.SubgroupMarkingLocus.toBase R := by |
| 41 | simpa only [Category.assoc] using congrArg (fun f => x ≫ f) hab |
| 42 | have ha' := SubgroupMarkingCover.SubgroupMarkingLocus.geometric_range R hType K s (x ≫ a) |
| 43 | have hb' := SubgroupMarkingCover.SubgroupMarkingLocus.geometric_range R hType K s (x ≫ b) |
| 44 | have hr := ha'.trans ((congrArg (F.points (Over.mk s)) hb).trans hb'.symm) |
| 45 | have hp := (MarkingRangesIff.MarkingRanges.same_projection_iff_range D K s |
| 46 | ((x ≫ a) ≫ SubgroupMarkingIs.SubgroupMarkingLocus.marking R) |
| 47 | ((x ≫ b) ≫ SubgroupMarkingIs.SubgroupMarkingLocus.marking R)).mpr hr |
| 48 | simpa only [Category.assoc] using hp |
| 49 | obtain ⟨f, hf, _⟩ := OverDescentUnique.OverDescent.existsUnique (SubgroupMarkingIs.SubgroupMarkingLocus.toBase R) |
| 50 | (SubgroupMarkingIs.SubgroupMarkingLocus.marking R ≫ D.projection) hi |
| 51 | exact ⟨f, hf⟩ |
| 52 | |
| 53 | include R in |
| 54 | theorem exists_classifying (hType : SubgroupMarkingCover.SubgroupMarkingLocus.HasType F M) : |
| 55 | ∃ f : T ⟶ D.parameter, (UniversalSubgroupEq.UniversalSubgroup.subgroup D).baseChange f = F := by |
| 56 | obtain ⟨f, hf⟩ := exists_descended_marking D R hType |
| 57 | refine ⟨f, ?_⟩ |
| 58 | apply SubgroupDetection.EtaleSubgroupModels.eq_of_geometric_points ((UniversalSubgroupEq.UniversalSubgroup.model D).baseChange f) R |
| 59 | intro K hK hclosed s t |
| 60 | change (UniversalSubgroupEq.UniversalSubgroup.subgroup D).points (Over.mk s) (t ≫ f) = F.points (Over.mk s) t |
| 61 | rw [UniversalSubgroupEq.UniversalSubgroup.geometric_points_eq] |
| 62 | obtain ⟨z, hz⟩ := SubgroupMarkingCover.SubgroupMarkingLocus.geometric_lift R hType K s t |
| 63 | have hr := SubgroupMarkingCover.SubgroupMarkingLocus.geometric_range R hType K s z |
| 64 | rw [hz] at hr |
| 65 | have hp : (z ≫ SubgroupMarkingIs.SubgroupMarkingLocus.marking R) ≫ D.projection = t ≫ f := by |
| 66 | calc |
| 67 | _ = z ≫ (SubgroupMarkingIs.SubgroupMarkingLocus.marking R ≫ D.projection) := Category.assoc _ _ _ |
| 68 | _ = z ≫ (SubgroupMarkingIs.SubgroupMarkingLocus.toBase R ≫ f) := congrArg (fun a => z ≫ a) hf.symm |
| 69 | _ = (z ≫ SubgroupMarkingIs.SubgroupMarkingLocus.toBase R) ≫ f := (Category.assoc _ _ _).symm |
| 70 | _ = t ≫ f := congrArg (fun a => a ≫ f) hz |
| 71 | have he := (MarkingRangesIff.MarkingRanges.same_projection_iff_range D K s |
| 72 | (z ≫ SubgroupMarkingIs.SubgroupMarkingLocus.marking R) (UniversalSubgroupEq.UniversalSubgroup.geometricMark D K s (t ≫ f))).mp |
| 73 | (hp.trans (UniversalSubgroupEq.UniversalSubgroup.geometricMark_projection D K s (t ≫ f)).symm) |
| 74 | exact he.symm.trans hr |
| 75 | |
| 76 | include R in |
| 77 | /-- Every genuine finite flat subgroup family of the prescribed geometric |
| 78 | type is the pullback of the constructed universal subgroup along one and |
| 79 | only one morphism. -/ |
| 80 | theorem existsUnique_classifying (hType : SubgroupMarkingCover.SubgroupMarkingLocus.HasType F M) : |
| 81 | ∃! f : T ⟶ D.parameter, (UniversalSubgroupEq.UniversalSubgroup.subgroup D).baseChange f = F := by |
| 82 | obtain ⟨f, hf⟩ := exists_classifying D R hType |
| 83 | refine ⟨f, hf, ?_⟩ |
| 84 | intro g hg |
| 85 | exact UniversalUniqueness.UniversalSubgroup.classifying_injective D g f (hg.trans hf.symm) |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.ClassifyingMap.UniversalSubgroup |