:: GROEB_3 semantic presentation

theorem Th1: :: GROEB_3:1
for b1 being set
for b2, b3 being bag of b1 holds (b2 + b3) / b3 = b2
proof end;

theorem Th2: :: GROEB_3:2
for b1 being Ordinal
for b2 being admissible TermOrder of b1
for b3, b4, b5 being bag of b1 st b3 <= b4,b2 holds
b3 + b5 <= b4 + b5,b2
proof end;

theorem Th3: :: GROEB_3:3
for b1 being Ordinal
for b2 being TermOrder of b1
for b3, b4, b5 being bag of b1 st b3 <= b4,b2 & b4 < b5,b2 holds
b3 < b5,b2
proof end;

theorem Th4: :: GROEB_3:4
for b1 being Ordinal
for b2 being admissible TermOrder of b1
for b3, b4, b5 being bag of b1 st b3 < b4,b2 holds
b3 + b5 < b4 + b5,b2
proof end;

theorem Th5: :: GROEB_3:5
for b1 being Ordinal
for b2 being admissible TermOrder of b1
for b3, b4, b5, b6 being bag of b1 st b3 < b4,b2 & b5 <= b6,b2 holds
b3 + b5 < b4 + b6,b2
proof end;

theorem Th6: :: GROEB_3:6
for b1 being Ordinal
for b2 being admissible TermOrder of b1
for b3, b4, b5, b6 being bag of b1 st b3 <= b4,b2 & b5 < b6,b2 holds
b3 + b5 < b4 + b6,b2
proof end;

theorem Th7: :: GROEB_3:7
for b1 being Ordinal
for b2 being add-associative right_zeroed right_complementable unital distributive non trivial domRing-like doubleLoopStr
for b3, b4 being non-zero Monomial of b1,b2 holds term (b3 *' b4) = (term b3) + (term b4)
proof end;

theorem Th8: :: GROEB_3:8
for b1 being Ordinal
for b2 being add-associative right_zeroed right_complementable unital distributive non trivial domRing-like doubleLoopStr
for b3 being Polynomial of b1,b2
for b4 being non-zero Monomial of b1,b2
for b5 being bag of b1 holds
( b5 in Support b3 iff (term b4) + b5 in Support (b4 *' b3) )
proof end;

theorem Th9: :: GROEB_3:9
for b1 being Ordinal
for b2 being add-associative right_zeroed right_complementable unital distributive non trivial domRing-like doubleLoopStr
for b3 being Polynomial of b1,b2
for b4 being non-zero Monomial of b1,b2 holds Support (b4 *' b3) = { ((term b4) + b5) where B is Element of Bags b1 : b5 in Support b3 }
proof end;

theorem Th10: :: GROEB_3:10
for b1 being Ordinal
for b2 being add-associative right_zeroed right_complementable unital distributive non trivial left_zeroed domRing-like doubleLoopStr
for b3 being Polynomial of b1,b2
for b4 being non-zero Monomial of b1,b2 holds card (Support b3) = card (Support (b4 *' b3))
proof end;

Lemma11: for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4 being Polynomial of b1,b3
for b5 being set
for b6 being Subset of (Polynom-Ring b1,b3) st PolyRedRel b6,b2 reduces b4,b5 holds
b5 is Polynomial of b1,b3
proof end;

theorem Th11: :: GROEB_3:11
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being add-associative right_zeroed right_complementable non trivial LoopStr holds Red (0_ b1,b3),b2 = 0_ b1,b3
proof end;

theorem Th12: :: GROEB_3:12
for b1 being Ordinal
for b2 being Abelian add-associative right_zeroed right_complementable unital commutative distributive non trivial doubleLoopStr
for b3, b4 being Polynomial of b1,b2 st b3 - b4 = 0_ b1,b2 holds
b3 = b4
proof end;

theorem Th13: :: GROEB_3:13
for b1 being set
for b2 being non empty add-associative right_zeroed right_complementable LoopStr holds - (0_ b1,b2) = 0_ b1,b2
proof end;

theorem Th14: :: GROEB_3:14
for b1 being set
for b2 being non empty add-associative right_zeroed right_complementable LoopStr
for b3 being Series of b1,b2 holds (0_ b1,b2) - b3 = - b3
proof end;

theorem Th15: :: GROEB_3:15
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being add-associative right_zeroed right_complementable non trivial doubleLoopStr
for b4 being Polynomial of b1,b3 holds b4 - (Red b4,b2) = HM b4,b2
proof end;

registration
let c1 be Ordinal;
let c2 be non empty add-associative right_zeroed right_complementable LoopStr ;
let c3 be Polynomial of c1,c2;
cluster Support a3 -> finite ;
coherence
Support c3 is finite
by POLYNOM1:def 10;
end;

definition
let c1 be Ordinal;
let c2 be add-associative right_zeroed right_complementable unital distributive non trivial doubleLoopStr ;
let c3, c4 be Polynomial of c1,c2;
redefine func { as {c3,c4} -> non empty finite Subset of (Polynom-Ring a1,a2);
coherence
{c3,c4} is non empty finite Subset of (Polynom-Ring c1,c2)
proof end;
end;

definition
let c1 be set ;
let c2 be non empty ZeroStr ;
let c3 be Series of c1,c2;
let c4 be Subset of (Bags c1);
func c3 | c4 -> Series of a1,a2 equals :: GROEB_3:def 1
a3 +* (((Support a3) \ a4) --> (0. a2));
coherence
c3 +* (((Support c3) \ c4) --> (0. c2)) is Series of c1,c2
proof end;
end;

:: deftheorem Def1 defines | GROEB_3:def 1 :
for b1 being set
for b2 being non empty ZeroStr
for b3 being Series of b1,b2
for b4 being Subset of (Bags b1) holds b3 | b4 = b3 +* (((Support b3) \ b4) --> (0. b2));

Lemma17: for b1 being set
for b2 being non empty ZeroStr
for b3 being Series of b1,b2
for b4 being Subset of (Bags b1) holds Support (b3 | b4) c= Support b3
proof end;

registration
let c1 be Ordinal;
let c2 be non empty ZeroStr ;
let c3 be Polynomial of c1,c2;
let c4 be Subset of (Bags c1);
cluster a3 | a4 -> finite-Support ;
coherence
c3 | c4 is finite-Support
proof end;
end;

theorem Th16: :: GROEB_3:16
for b1 being set
for b2 being non empty ZeroStr
for b3 being Series of b1,b2
for b4 being Subset of (Bags b1) holds
( Support (b3 | b4) = (Support b3) /\ b4 & ( for b5 being bag of b1 st b5 in Support (b3 | b4) holds
(b3 | b4) . b5 = b3 . b5 ) )
proof end;

theorem Th17: :: GROEB_3:17
for b1 being set
for b2 being non empty ZeroStr
for b3 being Series of b1,b2
for b4 being Subset of (Bags b1) holds Support (b3 | b4) c= Support b3 by Lemma17;

theorem Th18: :: GROEB_3:18
for b1 being set
for b2 being non empty ZeroStr
for b3 being Series of b1,b2 holds
( b3 | (Support b3) = b3 & b3 | ({} (Bags b1)) = 0_ b1,b2 )
proof end;

definition
let c1 be Ordinal;
let c2 be connected TermOrder of c1;
let c3 be non empty add-associative right_zeroed right_complementable LoopStr ;
let c4 be Polynomial of c1,c3;
let c5 be Nat;
assume E19: c5 <= card (Support c4) ;
func Upper_Support c4,c2,c5 -> finite Subset of (Bags a1) means :Def2: :: GROEB_3:def 2
( a6 c= Support a4 & card a6 = a5 & ( for b1, b2 being bag of a1 st b1 in a6 & b2 in Support a4 & b1 <= b2,a2 holds
b2 in a6 ) );
existence
ex b1 being finite Subset of (Bags c1) st
( b1 c= Support c4 & card b1 = c5 & ( for b2, b3 being bag of c1 st b2 in b1 & b3 in Support c4 & b2 <= b3,c2 holds
b3 in b1 ) )
proof end;
uniqueness
for b1, b2 being finite Subset of (Bags c1) st b1 c= Support c4 & card b1 = c5 & ( for b3, b4 being bag of c1 st b3 in b1 & b4 in Support c4 & b3 <= b4,c2 holds
b4 in b1 ) & b2 c= Support c4 & card b2 = c5 & ( for b3, b4 being bag of c1 st b3 in b2 & b4 in Support c4 & b3 <= b4,c2 holds
b4 in b2 ) holds
b1 = b2
proof end;
end;

:: deftheorem Def2 defines Upper_Support GROEB_3:def 2 :
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
for b6 being finite Subset of (Bags b1) holds
( b6 = Upper_Support b4,b2,b5 iff ( b6 c= Support b4 & card b6 = b5 & ( for b7, b8 being bag of b1 st b7 in b6 & b8 in Support b4 & b7 <= b8,b2 holds
b8 in b6 ) ) );

definition
let c1 be Ordinal;
let c2 be connected TermOrder of c1;
let c3 be non empty add-associative right_zeroed right_complementable LoopStr ;
let c4 be Polynomial of c1,c3;
let c5 be Nat;
func Lower_Support c4,c2,c5 -> finite Subset of (Bags a1) equals :: GROEB_3:def 3
(Support a4) \ (Upper_Support a4,a2,a5);
coherence
(Support c4) \ (Upper_Support c4,c2,c5) is finite Subset of (Bags c1)
proof end;
end;

:: deftheorem Def3 defines Lower_Support GROEB_3:def 3 :
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat holds Lower_Support b4,b2,b5 = (Support b4) \ (Upper_Support b4,b2,b5);

Lemma20: for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
Lower_Support b4,b2,b5 c= Support b4
by XBOOLE_1:36;

theorem Th19: :: GROEB_3:19
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
( (Upper_Support b4,b2,b5) \/ (Lower_Support b4,b2,b5) = Support b4 & (Upper_Support b4,b2,b5) /\ (Lower_Support b4,b2,b5) = {} )
proof end;

theorem Th20: :: GROEB_3:20
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
for b6, b7 being bag of b1 st b6 in Upper_Support b4,b2,b5 & b7 in Lower_Support b4,b2,b5 holds
b7 < b6,b2
proof end;

theorem Th21: :: GROEB_3:21
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3 holds
( Upper_Support b4,b2,0 = {} & Lower_Support b4,b2,0 = Support b4 )
proof end;

theorem Th22: :: GROEB_3:22
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3 holds
( Upper_Support b4,b2,(card (Support b4)) = Support b4 & Lower_Support b4,b2,(card (Support b4)) = {} )
proof end;

theorem Th23: :: GROEB_3:23
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being add-associative right_zeroed right_complementable non trivial LoopStr
for b4 being non-zero Polynomial of b1,b3
for b5 being Nat st 1 <= b5 & b5 <= card (Support b4) holds
HT b4,b2 in Upper_Support b4,b2,b5
proof end;

theorem Th24: :: GROEB_3:24
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
( Lower_Support b4,b2,b5 c= Support b4 & card (Lower_Support b4,b2,b5) = (card (Support b4)) - b5 & ( for b6, b7 being bag of b1 st b6 in Lower_Support b4,b2,b5 & b7 in Support b4 & b7 <= b6,b2 holds
b7 in Lower_Support b4,b2,b5 ) )
proof end;

definition
let c1 be Ordinal;
let c2 be connected TermOrder of c1;
let c3 be non empty add-associative right_zeroed right_complementable LoopStr ;
let c4 be Polynomial of c1,c3;
let c5 be Nat;
func Up c4,c2,c5 -> Polynomial of a1,a3 equals :: GROEB_3:def 4
a4 | (Upper_Support a4,a2,a5);
coherence
c4 | (Upper_Support c4,c2,c5) is Polynomial of c1,c3
;
func Low c4,c2,c5 -> Polynomial of a1,a3 equals :: GROEB_3:def 5
a4 | (Lower_Support a4,a2,a5);
coherence
c4 | (Lower_Support c4,c2,c5) is Polynomial of c1,c3
;
end;

:: deftheorem Def4 defines Up GROEB_3:def 4 :
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat holds Up b4,b2,b5 = b4 | (Upper_Support b4,b2,b5);

:: deftheorem Def5 defines Low GROEB_3:def 5 :
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat holds Low b4,b2,b5 = b4 | (Lower_Support b4,b2,b5);

Lemma26: for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
( Support (b4 | (Upper_Support b4,b2,b5)) = Upper_Support b4,b2,b5 & Support (b4 | (Lower_Support b4,b2,b5)) = Lower_Support b4,b2,b5 )
proof end;

theorem Th25: :: GROEB_3:25
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
( Support (Up b4,b2,b5) = Upper_Support b4,b2,b5 & Support (Low b4,b2,b5) = Lower_Support b4,b2,b5 ) by Lemma26;

theorem Th26: :: GROEB_3:26
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
( Support (Up b4,b2,b5) c= Support b4 & Support (Low b4,b2,b5) c= Support b4 )
proof end;

theorem Th27: :: GROEB_3:27
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being add-associative right_zeroed right_complementable non trivial LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st 1 <= b5 & b5 <= card (Support b4) holds
Support (Low b4,b2,b5) c= Support (Red b4,b2)
proof end;

theorem Th28: :: GROEB_3:28
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
for b6 being bag of b1 st b6 in Support b4 holds
( ( b6 in Support (Up b4,b2,b5) or b6 in Support (Low b4,b2,b5) ) & not b6 in (Support (Up b4,b2,b5)) /\ (Support (Low b4,b2,b5)) )
proof end;

theorem Th29: :: GROEB_3:29
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
for b6, b7 being bag of b1 st b6 in Support (Low b4,b2,b5) & b7 in Support (Up b4,b2,b5) holds
b6 < b7,b2
proof end;

theorem Th30: :: GROEB_3:30
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st 1 <= b5 & b5 <= card (Support b4) holds
HT b4,b2 in Support (Up b4,b2,b5)
proof end;

theorem Th31: :: GROEB_3:31
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
for b6 being bag of b1 st b6 in Support (Low b4,b2,b5) holds
( (Low b4,b2,b5) . b6 = b4 . b6 & (Up b4,b2,b5) . b6 = 0. b3 )
proof end;

theorem Th32: :: GROEB_3:32
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
for b6 being bag of b1 st b6 in Support (Up b4,b2,b5) holds
( (Up b4,b2,b5) . b6 = b4 . b6 & (Low b4,b2,b5) . b6 = 0. b3 )
proof end;

theorem Th33: :: GROEB_3:33
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 <= card (Support b4) holds
(Up b4,b2,b5) + (Low b4,b2,b5) = b4
proof end;

theorem Th34: :: GROEB_3:34
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3 holds
( Up b4,b2,0 = 0_ b1,b3 & Low b4,b2,0 = b4 )
proof end;

theorem Th35: :: GROEB_3:35
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty Abelian add-associative right_zeroed right_complementable doubleLoopStr
for b4 being Polynomial of b1,b3 holds
( Up b4,b2,(card (Support b4)) = b4 & Low b4,b2,(card (Support b4)) = 0_ b1,b3 )
proof end;

theorem Th36: :: GROEB_3:36
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable non trivial doubleLoopStr
for b4 being non-zero Polynomial of b1,b3 holds
( Up b4,b2,1 = HM b4,b2 & Low b4,b2,1 = Red b4,b2 )
proof end;

registration
let c1 be Ordinal;
let c2 be connected TermOrder of c1;
let c3 be add-associative right_zeroed right_complementable non trivial LoopStr ;
let c4 be non-zero Polynomial of c1,c3;
cluster Up a4,a2,0 -> monomial-like ;
coherence
Up c4,c2,0 is monomial-like
proof end;
end;

registration
let c1 be Ordinal;
let c2 be connected TermOrder of c1;
let c3 be Abelian add-associative right_zeroed right_complementable non trivial doubleLoopStr ;
let c4 be non-zero Polynomial of c1,c3;
cluster Up a4,a2,1 -> non-zero monomial-like ;
coherence
( Up c4,c2,1 is non-zero & Up c4,c2,1 is monomial-like )
proof end;
cluster Low a4,a2,(card (Support a4)) -> monomial-like ;
coherence
Low c4,c2,(card (Support c4)) is monomial-like
proof end;
end;

theorem Th37: :: GROEB_3:37
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being add-associative right_zeroed right_complementable non trivial LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 = (card (Support b4)) - 1 holds
Low b4,b2,b5 is non-zero Monomial of b1,b3
proof end;

theorem Th38: :: GROEB_3:38
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 < card (Support b4) holds
HT (Low b4,b2,(b5 + 1)),b2 <= HT (Low b4,b2,b5),b2,b2
proof end;

theorem Th39: :: GROEB_3:39
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st 0 < b5 & b5 < card (Support b4) holds
HT (Low b4,b2,b5),b2 < HT b4,b2,b2
proof end;

theorem Th40: :: GROEB_3:40
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being add-associative right_zeroed right_complementable unital distributive non trivial domRing-like doubleLoopStr
for b4 being Polynomial of b1,b3
for b5 being non-zero Monomial of b1,b3
for b6 being Nat st b6 <= card (Support b4) holds
for b7 being bag of b1 holds
( (term b5) + b7 in Support (Low (b5 *' b4),b2,b6) iff b7 in Support (Low b4,b2,b6) )
proof end;

theorem Th41: :: GROEB_3:41
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 < card (Support b4) holds
Support (Low b4,b2,(b5 + 1)) c= Support (Low b4,b2,b5)
proof end;

theorem Th42: :: GROEB_3:42
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being non empty add-associative right_zeroed right_complementable LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 < card (Support b4) holds
(Support (Low b4,b2,b5)) \ (Support (Low b4,b2,(b5 + 1))) = {(HT (Low b4,b2,b5),b2)}
proof end;

theorem Th43: :: GROEB_3:43
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being add-associative right_zeroed right_complementable non trivial LoopStr
for b4 being Polynomial of b1,b3
for b5 being Nat st b5 < card (Support b4) holds
Low b4,b2,(b5 + 1) = Red (Low b4,b2,b5),b2
proof end;

theorem Th44: :: GROEB_3:44
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being add-associative right_zeroed right_complementable unital distributive non trivial domRing-like doubleLoopStr
for b4 being Polynomial of b1,b3
for b5 being non-zero Monomial of b1,b3
for b6 being Nat st b6 <= card (Support b4) holds
Low (b5 *' b4),b2,b6 = b5 *' (Low b4,b2,b6)
proof end;

Lemma47: for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4 being Subset of (Polynom-Ring b1,b3)
for b5 being RedSequence of PolyRedRel b4,b2
for b6 being Nat st 1 <= b6 & b6 <= len b5 & len b5 > 1 holds
b5 . b6 is Polynomial of b1,b3
proof end;

theorem Th45: :: GROEB_3:45
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5, b6 being Polynomial of b1,b3 st b4 reduces_to b5,b6,b2 holds
- b4 reduces_to - b5,b6,b2
proof end;

Lemma49: for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being Polynomial of b1,b3 st HT b4,b2, HT b5,b2 are_disjoint holds
for b6, b7 being bag of b1 st b6 in Support b4 & b7 in Support b5 & ( not b6 = HT b4,b2 or not b7 = HT b5,b2 ) holds
not (HT b4,b2) + b7 = (HT b5,b2) + b6
proof end;

theorem Th46: :: GROEB_3:46
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5, b6, b7 being Polynomial of b1,b3 st b4 reduces_to b5,{b7},b2 & ( for b8 being bag of b1 st b8 in Support b6 holds
not HT b7,b2 divides b8 ) holds
b4 + b6 reduces_to b5 + b6,{b7},b2
proof end;

theorem Th47: :: GROEB_3:47
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being non-zero Polynomial of b1,b3 holds b4 *' b5 reduces_to (Red b4,b2) *' b5,{b5},b2
proof end;

theorem Th48: :: GROEB_3:48
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being non-zero Polynomial of b1,b3
for b6 being Polynomial of b1,b3 st b6 . (HT (b4 *' b5),b2) = 0. b3 holds
(b4 *' b5) + b6 reduces_to ((Red b4,b2) *' b5) + b6,{b5},b2
proof end;

theorem Th49: :: GROEB_3:49
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4 being Subset of (Polynom-Ring b1,b3)
for b5, b6 being Polynomial of b1,b3 st PolyRedRel b4,b2 reduces b5,b6 holds
PolyRedRel b4,b2 reduces - b5, - b6
proof end;

theorem Th50: :: GROEB_3:50
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5, b6, b7 being Polynomial of b1,b3 st PolyRedRel {b7},b2 reduces b4,b5 & ( for b8 being bag of b1 st b8 in Support b6 holds
not HT b7,b2 divides b8 ) holds
PolyRedRel {b7},b2 reduces b4 + b6,b5 + b6
proof end;

theorem Th51: :: GROEB_3:51
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being non-zero Polynomial of b1,b3 holds PolyRedRel {b5},b2 reduces b4 *' b5, 0_ b1,b3
proof end;

theorem Th52: :: GROEB_3:52
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being Polynomial of b1,b3 st HT b4,b2, HT b5,b2 are_disjoint holds
for b6, b7 being bag of b1 st b6 in Support (Red b4,b2) & b7 in Support (Red b5,b2) holds
not (HT b4,b2) + b7 = (HT b5,b2) + b6
proof end;

theorem Th53: :: GROEB_3:53
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being Polynomial of b1,b3 st HT b4,b2, HT b5,b2 are_disjoint holds
S-Poly b4,b5,b2 = ((HM b5,b2) *' (Red b4,b2)) - ((HM b4,b2) *' (Red b5,b2))
proof end;

theorem Th54: :: GROEB_3:54
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being Polynomial of b1,b3 st HT b4,b2, HT b5,b2 are_disjoint holds
S-Poly b4,b5,b2 = ((Red b4,b2) *' b5) - ((Red b5,b2) *' b4)
proof end;

theorem Th55: :: GROEB_3:55
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being non-zero Polynomial of b1,b3 st HT b4,b2, HT b5,b2 are_disjoint & Red b4,b2 is non-zero & Red b5,b2 is non-zero holds
PolyRedRel {b4},b2 reduces ((HM b5,b2) *' (Red b4,b2)) - ((HM b4,b2) *' (Red b5,b2)),b5 *' (Red b4,b2)
proof end;

theorem Th56: :: GROEB_3:56
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non trivial doubleLoopStr
for b4, b5 being Polynomial of b1,b3 st HT b4,b2, HT b5,b2 are_disjoint holds
PolyRedRel {b4,b5},b2 reduces S-Poly b4,b5,b2, 0_ b1,b3
proof end;

theorem Th57: :: GROEB_3:57
for b1 being Nat
for b2 being connected admissible TermOrder of b1
for b3 being non empty Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non degenerated doubleLoopStr
for b4 being Subset of (Polynom-Ring b1,b3) st b4 is_Groebner_basis_wrt b2 holds
for b5, b6 being Polynomial of b1,b3 st b5 in b4 & b6 in b4 & not HT b5,b2, HT b6,b2 are_disjoint holds
PolyRedRel b4,b2 reduces S-Poly b5,b6,b2, 0_ b1,b3
proof end;

theorem Th58: :: GROEB_3:58
for b1 being Nat
for b2 being connected admissible TermOrder of b1
for b3 being Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non degenerated non trivial doubleLoopStr
for b4 being Subset of (Polynom-Ring b1,b3) st not 0_ b1,b3 in b4 & ( for b5, b6 being Polynomial of b1,b3 st b5 in b4 & b6 in b4 & not HT b5,b2, HT b6,b2 are_disjoint holds
PolyRedRel b4,b2 reduces S-Poly b5,b6,b2, 0_ b1,b3 ) holds
for b5, b6, b7 being Polynomial of b1,b3 st b5 in b4 & b6 in b4 & not HT b5,b2, HT b6,b2 are_disjoint & b7 is_a_normal_form_of S-Poly b5,b6,b2, PolyRedRel b4,b2 holds
b7 = 0_ b1,b3
proof end;

theorem Th59: :: GROEB_3:59
for b1 being Nat
for b2 being connected admissible TermOrder of b1
for b3 being non empty Abelian add-associative right_zeroed right_complementable associative commutative right_unital distributive left_unital Field-like non degenerated doubleLoopStr
for b4 being Subset of (Polynom-Ring b1,b3) st not 0_ b1,b3 in b4 & ( for b5, b6, b7 being Polynomial of b1,b3 st b5 in b4 & b6 in b4 & not HT b5,b2, HT b6,b2 are_disjoint & b7 is_a_normal_form_of S-Poly b5,b6,b2, PolyRedRel b4,b2 holds
b7 = 0_ b1,b3 ) holds
b4 is_Groebner_basis_wrt b2
proof end;