scheme  
3SeqDEx{ 
F1() 
->   non  
empty   set , 
F2() 
->   Nat, 
P1[   
object ,   
object ], 
P2[   
object ,   
object ], 
P3[   
object ,   
object ] } :
provided
A1: 
 for 
k being   
Nat  st 
k in  Seg F2() holds 
 ex 
x being    
Element of 
F1() st 
P1[
k,
x]
 
and A2: 
 for 
k being   
Nat  st 
k in  Seg F2() holds 
 ex 
x being    
Element of 
F1() st 
P2[
k,
x]
 
and A3: 
 for 
k being   
Nat  st 
k in  Seg F2() holds 
 ex 
x being    
Element of 
F1() st 
P3[
k,
x]
 
 
 
ll: 
 for R being    ZeroStr  holds   <*>  the carrier of R is  trivial 
 
bla: 
 for R being   non  degenerated  Ring
  for S being   Subset of R  st  0. R in S & ( (S ^+) /\ (S ^-) =  {}  or S ^+  <> S ^-  ) & {(S ^+),{(0. R)},(S ^-)} is    a_partition of  the carrier of R & S ^+  is  add-closed  & S ^+  is  mult-closed  holds 
S is  positive_cone 
 
mainX: 
 for F being   Field
  for E being   FieldExtension of F
  for a being   Element of E  st a ^2  in F &  not a in F holds 
 for f being   non  empty   quadratic  FinSequence of (FAdj (F,{a}))  ex g1, g2, g3 being   non  empty  FinSequence of (FAdj (F,{a})) st 
( g1 is   non  empty   quadratic  FinSequence of F & g2 is   non  empty   quadratic  FinSequence of F & g3 is   non  empty  FinSequence of F &  Sum f = ((Sum g1) + (((@ ((FAdj (F,{a})),a)) ^2) * (Sum g2))) + ((@ ((FAdj (F,{a})),a)) * (Sum g3)) )
 
l12: 
 for F being   ordered  Field
  for E being   ordered  FieldExtension of F
  for P being   Ordering of F
  for O being   Ordering of E  st (  for a being   Element of F holds 
 ( a in P iff a in O ) ) holds 
O extends P
 
S1: 
 for F being   ordered  Field
  for P being   Ordering of F
  for E being   FieldExtension of F
  for f, g being  b2 -quadratic  FinSequence of E  st  len f = 1 &  Sum f in  QS (E,P) &  Sum g in  QS (E,P) holds 
(Sum f) * (Sum g) in  QS (E,P)
 
S0: 
 for F being   ordered  Field
  for P being   Ordering of F
  for E being   FieldExtension of F
  for f, g being  b2 -quadratic  FinSequence of E  st  Sum f in  QS (E,P) &  Sum g in  QS (E,P) holds 
(Sum f) * (Sum g) in  QS (E,P)
 
lemB3: 
 for F being   ordered  Field
  for E being   ordered  FieldExtension of F
  for P being   Ordering of F
  for O being   Ordering of E  st O extends P holds 
 for f being   non  empty  b3 -quadratic  FinSequence of E  st  not f is  trivial  holds 
 Sum f in O \ {(0. E)}
 
theorem XYZbS3: 
 for 
F being   
ordered  Field  for 
E being   
FieldExtension of 
F  for 
P being   
Ordering of 
F  for 
a being   
Element of 
E  st 
a ^2  in F holds 
 for 
f being   non  
empty  b3 -quadratic  FinSequence of 
(FAdj (F,{a}))  ex 
g1, 
g2 being   non  
empty  FinSequence of 
(FAdj (F,{a})) st 
(  
Sum f = (Sum g1) + ((@ ((FAdj (F,{a})),a)) * (2 '*' (Sum g2))) & (  for 
i being    
Element of  
NAT   st 
i in  dom g1 holds 
 ex 
b being   non  
zero  Element of 
(FAdj (F,{a})) ex 
c1, 
c2 being   
Element of 
(FAdj (F,{a})) st 
( 
b in P & 
c1 in F & 
c2 in F & 
g1 . i = b * ((c1 ^2) + ((c2 ^2) * ((@ ((FAdj (F,{a})),a)) ^2))) ) ) & (  for 
i being    
Element of  
NAT   st 
i in  dom g2 holds 
 ex 
b being   non  
zero  Element of 
(FAdj (F,{a})) ex 
c1, 
c2 being   
Element of 
(FAdj (F,{a})) st 
( 
b in P & 
c1 in F & 
c2 in F & 
g2 . i = (b * c1) * c2 ) ) )