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.Picard.PoincareBundle.KernelFrame.SquareValues |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.KernelFrame.SquareTransverse |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.IdentityKernelFrames |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.SecondTransverseFrameUnits |
| 5 | |
| 6 | /-! # Kernel Frame Isotropy -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Pulled.KernelFrameIsotropy |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The inverse-image kernel is orthogonal to the coordinate quotient kernel in the pulled line family. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.FiberwiseMultiplication OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme OAI.AlgebraicGeometry.Picard.PoincareBundle.MultiplicationPullbackSquare |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A B C X Y : Over S} |
| 23 | [GrpObj A] [GrpObj B] [GrpObj C] [GrpObj X] [GrpObj Y] |
| 24 | (f : A ⟶ B) [IsMonHom f] (g : X ⟶ Y) [IsMonHom g] |
| 25 | (L : Line.Bundles.LineBundle (B ⊗ Y).left) |
| 26 | (Dh : FiberwiseMultiplication.Multiplication (fst B Y) (snd B Y) L) (Dv : FiberwiseMultiplication.Multiplication (snd B Y) (fst B Y) L) |
| 27 | (m : B ⟶ C) [IsMonHom m] (K : FiberwiseMultiplication.KernelFrames (fst B Y) (snd B Y) L m Dh) |
| 28 | |
| 29 | /-- The first multiplication is pulled through both genuine coordinate homomorphisms. -/ |
| 30 | def horizontalMultiplication := MultiplicationPullbackSquare.multiplication (fst A X) (snd A X) (fst B Y) (snd B Y) |
| 31 | (f ⊗ₘ g) f g (by simp) (by simp) L Dh |
| 32 | |
| 33 | /-- The second multiplication is pulled through both genuine coordinate homomorphisms. -/ |
| 34 | def verticalMultiplication := MultiplicationPullbackSquare.multiplication (snd A X) (fst A X) (snd B Y) (fst B Y) |
| 35 | (f ⊗ₘ g) g f (by simp) (by simp) L Dv |
| 36 | |
| 37 | /-- The first frames use the full scheme-theoretic inverse image of the target kernel. -/ |
| 38 | def horizontal : FiberwiseMultiplication.KernelFrames (fst A X) (snd A X) (L.pullback (f ⊗ₘ g).left) (f ≫ m) |
| 39 | (horizontalMultiplication f g L Dh) := |
| 40 | KernelFrame.PullbackSquare.frames (fst A X) (snd A X) (fst B Y) (snd B Y) |
| 41 | (f ⊗ₘ g) f g (by simp) (by simp) L Dh m K |
| 42 | |
| 43 | /-- The second frames are the pulled target unit frames on the full coordinate kernel. -/ |
| 44 | def vertical : FiberwiseMultiplication.KernelFrames (snd A X) (fst A X) (L.pullback (f ⊗ₘ g).left) (g ≫ 𝟙 Y) |
| 45 | (verticalMultiplication f g L Dv) := by |
| 46 | have : Mono (lift (snd B Y) (fst B Y)) := by |
| 47 | have h : lift (snd B Y) (fst B Y) = (β_ B Y).hom := by cat_disch |
| 48 | rw [h] |
| 49 | infer_instance |
| 50 | exact KernelFrame.PullbackSquare.frames (snd A X) (fst A X) (snd B Y) (fst B Y) |
| 51 | (f ⊗ₘ g) g f (by simp) (by simp) L Dv (𝟙 Y) |
| 52 | (IdentityKernelFrames.frames (snd B Y) (fst B Y) L Dv) |
| 53 | |
| 54 | variable (ht : Kernel.FramesTransverseTransport.Transverse m K Dv) |
| 55 | |
| 56 | include ht |
| 57 | |
| 58 | /-- The actual inverse-image frames retain transverse multiplication after pullback. -/ |
| 59 | theorem horizontal_transverse : Kernel.FramesTransverseTransport.Transverse (f ≫ m) |
| 60 | (horizontal f g L Dh m K) (verticalMultiplication f g L Dv) := |
| 61 | KernelFrame.SquareTransverse.frames_transverse (fst A X) (snd A X) (fst B Y) (snd B Y) |
| 62 | (f ⊗ₘ g) f g (by simp) (by simp) L Dh Dv m K ht |
| 63 | |
| 64 | /-- At every actual pair of inverse-image and coordinate-kernel points, the two line frames agree. -/ |
| 65 | theorem frames_eq {T : Over S} (k : T ⟶ Kernel.Scheme.kernelObject (f ≫ m)) (l : T ⟶ Kernel.Scheme.kernelObject (g ≫ 𝟙 Y)) |
| 66 | (a : T ⟶ A ⊗ X) (ha : k ≫ Kernel.Scheme.kernelInclusion (f ≫ m) = a ≫ fst A X) |
| 67 | (hb : l ≫ Kernel.Scheme.kernelInclusion (g ≫ 𝟙 Y) = a ≫ snd A X) : |
| 68 | (horizontal f g L Dh m K).frame k a ha = (vertical f g L Dv).frame l a hb := by |
| 69 | have hk : (k ≫ Kernel.PreimageQuotient.map f m) ≫ Kernel.Scheme.kernelInclusion m = |
| 70 | (a ≫ (f ⊗ₘ g)) ≫ fst B Y := by |
| 71 | rw [Category.assoc, Kernel.PreimageQuotient.map_inclusion, ← Category.assoc, ha] |
| 72 | simp |
| 73 | have hl : (l ≫ Kernel.PreimageQuotient.map g (𝟙 Y)) ≫ Kernel.Scheme.kernelInclusion (𝟙 Y) = |
| 74 | (a ≫ (f ⊗ₘ g)) ≫ snd B Y := by |
| 75 | rw [Category.assoc, Kernel.PreimageQuotient.map_inclusion, ← Category.assoc, hb] |
| 76 | simp |
| 77 | have hz : (a ≫ (f ⊗ₘ g)) ≫ snd B Y = 1 := |
| 78 | IdentityKernelFrames.coordinate_one (snd B Y) _ _ hl |
| 79 | unfold horizontal vertical |
| 80 | rw [KernelFrame.SquareValues.frames_frame _ _ _ _ _ _ _ _ _ _ _ _ _ k a ha hk, |
| 81 | KernelFrame.SquareValues.frames_frame _ _ _ _ _ _ _ _ _ _ _ _ _ l a hb hl] |
| 82 | exact congrArg (LineSection.transportFrame (f ⊗ₘ g) L a (a ≫ (f ⊗ₘ g)) rfl) |
| 83 | (SecondTransverseFrameUnits.horizontal_frame_eq_vertical_unit m L Dh Dv K ht |
| 84 | (k ≫ Kernel.PreimageQuotient.map f m) (a ≫ (f ⊗ₘ g)) hk hz) |
| 85 | |
| 86 | /-- The actual normalized-frame pairing is one on the full inverse-image kernel against the coordinate kernel. -/ |
| 87 | theorem isotropic : Biextension.Compatibility.Isotropic (L.pullback (f ⊗ₘ g).left) |
| 88 | (horizontalMultiplication f g L Dh) (verticalMultiplication f g L Dv) (f ≫ m) (g ≫ 𝟙 Y) |
| 89 | (horizontal f g L Dh m K) (vertical f g L Dv) := by |
| 90 | intro T k l a ha hb |
| 91 | exact (Line.FrameUnits.frameRatio_eq_one_iff _ _).mpr (frames_eq f g L Dh Dv m K ht k l a ha hb) |
| 92 | |
| 93 | omit ht in |
| 94 | /-- The coordinate-kernel unit frames retain the actual transverse law from target interchange. -/ |
| 95 | theorem vertical_transverse (hi : Biextension.Compatibility.Interchange L Dh Dv) : |
| 96 | Kernel.FramesTransverseTransport.Transverse (g ≫ 𝟙 Y) |
| 97 | (vertical f g L Dv) (horizontalMultiplication f g L Dh) := by |
| 98 | have : Mono (lift (snd B Y) (fst B Y)) := by |
| 99 | have h : lift (snd B Y) (fst B Y) = (β_ B Y).hom := by cat_disch |
| 100 | rw [h] |
| 101 | infer_instance |
| 102 | exact KernelFrame.SquareTransverse.frames_transverse (snd A X) (fst A X) (snd B Y) (fst B Y) |
| 103 | (f ⊗ₘ g) g f (by simp) (by simp) L Dv Dh (𝟙 Y) |
| 104 | (IdentityKernelFrames.frames (snd B Y) (fst B Y) L Dv) |
| 105 | (IdentityKernelFrames.transverse (snd B Y) (fst B Y) L Dv Dh |
| 106 | (fun _T a b c ha hb hc h U => |
| 107 | InterchangeNeutralFrames.vertical_units_horizontal_product L Dh Dv hi a b c ha hb hc h U)) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Pulled.KernelFrameIsotropy |