Let (\Om,F,P) be a probability space. For some natural n, let A1,…,An be events, that is, members of the σ-algebra F. For k∈[n]:={1,…,n}, these events are said to be k-independent if
P\Big(\bigcap_{j\in J}A_j\Big)=\prod_{j\in J}P(A_j)\quad\text{for}\quad J\in\binom{[n]}{\le k},\tag{1}
where (≤k[n]) stands for the set of all subsets of cardinality ≤k of the set [n].
Introduce the events
\begin{equation*}
C_K:=\Big(\bigcap_{j\in K}A_j\Big)\cap\Big(\bigcap_{j\in[n]\setminus K}(\Om\setminus A_j)\Big)
\end{equation*}
for K⊆[n]. These events constitute a partition of \Om. For K⊆[n], let
xK:=P(CK).
So, the xK's are nonnegative real numbers such that
\sum_{K\subseteq[n]}x_K=1.\tag{2}
Moreover, clearly for each J⊆[n]
P(⋂j∈JAj)=∑K:J⊆K⊆[n]xK.
So, equations (1) and (2) expressed in terms of the "variables" xK, together with the inequalities xK>0 for all K⊆[n], define a semialgebraic set, say Ik, in R2n. Of the
Nk:=∑m=0k(mn)
equations (1), 1+n equations -- corresponding to the sets J∈(≤k[n]) of cardinalities ≤1 -- are trivial: P(\Om)=1 for J=∅ and P(Aj)=P(Aj) for J={j} with any j∈[n]. Thus, of equations (1) and (2), there remain Nk−(1+n)+1=Nk−n supposedly "nontrivial" and "algebraically independent'' equations.