set S = { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } ;
A1: {(HFuncs NAT)} c= bool (HFuncs NAT) by ZFMISC_1:68;
HFuncs NAT in {(HFuncs NAT)} by TARSKI:def 1;
then A2: HFuncs NAT in { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } by A1, Th70;
A3: now
let Y be set ; :: thesis: ( Y in { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } implies 0 const 0 in Y )
assume Y in { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } ; :: thesis: 0 const 0 in Y
then ex R being Subset of (HFuncs NAT) st
( R = Y & R is primitive-recursively_closed ) ;
hence 0 const 0 in Y by Def17; :: thesis: verum
end;
hence not PrimRec is empty by A2, SETFAM_1:def 1; :: thesis: PrimRec is primitive-recursively_closed
thus PrimRec is primitive-recursively_closed :: thesis: verum
proof
thus 0 const 0 in PrimRec by A2, A3, SETFAM_1:def 1; :: according to COMPUT_1:def 14 :: thesis: ( 1 succ 1 in PrimRec & ( for n, i being Element of NAT st 1 <= i & i <= n holds
n proj i in PrimRec ) & PrimRec is composition_closed & PrimRec is primitive-recursion_closed )

now
let Y be set ; :: thesis: ( Y in { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } implies 1 succ 1 in Y )
assume Y in { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } ; :: thesis: 1 succ 1 in Y
then ex R being Subset of (HFuncs NAT) st
( R = Y & R is primitive-recursively_closed ) ;
hence 1 succ 1 in Y by Def17; :: thesis: verum
end;
hence 1 succ 1 in PrimRec by A2, SETFAM_1:def 1; :: thesis: ( ( for n, i being Element of NAT st 1 <= i & i <= n holds
n proj i in PrimRec ) & PrimRec is composition_closed & PrimRec is primitive-recursion_closed )

hereby :: thesis: ( PrimRec is composition_closed & PrimRec is primitive-recursion_closed )
let n, i be Element of NAT ; :: thesis: ( 1 <= i & i <= n implies n proj i in PrimRec )
assume that
A4: 1 <= i and
A5: i <= n ; :: thesis: n proj i in PrimRec
now
let Y be set ; :: thesis: ( Y in { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } implies n proj i in Y )
assume Y in { R where R is Subset of (HFuncs NAT) : R is primitive-recursively_closed } ; :: thesis: n proj i in Y
then ex R being Subset of (HFuncs NAT) st
( R = Y & R is primitive-recursively_closed ) ;
hence n proj i in Y by A4, A5, Def17; :: thesis: verum
end;
hence n proj i in PrimRec by A2, SETFAM_1:def 1; :: thesis: verum
end;
hereby :: according to COMPUT_1:def 12 :: thesis: PrimRec is primitive-recursion_closed end;
hereby :: according to COMPUT_1:def 13 :: thesis: verum end;
end;