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.Homomorphisms.UnitPullbackCoherence |
| 2 | |
| 3 | /-! # Open Pullback Coherence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.OpenPullbackCoherence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The native restriction-to-pullback comparison respects composition |
| 10 | of open immersions, with its actual adjunction normalization retained. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X Y Z : Scheme.{u}} |
| 21 | |
| 22 | theorem pullback_restrict_inv_homEquiv (f : X ⟶ Y) [IsOpenImmersion f] (M : Y.Modules) : |
| 23 | (Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _ |
| 24 | ((Scheme.Modules.restrictFunctorIsoPullback f).inv.app M) = |
| 25 | (Scheme.Modules.restrictAdjunction f).unit.app M := by |
| 26 | rw [Scheme.Modules.restrictFunctorIsoPullback, Adjunction.leftAdjointUniq_inv_app, |
| 27 | Adjunction.homEquiv_leftAdjointUniq_hom_app] |
| 28 | |
| 29 | theorem restrictAdjunction_unit_comp (f : X ⟶ Y) (g : Y ⟶ Z) |
| 30 | [IsOpenImmersion f] [IsOpenImmersion g] (M : Z.Modules) : |
| 31 | ((Scheme.Modules.restrictAdjunction g).unit.app M ≫ |
| 32 | (Scheme.Modules.pushforward g).map |
| 33 | ((Scheme.Modules.restrictAdjunction f).unit.app (M.restrict g) ≫ |
| 34 | (Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictFunctorComp f g).inv.app M))) ≫ |
| 35 | (Scheme.Modules.pushforwardComp f g).hom.app (M.restrict (f ≫ g)) = |
| 36 | (Scheme.Modules.restrictAdjunction (f ≫ g)).unit.app M := by |
| 37 | apply Scheme.Modules.hom_ext |
| 38 | intro U |
| 39 | ext m |
| 40 | let V := f ⁻¹ᵁ (g ⁻¹ᵁ U) |
| 41 | let a := homOfLE (g.image_preimage_le U) |
| 42 | let b := g.opensFunctor.map (homOfLE (f.image_preimage_le (g ⁻¹ᵁ U))) |
| 43 | let c : (f ≫ g) ''ᵁ V ⟶ g ''ᵁ (f ''ᵁ V) := eqToHom (by simp) |
| 44 | let d : (f ≫ g) ''ᵁ V ⟶ U := homOfLE ((f ≫ g).image_preimage_le U) |
| 45 | change M.presheaf.map c.op (M.presheaf.map b.op (M.presheaf.map a.op m)) = M.presheaf.map d.op m |
| 46 | rw [← Functor.map_comp_apply, ← Functor.map_comp_apply] |
| 47 | exact congrArg (fun i => M.presheaf.map i m) (Subsingleton.elim _ _) |
| 48 | |
| 49 | theorem restrictPullback_comp_inv (f : X ⟶ Y) (g : Y ⟶ Z) |
| 50 | [IsOpenImmersion f] [IsOpenImmersion g] (M : Z.Modules) : |
| 51 | (Scheme.Modules.pullbackComp f g).inv.app M ≫ |
| 52 | (Scheme.Modules.pullback f).map ((Scheme.Modules.restrictFunctorIsoPullback g).inv.app M) ≫ |
| 53 | (Scheme.Modules.restrictFunctorIsoPullback f).inv.app (M.restrict g) ≫ |
| 54 | (Scheme.Modules.restrictFunctorComp f g).inv.app M = |
| 55 | (Scheme.Modules.restrictFunctorIsoPullback (f ≫ g)).inv.app M := by |
| 56 | let ag := Scheme.Modules.pullbackPushforwardAdjunction g |
| 57 | let af := Scheme.Modules.pullbackPushforwardAdjunction f |
| 58 | let ac := Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g) |
| 59 | have hf : af.homEquiv _ _ ((Scheme.Modules.restrictFunctorIsoPullback f).inv.app (M.restrict g)) = |
| 60 | (Scheme.Modules.restrictAdjunction f).unit.app (M.restrict g) := |
| 61 | pullback_restrict_inv_homEquiv f (M.restrict g) |
| 62 | have hg : ag.homEquiv _ _ ((Scheme.Modules.restrictFunctorIsoPullback g).inv.app M) = |
| 63 | (Scheme.Modules.restrictAdjunction g).unit.app M := pullback_restrict_inv_homEquiv g M |
| 64 | have hc : ac.homEquiv _ _ ((Scheme.Modules.restrictFunctorIsoPullback (f ≫ g)).inv.app M) = |
| 65 | (Scheme.Modules.restrictAdjunction (f ≫ g)).unit.app M := |
| 66 | pullback_restrict_inv_homEquiv (f ≫ g) M |
| 67 | apply (ac.homEquiv _ _).injective |
| 68 | rw [UnitPullbackCoherence.Construction.homEquiv_conjugate (ag.comp af) ac, |
| 69 | Scheme.Modules.conjugateEquiv_pullbackComp_inv] |
| 70 | change ag.homEquiv _ _ (af.homEquiv _ _ |
| 71 | ((Scheme.Modules.pullback f).map ((Scheme.Modules.restrictFunctorIsoPullback g).inv.app M) ≫ |
| 72 | (Scheme.Modules.restrictFunctorIsoPullback f).inv.app (M.restrict g) ≫ |
| 73 | (Scheme.Modules.restrictFunctorComp f g).inv.app M)) ≫ |
| 74 | (Scheme.Modules.pushforwardComp f g).hom.app (M.restrict (f ≫ g)) = _ |
| 75 | rw [af.homEquiv_naturality_left, af.homEquiv_naturality_right, hf, |
| 76 | ag.homEquiv_naturality_right, hg, hc] |
| 77 | exact restrictAdjunction_unit_comp f g M |
| 78 | |
| 79 | end Construction |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.OpenPullbackCoherence |