🔍 NAL Contradiction Detector

Add beliefs with truth values (f, c). The detector scans for contradictions — beliefs about the same statement with conflicting frequencies. Watch NAL truth revision resolve them in real time.

0
Beliefs
0
Conflicts
0
Resolved

📝 Add a Belief

0.50
0.50

⚖️ Contradiction Analysis

Add beliefs to see contradictions detected here.

📋 All Beliefs

📜 Resolution Log

Contradiction resolutions will be logged here.

📖 How It Works

Contradiction detection: Two beliefs about the same statement are contradictory when their frequencies diverge significantly (|f1 - f2| > 0.3) and both have sufficient confidence (c > 0.2).

f_merged = (f1*c1 + f2*c2) / (c1 + c2)
c_merged = (c1 + c2) / (1 + c1 + c2)

The merged belief has higher confidence than either input. If the merged frequency converges toward 0 or 1, the contradiction is resolved. If it stays near 0.5, evidence is genuinely balanced.

Severity: 🔴 Severe (Δf > 0.7, both c > 0.5) | 🟡 Moderate (Δf > 0.4) | 🟢 Minor (Δf > 0.3)