File size: 1,117 Bytes
1605cbb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""
FALSIFY belief-revision tasks.

The three-step revision pipeline, in execution order:

1. :func:`detect_contradictions` — two-gate detector: which existing evidence does a
   new fact contradict/supersede?
2. :func:`propagate_refutation` — flip the contradicted evidence to ``refuted`` and
   cascade ``invalidated`` forward through ``depends_on``; then
   :func:`promote_competing_hypothesis` re-scores the rival hypotheses.
3. :func:`cascade_forget` — hard-delete truly-orphaned dead-ends from graph + vector,
   keeping provenance tombstones.
"""

from falsify.tasks.detect_contradictions import (
    Contradiction,
    ContradictionJudgement,
    detect_contradictions,
)
from falsify.tasks.propagate_refutation import (
    PropagationResult,
    promote_competing_hypothesis,
    propagate_refutation,
)
from falsify.tasks.cascade_forget import ForgetResult, cascade_forget

__all__ = [
    "detect_contradictions",
    "Contradiction",
    "ContradictionJudgement",
    "propagate_refutation",
    "promote_competing_hypothesis",
    "PropagationResult",
    "cascade_forget",
    "ForgetResult",
]