let A, B be MSSubset of (ParsedTermsOSA X); :: thesis: ( ( for s being Element of S holds A . s = PTVars (s,X) ) & ( for s being Element of S holds B . s = PTVars (s,X) ) implies A = B )
assume that
A2: for s being Element of S holds A . s = PTVars (s,X) and
A3: for s being Element of S holds B . s = PTVars (s,X) ; :: thesis: A = B
for i being object st i in the carrier of S holds
A . i = B . i
proof
let i be object ; :: thesis: ( i in the carrier of S implies A . i = B . i )
assume i in the carrier of S ; :: thesis: A . i = B . i
then reconsider s = i as SortSymbol of S ;
A . s = PTVars (s,X) by A2;
hence A . i = B . i by A3; :: thesis: verum
end;
hence A = B ; :: thesis: verum