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.QuadrilinearPullbackDetection |
| 2 | |
| 3 | /-! # Quadrilinear Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.QuadrilinearPullback.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual geometric pullback of four-linear line-sheaf maps, |
| 10 | characterized by its four adjunction-unit inputs. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} {M N P Q R : Y.Modules} |
| 17 | |
| 18 | def tensorFourPullbackIso (f : X ⟶ Y) (M N P Q : Y.Modules) |
| 19 | (hM : Picard.PoincareBundle.Line.Bundles.IsLine M) (hN : Picard.PoincareBundle.Line.Bundles.IsLine N) |
| 20 | (hP : Picard.PoincareBundle.Line.Bundles.IsLine P) (hQ : Picard.PoincareBundle.Line.Bundles.IsLine Q) : |
| 21 | (Scheme.Modules.pullback f).obj (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) P) Q) ≅ |
| 22 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback f).obj M) |
| 23 | ((Scheme.Modules.pullback f).obj N)) ((Scheme.Modules.pullback f).obj P)) ((Scheme.Modules.pullback f).obj Q) := by |
| 24 | have : IsIso (TensorFourPullback.Construction.tensorFourPullbackMap f M N P Q) := TensorFourPullback.Construction.tensorFourPullbackMap_isIso f M N P Q hM hN hP hQ |
| 25 | exact asIso (TensorFourPullback.Construction.tensorFourPullbackMap f M N P Q) |
| 26 | |
| 27 | def lineQuadrilinearPulledHom (f : X ⟶ Y) |
| 28 | (hM : Picard.PoincareBundle.Line.Bundles.IsLine M) (hN : Picard.PoincareBundle.Line.Bundles.IsLine N) |
| 29 | (hP : Picard.PoincareBundle.Line.Bundles.IsLine P) (hQ : Picard.PoincareBundle.Line.Bundles.IsLine Q) (b : QuadrilinearProducts.Construction.SheafQuadrilinearMap M N P Q R) : |
| 30 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback f).obj M) |
| 31 | ((Scheme.Modules.pullback f).obj N)) ((Scheme.Modules.pullback f).obj P)) ((Scheme.Modules.pullback f).obj Q) ⟶ |
| 32 | (Scheme.Modules.pullback f).obj R := |
| 33 | (tensorFourPullbackIso f M N P Q hM hN hP hQ).inv ≫ (Scheme.Modules.pullback f).map (TensorQuadrilinear.Construction.lineQuadrilinearToHom b) |
| 34 | |
| 35 | theorem lineQuadrilinearPulledHom_fac (f : X ⟶ Y) |
| 36 | (hM : Picard.PoincareBundle.Line.Bundles.IsLine M) (hN : Picard.PoincareBundle.Line.Bundles.IsLine N) |
| 37 | (hP : Picard.PoincareBundle.Line.Bundles.IsLine P) (hQ : Picard.PoincareBundle.Line.Bundles.IsLine Q) (b : QuadrilinearProducts.Construction.SheafQuadrilinearMap M N P Q R) : |
| 38 | TensorFourPullback.Construction.tensorFourPullbackMap f M N P Q ≫ lineQuadrilinearPulledHom f hM hN hP hQ b = |
| 39 | (Scheme.Modules.pullback f).map (TensorQuadrilinear.Construction.lineQuadrilinearToHom b) := by |
| 40 | change (tensorFourPullbackIso f M N P Q hM hN hP hQ).hom ≫ |
| 41 | (tensorFourPullbackIso f M N P Q hM hN hP hQ).inv ≫ _ = _ |
| 42 | exact Iso.hom_inv_id_assoc _ _ |
| 43 | |
| 44 | def lineQuadrilinearPullback (f : X ⟶ Y) |
| 45 | (hM : Picard.PoincareBundle.Line.Bundles.IsLine M) (hN : Picard.PoincareBundle.Line.Bundles.IsLine N) |
| 46 | (hP : Picard.PoincareBundle.Line.Bundles.IsLine P) (hQ : Picard.PoincareBundle.Line.Bundles.IsLine Q) (b : QuadrilinearProducts.Construction.SheafQuadrilinearMap M N P Q R) : |
| 47 | QuadrilinearProducts.Construction.SheafQuadrilinearMap ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) |
| 48 | ((Scheme.Modules.pullback f).obj P) ((Scheme.Modules.pullback f).obj Q) ((Scheme.Modules.pullback f).obj R) := |
| 49 | TensorQuadrilinear.Construction.tensorQuadrilinearEquiv _ _ _ _ _ (lineQuadrilinearPulledHom f hM hN hP hQ b) |
| 50 | |
| 51 | theorem lineQuadrilinearPullback_app_units (f : X ⟶ Y) |
| 52 | (hM : Picard.PoincareBundle.Line.Bundles.IsLine M) (hN : Picard.PoincareBundle.Line.Bundles.IsLine N) |
| 53 | (hP : Picard.PoincareBundle.Line.Bundles.IsLine P) (hQ : Picard.PoincareBundle.Line.Bundles.IsLine Q) (b : QuadrilinearProducts.Construction.SheafQuadrilinearMap M N P Q R) |
| 54 | (U : Y.Opens) (m : Γ(M, U)) (n : Γ(N, U)) (p : Γ(P, U)) (q : Γ(Q, U)) : |
| 55 | (lineQuadrilinearPullback f hM hN hP hQ b).app (f ⁻¹ᵁ U) |
| 56 | ((TensorTriplePullback.Construction.linePullbackUnit f M).app U m) ((TensorTriplePullback.Construction.linePullbackUnit f N).app U n) |
| 57 | ((TensorTriplePullback.Construction.linePullbackUnit f P).app U p) ((TensorTriplePullback.Construction.linePullbackUnit f Q).app U q) = |
| 58 | (TensorTriplePullback.Construction.linePullbackUnit f R).app U (b.app U m n p q) := by |
| 59 | have h := congrArg (fun a => a.app (f ⁻¹ᵁ U) |
| 60 | ((TensorTriplePullback.Construction.linePullbackUnit f (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) P) Q)).app U |
| 61 | ((Picard.Homomorphisms.TensorAssociativity.Construction.tensorModuleBilinear (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) P) Q).app U |
| 62 | ((Picard.Homomorphisms.TensorAssociativity.Construction.tensorModuleBilinear (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) P).app U ((Picard.Homomorphisms.TensorAssociativity.Construction.tensorModuleBilinear M N).app U m n) p) q))) |
| 63 | (lineQuadrilinearPulledHom_fac f hM hN hP hQ b) |
| 64 | change (lineQuadrilinearPulledHom f hM hN hP hQ b).app (f ⁻¹ᵁ U) |
| 65 | ((TensorFourPullback.Construction.tensorFourPullbackMap f M N P Q).app (f ⁻¹ᵁ U) _) = _ at h |
| 66 | rw [TensorFourPullback.Construction.tensorFourPullbackMap_app_unit, TensorTriplePullback.Construction.linePullbackUnit_natural, TensorQuadrilinear.Construction.lineQuadrilinearToHom_app_tensor] at h |
| 67 | exact (TensorQuadrilinear.Construction.tensorQuadrilinearEquiv_apply _ _ _ _ _ _).trans h |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.QuadrilinearPullback.Construction |