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.ThetaConstruction.CountableAmpleLine |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.FieldHomogeneityBaseChange |
| 3 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.FieldHomogeneityFamilyMaps |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.AffinePullback |
| 5 | |
| 6 | /-! # Countable Ample Homogeneous Pair -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.CountableAmpleHomogeneousPair.Geometric |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An ample line and a homogeneous line on the same original abelian |
| 13 | scheme descend to one countable algebraically closed field, retaining |
| 14 | both classes, the group, ampleness, and universal homogeneity. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | variable {k : Type} [Field k] [IsAlgClosed k] [CharZero k] {g : ℕ} |
| 19 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) (L N : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.scheme.left) |
| 20 | |
| 21 | theorem exists_countable_ample_homogeneous_pair (hL : L.IsAmple) |
| 22 | (hN : AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass A (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf N)) : |
| 23 | ∃ D : CountableAmpleLine.Geometric.CountableAmpleLineModel A L, |
| 24 | ∃ J : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle D.abelian.scheme.left, |
| 25 | AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass D.abelian (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf J) ∧ |
| 26 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 27 | (AbelianModuli.ReferenceFamily.CartesianFiberComparison.CartesianFamily.totalMap (Spec.map (CommRingCat.ofHom D.field.subtype)) |
| 28 | A.scheme D.abelian.scheme D.recovery) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf J) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf N := by |
| 29 | obtain ⟨D₀⟩ := CountableAmpleLine.Geometric.exists_countable_ample_line_model A L hL |
| 30 | obtain ⟨G, hG, hGa, hFG, J, hJ⟩ := |
| 31 | AbelianScheme.IsogenyQuotient.Countable.RecoveredLines.Construction.countable_recovered_line_model_exists D₀.field D₀.abelian A D₀.recovery N |
| 32 | let : Countable G := hG |
| 33 | let : IsAlgClosed G := hGa |
| 34 | let v : Spec (.of G) ⟶ Spec (.of D₀.field) := (AbelianScheme.IsogenyQuotient.Countable.ParameterLines.Construction.subfieldParameter D₀.field G hFG).hom |
| 35 | let u := Spec.map (CommRingCat.ofHom G.subtype) |
| 36 | let w := Spec.map (CommRingCat.ofHom D₀.field.subtype) |
| 37 | let B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of G)) := D₀.abelian.pullback v |
| 38 | let : IsMonHom D₀.recovery.hom := D₀.recovery_group |
| 39 | let e : A.scheme ≅ (B.pullback u).scheme := AbelianScheme.IsogenyQuotient.StagedRecovery.Construction.stagedAbelianRecovery D₀.abelian A v u w |
| 40 | (AbelianScheme.IsogenyQuotient.Countable.ParameterLines.Construction.subfieldParameterRestriction D₀.field G hFG).w D₀.recovery |
| 41 | let : IsMonHom e.hom := AbelianScheme.IsogenyQuotient.StagedRecovery.Construction.stagedAbelianRecovery_isMonHom D₀.abelian A v u w |
| 42 | (AbelianScheme.IsogenyQuotient.Countable.ParameterLines.Construction.subfieldParameterRestriction D₀.field G hFG).w D₀.recovery |
| 43 | let c := AbelianModuli.ReferenceFamily.CartesianFiberComparison.CartesianFamily.totalMap u A.scheme B.scheme e |
| 44 | let p₀ : B.scheme.left ⟶ D₀.abelian.scheme.left := pullback.fst D₀.abelian.scheme.hom v |
| 45 | let M := D₀.line.pullback p₀ |
| 46 | let : IsAffineHom v := inferInstanceAs (IsAffineHom |
| 47 | (Spec.map (CommRingCat.ofHom (Subfield.inclusion hFG)))) |
| 48 | let : IsAffineHom p₀ := |
| 49 | MorphismProperty.IsStableUnderBaseChange.of_isPullback (P := @IsAffineHom) |
| 50 | (IsPullback.of_hasPullback D₀.abelian.scheme.hom v).flip inferInstance |
| 51 | have hM : M.IsAmple := D₀.ample.pullback_of_isAffineHom p₀ |
| 52 | have hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass c (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L := by |
| 53 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass c (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass p₀ (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D₀.line)) = _ |
| 54 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 55 | exact (congrArg (fun t => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass t (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D₀.line)) |
| 56 | (AbelianScheme.IsogenyQuotient.StagedRecovery.Construction.stagedAbelianRecovery_totalMap_comp D₀.abelian A v u w |
| 57 | (AbelianScheme.IsogenyQuotient.Countable.ParameterLines.Construction.subfieldParameterRestriction D₀.field G hFG).w D₀.recovery)).trans D₀.line_recovery |
| 58 | let p : (B.pullback u).scheme.left ⟶ B.scheme.left := pullback.fst B.scheme.hom u |
| 59 | have hclasses : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass e.hom.left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (J.pullback p)) = |
| 60 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf N := by |
| 61 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass e.hom.left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass p (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf J)) = _ |
| 62 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 63 | exact hJ |
| 64 | have hJk : AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass (B.pullback u) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (J.pullback p)) := |
| 65 | (FieldHomogeneityFamilyMaps.Geometric.homogeneousLine_iso_iff A (B.pullback u) e _).mp (hclasses.symm ▸ hN) |
| 66 | have hJhom : AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass B (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf J) := |
| 67 | FieldHomogeneityBaseChange.Geometric.homogeneousLine_of_baseChange B J u (hM.projectivePresentation B.scheme.hom) hJk |
| 68 | let D : CountableAmpleLine.Geometric.CountableAmpleLineModel A L := { |
| 69 | field := G |
| 70 | abelian := B |
| 71 | recovery := e |
| 72 | recovery_group := inferInstance |
| 73 | line := M |
| 74 | ample := hM |
| 75 | line_recovery := hc } |
| 76 | exact ⟨D, J, hJhom, hJ⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.CountableAmpleHomogeneousPair.Geometric |