set M = { z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} ; A4:
( x in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} & y in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} )
defpred S1[ Nat] means ex z being Element of E st ( z in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} & z <>0. E & $1 = d . z ); A6:
ex k being Nat st S1[k]
ex k being Nat st ( S1[k] & ( for n being Nat st S1[n] holds k <= n ) )
from NAT_1:sch 5(A6); then consider k being Nat such that A7:
( S1[k] & ( for n being Nat st S1[n] holds k <= n ) )
; consider g being Element of E such that A8:
( g in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} & g <>0. E & k = d . g & ( for n being Nat st ex z being Element of E st ( z in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} & z <>0. E & n = d . z ) holds k <= n ) )
by A7; set G = { z where z is Element of E : ex r being Element of E st z = r * g } ; A9:
{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)}={ z where z is Element of E : ex r being Element of E st z = r * g }
A10:
for z being set st z in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} holds z in{ z where z is Element of E : ex r being Element of E st z = r * g }
let z be set ; :: thesis: ( z in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)} implies z in{ z where z is Element of E : ex r being Element of E st z = r * g } ) assume
z in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)}
; :: thesis: z in{ z where z is Element of E : ex r being Element of E st z = r * g } then consider z2 being Element of E such that A11:
( z = z2 & ex s, t being Element of E st z2 =(s * x)+(t * y) )
; reconsider z = z as Element of E by A11; consider u, v being Element of E such that A12:
z2 =(u * x)+(v * y)by A11; consider q, r being Element of E such that A13:
( z =(q * g)+ r & ( r =0. E or d . r < d . g ) )
by A8, Def10;
r in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)}
for z being set st z in{ z where z is Element of E : ex r being Element of E st z = r * g } holds z in{ z where z is Element of E : ex s, t being Element of E st z =(s * x)+(t * y)}