If $(L,*,+)$ and $(S,\cdot,\vee)$ are two lattices, a mapping $g\colon L\to S$ is called a lattice homomorphism from $L$ to $S$ if for any $a,b \in L$ we have $g(a*b) = g(a) \cdot g(b)$ and $g(a+b) = g(a) \vee g(b)$.
I can't understand what $g(a*b) = g(a) \cdot g(b)$ and $g(a+b) = g(a) \vee g(b)$ means. How can we detect homomorphism between two lattices?
Let $L$ be the lattice $\langle\wp(\{a,b\}),\cap,\cup\rangle$, and let $S$ be the lattice $\langle\{0,1\},\land,\lor\rangle$, where $m\land n=\min\{m,n\}$ and $m\lor n=\max\{m,n\}$. Define $g:\wp(\{a,b\})\to\{0,1\}$ as follows: for each subset $X$ of $\{a,b\}$, $g(X)=1$ if and only if $a\in X$. The four elements of $\wp(\{a,b\})$ and their images under $g$ are shown in the following table.
$$\begin{array}{c|c} X&g(X)\\ \hline \varnothing&0\\ \{a\}&1\\ \{b\}&0\\ \{a,b\}&1 \end{array}$$
Now let’s check that $g$ is a lattice homomorphism. Suppse that $X,Y\subseteq\{a,b\}$; we need to show that
$$g(X\cap Y)=g(X)\land g(Y)\tag{1}$$ and $$g(X\cup Y)=g(X)\lor g(Y)\;.\tag{2}$$
You can verify this by brute force: there are only $4^2=16$ possible pairs of $X$ and $Y$ to check. However, brute force isn’t really needed. I’ll take $(1)$ first.
$(2)$ is proved similarly, so I’ll be a little more concise.
Note that since $g$ is not a bijection, it certainly isn’t a lattice isomorphism. It ‘collapses’ the power set lattice to the two-element lattice, distinguishing subsets of $\{a,b\}$ only as to whether they contain $a$ or not instead of looking at all of their elements.