We define
$$U:=\{x;E(x)\}$$
And refer to the members of $U$ as "beings". Where $E(x): x \text{ exists.}$
Now, $\forall x\in U$, Only one of these hold:
$$1.\ E(x)\wedge P(x)\\2.\ E(x)\wedge\neg P(x)$$
Regardless of what $P(x)$ is.
Now I want to make a pure logical expression of the below paragraph which describes what I mean by the cause of an arbitrary $x$.
Each being either has its existence from itself or from some other being. If the object exists by itself, without relying on other beings, we call it a necessary being. If the object needs another object to exist, i.e. It has gotten its existence from another being, we call it contingent being. Calling that being which gives the existence "cause", A necessary being will not need a cause to exist but a contingent being needs a cause to exist and it can't exist without a cause.
$$a: x \text{ has a cause.}\implies x\text{ has only one cause.}$$ Assuming $a$, how can I define the cause relation?
$$x\to y\iff x\text{ is the cause of }y$$