math / data /lean /ComparatorChallenges /StableCoordinateFour.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.44 kB
import Mathlib
namespace OAI
namespace StableCoordinate
open MvPolynomial
abbrev R (n : β„•) := MvPolynomial (Fin n) β„‚
noncomputable def Q : R 4 :=
X 1 ^ 2 - X 3 ^ 2 + X 0 * X 2
noncomputable def f : R 4 :=
X 0 - 2 * Q * (Q * (X 1 + X 3) + X 0 * X 3)
def IsCoordinate {n : β„•} (hn : 0 < n) (g : R n) : Prop :=
βˆƒ Ο† : R n ≃ₐ[β„‚] R n, Ο† g = X ⟨0, hn⟩
noncomputable def stabilize : R 4 →ₐ[β„‚] R 5 :=
rename (Fin.castSucc : Fin 4 β†’ Fin 5)
def IsOneStableCoordinate (g : R 4) : Prop :=
βˆƒ Ο† : R 5 ≃ₐ[β„‚] R 5, Ο† (stabilize g) = X 0
noncomputable def fiberIdeal (t : β„‚) : Ideal (R 4) :=
Ideal.span ({f - C t} : Set (R 4))
abbrev FiberRing (t : β„‚) := R 4 β§Έ fiberIdeal t
def IsAffineThreeSpaceFiber (t : β„‚) : Prop :=
Nonempty (FiberRing t ≃ₐ[β„‚] R 3)
def IsRectifiableFiber (t : β„‚) : Prop :=
βˆƒ Ο† : R 4 ≃ₐ[β„‚] R 4,
Ideal.map Ο†.toRingHom (fiberIdeal t) = Ideal.span ({X 0} : Set (R 4))
def PolynomialPackage : Prop :=
f.totalDegree = 5 ∧
IsOneStableCoordinate f ∧
Β¬ IsCoordinate (by decide : 0 < 4) f
def FiberPackage : Prop :=
βˆ€ t : β„‚, IsAffineThreeSpaceFiber t ∧ Β¬ IsRectifiableFiber t
def PrincipalPackage : Prop := PolynomialPackage ∧ FiberPackage
/-- The explicit degree-five stable noncoordinate and its nonrectifiable affine-space fibers. -/
theorem principal_package : PrincipalPackage := by
sorry
end StableCoordinate
end OAI