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.IsogenyQuotient.Field.PointGroupDetection |
| 2 | |
| 3 | /-! # Group Rigidity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.GroupRigidity.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Function rigidity on the square of a proper smooth connected |
| 10 | group identifies every pointed map with a group homomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem pointed_isMonHom_of_square_functions |
| 19 | {S : Scheme.{u}} (A B : Over S) [GrpObj A] [IsCommMonObj A] [GrpObj B] |
| 20 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 21 | [LocallyOfFiniteType B.hom] [IsSeparated B.hom] |
| 22 | (hΓ : ∀ V : S.Opens, IsIso ((A ⊗ A).hom ∣_ V).appTop) |
| 23 | (f : A ⟶ B) (hf : η[A] ≫ f = η[B]) : IsMonHom f := by |
| 24 | let u : A ⊗ A ⟶ B := μ[A] ≫ f |
| 25 | let v : A ⊗ A ⟶ B := (fst A A ≫ f) * (snd A A ≫ f) |
| 26 | have hfield : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S), |
| 27 | (Over.pullback s).map u = (Over.pullback s).map v := by |
| 28 | intro K _ s |
| 29 | let F := Over.pullback s |
| 30 | let A' := F.obj A |
| 31 | let B' := F.obj B |
| 32 | have : Smooth A'.hom := inferInstanceAs (Smooth (pullback.snd A.hom s)) |
| 33 | have : IsProper A'.hom := inferInstanceAs (IsProper (pullback.snd A.hom s)) |
| 34 | have : GeometricallyConnected A'.hom := inferInstanceAs (GeometricallyConnected (pullback.snd A.hom s)) |
| 35 | have : LocallyOfFiniteType B'.hom := inferInstanceAs (LocallyOfFiniteType (pullback.snd B.hom s)) |
| 36 | have : IsSeparated B'.hom := inferInstanceAs (IsSeparated (pullback.snd B.hom s)) |
| 37 | have hunit : η[A'] ≫ F.map f = η[B'] := by |
| 38 | change (Functor.LaxMonoidal.ε F ≫ F.map η[A]) ≫ F.map f = |
| 39 | Functor.LaxMonoidal.ε F ≫ F.map η[B] |
| 40 | rw [Category.assoc, ← F.map_comp, hf] |
| 41 | have : IsMonHom (F.map f) := IsogenyQuotient.Field.GroupRigidity.Construction.pointed_isMonHom_over_field A' B' (F.map f) hunit |
| 42 | change F.map (μ[A] ≫ f) = F.map ((f ⊗ₘ f) ≫ μ[B]) |
| 43 | apply (cancel_epi (Functor.LaxMonoidal.μ F A A)).mp |
| 44 | have hmul := IsMonHom.mul_hom (F.map f) |
| 45 | change (Functor.LaxMonoidal.μ F A A ≫ F.map μ[A]) ≫ F.map f = |
| 46 | (F.map f ⊗ₘ F.map f) ≫ Functor.LaxMonoidal.μ F B B ≫ F.map μ[B] at hmul |
| 47 | rw [Functor.LaxMonoidal.μ_natural_assoc] at hmul |
| 48 | simpa only [Category.assoc, F.map_comp] using hmul |
| 49 | let d : A ⊗ A ⟶ B := u / v |
| 50 | have hηu : η[A ⊗ A] ≫ u = η[B] := by |
| 51 | dsimp only [u] |
| 52 | rw [← Category.assoc, IsMonHom.one_hom, hf] |
| 53 | have hηv : η[A ⊗ A] ≫ v = η[B] := by |
| 54 | dsimp only [v] |
| 55 | rw [MonObj.comp_mul, ← Category.assoc, IsMonHom.one_hom, hf, |
| 56 | ← Category.assoc, IsMonHom.one_hom, hf] |
| 57 | change (1 : 𝟙_ (Over S) ⟶ B) * 1 = 1 |
| 58 | exact one_mul _ |
| 59 | have hzero : η[A ⊗ A] ≫ d = η[B] := by |
| 60 | rw [show d = u / v from rfl, GrpObj.comp_div, hηu, hηv, div_self'] |
| 61 | simp [Hom.one_def] |
| 62 | have : IsProper (A ⊗ A).hom := by dsimp; infer_instance |
| 63 | have hd : d = 1 := IsogenyQuotient.Field.PointGroupDetection.Construction.overHom_eq_one_of_fieldPoints (A ⊗ A) B hΓ d hzero (by |
| 64 | intro K _ s x |
| 65 | rw [show d = u / v from rfl, GrpObj.comp_div, |
| 66 | IsogenyQuotient.Field.PointGroupDetection.Construction.overHom_fieldPoint_eq_of_field_baseChanges u v hfield s x, div_self']) |
| 67 | refine ⟨hf, ?_⟩ |
| 68 | have hm := div_eq_one.mp hd |
| 69 | change μ[A] ≫ f = (fst A A ≫ f) * (snd A A ≫ f) at hm |
| 70 | rw [hm, Hom.mul_def] |
| 71 | congr 1 |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.GroupRigidity.Construction |