begin
theorem
canceled;
theorem
canceled;
theorem
theorem
:: deftheorem Def1 defines / GROEB_2:def 1 :
for X being set
for b1, b2 being bag of X st b2 divides b1 holds
for b4 being bag of X holds
( b4 = b1 / b2 iff b2 + b4 = b1 );
definition
let X be
set ;
let b1,
b2 be
bag of
X;
func lcm (
b1,
b2)
-> bag of
X means :
Def2:
for
k being
set holds
it . k = max (
(b1 . k),
(b2 . k));
existence
ex b1 being bag of X st
for k being set holds b1 . k = max ((b1 . k),(b2 . k))
uniqueness
for b1, b2 being bag of X st ( for k being set holds b1 . k = max ((b1 . k),(b2 . k)) ) & ( for k being set holds b2 . k = max ((b1 . k),(b2 . k)) ) holds
b1 = b2
commutativity
for b1, b1, b2 being bag of X st ( for k being set holds b1 . k = max ((b1 . k),(b2 . k)) ) holds
for k being set holds b1 . k = max ((b2 . k),(b1 . k))
;
idempotence
for b1 being bag of X
for k being set holds b1 . k = max ((b1 . k),(b1 . k))
;
end;
:: deftheorem Def2 defines lcm GROEB_2:def 2 :
for X being set
for b1, b2, b4 being bag of X holds
( b4 = lcm (b1,b2) iff for k being set holds b4 . k = max ((b1 . k),(b2 . k)) );
:: deftheorem Def3 defines are_disjoint GROEB_2:def 3 :
for X being set
for b1, b2 being bag of X holds
( b1,b2 are_disjoint iff for i being set holds
( b1 . i = 0 or b2 . i = 0 ) );
theorem
canceled;
theorem
canceled;
theorem Th7:
theorem Th8:
theorem
theorem Th10:
theorem Th11:
for
X being
set for
b1,
b2 being
bag of
X holds
(
b2 divides b1 iff
lcm (
b1,
b2)
= b1 )
theorem
theorem
theorem
theorem
theorem Th16:
theorem Th17:
theorem Th18:
theorem Th19:
theorem Th20:
Lm1:
for n being Ordinal
for T being connected TermOrder of n
for L being non trivial right_complementable almost_left_invertible associative commutative well-unital distributive add-associative right_zeroed doubleLoopStr
for f being Polynomial of n,L
for g being set
for P being Subset of (Polynom-Ring (n,L)) st PolyRedRel (P,T) reduces f,g holds
g is Polynomial of n,L
begin
theorem Th21:
for
n being
Element of
NAT for
T being
connected admissible TermOrder of
n for
L being non
empty non
degenerated right_complementable almost_left_invertible associative commutative well-unital distributive Abelian add-associative right_zeroed doubleLoopStr for
P being
Subset of
(Polynom-Ring (n,L)) st ( for
p1,
p2 being
Polynomial of
n,
L st
p1 <> p2 &
p1 in P &
p2 in P holds
for
m1,
m2 being
Monomial of
n,
L st
HM (
(m1 *' p1),
T)
= HM (
(m2 *' p2),
T) holds
PolyRedRel (
P,
T)
reduces (m1 *' p1) - (m2 *' p2),
0_ (
n,
L) ) holds
P is_Groebner_basis_wrt T
definition
let n be
Ordinal;
let T be
connected TermOrder of
n;
let L be non
trivial right_complementable almost_left_invertible associative commutative well-unital distributive add-associative right_zeroed doubleLoopStr ;
let p1,
p2 be
Polynomial of
n,
L;
func S-Poly (
p1,
p2,
T)
-> Polynomial of
n,
L equals
((HC (p2,T)) * (((lcm ((HT (p1,T)),(HT (p2,T)))) / (HT (p1,T))) *' p1)) - ((HC (p1,T)) * (((lcm ((HT (p1,T)),(HT (p2,T)))) / (HT (p2,T))) *' p2));
coherence
((HC (p2,T)) * (((lcm ((HT (p1,T)),(HT (p2,T)))) / (HT (p1,T))) *' p1)) - ((HC (p1,T)) * (((lcm ((HT (p1,T)),(HT (p2,T)))) / (HT (p2,T))) *' p2)) is Polynomial of n,L
;
end;
:: deftheorem defines S-Poly GROEB_2:def 4 :
for n being Ordinal
for T being connected TermOrder of n
for L being non trivial right_complementable almost_left_invertible associative commutative well-unital distributive add-associative right_zeroed doubleLoopStr
for p1, p2 being Polynomial of n,L holds S-Poly (p1,p2,T) = ((HC (p2,T)) * (((lcm ((HT (p1,T)),(HT (p2,T)))) / (HT (p1,T))) *' p1)) - ((HC (p1,T)) * (((lcm ((HT (p1,T)),(HT (p2,T)))) / (HT (p2,T))) *' p2));
Lm2:
for L being non empty add-cancelable right_complementable associative well-unital distributive add-associative right_zeroed left_zeroed doubleLoopStr
for P being Subset of L
for p being Element of L st p in P holds
p in P -Ideal
Lm3:
for n being Ordinal
for T being connected TermOrder of n
for L being non trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr
for p, q being Polynomial of n,L
for f, g being Element of (Polynom-Ring (n,L)) st f = p & g = q holds
f - g = p - q
theorem Th22:
theorem
canceled;
theorem Th24:
theorem Th25:
theorem
for
n being
Ordinal for
T being
connected admissible TermOrder of
n for
L being non
trivial right_complementable almost_left_invertible associative commutative well-unital distributive add-associative right_zeroed doubleLoopStr for
p1,
p2 being
Polynomial of
n,
L holds
(
S-Poly (
p1,
p2,
T)
= 0_ (
n,
L) or
HT (
(S-Poly (p1,p2,T)),
T)
< lcm (
(HT (p1,T)),
(HT (p2,T))),
T )
theorem
theorem
theorem
for
n being
Element of
NAT for
T being
connected admissible TermOrder of
n for
L being non
empty non
degenerated right_complementable almost_left_invertible associative commutative well-unital distributive Abelian add-associative right_zeroed doubleLoopStr for
G being
Subset of
(Polynom-Ring (n,L)) st ( for
g1,
g2,
h being
Polynomial of
n,
L st
g1 in G &
g2 in G &
h is_a_normal_form_of S-Poly (
g1,
g2,
T),
PolyRedRel (
G,
T) holds
h = 0_ (
n,
L) ) holds
for
g1,
g2 being
Polynomial of
n,
L st
g1 in G &
g2 in G holds
PolyRedRel (
G,
T)
reduces S-Poly (
g1,
g2,
T),
0_ (
n,
L)
theorem Th30:
definition
let n be
Ordinal;
let T be
connected TermOrder of
n;
let L be non
trivial right_complementable almost_left_invertible associative commutative well-unital distributive add-associative right_zeroed doubleLoopStr ;
let P be
Subset of
(Polynom-Ring (n,L));
func S-Poly (
P,
T)
-> Subset of
(Polynom-Ring (n,L)) equals
{ (S-Poly (p1,p2,T)) where p1, p2 is Polynomial of n,L : ( p1 in P & p2 in P ) } ;
coherence
{ (S-Poly (p1,p2,T)) where p1, p2 is Polynomial of n,L : ( p1 in P & p2 in P ) } is Subset of (Polynom-Ring (n,L))
end;
:: deftheorem defines S-Poly GROEB_2:def 5 :
for n being Ordinal
for T being connected TermOrder of n
for L being non trivial right_complementable almost_left_invertible associative commutative well-unital distributive add-associative right_zeroed doubleLoopStr
for P being Subset of (Polynom-Ring (n,L)) holds S-Poly (P,T) = { (S-Poly (p1,p2,T)) where p1, p2 is Polynomial of n,L : ( p1 in P & p2 in P ) } ;
theorem
begin
theorem
theorem
theorem
:: deftheorem Def6 defines is_MonomialRepresentation_of GROEB_2:def 6 :
for n being Ordinal
for L being non empty non trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr
for f being Polynomial of n,L
for P being non empty Subset of (Polynom-Ring (n,L))
for A being LeftLinearCombination of P holds
( A is_MonomialRepresentation_of f iff ( Sum A = f & ( for i being Element of NAT st i in dom A holds
ex m being Monomial of n,L ex p being Polynomial of n,L st
( p in P & A /. i = m *' p ) ) ) );
theorem
theorem
Lm4:
for n being Ordinal
for T being connected TermOrder of n
for L being non empty non trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr
for f being Polynomial of n,L
for P being non empty Subset of (Polynom-Ring (n,L))
for A being LeftLinearCombination of P st A is_MonomialRepresentation_of f holds
for b being bag of n st ( for i being Element of NAT st i in dom A holds
for m being Monomial of n,L
for p being Polynomial of n,L st A . i = m *' p & p in P holds
(m *' p) . b = 0. L ) holds
f . b = 0. L
:: deftheorem Def7 defines is_Standard_Representation_of GROEB_2:def 7 :
for n being Ordinal
for T being connected TermOrder of n
for L being non empty non trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr
for f being Polynomial of n,L
for P being non empty Subset of (Polynom-Ring (n,L))
for A being LeftLinearCombination of P
for b being bag of n holds
( A is_Standard_Representation_of f,P,b,T iff ( Sum A = f & ( for i being Element of NAT st i in dom A holds
ex m being non-zero Monomial of n,L ex p being non-zero Polynomial of n,L st
( p in P & A /. i = m *' p & HT ((m *' p),T) <= b,T ) ) ) );
:: deftheorem Def8 defines is_Standard_Representation_of GROEB_2:def 8 :
for n being Ordinal
for T being connected TermOrder of n
for L being non empty non trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr
for f being Polynomial of n,L
for P being non empty Subset of (Polynom-Ring (n,L))
for A being LeftLinearCombination of P holds
( A is_Standard_Representation_of f,P,T iff A is_Standard_Representation_of f,P, HT (f,T),T );
:: deftheorem defines has_a_Standard_Representation_of GROEB_2:def 9 :
for n being Ordinal
for T being connected TermOrder of n
for L being non empty non trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr
for f being Polynomial of n,L
for P being non empty Subset of (Polynom-Ring (n,L))
for b being bag of n holds
( f has_a_Standard_Representation_of P,b,T iff ex A being LeftLinearCombination of P st A is_Standard_Representation_of f,P,b,T );
:: deftheorem Def10 defines has_a_Standard_Representation_of GROEB_2:def 10 :
for n being Ordinal
for T being connected TermOrder of n
for L being non empty non trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr
for f being Polynomial of n,L
for P being non empty Subset of (Polynom-Ring (n,L)) holds
( f has_a_Standard_Representation_of P,T iff ex A being LeftLinearCombination of P st A is_Standard_Representation_of f,P,T );
theorem Th37:
Lm5:
for n being Ordinal
for T being connected admissible TermOrder of n
for L being non empty non degenerated right_complementable almost_left_invertible associative commutative well-unital distributive Abelian add-associative right_zeroed doubleLoopStr
for f, g being Polynomial of n,L
for f9, g9 being Element of (Polynom-Ring (n,L)) st f = f9 & g = g9 holds
for P being non empty Subset of (Polynom-Ring (n,L)) st PolyRedRel (P,T) reduces f,g holds
ex A being LeftLinearCombination of P st
( f9 = g9 + (Sum A) & ( for i being Element of NAT st i in dom A holds
ex m being non-zero Monomial of n,L ex p being non-zero Polynomial of n,L st
( p in P & A . i = m *' p & HT ((m *' p),T) <= HT (f,T),T ) ) )
theorem
for
n being
Ordinal for
T being
connected TermOrder of
n for
L being non
empty non
trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr for
f,
g being
Polynomial of
n,
L for
P being non
empty Subset of
(Polynom-Ring (n,L)) for
A,
B being
LeftLinearCombination of
P for
b being
bag of
n st
A is_Standard_Representation_of f,
P,
b,
T &
B is_Standard_Representation_of g,
P,
b,
T holds
A ^ B is_Standard_Representation_of f + g,
P,
b,
T
theorem
for
n being
Ordinal for
T being
connected TermOrder of
n for
L being non
empty non
trivial right_complementable well-unital distributive add-associative right_zeroed doubleLoopStr for
f,
g being
Polynomial of
n,
L for
P being non
empty Subset of
(Polynom-Ring (n,L)) for
A,
B being
LeftLinearCombination of
P for
b being
bag of
n for
i being
Element of
NAT st
A is_Standard_Representation_of f,
P,
b,
T &
B = A | i &
g = Sum (A /^ i) holds
B is_Standard_Representation_of f - g,
P,
b,
T
theorem
for
n being
Ordinal for
T being
connected TermOrder of
n for
L being non
empty non
trivial right_complementable well-unital distributive Abelian add-associative right_zeroed doubleLoopStr for
f,
g being
Polynomial of
n,
L for
P being non
empty Subset of
(Polynom-Ring (n,L)) for
A,
B being
LeftLinearCombination of
P for
b being
bag of
n for
i being
Element of
NAT st
A is_Standard_Representation_of f,
P,
b,
T &
B = A /^ i &
g = Sum (A | i) &
i <= len A holds
B is_Standard_Representation_of f - g,
P,
b,
T
theorem Th41:
theorem Th42:
theorem Th43:
theorem Th44:
theorem