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.UniversalSubgroupEq |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.Points |
| 3 | |
| 4 | /-! # Subgroup Choices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.SubgroupChoices.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The geometric points of TorsionQuotient's actual unmarked subgroup parameter scheme |
| 12 | are exactly abstract subgroups of the prescribed type. Injective markings |
| 13 | over a field remain injective on every field-valued test point, and their |
| 14 | quotient identifies precisely equal subgroup images. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem field_scheme_morphism_epi {K L : Type u} [Field K] [Field L] |
| 23 | (f : Spec (.of L) ⟶ Spec (.of K)) : Epi f := by |
| 24 | let a : CommRingCat.of K ⟶ CommRingCat.of L := Spec.preimage f |
| 25 | have ha : Spec.map a = f := Spec.map_preimage f |
| 26 | have : Epi (Spec.map a) := Points.Construction.field_spec_epi a.hom |
| 27 | rwa [ha] at this |
| 28 | |
| 29 | theorem field_marking_distinct {S : Scheme.{u}} (H : Over S) [GrpObj H] |
| 30 | (M : Type u) [Group M] [Fintype M] |
| 31 | {K : Type u} [Field K] (b : Spec (.of K) ⟶ S) |
| 32 | (a : M →* (Over.mk b ⟶ H)) (ha : Function.Injective a) : |
| 33 | TorsionQuotient.EmbeddingParametersIs.EmbeddingParameters.Distinct H M a := by |
| 34 | intro L _ s t x y hxy |
| 35 | have : Epi t.left := field_scheme_morphism_epi t.left |
| 36 | have : Epi t := Over.epi_of_epi_left t |
| 37 | exact ha ((cancel_epi t).mp hxy) |
| 38 | |
| 39 | variable {S : Scheme.{u}} {H : Over S} [GrpObj H] |
| 40 | {M : Type u} [Group M] [Fintype M] [IsFinite H.hom] [Etale H.hom] |
| 41 | (D : TorsionQuotient.Unmarked.UnmarkedQuotient.Data H M) |
| 42 | (K : Type u) [Field K] [IsAlgClosed K] (b : Spec (.of K) ⟶ S) |
| 43 | |
| 44 | def geometricSubgroupPoint (t : Over.mk b ⟶ D.parameter) : |
| 45 | {J : Subgroup (Over.mk b ⟶ H) // Nonempty (J ≃* M)} := |
| 46 | ⟨(TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.subgroup D).points (Over.mk b) t, |
| 47 | ⟨TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometricType D K b t⟩⟩ |
| 48 | |
| 49 | theorem geometricSubgroupPoint_injective : Function.Injective (geometricSubgroupPoint D K b) := by |
| 50 | intro t v he |
| 51 | have hgroups := congrArg Subtype.val he |
| 52 | change (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.subgroup D).points (Over.mk b) t = |
| 53 | (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.subgroup D).points (Over.mk b) v at hgroups |
| 54 | rw [TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometric_points_eq, TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometric_points_eq] at hgroups |
| 55 | have hp := (TorsionQuotient.MarkingRangesIff.MarkingRanges.same_projection_iff_range D K b |
| 56 | (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometricMark D K b t) |
| 57 | (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometricMark D K b v)).mpr hgroups |
| 58 | simpa only [TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometricMark_projection] using hp |
| 59 | |
| 60 | theorem geometricSubgroupPoint_surjective : Function.Surjective (geometricSubgroupPoint D K b) := by |
| 61 | rintro ⟨J, ⟨e⟩⟩ |
| 62 | let a : M →* (Over.mk b ⟶ H) := J.subtype.comp e.symm.toMonoidHom |
| 63 | have ha : Function.Injective a := J.subtype_injective.comp e.symm.injective |
| 64 | let marking : TorsionQuotient.EmbeddingParametersIs.EmbeddingParameters.Choice H M (Over.mk b) := |
| 65 | ⟨a, field_marking_distinct H M b a ha⟩ |
| 66 | let p := (TorsionQuotient.EmbeddingParametersIs.EmbeddingParameters.pointsEquiv H M (Over.mk b)).symm marking |
| 67 | let t := p ≫ D.projection |
| 68 | refine ⟨t, Subtype.ext ?_⟩ |
| 69 | change (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.subgroup D).points (Over.mk b) t = J |
| 70 | rw [TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometric_points_eq] |
| 71 | have hp := (TorsionQuotient.MarkingRangesIff.MarkingRanges.same_projection_iff_range D K b |
| 72 | (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometricMark D K b t) p).mp |
| 73 | (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometricMark_projection D K b t) |
| 74 | have hm : TorsionQuotient.EmbeddingParametersIs.EmbeddingParameters.points H M (Over.mk b) p = marking := |
| 75 | (TorsionQuotient.EmbeddingParametersIs.EmbeddingParameters.pointsEquiv H M (Over.mk b)).apply_symm_apply marking |
| 76 | change (TorsionQuotient.EmbeddingParametersIs.EmbeddingParameters.points H M (Over.mk b) |
| 77 | (TorsionQuotient.UniversalSubgroupEq.UniversalSubgroup.geometricMark D K b t)).val.range = J |
| 78 | rw [hp, hm] |
| 79 | change a.range = J |
| 80 | ext x |
| 81 | constructor |
| 82 | · rintro ⟨m, rfl⟩ |
| 83 | exact (e.symm m).property |
| 84 | · intro hx |
| 85 | exact ⟨e ⟨x, hx⟩, congrArg Subtype.val (e.symm_apply_apply ⟨x, hx⟩)⟩ |
| 86 | |
| 87 | /-- TorsionQuotient's geometric parameter points classify unmarked subgroup images |
| 88 | of the required abstract group type. -/ |
| 89 | def geometricSubgroupPointEquiv : |
| 90 | (Over.mk b ⟶ D.parameter) ≃ {J : Subgroup (Over.mk b ⟶ H) // Nonempty (J ≃* M)} := |
| 91 | Equiv.ofBijective (geometricSubgroupPoint D K b) |
| 92 | ⟨geometricSubgroupPoint_injective D K b, geometricSubgroupPoint_surjective D K b⟩ |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.SubgroupChoices.Construction |