let f be Function; :: thesis: ( f is rational-valued iff for x being set holds f . x is rational )
hereby :: thesis: ( ( for x being set holds f . x is rational ) implies f is rational-valued )
assume A1: f is rational-valued ; :: thesis: for x being set holds f . b2 is rational
let x be set ; :: thesis: f . b1 is rational
per cases ( x in dom f or not x in dom f ) ;
end;
end;
assume for x being set holds f . x is rational ; :: thesis: f is rational-valued
then for x being set st x in dom f holds
f . x is rational ;
hence f is rational-valued by Def10; :: thesis: verum