I found two definitions in some textbooks. One is defined as follows:
A collection $\mathscr{C}$ of subset of $X$ is called a semi-algebra if
(a) $\emptyset \in \mathscr{C},$
(b) if $A, B\in \mathscr{C},$ then $A\cap B\in \mathscr{C},$
(c) for $A\in \mathscr{C},$ there exist finitely many (possibly empty) disjoint sets $E_1, \ldots, E_n\in \mathscr{C}$ such that $ X\setminus A=\bigcup_{i=1}^n E_i.$
Another definition is given by:
A collection $\mathscr{C}$ of subset of $X$ is called a semi-algebra if
(a) $\emptyset \in \mathscr{C},$
(b) if $A, B\in \mathscr{C},$ then $A\cap B\in \mathscr{C},$
(c') For $A, B\in \mathscr{C}$, there exist finitely many disjoint sets $E_1,E_2,\ldots, E_m\in \mathscr{C}$ such that $A\setminus B=\bigcup_{k=1}^m E_k.$
My question is : Are the two definitions equivalent? How to prove that $(c')$ implies $(c)$? The main difficult is that $X$ is not necessary in $\mathscr{C}$.