No framework loaded. Please upload a file, generate a random framework, or select an example.
An argumentation framework (AF) is a directed graph where nodes represent abstract arguments and edges represent attacks between them. AFs provide formal approaches for representing and reasoning about conflict, with applications in case law, medical decision making, and multi-agent systems.
When argument B attacks argument A (written B→A), accepting B gives us reason to reject A. The goal is to find sets of arguments that are conflict-free (don't attack each other) and defend each other against outside attacks.
Let's explore this with the Wild Animals case, modeling the famous 1805 legal dispute Pierson v. Post: if you're chasing a fox and someone else captures it, who owns the fox? This example is from Bench-Capon's work on representing case law as argumentation frameworks.
The core dispute: argument A claims "Pursuer had right to animal", but B counters "Pursuer not in possession":
But the debate doesn't stop there. K ("Animal was mortally wounded") and L ("Bodily seizure not necessary") both attack I ("Pursuit not enough"), which in turn attacks B:
Select "wild_animals" from the examples dropdown above to load the full framework with all 24 arguments.
Given an AF, the main reasoning task is to determine which arguments to accept. This is where semantics come in — rules that define what it means for arguments to be "rationally acceptable" together.
After selecting a semantics, arguments are labeled by status:
The most cautious approach. An argument is accepted if all its attackers are defeated. An argument is defeated if it has an accepted attacker. Arguments that are neither are undecided. This yields a unique 3-valued solution.
The number after each argument is its length — the number of argumentation rounds needed to determine its status.
In the Wild Animals case, M ("Mere pursuit not enough") and O ("Bodily seizure not necessary") attack each other. Under grounded semantics, both remain undecided — the AF is ambiguous:
Resolves ambiguity by requiring every argument to be either accepted or defeated. This often produces multiple extensions, each representing a coherent position:
These represent the two opposing legal positions in Pierson v. Post!
Preferred finds the largest defensible sets. Complete shows all positions from minimal (grounded) to maximal (preferred).
Try switching between semantics in the tool above to see how the Wild Animals framework changes.
Knowing that an argument is accepted or defeated is useful, but understanding why is even more valuable. Provenance traces the reasoning chain that determines an argument's status. The grounded semantics is "self-explanatory" — each argument's status can be derived from the arguments below it.
AF-XRAY uses a layered visualization based on argument length — the number of argumentation rounds needed to determine status:
Arguments at length 0 have no attackers. Each subsequent layer depends on the layers below. This makes the derivation structure explicit and "self-explanatory."
AF-XRAY also classifies attack types by their semantic role:
A winning attack that is part of the shortest path to defeat — the essential attack.
A winning attack that is redundant — the target was already defeated by a shorter path.
An irrelevant attack — it doesn't affect the argument's status (e.g., a defeated argument attacking an accepted one).
Click on any argument in the tool above to see its provenance highlighted.
How can we explain why a stable solution chose one resolution over another? The key insight is that stable solutions involve choices — assumptions about which arguments to accept when the grounded semantics leaves them undecided.
A critical attack set is a minimal set of edges that, if temporarily suspended (ignored), would make the stable solution derivable as a grounded solution. These attacks pinpoint the exact choices made.
In the Wild Animals case, the mutual attack between M ("Mere pursuit not enough") and O ("Bodily seizure not necessary") creates ambiguity. The two stable solutions have critical attack sets:
Solution S1: M accepted
Critical attack: {O→M}
Suspending O→M lets M be accepted (no attackers), defeating O.
Solution S2: O accepted
Critical attack: {M→O}
Suspending M→O lets O be accepted (no attackers), defeating M.
This supports teleological legal reasoning: different assumptions lead to different legally justified conclusions. In Pierson v. Post, accepting M (mere pursuit not enough) or O (bodily seizure not necessary) reflects opposing legal positions about property rights.
Select Stable semantics and click on an argument to see critical attacks highlighted in red.
AF-XRAY is designed for exploration. Here are the key ways you can interact with the visualization:
You now have the tools to analyze argumentation frameworks: load or create frameworks, evaluate them under different semantics, trace provenance to understand outcomes, and identify critical attacks. Scroll back up to experiment with the Wild Animals case, or load other examples to see how these concepts apply across different domains.