Download data/lean/ComparatorChallenges/CommutingDerivations.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.39 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/ComparatorChallenges/CommutingDerivations.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/ComparatorChallenges/CommutingDerivations.lean
-
curl -L -o CommutingDerivations.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/ComparatorChallenges/CommutingDerivations.lean
2.39 kB
| import Mathlib.Algebra.MvPolynomial.PDeriv | |
| import Mathlib.Basic.Complex.Basic | |
| import Mathlib.LinearAlgebra.LinearIndependent.Defs | |
| import Mathlib.Logic.Equiv.Fin.Basic | |
| import Mathlib.Logic.Function.Iterate | |
| import Mathlib.RingTheory.Adjoin.Basic | |
| namespace OAI | |
| noncomputable section | |
| namespace AbhyankarSathaye | |
| def S {B : Type*} [CommRing B] (h u v w : B) : B := | |
| 2*u^3*v + 3*u^4*w + h*(v^2 - 3*u^2*w^2) + h^2*w^3 | |
| def P {B : Type*} [CommRing B] (x y s : B) : B := | |
| -2*s^2*x + 3*s*y^2 - 3*s^3*y | |
| abbrev R := MvPolynomial (Fin 4) β | |
| def h : R := MvPolynomial.X 0 | |
| def u : R := MvPolynomial.X 1 | |
| def v : R := MvPolynomial.X 2 | |
| def w : R := MvPolynomial.X 3 | |
| def x : R := u^3 + h*v | |
| def y : R := -u^2 + h*w | |
| def s : R := S h u v w | |
| def p : R := P x y s | |
| def F : R := h - p - 1 | |
| def fourInclusion {n : β} (hn : 4 β€ n) (i : Fin 4) : Fin n := | |
| β¨i.val, lt_of_lt_of_le i.isLt hnβ© | |
| def extendedF {n : β} (hn : 4 β€ n) : MvPolynomial (Fin n) β := | |
| MvPolynomial.rename (fourInclusion hn) F | |
| def blocksToAmbient {n : β} (hn : 4 β€ n) : Fin (n-4) β Fin 4 β Fin n := | |
| (Equiv.sumComm _ _).trans (finSumFinEquiv.trans (finCongr (by omega))) | |
| def blocksToOutput {n : β} (hn : 4 β€ n) : Fin (n-4) β Fin 3 β Fin (n-1) := | |
| (Equiv.sumComm _ _).trans (finSumFinEquiv.trans (finCongr (by omega))) | |
| namespace CommutingDerivations | |
| variable {K A B : Type*} [CommRing K] [CommRing A] [CommRing B] | |
| [Algebra K A] [Algebra K B] | |
| def LocallyNilpotent (D : Derivation K A A) : Prop := | |
| β a : A, β n : β, (D : A β A)^[n] a = 0 | |
| open MvPolynomial | |
| theorem commuting_derivations_with_ordinary_extras (n : β) (hn : 4 β€ n) : | |
| β d : Fin (n-1) β Derivation β (MvPolynomial (Fin n) β) (MvPolynomial (Fin n) β), | |
| (β i, d i (extendedF hn + 1) = 0) β§ | |
| (β i j p, d i (d j p) = d j (d i p)) β§ | |
| (β i, LocallyNilpotent (d i)) β§ | |
| LinearIndependent (MvPolynomial (Fin n) β) d β§ | |
| (β p, (β i, d i p = 0) β | |
| p β Algebra.adjoin β ({extendedF hn} : Set (MvPolynomial (Fin n) β))) β§ | |
| (β g, (β i, d i g = 0) β | |
| Β¬ β (e : MvPolynomial (Fin n) β ββ[β] MvPolynomial (Fin n) β) (j : Fin n), | |
| e (X j) = g) β§ | |
| (β i : Fin (n-4), d (blocksToOutput hn (Sum.inl i)) = | |
| pderiv (blocksToAmbient hn (Sum.inl i))) := by | |
| sorry | |
| end CommutingDerivations | |
| end AbhyankarSathaye | |
| end | |
| end OAI | |