(Created page with "Below we try to model some concepts of argumentation theory in B. The examples try to show that set theory can be used to model some aspects of argumentation theory quite natu...") |
No edit summary |
||
Line 5: | Line 5: | ||
The following model was inspired by a talk given by Claudia Schulze. | The following model was inspired by a talk given by Claudia Schulze. | ||
The model below represents the labelling of the arguments as a total function. | The model below represents the labelling of the arguments as a total function from arguments to its status, which can either be <b>in</b> (the argument is accepted), <b>out</b> (the argument is rejected), or <b>undec</b> (the argument is undecided). | ||
The relation between the arguments is given in the binary attacks relation. | |||
In case you are new to B, you probably need to know the following operators to understand the specification below (we als have a [[Summary_of_B_Syntax|summary page about the B syntax]]): | |||
* <tt>x : S</tt> specifies that x is an element of S | |||
* <tt>a|->b</tt> represents the pair (a,b); note that a relation and function in B is a set of pairs. | |||
* <tt>x|->y : R</tt> hence specifies that x is mapped to y in relation R | |||
* <tt>!x.(P => Q)</tt> denotes universal quantification over variable x | |||
<pre> | <pre> |
Below we try to model some concepts of argumentation theory in B. The examples try to show that set theory can be used to model some aspects of argumentation theory quite naturally, and that ProB can solve and visualise some problems in argumentation theory. Alternative solutions are encoding arguments as normal logic programs and using answer set solvers for problem solving.
The following model was inspired by a talk given by Claudia Schulze.
The model below represents the labelling of the arguments as a total function from arguments to its status, which can either be in (the argument is accepted), out (the argument is rejected), or undec (the argument is undecided). The relation between the arguments is given in the binary attacks relation.
In case you are new to B, you probably need to know the following operators to understand the specification below (we als have a summary page about the B syntax):
MACHINE ArgumentationTotFun SETS ARGUMENTS={A,B,C,D,E}; STATUS = {in,out,undec} CONSTANTS attacks, label PROPERTIES attacks : ARGUMENTS <-> ARGUMENTS /* which argument attacks which other argument */ & label: ARGUMENTS --> {in,out,undec} & /* the labeling function */ !(x,y).(x|->y:attacks => (label(y)=in => label(x)=out)) & !(x).(x:ARGUMENTS => (label(x)=out => #y.(y|->x:attacks & label(y)=in))) & !(x,y).(x|->y:attacks => (label(y)=undec => label(x)/=in)) & !(x).(x:ARGUMENTS => (label(x)=undec => #y.(y|->x:attacks & label(y)=undec))) & // here we model one particular argumentation graph // A = the sun will shine to day, B = we are in the UK, C = it is summer, D = there are only 10 days of sunshine per year, E = the BBC has forecast sun attacks = {B|->A, C|->B, D|->C, E |-> B, E|->D} END