let S be non empty non void ManySortedSign ; for A1, A2 being MSAlgebra over S st A2 is empty holds
for h being ManySortedFunction of A1,A2 holds h is_homomorphism A1,A2
let A1, A2 be MSAlgebra over S; ( A2 is empty implies for h being ManySortedFunction of A1,A2 holds h is_homomorphism A1,A2 )
assume A1:
the Sorts of A2 is empty-yielding
; CATALG_1:def 2 for h being ManySortedFunction of A1,A2 holds h is_homomorphism A1,A2
let h be ManySortedFunction of A1,A2; h is_homomorphism A1,A2
let o be OperSymbol of S; MSUALG_3:def 7 ( Args (o,A1) = {} or for b1 being Element of Args (o,A1) holds (h . (the_result_sort_of o)) . ((Den (o,A1)) . b1) = (Den (o,A2)) . (h # b1) )
assume
Args (o,A1) <> {}
; for b1 being Element of Args (o,A1) holds (h . (the_result_sort_of o)) . ((Den (o,A1)) . b1) = (Den (o,A2)) . (h # b1)
let x be Element of Args (o,A1); (h . (the_result_sort_of o)) . ((Den (o,A1)) . x) = (Den (o,A2)) . (h # x)
the Sorts of A2 . (the_result_sort_of o) = {}
by A1;
then A2:
Result (o,A2) = {}
by PRALG_2:3;
thus (h . (the_result_sort_of o)) . ((Den (o,A1)) . x) =
{}
by A1
.=
(Den (o,A2)) . (h # x)
by A2
; verum