11_a_cat_mouse
If either player hits the wall he misses a turn.
( (IP-MAT (PP-SCON (P-CONN If;{if})
(IP-ADV (NP-SBJ;{PLAYER} (D either;{either})
(N player;{player}))
(VBP;_Tn_ hits;{hit})
(NP-OB1;{WALL} (D the;{the})
(N wall;{wall}))))
(NP-SBJ;{PLAYER} (PRO he;{he}))
(VBP;_Tn_ misses;{miss})
(NP-OB1 (D a;{a})
(N turn;{turn}))
(PUNC .))
(ID 11_a_cat_mouse))
arc(r_0011_0001__If,r_0011_0004__hits,restriction).
arc(r_0011_0001__If,r_0011_0008__misses,scope).
arc(r_0011_0004__hits,r_0011_0002__either_r_0011_0003__player,arg0).
arc(r_0011_0004__hits,r_0011_0005__the_r_0011_0006__wall,arg1).
arc(r_0011_0008__misses,r_0011_0002__either_r_0011_0003__player,arg0).
arc(r_0011_0008__misses,r_0011_0009__a_r_0011_0010__turn,arg1).
fof(formula,axiom,
! [R_0011_0004__HITS,R_0011_0002__EITHER_R_0011_0003__PLAYER,R_0011_0005__THE_R_0011_0006__WALL] :
( ( r_0011_0002__either_r_0011_0003__player(R_0011_0002__EITHER_R_0011_0003__PLAYER)
& r_0011_0005__the_r_0011_0006__wall(R_0011_0005__THE_R_0011_0006__WALL)
& r_0011_0004__hits(R_0011_0004__HITS)
& has_arg1(R_0011_0004__HITS,R_0011_0005__THE_R_0011_0006__WALL)
& has_arg0(R_0011_0004__HITS,R_0011_0002__EITHER_R_0011_0003__PLAYER) )
=> ? [R_0011_0009__A_R_0011_0010__TURN,R_0011_0008__MISSES] :
( r_0011_0009__a_r_0011_0010__turn(R_0011_0009__A_R_0011_0010__TURN)
& r_0011_0008__misses(R_0011_0008__MISSES)
& has_arg1(R_0011_0008__MISSES,R_0011_0009__A_R_0011_0010__TURN)
& has_arg0(R_0011_0008__MISSES,R_0011_0002__EITHER_R_0011_0003__PLAYER) ) ) ).