let n be Element of NAT ; :: thesis: for h being Real
for f being Function of REAL ,REAL st f is constant holds
for x being Real holds ((fdif f,h) . (n + 1)) . x = 0

let h be Real; :: thesis: for f being Function of REAL ,REAL st f is constant holds
for x being Real holds ((fdif f,h) . (n + 1)) . x = 0

let f be Function of REAL ,REAL ; :: thesis: ( f is constant implies for x being Real holds ((fdif f,h) . (n + 1)) . x = 0 )
assume A1: f is constant ; :: thesis: for x being Real holds ((fdif f,h) . (n + 1)) . x = 0
A2: for x being Real holds (f . (x + h)) - (f . x) = 0
proof
let x be Real; :: thesis: (f . (x + h)) - (f . x) = 0
x in REAL ;
then A3: x in dom f by FUNCT_2:def 1;
x + h in REAL ;
then x + h in dom f by FUNCT_2:def 1;
then f . x = f . (x + h) by A1, A3, FUNCT_1:def 16;
hence (f . (x + h)) - (f . x) = 0 ; :: thesis: verum
end;
for x being Real holds ((fdif f,h) . (n + 1)) . x = 0
proof
defpred S1[ Element of NAT ] means for x being Real holds ((fdif f,h) . ($1 + 1)) . x = 0 ;
A4: S1[ 0 ]
proof
let x be Real; :: thesis: ((fdif f,h) . (0 + 1)) . x = 0
thus ((fdif f,h) . (0 + 1)) . x = (fD ((fdif f,h) . 0 ),h) . x by Def6
.= (fD f,h) . x by Def6
.= (f . (x + h)) - (f . x) by Th3
.= 0 by A2 ; :: thesis: verum
end;
A5: for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be Element of NAT ; :: thesis: ( S1[k] implies S1[k + 1] )
assume A6: for x being Real holds ((fdif f,h) . (k + 1)) . x = 0 ; :: thesis: S1[k + 1]
A7: (fdif f,h) . (k + 1) is Function of REAL ,REAL by Th2;
let x be Real; :: thesis: ((fdif f,h) . ((k + 1) + 1)) . x = 0
A8: ((fdif f,h) . (k + 1)) . (x + h) = 0 by A6;
((fdif f,h) . (k + 2)) . x = ((fdif f,h) . ((k + 1) + 1)) . x
.= (fD ((fdif f,h) . (k + 1)),h) . x by Def6
.= (((fdif f,h) . (k + 1)) . (x + h)) - (((fdif f,h) . (k + 1)) . x) by A7, Th3
.= 0 - 0 by A6, A8
.= 0 ;
hence ((fdif f,h) . ((k + 1) + 1)) . x = 0 ; :: thesis: verum
end;
for n being Element of NAT holds S1[n] from NAT_1:sch 1(A4, A5);
hence for x being Real holds ((fdif f,h) . (n + 1)) . x = 0 ; :: thesis: verum
end;
hence for x being Real holds ((fdif f,h) . (n + 1)) . x = 0 ; :: thesis: verum