set A = AllTermsOf S;
set n = |.(ar s).|;
set SS = AllSymbolsOf S;
set XF = X -freeInterpreter s;
set AF = AtomicFormulasOf S;
reconsider Ss = ((AllSymbolsOf S) *) \ {{}} as Subset of ((AllSymbolsOf S) *) ;
|.(ar s).| -tuples_on (AllTermsOf S) c= (AllTermsOf S) * by FINSEQ_2:142;
then |.(ar s).| -tuples_on (AllTermsOf S) c= Ss * by XBOOLE_1:1;
then reconsider f = (s -compound) | (|.(ar s).| -tuples_on (AllTermsOf S)) as Function of (|.(ar s).| -tuples_on (AllTermsOf S)),(((AllSymbolsOf S) *) \ {{}}) by FUNCT_2:32;
per cases ( s is relational or not s is relational ) ;
end;