<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
&gt; &quot;If a card X1 is inserted then exactly X1 is inserted. ...&quot;<br>
&gt; exactly meaning that no other card is inserted.<br>
&gt;<br>
&gt; Is the last the most natural way to express xor in ACE for the example sentence?<br>
<br>
</div>No. Note that an exclusive or could be imbedded in an if-then sentence which would make your constructs very hard to read.<br>
<br></blockquote><div>I&#39;s evaluating several options with the editor, before reporting back.<br><br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

To express &quot;A XOR B&quot; in ACE you write – as you do in standard FOL – &quot;(A and not B) or (B and not A), similar to what you did  in your email of 10 July 2010 22:10:10 CEST. </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
Or – and this is probably an exclusive or – you could add the exclusive or to ACE, download the Attempto Parsing Engine APE and extend it by grammar rules processing the exclusive or.<br></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im"><br>
&gt; --- unchanged since 25/1/10 ---<br>
&gt; P.S. Unless a notification (LON), please reply either with an answer OR with &quot; ACK&quot; appended to this subject within 48 hours. Otherwise, I might resend.<br>
&gt; In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧ ¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).<br>
&gt;<br>
&gt; Also note that correspondence may be received only from specified a priori senders, or if the subject of this email ends with a code, eg. -LICHT01X, then also from senders whose reply contains it.<br>
&gt; ∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).<br>
<br>
</div>What does this mean?<br>
<font color="#888888"><br>
   --- nef<br>
<br>
</font></blockquote></div>So despite all attempts it&#39;s still ambiguous? I&#39;ll work on expressing it with Attempto, but the logic formulation should be equivalent.<br><br>Predicates I used:<br>In(x,y): x is in y.<br>
IsAnswerTo(x,y): x is an answer to y.<br>IResend(x): I resend the email.<br>isCodeLike(x,y): x is code like/similar to y.<br><br>Constants:<br>this: the email I&#39;ve sent.<br>48h: the time at 48 hours from the time this was sent.<br clear="all">
TimeNow: the time now.<br>MyInbox: my inbox.<br>MySafeSenderList: a list of senders I reckon to be safe (i.e. they send emails I want to receive).<br><br><br>Functions:<br>subject(x): maps email x to its subject.<br><br>-- <br>
Regards, <br>K. Gabriele<br><br>--- unchanged since 25/1/10 ---<br>P.S. Unless a notification (LON), please reply either with an answer OR with &quot; ACK&quot; appended to this subject within 48 hours. Otherwise, I might resend.<br>
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧ ¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).<br><br>Also note that correspondence may be received only from specified a priori senders, or if the subject of this email ends with a code, eg. -LICHT01X, then also from senders whose reply contains it.<br>
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).<br><br>