let U1, U2 be Universal_Algebra; ( U1 is SubAlgebra of U2 implies U1,U2 are_similar )
set s1 = signature U1;
set s2 = signature U2;
set X = dom (signature U1);
len (signature U1) = len the charact of U1
by UNIALG_1:def 4;
then A1:
dom (signature U1) = dom the charact of U1
by FINSEQ_3:29;
assume A2:
U1 is SubAlgebra of U2
; U1,U2 are_similar
then reconsider A = the carrier of U1 as non empty Subset of U2 by Def7;
len (signature U2) = len the charact of U2
by UNIALG_1:def 4;
then A3:
dom (signature U2) = dom the charact of U2
by FINSEQ_3:29;
dom the charact of U1 = dom (Opers (U2,A))
by A2, Def7;
then A4:
dom (signature U1) = dom (signature U2)
by A1, A3, Def6;
the charact of U1 = Opers (U2,A)
by A2, Def7;
then A5:
dom (signature U1) c= dom (signature U2)
by A1, A3, Def6;
for n being Nat st n in dom (signature U1) holds
(signature U1) . n = (signature U2) . n
then
signature U1 = signature U2
by A4, FINSEQ_1:13;
hence
U1,U2 are_similar
; verum