Algorithmcore
Tableau test for lossless join
Also called Aho-Beeri-Ullman lossless join test, chase test for lossless join.
Decide if a decomposition into any number of parts has a lossless join under FDs. Chase a tableau with one row per part; the join is lossless exactly when some row becomes all distinguished.
- Time
- O(k^2 a (1 + m log k)) worst
- Space
- O(k a + m) extra
- Where
- a = the number of attributes; k = the number of parts; m = the total size of the functional dependencies
- Model
- Word RAM
- Properties
- deterministicexactnot externalnot in placeofflineiterative
- Evidence
- Full proofCode in 1 languages
- Origin
- Alfred V. Aho, Catriel Beeri, Jeffrey D. Ullman, 1979
The tableau test decides whether a decomposition of a schema into parts has a lossless join under a set of functional dependencies. It builds a table of symbols with one row for each part and applies the dependencies to it as repair rules. The lossless join page defines the property and proves the test for two parts, which is one attribute closure. This page is the general test for any number of parts, due to Aho, Beeri and Ullman (1979). It is the chase with functional dependencies only, which is why it runs in polynomial time.
In plain words
You split a table into smaller tables and want to know if joining them always gives back exactly the original rows.
Make a small grid with one line for each smaller table and one column for each column of the original. On each line, mark the columns its smaller table keeps as "known". Fill the other places with "unknown" marks of that line only.
Now apply the rules. If a rule says that rows which agree on some columns must also agree on another column, and two lines agree on those columns, make their marks in the other column the same. Prefer "known" when one of the two is known. Repeat until nothing changes.
If some line is now known in every column, the split is always safe. If not, the grid itself is a table that obeys the rules and gains a row when you split and join it.
The problem
Let be a set of attributes and a finite set of functional dependencies (FDs) over , with total size . We use set semantics: a relation is a finite set of tuples. A decomposition is a list of subsets of with . For a relation over write
Always . The decomposition is lossless under when for each relation that satisfies . In the notation of join dependencies, the question is whether implies the join dependency .
Input: , and . Output: lossless or lossy. When the answer is lossy, the test can also return a relation that satisfies and is not equal to of itself.
The algorithm
A tableau is a table with rows and one column for each attribute of . Its entries are symbols. Each column has its own symbols, and two columns never share one. The symbol is the distinguished symbol of a column (the textbooks write ), and the positive integers are the other symbols (the textbooks write ).
LOSSLESS-JOIN-TEST(U, F, R₁, …, Rₖ)- 1
T ← k rows over U; row i has 0 in each column of Rᵢ and the symbol i elsewhere - 2
repeat - 3
changed ← false - 4
for each FD X → Y in F do - 5
for each group G of rows of T that agree on every column of X do - 6
for each A ∈ Y such that the rows of G have two or more symbols in column A do - 7
s ← the smallest of these symbols - 8
in column A of every row of T, replace each of these symbols by s; changed ← true - 9
until not changed - 10
if some row of T is all 0 then return (lossless, T) - 11
return (lossy, T)
Line L1 encodes the decomposition: row stands for a tuple that agrees with the target tuple on and is free elsewhere. Lines L5 to L8 are the FD rule. Rows that agree on must agree on in any relation that satisfies , so their symbols in each column of are made equal. Line L7 keeps the smallest symbol, so always wins and a known value is never lost. Line L8 renames in the whole column, not only in , because equal symbols stand for equal values everywhere.
Example
Let , and . The table lists the rows after each FD that changes the tableau. The columns are .
| step | row 1 () | row 2 () | row 3 () | row 4 () | row 5 () |
|---|---|---|---|---|---|
| start (L1) | 0 1 1 0 1 | 0 0 2 2 2 | 3 0 3 3 0 | 4 4 0 0 0 | 0 5 5 5 0 |
| : rows 1, 2, 5 agree on | 0 1 1 0 1 | 0 0 1 2 2 | 3 0 3 3 0 | 4 4 0 0 0 | 0 5 1 5 0 |
| : rows 2, 3 agree on | 0 1 1 0 1 | 0 0 1 2 2 | 3 0 1 3 0 | 4 4 0 0 0 | 0 5 1 5 0 |
| : rows 1, 2, 3, 5 agree on | 0 1 1 0 1 | 0 0 1 0 2 | 3 0 1 0 0 | 4 4 0 0 0 | 0 5 1 0 0 |
| : rows 3, 4, 5 agree on | 0 1 0 0 1 | 0 0 0 0 2 | 3 0 0 0 0 | 4 4 0 0 0 | 0 5 0 0 0 |
| : rows 3, 4, 5 agree on | 0 1 0 0 1 | 0 0 0 0 2 | 0 0 0 0 0 | 0 4 0 0 0 | 0 5 0 0 0 |
In the step for , the group holds the symbols and in column , and the symbol is replaced in all four rows that hold it, rows 1 and 2 included. The second round changes nothing. Row 3 is all , so the decomposition is lossless.
Each of the five FDs is needed. Without , the chase stops one step earlier with row 3 equal to and no row all . The five final rows, read as tuples, satisfy the other four FDs. Their projections on , , , and (from rows 1, 2, 3, 4 and 5) all contain an all- tuple, so is in the join and not in the relation.
Correctness
The proof has two directions and rests on one invariant.
Lossless answer. Let satisfy and let , with tuples that agree with on . Map the symbol of column to and the symbol to . Then row of the start maps to . A step merges symbols that occur in rows which agree on . Their images are tuples of that agree on , so they agree on , and the merged symbols already had the same image. So after each step every row still maps into . If a row ends all , it maps to , so .
Lossy answer. The final tableau satisfies , because the last round finds no group with two symbols in a column of a right side. The symbol is never replaced, so row still holds on . So the all- tuple is in , and it is not a row of . Thus is a counterexample.
Two parts. For the two rows agree exactly on the columns of the closure at the end, so the test reduces to the closure test of the lossless join page. The proof file has all the details and the bound on the rounds.
Proof: The tableau test stops and decides whether a decomposition has a lossless join under functional dependenciesfull
We use the pseudocode of the page and set semantics. is a set of attributes, is a finite set of functional dependencies (FDs) over of total size , and is a decomposition with . For a relation over write . The decomposition is lossless under when for each finite relation over that satisfies . For each we have , since each tuple agrees with itself on each . So the decomposition is lossless exactly when for each such .
The tableau has the rows . Each column has its own symbols: , the distinguished symbol, and the positive integers. Line L1 gives row the symbol in each column of and the symbol in each other column. A step is one execution of line L8: in one column it replaces a set of two or more symbols, which occur in column of rows that agree on the left side of an FD with , by in each row.
Claim. LOSSLESS-JOIN-TEST stops after at most rounds of line L2. It returns lossless exactly when is lossless under . When it returns lossy, the final tableau , read as a relation whose values are the symbols, satisfies and has .
Lemma 1 (symbols). (a) A step removes at least one symbol from column , and no step adds a symbol to a column. (b) The symbol is never replaced. (c) If row holds in column at some time, it holds there at each later time.
Proof. (a) The step replaces each symbol of by , so the symbols of , at least one, leave column , and no new symbol appears. (b) is the smallest symbol, so if then . (c) follows from (b).
Lemma 2 (termination and round bound). Column starts with at most symbols, one in each row. A column with one symbol allows no step. By Lemma 1(a), each step lowers the number of symbols in its column by at least one, so there are at most steps in each column and at most steps in all. Each round of line L2 other than the last one sets changed at line L8, so it makes a step. So there are at most rounds.
Lemma 3 (the final tableau satisfies ). In the last round, changed stays false, so line L8 does not run. So for each FD (line L4) and each group of rows that agree on (line L5), the rows of have one symbol in each column of (line L6). The tableau does not change in this round, so these checks are on . So any two rows of that agree on agree on , and satisfies .
Lemma 4 (one step keeps an embedding). A valuation maps each symbol of column to a value of attribute , and maps a row to the tuple with . Say that embeds in when for each row . Let satisfy , let embed in , and let a step change into . Then maps all symbols of to the same value, so embeds in .
Proof. The rows of agree on , so their images under are tuples of that agree on . As satisfies and , these tuples agree on . Each symbol of occurs in column of some row of , so maps all of to one value, and in particular for each . Each row of is a row of with some entries changed to , so it has the same image under , which is in .
Proof of the claim: a lossless answer is right. Suppose some row of is all . Let satisfy and let . Then there are tuples with . In column let and . The symbol occurs only in row at the start, so is well defined. Row maps to : on the entry is and , and off the entry is and . So embeds the start in . By Lemma 4 and induction on the steps, embeds in , and is not changed. So the all- row of maps to , and . Thus , and is lossless under .
Proof of the claim: a lossy answer is right. Suppose no row of is all . By Lemma 3, satisfies . By Lemma 1(c), row of holds in each column of , so the projection of row on is all . These projections agree on all common attributes, since all entries are , so the all- tuple is in . It is not in . So is a finite relation that satisfies with , and is not lossless under .
The case . Let and . Each column holds in at least one row, because the parts cover . The rows agree on a set of columns, the agreement set, which starts as , and both rows hold in each column of it. A step for applies exactly when is in the agreement set and some column of is not, and it adds the columns of to the agreement set. This is one step of the attribute closure of under , so at the end the agreement set is . Row is all exactly when , that is , and row is all exactly when . So the test agrees with the binary test of the lossless-join page.
Complexity. Store as rows of small integers, space, built in time at line L1. In one round, take one FD . Grouping the rows by their entries on (line L5) takes time by sorting, or expected time with a hash table. Line L6 looks at each row once for each attribute of , time in all. Line L8 costs for one step, and there are at most steps over the whole run by Lemma 2, so all steps together cost . So one round costs apart from the steps, and with at most rounds the total time is
in the worst case. With hashing the expected time is . The extra space is for the tableau, the groups and the FDs as column indexes.
Complexity
Let be the number of parts, the number of attributes and the total size of .
- Rounds. Each column starts with at most symbols, one per row, and each change at line L8 removes at least one of them. So there are at most changes, and at most rounds, since each round except the last one makes a change.
- One round. Grouping the rows on by sorting costs for one FD, so a round costs apart from line L8. One change at line L8 costs , and all changes together cost .
- Total. time in the worst case, or expected time with a hash table for the groups. The extra space is for the tableau and the FDs.
This is polynomial in the size of the input. The answer does not need for any real relation, which can have up to tuples.
Properties
- Exact. A lossless answer is a proof for every relation that satisfies , and a lossy answer comes with a counterexample of tuples.
- Independent of the order. The order of the FDs and of the parts does not change the answer, because the final tableau of the chase is unique up to a renaming of the symbols.
- Small counterexamples. If a decomposition into parts is lossy under , there is a counterexample with at most tuples, and the final tableau is one.
- No preprocessing. need not be a minimal cover, and implied FDs need not be listed.
Variants and improvements
- FDs and MVDs or JDs. If the constraints include multivalued dependencies or join dependencies, add the JD rule of the chase, which adds rows. The test then still decides the question, but the tableau can grow, and the polynomial bound is lost.
- Union-find. Keep the symbols of each column in a union-find structure. Line L8 then merges two classes and does not rewrite the column, and the groups are found on the class representatives.
- Two parts. For , compute with the attribute closure algorithm in linear time. This is Heath's theorem together with its converse for FDs.
- Decompositions that are lossless by construction. BCNF decomposition splits on an FD at each step, so each split is lossless by Heath's theorem and the whole result is lossless. 3NF synthesis adds a part that holds a key, and the row of that part becomes all in the test.
When to use it
Use the test when a designer proposes a decomposition with three or more parts, or when parts are merged or split by hand after an algorithm has run. For two parts, the closure test is simpler and faster. For a decomposition produced by the BCNF or 3NF algorithms, the test is not needed, but it is a good check of an implementation of those algorithms. When the answer is lossy, show the final tableau: its rows are a small instance that loses information, which helps to explain the problem.
Pitfalls
- Testing two parts at a time. With and , the pair , has no common attribute, so its join is a cross product. Yet the three parts together are lossless. A lossless join is a property of the whole decomposition, not of each pair.
- Keeping the wrong symbol. If a free symbol replaces , the test can miss an all- row and answer lossy for a lossless decomposition.
- Renaming only inside the group. The replacement at line L8 must cover the whole column. Otherwise a later FD sees two different symbols for one value.
- Stopping after one pass. A later FD can create agreement that an earlier FD needs. The loop must run until a whole round changes nothing.
- Using only the FDs that fit in one part. The test needs over all of . In the example, , and fit in no part, and without any one of them the answer is lossy.
Implementations
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/lossless-join-test/. The authors are listed in prov/R7WCET.jsonl.
"""The tableau test of Aho, Beeri and Ullman (1979) for a lossless join under functional dependencies.
A tableau is a list of rows, one row per part of the decomposition. Each entry is a
symbol of its column: 0 is the distinguished symbol, and the positive integer i is the
symbol that row i - 1 has at the start. Symbols of different columns are never compared.
"""
def start_tableau(attrs, parts):
"""Row i has 0 in each column of parts[i] and the symbol i + 1 in each other column."""
return [[0 if a in p else i + 1 for a in attrs] for i, p in enumerate(parts)] # @line L1
def chase_fds(tableau, fds):
"""Apply the FD rule until no FD is violated, in place.
fds holds pairs (lhs, rhs) of lists of column indexes. Returns the number of rounds,
the last round included (it changes nothing).
"""
rounds = 0
changed = True
while changed: # @line L2
changed = False # @line L3
rounds += 1
for lhs, rhs in fds: # @line L4
groups = {}
for row in tableau: # @line L5: group the rows by their symbols on X
groups.setdefault(tuple(row[j] for j in lhs), []).append(row)
for key in sorted(groups):
rows = groups[key]
for j in rhs: # @line L6
syms = {row[j] for row in rows}
if len(syms) > 1:
s = min(syms) # @line L7
for row in tableau: # @line L8: rename in the whole column
if row[j] in syms:
row[j] = s
changed = True
return rounds # @line L9: the last round changed nothing
def lossless_join_test(attrs, fds, parts):
"""Decide whether the decomposition parts of the attributes attrs is lossless under fds.
attrs: a sequence of distinct attribute names, the columns in order.
fds: a sequence of pairs (lhs, rhs); each side is an iterable of attribute names.
parts: a nonempty sequence of iterables of attribute names whose union is attrs.
Returns (lossless, tableau). If lossless is False, the final tableau, read as a relation
with one tuple per row, satisfies fds and is not the join of its projections on the parts.
"""
attrs = list(attrs)
col = {a: j for j, a in enumerate(attrs)}
if len(col) != len(attrs):
raise ValueError("the attribute names must be distinct")
ps = [frozenset(p) for p in parts]
if not ps or frozenset().union(*ps) != frozenset(attrs):
raise ValueError("the parts must cover exactly the attributes")
idx = []
for lhs, rhs in fds:
names = set(lhs) | set(rhs)
if not names <= col.keys():
raise ValueError("an FD uses an unknown attribute")
idx.append((sorted(col[a] for a in set(lhs)), sorted(col[a] for a in set(rhs))))
tableau = start_tableau(attrs, ps)
chase_fds(tableau, idx)
for row in tableau:
if all(x == 0 for x in row): # @line L10
return True, tableau
return False, tableau # @line L11
lossless_join_test.py 8 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/lossless-join-test/. The authors are listed in prov/R7WCET.jsonl.
"""Entry point named after the slug. The code is in lossless_join.py,
because the tools treat a file whose name ends in _test as a test file."""
from lossless_join import chase_fds, lossless_join_test, start_tableau
__all__ = ["chase_fds", "lossless_join_test", "start_tableau"]
test_lossless_join_test.py 240 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/lossless-join-test/. The authors are listed in prov/R7WCET.jsonl.
import random
from itertools import product
import pytest
from lossless_join_test import chase_fds, lossless_join_test, start_tableau
def closure(x, fds):
res = set(x)
changed = True
while changed:
changed = False
for lhs, rhs in fds:
if set(lhs) <= res and not set(rhs) <= res:
res |= set(rhs)
changed = True
return res
def satisfies(rel, fds):
"""rel is a set of tuples over the columns 0 .. a - 1; fds use column indexes."""
for lhs, rhs in fds:
seen = {}
for t in rel:
key = tuple(t[j] for j in lhs)
val = tuple(t[j] for j in rhs)
if seen.setdefault(key, val) != val:
return False
return True
def join_of_projections(rel, parts, a):
"""The natural join of the projections of rel on parts, built one part at a time."""
partial = {tuple([None] * a)}
for p in parts:
cols = sorted(p)
proj = {tuple(t[j] for j in cols) for t in rel}
nxt = set()
for u in partial:
for v in proj:
if all(u[j] is None or u[j] == x for j, x in zip(cols, v)):
w = list(u)
for j, x in zip(cols, v):
w[j] = x
nxt.add(tuple(w))
partial = nxt
return partial
def rgs(k):
"""All set partitions of k rows, as restricted growth strings."""
out = []
def rec(prefix, top):
if len(prefix) == k:
out.append(tuple(prefix))
return
for x in range(top + 2):
rec(prefix + [x], max(top, x))
rec([], -1)
return out
def all_small_relations(a, k):
"""Each relation with at most k tuples over a columns, up to a renaming of each column."""
cols = rgs(k)
for choice in product(cols, repeat=a):
yield {tuple(choice[j][i] for j in range(a)) for i in range(k)}
def random_instance(rng, a, k, nfd):
attrs = [chr(ord("A") + j) for j in range(a)]
fds = []
for _ in range(nfd):
lhs = rng.sample(attrs, rng.randint(0 if rng.random() < 0.1 else 1, 2))
rhs = rng.sample(attrs, rng.randint(1, 2))
fds.append(("".join(lhs), "".join(rhs)))
parts = [set(rng.sample(attrs, rng.randint(1, a - 1))) for _ in range(k)]
for x in attrs:
if not any(x in p for p in parts):
parts[rng.randrange(k)].add(x)
return attrs, fds, ["".join(sorted(p)) for p in parts]
def to_cols(attrs, fds, parts):
col = {x: j for j, x in enumerate(attrs)}
f = [([col[x] for x in lhs], [col[x] for x in rhs]) for lhs, rhs in fds]
p = [{col[x] for x in q} for q in parts]
return f, p
def brute_lossless(attrs, fds, parts):
a, k = len(attrs), len(parts)
f, p = to_cols(attrs, fds, parts)
for rel in all_small_relations(a, k):
if satisfies(rel, f) and join_of_projections(rel, p, a) != rel:
return False
return True
def test_ullman_five_parts():
attrs = "ABCDE"
fds = [("A", "C"), ("B", "C"), ("C", "D"), ("DE", "C"), ("CE", "A")]
parts = ["AD", "AB", "BE", "CDE", "AE"]
ok, t = lossless_join_test(attrs, fds, parts)
assert ok
assert t[2] == [0, 0, 0, 0, 0]
assert t == [[0, 1, 0, 0, 1], [0, 0, 0, 0, 2], [0, 0, 0, 0, 0], [0, 4, 0, 0, 0], [0, 5, 0, 0, 0]]
for drop in range(len(fds)):
assert not lossless_join_test(attrs, fds[:drop] + fds[drop + 1:], parts)[0]
def test_abcd_cases():
fds = [("A", "B"), ("C", "D")]
ok, t = lossless_join_test("ABCD", fds, ["AB", "CD", "AC"])
assert ok and [0, 0, 0, 0] in t
ok, t = lossless_join_test("ABCD", fds, ["AB", "CD", "BD"])
assert not ok
assert t == [[0, 0, 1, 1], [2, 2, 0, 0], [3, 0, 3, 0]]
def test_no_fds():
rng = random.Random(1)
for _ in range(200):
a = rng.randint(1, 6)
k = rng.randint(1, 4)
attrs, _, parts = random_instance(rng, a, k, 0) if a > 1 else (["A"], [], ["A"] * k)
if rng.random() < 0.2:
parts.append("".join(attrs))
ok, _ = lossless_join_test(attrs, [], parts)
assert ok == any(set(p) == set(attrs) for p in parts)
def test_two_parts_match_closure():
rng = random.Random(2)
for _ in range(400):
a = rng.randint(2, 6)
attrs, fds, parts = random_instance(rng, a, 2, rng.randint(0, 5))
common = set(parts[0]) & set(parts[1])
c = closure(common, fds)
expect = set(parts[0]) <= c or set(parts[1]) <= c
assert lossless_join_test(attrs, fds, parts)[0] == expect
def test_lossy_tableau_is_counterexample():
rng = random.Random(3)
seen = 0
for _ in range(300):
a = rng.randint(2, 6)
k = rng.randint(2, 5)
attrs, fds, parts = random_instance(rng, a, k, rng.randint(0, 6))
ok, t = lossless_join_test(attrs, fds, parts)
if ok:
continue
seen += 1
f, p = to_cols(attrs, fds, parts)
rel = {tuple(row) for row in t}
assert satisfies(rel, f)
zero = tuple([0] * a)
assert zero not in rel
assert zero in join_of_projections(rel, p, a)
assert seen > 50
@pytest.mark.parametrize("a,k,count,seed", [(3, 3, 40, 4), (4, 2, 60, 5), (4, 3, 15, 6), (5, 2, 40, 7)])
def test_brute_force_small(a, k, count, seed):
rng = random.Random(seed)
for _ in range(count):
attrs, fds, parts = random_instance(rng, a, k, rng.randint(0, 4))
assert lossless_join_test(attrs, fds, parts)[0] == brute_lossless(attrs, fds, parts)
def test_random_legal_relations():
rng = random.Random(8)
hits = 0
for _ in range(300):
a = rng.randint(2, 5)
k = rng.randint(2, 4)
attrs, fds, parts = random_instance(rng, a, k, rng.randint(1, 5))
ok, _ = lossless_join_test(attrs, fds, parts)
if not ok:
continue
f, p = to_cols(attrs, fds, parts)
rel = set()
for _ in range(8):
t = tuple(rng.randrange(3) for _ in range(a))
if satisfies(rel | {t}, f):
rel.add(t)
assert join_of_projections(rel, p, a) == rel
hits += 1
assert hits > 30
def test_round_bound_and_fixpoint():
rng = random.Random(9)
for _ in range(300):
a = rng.randint(1, 7)
k = rng.randint(1, 6)
if a == 1:
attrs, fds, parts = ["A"], [("A", "A")], ["A"] * k
else:
attrs, fds, parts = random_instance(rng, a, k, rng.randint(0, 8))
f, p = to_cols(attrs, fds, parts)
t = start_tableau(attrs, [set(q) for q in parts])
rounds = chase_fds(t, f)
assert 1 <= rounds <= a * (k - 1) + 1
assert satisfies({tuple(row) for row in t}, f)
assert chase_fds(t, f) == 1
def test_order_does_not_matter():
rng = random.Random(10)
for _ in range(300):
a = rng.randint(2, 6)
k = rng.randint(2, 5)
attrs, fds, parts = random_instance(rng, a, k, rng.randint(0, 6))
ok = lossless_join_test(attrs, fds, parts)[0]
fds2 = fds[:]
parts2 = parts[:]
rng.shuffle(fds2)
rng.shuffle(parts2)
assert lossless_join_test(attrs, fds2, parts2)[0] == ok
def test_bad_input():
with pytest.raises(ValueError):
lossless_join_test("AAB", [], ["AB"])
with pytest.raises(ValueError):
lossless_join_test("ABC", [], ["AB"])
with pytest.raises(ValueError):
lossless_join_test("AB", [], ["AB", "BX"])
with pytest.raises(ValueError):
lossless_join_test("AB", [("A", "Z")], ["AB"])
with pytest.raises(ValueError):
lossless_join_test("AB", [], [])
History
Aho, Beeri and Ullman (1979) studied when the natural join of projections gives back a relation, and gave this test for functional dependencies in their paper on the theory of joins. In the same year Maier, Mendelzon and Sagiv defined the chase, which applies functional and join dependencies to a tableau, and showed that it decides the implication of these dependencies. The lossless-join test is the case of the chase with FDs only and a start with one row per part. The textbooks of Ullman (1988) and of Garcia-Molina, Ullman and Widom present it as the standard test, and Abiteboul, Hull and Vianu (1995) present it as an instance of the chase.
References
- Alfred V. Aho, Catriel Beeri and Jeffrey D. Ullman, The theory of joins in relational databases, ACM Transactions on Database Systems 4(3), 297 to 314 (1979), the tableau test for a lossless join under functional dependencies and its proof
- David Maier, Alberto O. Mendelzon and Yehoshua Sagiv, Testing implications of data dependencies, ACM Transactions on Database Systems 4(4), 455 to 469 (1979), the chase, of which the test is the case with functional dependencies only
- Serge Abiteboul, Richard Hull and Victor Vianu, Foundations of Databases, Addison-Wesley (1995), Chapter 8 (functional and join dependency, the chase) and Chapter 11 (design and dependencies)
- Jeffrey D. Ullman, Principles of Database and Knowledge-Base Systems, Volume I, Computer Science Press (1988), Chapter 7 (design theory for relational databases), the test for a lossless join with a tableau
- Hector Garcia-Molina, Jeffrey D. Ullman and Jennifer Widom, Database Systems, The Complete Book, second edition, Pearson (2009), Section 3.4 (the chase test for a lossless join)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H2 full proof |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag R7WCET Edit this page History Report an error Markdown