Manuscript Offprint
arXiv:2611.05568Non-redundant Independence Atoms
Abstract
Independence atom is a key concept in relational database theory. In the present paper, we prove that the maximum possible size of a non-redundant set of independence atoms on attributes is asymptotically . It turns out that this problem is closely related to two extremal set theory problems, the Katona-Tarján question on “V”-free families of subsets of for the lower bound, and Kleitman’s bound on union-free families for the upper bound.
1 Introduction
Independence and conditional independence are fundamental concepts in areas as diverse as artificial intelligence, probability theory, social choice theory, and statistics [Daw79, Hal17, Pea88]. In the present paper we investigate independence atoms, which are specializations of the logic concept introduced in [GV13] and studied in detail in [KLV13].
Let be a set of attributes. Given disjoint and an -ary relation over , we say that satisfies the independence atom if for all tuples there is some tuple which matches the values of on all coordinates in and matches the values of on all coordinates in . More intuitively, if a relation satisfies , then the occurrences of -values are independent of the occurrences of -values.
As with any other integrity constraint, it is natural to investigate the implication problem for independence atoms. If is a collection of independence atoms and is an independence atom, then implies , denoted by , if any -ary (database) relation that satisfies every independence atom in also satisfies . The implication problem was axiomatized by Kontinen, Link, and Väänänen [KLV13] (see Theorem 2.3). They also provided a divide-and-conquer algorithm that when given , decides in polynomial time whether .
Our focus in this paper is the following extremal combinatorial problem raised by Link [Lin24]. What is the maximum possible size of a non-redundant set of independence atoms on attributes? A set of independence atoms is non-redundant if, for each atom , . Equivalently, no atom in can be derived from the other atoms. Let be the largest size of a non-redundant set of independence atoms on attributes. In an undergraduate research paper, Alland, Sali, and Wu [ASW25] showed that
*Was supported by ERC Advanced Grant 883810 during part of this project.
Our main result determines asymptotically.
Theorem 1.1. . More precisely,
We also establish connections between this problem and two other problems in extremal set theory. A family of subsets of is called “-free if there does not exist distinct with and . Let be the maximum size of a “-free family of subsets of , and let be the maximum size of a “-free family of subsets of that contains only sets of size and . Katona and Tarján [KT83] proved that , and also provided a construction originating from Graham and Sloane’s work on constant weight codes [GS80], which proved that .
A family of subsets of is called union-free if there does not exist distinct with . Let be the maximum size of a union-free family of subsets of . Kleitman [Kle76] proved that . While it is clear that , as far as we can tell it is not known whether the correct second-order term for should be , , or something in between.
We will prove that
so lower bounds on and upper bounds on imply corresponding bounds on as well. Like for , it remains open what the asymptotically correct second-order term of should be.
The rest of the paper is organized as follows. In Section 2, we provide more background on relational database and independence atoms, and record Kontinen, Link, and Väänenen's [KLV13] axiomatization of the implication problem, as well as their algorithm for deciding whether . In Section 3, we use the algorithmic characterization of implication problem and the LYM inequality to prove the upper bound for . We also establish the connection between and , which then gives an asymptotically equivalent upper bound using Kleitman's bound on . In Section 4, we provide two lower bounds for . The first one is recursive and improves the lower bound of Alland, Sali, and Wu [ASW25] by a linear factor in n. The second one is better asymptotically, and uses an improved bound on recently obtained by Zhan, Lu, and Zhao [ZLZ26].
A relation schema is a finite set of different attributes, where for each , is a set of possible values that can be taken for the -th attribute. As an example, the attribute may be eye color, and is then the set of possible eye colors. A tuple over is an element in , and a relation over is a finite set of tuples over , or equivalently a subset of . For , let denote the restriction of the tuple to , and let denote the restriction of the relation to .
Definition 2.1. Let be a relation schema with attributes. Let be disjoint subsets of . A relation over satisfies the independence atom if for all tuples , there exists a tuple such that and .
In other words, if a relation satisfies , then the occurrences of -values are independent of the occurrences of -values, in the sense that .
Definition 2.2. Let be a collection of independence atoms on attributes, and let be an independence atom on the same set of attributes. We say that implies , denoted by , if any relation over this set of attributes that satisfies every independence atom in also satisfies .
The implication problem was axiomatized by Kontinen, Link, and Väänänen [KLV13] as follows.
Theorem 2.3 ([KLV13, Theorem 1]). The following four axioms form a sound and complete axiom system for the implication of independence atoms. That is, if and only if can be derived from the atoms in using the following four axioms.
That is, iff has a finite derivation from using the rules above.
We will need the following theorem, which is a straightforward corollary of the algorithmic characterization of implications of independence atoms proven in [KLV13, Theorem 2]. For a set of independence atoms and an atom , let denote the restriction of to , that is,
Theorem 2.4. Let be a set of independence atoms and let be an atom. Then if and only if one of the following holds.
-
is trivial, i.e., or .
-
or .
-
There exists a non-trivial satisfying with the following property. Let , , , and , so that , , , and . Then, both and hold.
3 Upper Bound
In this section, we prove the upper bound part of Theorem 1.1. We begin by defining minimal non-redundant sets of independence atoms, and studying their properties.
Definition 3.1. A non-redundant set of independence atoms is called containment minimal or simply minimal, if for every atom and all subsets and satisfying , we have .
Lemma 3.2. Suppose is a non-redundant set of independence atoms. Let , let , and let . If , then is non-redundant.
Proof. Suppose for a contradiction that is redundant. Then, we have the following two cases.
Case I. . This is impossible as , and we have from the assumption.
Case II. There exists with , such that . Note that as well, and by and , so by replacing the occurrences of in the derivation of with , we get a derivation of . This contradicts that is non-redundant.
Note that by repeated applications of Lemma 3.2, for any non-redundant set of independence atoms, there is a minimal non-redundant set of the same size. Therefore, when studying , the maximum size of a non-redundant set, we can often assume it is minimal.
The following result shows that the underlying sets corresponding to independence atoms in a minimal non-redundant set are pairwise distinct.
Lemma 3.3. Let be a minimal non-redundant set of independence atoms on . Then, the map defined by is injective.
Proof. Suppose for a contradiction that there exist distinct and in , such that . Let , , , and . Let , noting that . We have two cases.
Case I. At least one of and holds. Without loss of generality, assume . This contradicts the minimality of as and .
Case II. and . Then, combining and gives by and , then gives . Similarly, combining and gives by . Finally, combining and gives by and . Therefore, , contradicting that is non-redundant.
The next result gives a useful characterization of non-redundancy that will be used in both the upper bound and lower bound proofs of Theorem 1.1. Note that in the reverse direction, is not necessarily minimal non-redundant.
Lemma 3.4. If is a minimal non-redundant set of independence atoms, then the following holds. For all distinct atoms and in , if , then either or . Conversely, if this condition holds and contains no trivial atoms, then is non-redundant.
Proof. First suppose that is a minimal non-redundant set, and both and hold. Let , , , and . Set and , so that by . Let . Then, is a non-trivial atom in . Since and , the definition of minimality implies that and . Thus, Theorem 2.4 applies to show that , contradicting the minimality of .
On the other hand, assume now that contains no trivial atoms, and for all distinct and in satisfying , we have either or . Suppose for a contradiction that is redundant, then there exists a non-trivial such that . If , then , but is contained in neither nor , contradicting the assumption. Thus, by Theorem 2.4, we can find a non-trivial with , so that with , , , and , we have both and . However, since , there exists such that and . In particular, , so from the assumption, either or . This implies that either or , contradicting that is a non-trivial atom in .
Theorem 3.5. For all ,
Proof. Let be a maximum non-redundant system on . By repeatedly applying Lemma 3.2 to , we may assume that is minimal. Then, by Lemma 3.3, given by is injective. In particular, for any , there is a unique atom with . Let be the number of atoms in with .
Fix any . Let be the set of pairs such that , , , and . By Lemma 3.4, if , then .
On the one hand, for every with , if and , with , then there are ways to pick .
On the other hand, for a fixed with , if , then we cannot have . Indeed, otherwise we have , and so . By Lemma 3.4, this implies that , a contradiction. Therefore, for a fixed , the set of with form an antichain in the poset . Thus, by the LYM inequality,
Summing over all not in , and combining the two previous paragraphs, we get
After simplification, this gives
Set . Note that for every , so
Using , and that is only positive when , we get
as required.
As mentioned in the introduction, Kleitman proved the following upper bound on , the maximum size of a union-free family of subsets of .
Theorem 3.6 ([Kle76]). Let be the size of the largest family , such that there does not exist distinct satisfying . Then,
The following result shows that is essentially an upper bound on , and in particular recovers asymptotically the same upper bound as Theorem 3.5. An improved upper bound on could also lead to a better upper bound on .
Proposition 3.7. .
Proof. Let be a maximum non-redundant set of independence atoms on . By repeated applications of Lemma 3.2, we may assume is minimal. By Lemma 3.3, the map defined by is injective.
Let , and note that by injectivity. We claim that there are no distinct sets in with , and . Suppose for a contradiction that such exist, and suppose is the atom in satisfying . Then, by Lemma 3.4, or , and or . Without loss of generality, suppose . Since and , we must have as well. However, this implies that , a contradiction.
Now let . If there exist distinct in with , then we must have from above. However, this implies that , a contradiction. Thus, , and so
as required.
4 Lower Bound
In this section we give two different lower bound constructions. The first one is a recursive partition-type construction as follows.
Theorem 4.1. Let , with . Let be a non-redundant set on , and let be a non-redundant set on . Let with . Then, the following set is non-redundant.
Consequently,
Proof. For an atom in , the projection of every atom in onto is trivial, so cannot be derived from by Theorem 2.4. Similarly, no atom in can be derived from other atoms in .
Now let . For any atom in , its projection onto is trivial. For every atom , its projection onto is . However, since , , so by Theorem 2.4, cannot be derived from . Thus, is non-redundant.
We remark that the lower bound in [ASW25] is the special case when is always chosen in (1), which leads to their lower bound . They also conjectured that , however this turns out to be incorrect, as Theorem 4.1 implies the following when we use and in (1).
Corollary 4.2. .
Proof. . A non-redundant set of atoms is
Define a function by for , and let satisfy the recurrence (1) with equality for . Then, Theorem 4.1 implies that for every . We used ChatGPT [Cha26] to solve this recurrence and obtain the following lower bound on . In particular, it turns out that for , the optimal splits are if is divisible by 4, if is congruent to 1 mod 4, and if is congruent to 2 mod 4, and and if is congruent to 3 mod 4.
Proposition 4.3. Let be defined using the recurrence (1) with equality. Then,
Asymptotically,
Our next result establishes a connection between and , the size of a maximum “V”-free family of subsets of that contains only sets of size and .
Proposition 4.4. .
Proof. Let be a maximum “V”-free family of subsets of that only contains sets of size and . Let , then and contains only sets of size and . Let be the sets of size in and let . Since is “V”-free, every has at most one such that . Let consist of the following atoms.
-
For every that has a unique such that , add to . For every with no satisfying , pick arbitrarily and add to .
-
For every , pick arbitrarily, and add to .
Then, is non-redundant by Lemma 3.4, so .
Katona and Tarján [KT83, Theorem 6] studied the maximum size of “V”-free families and proved that
Their lower bound construction for uses only sets of size or , so the same lower bound holds for . This implies that the lower bound of Proposition 4.4 is better for odd than the partition-type one. Let us note, that the family of 13 subsets of [5] without a “V” constructed in [KT83] corresponds to the non-redundant family of 13 independence atoms of Corollary 4.2.
Recently, Zhan, Lu, and Zhao [ZLZ26] obtained the correct second-order term in for .
Theorem 4.5 ([ZLZ26, Theorem 1.4]).
Again, their new lower bound construction for uses only sets of size or , so the same bound also holds for . By Proposition 4.4, this immediately gives the following lower bound on as a corollary, which for large is asymptotically better than the bound from the recursive partition-type construction above.
Corollary 4.6.
Finally, we note that since Katona and Tarján proved that , this is essentially the best lower bound on that can be obtained using Proposition 4.4.
5 AI statements
Proposition 4.3 was obtained using ChatGPT. Their proofs are properly validated and are included in [Cha26].
References
[ASW25] Lucas Alland, Attila Sali, and Nicole Wu. Non-redundant systems of independence atoms in relational databases. In Proceedings of the 28th International Multiconference, Volume N, pages 27–29. 2025. https://matcos.iam.upr.si/en/resources/files//published-material/is2025volume-n.pdf.
[Cha26] ChatGPT. An exact recurrence and asymptotics for . https://users.renyi.hu/~sali/indep/correctedaiproof.pdf, 2026.
[Daw79] Alexander P. Dawid. Conditional independence in statistical theory. Journal of the Royal Statistical Society, Series B (Methodological), 41(1):1–31, 1979.
[GS80] Ronald L. Graham and Neil J. A. Sloane. Lower bounds for constant weight codes. IEEE Transactions on Information Theory, 26(1):37–43, 1980.
[GV13] Erich Grädel and Jouko Väänänen. Dependence and independence. Studia Logica, An International Journal for Symbolic Logic, 101(2):399–410, 2013.
[Hal17] Joseph Y. Halpern. Reasoning about uncertainty. MIT Press, 2017.
[Kle76] Daniel J. Kleitman. Extremal properties of collections of subsets containing no two sets and their union. Journal of Combinatorial Theory, Series A, 20(3):390–392, 1976.
[KLV13] Juha Kontinen, Sebastian Link, and Jouko Väänänen. Independence in database relations. In Logic, Language, Information, and Computation, pages 179–193. Springer, 2013.
[KT83] Gyula O. H. Katona and Tamás G. Tarján. Extremal problems with excluded subgraphs in the -cube. In Graph theory (Lagów, 1981), pages 84–93. Springer, 1983.
[Lin24] Sebastian Link. Personal communication, 2024.
[Pea88] Judea Pearl. Probabilistic reasoning in intelligent systems: networks of plausible inference. Morgan Kaufmann, 1988.
[ZLZ26] Yiyan Zhan, Mei Lu, and Xiamiao Zhao. The second-order term for the largest r-fork-free families. arXiv:2609.30336, 2026.