deffunc H1( Element of the Sorts of (FreeEnv A) . v) -> Element of NAT = card $1;
set s = { H1(t) where t is Element of the Sorts of (FreeEnv A) . v : S1[t] } ;
set t = the Element of the Sorts of (FreeEnv A) . v;
A1: card the Element of the Sorts of (FreeEnv A) . v in { H1(t) where t is Element of the Sorts of (FreeEnv A) . v : S1[t] } ;
A2: { H1(t) where t is Element of the Sorts of (FreeEnv A) . v : S1[t] } is Subset of NAT from DOMAIN_1:sch 8();
{ H1(t) where t is Element of the Sorts of (FreeEnv A) . v : S1[t] } is finite from PRE_CIRC:sch 1();
then reconsider s = { H1(t) where t is Element of the Sorts of (FreeEnv A) . v : S1[t] } as non empty finite Subset of NAT by A1, A2;
reconsider m = max s as Nat by TARSKI:1;
take m ; :: thesis: ex s being non empty finite Subset of NAT st
( s = { (card t) where t is Element of the Sorts of (FreeEnv A) . v : verum } & m = max s )

take s ; :: thesis: ( s = { (card t) where t is Element of the Sorts of (FreeEnv A) . v : verum } & m = max s )
thus ( s = { (card t) where t is Element of the Sorts of (FreeEnv A) . v : verum } & m = max s ) ; :: thesis: verum