Skip to content

Commit 988339e

Browse files
kaivalyarnorvig
authored andcommitted
corrected equivalence operator to <=> from ==> (aimacode#361)
1 parent ff6f2f7 commit 988339e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

logic.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@
306306
"|--------------------------|----------------------|-------------------------|---|---|\n",
307307
"| Negation | &not; P | `~P` | `~P` | `Expr('~', P)`\n",
308308
"| And | P &and; Q | `P & Q` | `P & Q` | `Expr('&', P, Q)`\n",
309-
"| Or | P &or; Q | `P`<tt> &#124; </tt>`Q`| `P`<tt> &#124; </tt>`Q` | `Expr('`&#124;`', P, Q)\n",
309+
"| Or | P &or; Q | `P`<tt> &#124; </tt>`Q`| `P`<tt> &#124; </tt>`Q` | `Expr('`&#124;`', P, Q)`\n",
310310
"| Inequality (Xor) | P &ne; Q | `P ^ Q` | `P ^ Q` | `Expr('^', P, Q)`\n",
311311
"| Implication | P &rarr; Q | `P` <tt>&#124;</tt>`'==>'`<tt>&#124;</tt> `Q` | `P ==> Q` | `Expr('==>', P, Q)`\n",
312312
"| Reverse Implication | Q &larr; P | `Q` <tt>&#124;</tt>`'<=='`<tt>&#124;</tt> `P` |`Q <== P` | `Expr('<==', Q, P)`\n",
313-
"| Equivalence | P &harr; Q | `P` <tt>&#124;</tt>`'<=>'`<tt>&#124;</tt> `Q` |`P ==> Q` | `Expr('==>', P, Q)`\n",
313+
"| Equivalence | P &harr; Q | `P` <tt>&#124;</tt>`'<=>'`<tt>&#124;</tt> `Q` |`P <=> Q` | `Expr('<=>', P, Q)`\n",
314314
"\n",
315315
"Here's an example of defining a sentence with an implication arrow:"
316316
]
@@ -708,7 +708,7 @@
708708
"name": "python",
709709
"nbconvert_exporter": "python",
710710
"pygments_lexer": "ipython3",
711-
"version": "3.5.1"
711+
"version": "3.4.3"
712712
}
713713
},
714714
"nbformat": 4,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy