:: TERMORD semantic presentation
:: deftheorem Def1 defines non-zero TERMORD:def 1 :
theorem Th1: :: TERMORD:1
for
b1 being
set for
b2,
b3 being
bag of
b1 holds
(
b2 divides b3 iff ex
b4 being
bag of
b1 st
b3 = b2 + b4 )
theorem Th2: :: TERMORD:2
theorem Th3: :: TERMORD:3
theorem Th4: :: TERMORD:4
Lemma4:
for b1 being Ordinal
for b2 being TermOrder of b1
for b3 being set st b3 in field b2 holds
b3 is bag of b1
:: deftheorem Def2 defines <= TERMORD:def 2 :
:: deftheorem Def3 defines < TERMORD:def 3 :
for
b1 being
Ordinal for
b2 being
TermOrder of
b1 for
b3,
b4 being
bag of
b1 holds
(
b3 < b4,
b2 iff (
b3 <= b4,
b2 &
b3 <> b4 ) );
definition
let c1 be
Ordinal;
let c2 be
TermOrder of
c1;
let c3,
c4 be
bag of
c1;
func min c3,
c4,
c2 -> bag of
a1 equals :
Def4:
:: TERMORD:def 4
a3 if a3 <= a4,
a2 otherwise a4;
correctness
coherence
( ( c3 <= c4,c2 implies c3 is bag of c1 ) & ( not c3 <= c4,c2 implies c4 is bag of c1 ) );
consistency
for b1 being bag of c1 holds verum;
;
func max c3,
c4,
c2 -> bag of
a1 equals :
Def5:
:: TERMORD:def 5
a3 if a4 <= a3,
a2 otherwise a4;
correctness
coherence
( ( c4 <= c3,c2 implies c3 is bag of c1 ) & ( not c4 <= c3,c2 implies c4 is bag of c1 ) );
consistency
for b1 being bag of c1 holds verum;
;
end;
:: deftheorem Def4 defines min TERMORD:def 4 :
for
b1 being
Ordinal for
b2 being
TermOrder of
b1 for
b3,
b4 being
bag of
b1 holds
( (
b3 <= b4,
b2 implies
min b3,
b4,
b2 = b3 ) & ( not
b3 <= b4,
b2 implies
min b3,
b4,
b2 = b4 ) );
:: deftheorem Def5 defines max TERMORD:def 5 :
for
b1 being
Ordinal for
b2 being
TermOrder of
b1 for
b3,
b4 being
bag of
b1 holds
( (
b4 <= b3,
b2 implies
max b3,
b4,
b2 = b3 ) & ( not
b4 <= b3,
b2 implies
max b3,
b4,
b2 = b4 ) );
Lemma9:
for b1 being Ordinal
for b2 being TermOrder of b1
for b3 being bag of b1 holds b3 <= b3,b2
Lemma10:
for b1 being Ordinal
for b2 being TermOrder of b1
for b3, b4 being bag of b1 st b3 <= b4,b2 & b4 <= b3,b2 holds
b3 = b4
Lemma11:
for b1 being Ordinal
for b2 being TermOrder of b1
for b3 being bag of b1 holds b3 in field b2
theorem Th5: :: TERMORD:5
Lemma13:
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3, b4 being bag of b1 holds
( b3 <= b4,b2 or b4 <= b3,b2 )
theorem Th6: :: TERMORD:6
theorem Th7: :: TERMORD:7
theorem Th8: :: TERMORD:8
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
theorem Th9: :: TERMORD:9
theorem Th10: :: TERMORD:10
theorem Th11: :: TERMORD:11
theorem Th12: :: TERMORD:12
Lemma18:
for b1 being Ordinal
for b2 being TermOrder of b1
for b3 being bag of b1 holds
( min b3,b3,b2 = b3 & max b3,b3,b2 = b3 )
theorem Th13: :: TERMORD:13
theorem Th14: :: TERMORD:14
theorem Th15: :: TERMORD:15
theorem Th16: :: TERMORD:16
:: deftheorem Def6 defines HT TERMORD:def 6 :
:: deftheorem Def7 defines HC TERMORD:def 7 :
definition
let c1 be
Ordinal;
let c2 be
connected TermOrder of
c1;
let c3 be non
empty ZeroStr ;
let c4 be
Polynomial of
c1,
c3;
func HM c4,
c2 -> Monomial of
a1,
a3 equals :: TERMORD:def 8
Monom (HC a4,a2),
(HT a4,a2);
correctness
coherence
Monom (HC c4,c2),(HT c4,c2) is Monomial of c1,c3;
;
end;
:: deftheorem Def8 defines HM TERMORD:def 8 :
Lemma22:
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty ZeroStr
for b4 being Polynomial of b1,b3 holds
( HC b4,b2 = 0. b3 iff b4 = 0_ b1,b3 )
Lemma23:
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non trivial ZeroStr
for b4 being Polynomial of b1,b3 holds (HM b4,b2) . (HT b4,b2) = b4 . (HT b4,b2)
Lemma24:
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non trivial ZeroStr
for b4 being Polynomial of b1,b3 st HC b4,b2 <> 0. b3 holds
HT b4,b2 in Support (HM b4,b2)
Lemma25:
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non trivial ZeroStr
for b4 being Polynomial of b1,b3 st HC b4,b2 = 0. b3 holds
Support (HM b4,b2) = {}
Lemma26:
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non empty ZeroStr
for b4 being Monomial of b1,b3 holds
( HT b4,b2 = term b4 & HC b4,b2 = coefficient b4 & HM b4,b2 = b4 )
theorem Th17: :: TERMORD:17
theorem Th18: :: TERMORD:18
theorem Th19: :: TERMORD:19
Lemma28:
for b1 being Ordinal
for b2 being connected TermOrder of b1
for b3 being non trivial ZeroStr
for b4 being Polynomial of b1,b3 holds
( Support (HM b4,b2) = {} or Support (HM b4,b2) = {(HT b4,b2)} )
theorem Th20: :: TERMORD:20
theorem Th21: :: TERMORD:21
theorem Th22: :: TERMORD:22
theorem Th23: :: TERMORD:23
theorem Th24: :: TERMORD:24
theorem Th25: :: TERMORD:25
theorem Th26: :: TERMORD:26
theorem Th27: :: TERMORD:27
theorem Th28: :: TERMORD:28
Lemma30:
for b1 being set
for b2 being Subset of b1
for b3 being Order of b1 st b3 is_linear-order holds
b3 linearly_orders b2
Lemma31:
for b1 being Ordinal
for b2 being connected admissible TermOrder of b1
for b3 being add-associative right_zeroed right_complementable unital distributive left_zeroed non trivial doubleLoopStr
for b4, b5 being non-zero Polynomial of b1,b3 holds (b4 *' b5) . ((HT b4,b2) + (HT b5,b2)) = (b4 . (HT b4,b2)) * (b5 . (HT b5,b2))
theorem Th29: :: TERMORD:29
theorem Th30: :: TERMORD:30
theorem Th31: :: TERMORD:31
theorem Th32: :: TERMORD:32
theorem Th33: :: TERMORD:33
theorem Th34: :: TERMORD:34
:: deftheorem Def9 defines Red TERMORD:def 9 :
Lemma36:
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 holds not HT b4,b2 in Support (Red b4,b2)
Lemma37:
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 bag of b1 st b5 in Support b4 & b5 <> HT b4,b2 holds
b5 in Support (Red b4,b2)
Lemma38:
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 holds Support (Red b4,b2) = (Support b4) \ {(HT b4,b2)}
theorem Th35: :: TERMORD:35
theorem Th36: :: TERMORD:36
Lemma39:
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 holds (Red b4,b2) . (HT b4,b2) = 0. b3
Lemma40:
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 bag of b1 st b5 <> HT b4,b2 holds
(Red b4,b2) . b5 = b4 . b5
theorem Th37: :: TERMORD:37
theorem Th38: :: TERMORD:38
theorem Th39: :: TERMORD:39
theorem Th40: :: TERMORD:40