feat(trust): wire diminishment detection into the credibility pass #36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/wire-diminishment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wires defeated-defeater detection and diminishment into
compute_weighted_conclusions, populating the previously unusedWeightedConclusion::diminished_by.Semantics
A defeater diminishes a
+dconclusion when its head complements the conclusion's literal and its body is positively provable (it fired). Since the conclusion is nonetheless positive, the proof theory guarantees the defeater was overruled by the superiority relation, so no separate superiority check is needed. Defeaters whose antecedents are not provable mount no challenge and do not diminish.Defeater credibility is the weakest link of its own derivation (
build_trust_tree); degrees fold asdegree * (1 - defeater_degree)per defeater in rule order, matching the Lean-verifieddiminish_all. Thresholds evaluate on the post-diminishment degree.+Dconclusions are exempt: a strict conclusion cannot be challenged by a defeater.Tests
Six new integration tests in
trust_integration_tests.rs:+Dconclusions are not diminishedFull workspace: 2083 passed, 0 failed. Verified end-to-end via
spindle reason --trust --json.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.