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.PELModuli.IntegralModel.IntegralPoincare.NormalizedRestriction |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPoincare.PoincareTripleGeometry |
| 3 | |
| 4 | /-! # Line Cocycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed normalized Poincare isomorphism satisfies the actual |
| 11 | threefold cocycle equation. Uniqueness is proved on the actual triple |
| 12 | overlap, so no gluing or effectivity assumption enters the equation. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 18 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 19 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 20 | [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 21 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 22 | (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] |
| 23 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 24 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) (hrigid : U.PrescribedRigid) |
| 25 | |
| 26 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareNormalizedIso_cocycle : |
| 27 | let src := DescentCocycleChange.DescentCocycle.source π U.prescribedPoincareProjection |
| 28 | let t := U.prescribedPoincareTarget π hU hk |
| 29 | let c := DescentCocycleChange.DescentCocycle.composition π U.prescribedPoincareProjection t |
| 30 | (U.prescribedPoincareTarget_projection π hU hk) |
| 31 | let k₁ := pullback.fst t src |
| 32 | let k₂ := pullback.snd t src |
| 33 | let e := U.prescribedPoincareNormalizedIso hU π hk hrigid |
| 34 | LineBundle.NormalizedRestriction.lineBundleRestrictIso U.prescribedPoincareLine src.left t.left k₁.left |
| 35 | (k₁ ≫ src).left (k₂ ≫ src).left rfl (congrArg Over.Hom.left pullback.condition) e ≪≫ |
| 36 | LineBundle.NormalizedRestriction.lineBundleRestrictIso U.prescribedPoincareLine src.left t.left k₂.left |
| 37 | (k₂ ≫ src).left (k₂ ≫ t).left rfl rfl e = |
| 38 | LineBundle.NormalizedRestriction.lineBundleRestrictIso U.prescribedPoincareLine src.left t.left c.left |
| 39 | (k₁ ≫ src).left (k₂ ≫ t).left |
| 40 | (congrArg Over.Hom.left (DescentCocycleChange.DescentCocycle.composition_source π U.prescribedPoincareProjection t |
| 41 | (U.prescribedPoincareTarget_projection π hU hk))) |
| 42 | (congrArg Over.Hom.left (U.prescribedPoincareTarget_cocycle hU π hk hrigid)) e := by |
| 43 | let src := DescentCocycleChange.DescentCocycle.source π U.prescribedPoincareProjection |
| 44 | let t := U.prescribedPoincareTarget π hU hk |
| 45 | let c := DescentCocycleChange.DescentCocycle.composition π U.prescribedPoincareProjection t |
| 46 | (U.prescribedPoincareTarget_projection π hU hk) |
| 47 | let k₁ := pullback.fst t src |
| 48 | let k₂ := pullback.snd t src |
| 49 | let sd := DescentCocycleChange.DescentCocycle.source π U.prescribedDualProjection |
| 50 | let td := U.prescribedDualOverlapTarget hU π hk |
| 51 | let cd := DescentCocycleChange.DescentCocycle.composition π U.prescribedDualProjection td |
| 52 | (U.prescribedDualOverlapTarget_base hU π hk) |
| 53 | let j₁ := pullback.fst td sd |
| 54 | let j₂ := pullback.snd td sd |
| 55 | let w := U.prescribedPoincareTripleZero hU π hk hrigid |
| 56 | let f := k₁ ≫ src |
| 57 | let g := k₂ ≫ src |
| 58 | let h := k₂ ≫ t |
| 59 | let a := j₁ ≫ sd |
| 60 | let b := j₂ ≫ sd |
| 61 | let d := j₂ ≫ td |
| 62 | have hf : w ≫ f = a ≫ U.prescribedPoincareZero := by |
| 63 | change w ≫ k₁ ≫ src = (j₁ ≫ sd) ≫ U.prescribedPoincareZero |
| 64 | rw [← Category.assoc, U.prescribedPoincareTripleZero_fst hU π hk hrigid, |
| 65 | Category.assoc, U.prescribedPoincareZeroOverlap_source π, Category.assoc] |
| 66 | have hg : w ≫ g = b ≫ U.prescribedPoincareZero := by |
| 67 | change w ≫ k₂ ≫ src = (j₂ ≫ sd) ≫ U.prescribedPoincareZero |
| 68 | rw [← Category.assoc, U.prescribedPoincareTripleZero_snd hU π hk hrigid, |
| 69 | Category.assoc, U.prescribedPoincareZeroOverlap_source π, Category.assoc] |
| 70 | have hh : w ≫ h = d ≫ U.prescribedPoincareZero := by |
| 71 | change w ≫ k₂ ≫ t = (j₂ ≫ td) ≫ U.prescribedPoincareZero |
| 72 | rw [← Category.assoc, U.prescribedPoincareTripleZero_snd hU π hk hrigid, |
| 73 | Category.assoc, U.prescribedPoincareZeroOverlap_target hU π hk hrigid, Category.assoc] |
| 74 | let e := U.prescribedPoincareNormalizedIso hU π hk hrigid |
| 75 | let e₁ := LineBundle.NormalizedRestriction.lineBundleRestrictIso U.prescribedPoincareLine src.left t.left k₁.left f.left g.left |
| 76 | rfl (congrArg Over.Hom.left pullback.condition) e |
| 77 | let e₂ := LineBundle.NormalizedRestriction.lineBundleRestrictIso U.prescribedPoincareLine src.left t.left k₂.left g.left h.left rfl rfl e |
| 78 | let e₃ := LineBundle.NormalizedRestriction.lineBundleRestrictIso U.prescribedPoincareLine src.left t.left c.left f.left h.left |
| 79 | (congrArg Over.Hom.left (DescentCocycleChange.DescentCocycle.composition_source π U.prescribedPoincareProjection t |
| 80 | (U.prescribedPoincareTarget_projection π hU hk))) |
| 81 | (congrArg Over.Hom.left (U.prescribedPoincareTarget_cocycle hU π hk hrigid)) e |
| 82 | let F := LineBundle.SquareFrame.lineBundleSquareFrame U.prescribedPoincareLine U.prescribedPoincareZero.left |
| 83 | U.prescribedPoincareFrame f.left w.left a.left (congrArg Over.Hom.left hf) |
| 84 | let G := LineBundle.SquareFrame.lineBundleSquareFrame U.prescribedPoincareLine U.prescribedPoincareZero.left |
| 85 | U.prescribedPoincareFrame g.left w.left b.left (congrArg Over.Hom.left hg) |
| 86 | let H := LineBundle.SquareFrame.lineBundleSquareFrame U.prescribedPoincareLine U.prescribedPoincareZero.left |
| 87 | U.prescribedPoincareFrame h.left w.left d.left (congrArg Over.Hom.left hh) |
| 88 | have he₁ : (Scheme.Modules.pullback w.left).mapIso e₁ ≪≫ G = F := |
| 89 | U.prescribedPoincareNormalizedIso_restrict hU π hk hrigid k₁ w j₁ |
| 90 | (U.prescribedPoincareTripleZero_fst hU π hk hrigid) f g a b rfl pullback.condition |
| 91 | rfl pullback.condition hf hg |
| 92 | have he₂ : (Scheme.Modules.pullback w.left).mapIso e₂ ≪≫ H = G := |
| 93 | U.prescribedPoincareNormalizedIso_restrict hU π hk hrigid k₂ w j₂ |
| 94 | (U.prescribedPoincareTripleZero_snd hU π hk hrigid) g h b d rfl rfl rfl rfl hg hh |
| 95 | have he₃ : (Scheme.Modules.pullback w.left).mapIso e₃ ≪≫ H = F := |
| 96 | U.prescribedPoincareNormalizedIso_restrict hU π hk hrigid c w cd |
| 97 | (U.prescribedPoincareTripleZero_composition hU π hk hrigid) f h a d |
| 98 | (DescentCocycleChange.DescentCocycle.composition_source π U.prescribedPoincareProjection t |
| 99 | (U.prescribedPoincareTarget_projection π hU hk)) |
| 100 | (U.prescribedPoincareTarget_cocycle hU π hk hrigid) |
| 101 | (DescentCocycleChange.DescentCocycle.composition_source π U.prescribedDualProjection td |
| 102 | (U.prescribedDualOverlapTarget_base hU π hk)) |
| 103 | (U.prescribedDualOverlapTarget_cocycle hU π hk hrigid) hf hh |
| 104 | change e₁ ≪≫ e₂ = e₃ |
| 105 | apply Picard.RigidifiedUniqueness.PicardRigidifiedUniqueness.normalizedIso_unique (U.prescribedPoincareTripleDual hU π hk).left w.left |
| 106 | (congrArg Over.Hom.left (U.prescribedPoincareTripleZero_dual hU π hk hrigid)) |
| 107 | (U.prescribedPoincareTriple_globalFunctions hU π hk hrigid) |
| 108 | (U.prescribedPoincareLine.pullback f.left).locallyTrivial F H |
| 109 | · have he : (Scheme.Modules.pullback w.left).mapIso (e₁ ≪≫ e₂) ≪≫ H = F := by |
| 110 | rw [Functor.mapIso_trans, Iso.trans_assoc, he₂, he₁] |
| 111 | exact congrArg Iso.hom he |
| 112 | · exact congrArg Iso.hom he₃ |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |