← EDRS project

Lexicographic Closure

Augustine Mochoeneng · MCHKOK003@myuct.ac.za

Contribution

I built the workbench end to end and used it to test the alignment theorem with Lexicographic Closure.

Approach

The idea behind Lexicographic Closure

Rational Closure answers a query by throwing away whole ranks of statements until the query makes sense. That is often too blunt: penguins lose "birds have wings" just because it sits in the same rank as "birds fly". Lexicographic Closure keeps as much as it can and discards only what actually clashes.

How it is computed

BaseRank

Rank statements from general to specific, exactly as Rational Closure does.

$$\mathcal{E}_{i+1} = \{ \alpha \dent \beta \in \mathcal{E}_i : \overrightarrow{\mathcal{E}_i} \models \neg\alpha \}$$
SubsetRank

Split each rank by how many of its statements are kept, so keeping more beats keeping fewer.

$$\mathcal{D}_{i,j} = \bigvee_{X \subseteq \mathcal{B}_i,\ |X| = j} \ \bigwedge_{x \in X} \overrightarrow{x}$$
Query

Run the usual removal loop on the finer ranking: drop one layer at a time until the antecedent is consistent, then check the consequent.

$$\mathcal{K} \models_{LC} F \dent m \iff \overrightarrow{\mathcal{R}_{\geq k}} \models F \rightarrow m$$

Implementation

Results

When the assumptions hold

Rule setInstancesMSW = LC
Bank11,303100%
Breast Cancer175100%
Mushroom2,031100%
Total13,509100%

When an assumption is broken

Assumption brokenAgreeAbstainConflictWrong label
Exception closure13,39511400
Sanity12,01901,4900
No total override13,37401350

Agreement is perfect when the theorem's assumptions hold, and when they break the check fails safely: never a confident wrong label.

Documents