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.Sheaf.KernelSections |
| 2 | import Mathlib.Algebra.Category.Grp.EpiMono |
| 3 | |
| 4 | /-! # Subobject Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Sheaf.SubobjectDetection.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual sections on every test scheme detect inclusion and |
| 11 | equality of commutative fppf-sheaf subobjects. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {F : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S} (J K : Subobject F) |
| 17 | |
| 18 | theorem sheafSubobject_le_of_sections |
| 19 | (h : ∀ T : Over S, KernelSections.Construction.sheafSubobjectSections T J ≤ KernelSections.Construction.sheafSubobjectSections T K) : J ≤ K := by |
| 20 | have hi (T : (Over S)ᵒᵖ) : Function.Injective (K.arrow.hom.app T) := |
| 21 | (CommGrpCat.mono_iff_injective _).mp inferInstance |
| 22 | have hex (T : (Over S)ᵒᵖ) (x : (J : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S).obj.obj T) : |
| 23 | ∃ y, K.arrow.hom.app T y = J.arrow.hom.app T x := h T.unop ⟨x, rfl⟩ |
| 24 | let lift (T : (Over S)ᵒᵖ) (x : (J : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S).obj.obj T) := (hex T x).choose |
| 25 | have hl (T : (Over S)ᵒᵖ) (x : (J : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S).obj.obj T) : |
| 26 | K.arrow.hom.app T (lift T x) = J.arrow.hom.app T x := (hex T x).choose_spec |
| 27 | let m : (J : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S) ⟶ (K : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S) := { |
| 28 | hom.app T := CommGrpCat.ofHom { |
| 29 | toFun := lift T |
| 30 | map_one' := by apply hi T; rw [hl, map_one, map_one] |
| 31 | map_mul' x y := by apply hi T; rw [hl, map_mul, map_mul, hl, hl] } |
| 32 | hom.naturality := by |
| 33 | intro T U f |
| 34 | apply CommGrpCat.hom_ext |
| 35 | apply MonoidHom.ext |
| 36 | intro x |
| 37 | apply hi U |
| 38 | change K.arrow.hom.app U (lift U ((J : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S).obj.map f x)) = |
| 39 | K.arrow.hom.app U ((K : CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S).obj.map f (lift T x)) |
| 40 | rw [hl] |
| 41 | have hJ := ConcreteCategory.congr_hom (J.arrow.hom.naturality f) x |
| 42 | have hK := ConcreteCategory.congr_hom (K.arrow.hom.naturality f) (lift T x) |
| 43 | exact hJ.trans ((congrArg ((F.obj.map f)) (hl T x)).symm.trans hK.symm) } |
| 44 | apply Subobject.le_of_comm m |
| 45 | apply (sheafToPresheaf (Scheme.fppfTopology.over S) CommGrpCat.{u + 1}).map_injective |
| 46 | apply NatTrans.ext |
| 47 | funext T |
| 48 | apply CommGrpCat.hom_ext |
| 49 | apply MonoidHom.ext |
| 50 | exact hl T |
| 51 | |
| 52 | theorem sheafSubobject_eq_of_sections |
| 53 | (h : ∀ T : Over S, KernelSections.Construction.sheafSubobjectSections T J = KernelSections.Construction.sheafSubobjectSections T K) : J = K := |
| 54 | le_antisymm (sheafSubobject_le_of_sections J K (fun T => (h T).le)) |
| 55 | (sheafSubobject_le_of_sections K J (fun T => (h T).ge)) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Sheaf.SubobjectDetection.Construction |