Prove that a field of a set $A$ has $2^r$ elements if it has finite cardinality.
The definition of algebra is given here "https://en.wikipedia.org/wiki/Field_of_sets"
My try: I was trying to start from a simple example. Suppose $F:=\{\phi, X, a_1, a_1^c\}\subseteq A$ where $X$ is the total set.
Now $\exists b_1 \in A\setminus F$ then $b_1^c \in A\setminus F.$ If $ b_1 \subseteq a_1$ then $b_1^c \cup a_1\in A\setminus F$ and $(b_1^c \cup a_1)^c\in A\setminus F.$ From here the proof is getting clumsy. Is there any easy way to prove this?
Hints: Say that $x \sim y$ if the sets in the algebra that contain $x$ are precisely the one's that contain $y$. This is an equivalence relation. Let $[A_x]$ denote the equivalence class of $x$. Verify that $x \in A$ for some $A$ in the algebra implies that $[A_x] \subseteq A$. Now show that any set is a union of equivalence classes. It folows now that there is a bijection from the algebra onto the family of subsets of $\{1,2,...,n\}$ where $n$ is the number of equivalence classes.