Repository navigation
Expand file tree
/
Copy pathproof-guide.html
More file actions
38 lines (36 loc) · 6.3 KB
/
Copy pathproof-guide.html
File metadata and controls
38 lines (36 loc) · 6.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<article class="nd-guide">
<section class="guide-opening" aria-labelledby="drawer-heading">
<div>
<h2 id="drawer-heading">A proof in one step</h2>
<p>If a drawer holds a key and a coin, you know it holds a key. You don’t have to open it. What you were told is enough.</p>
<p>You’ve just used a rule of <a href="https://en.wikipedia.org/wiki/Natural_deduction">natural deduction</a>: when two statements are joined by “and,” you can take either one on its own. The computer on our homepage looks for proofs built from small steps like this.</p>
<p><a href="/?example=drawer#proof-panel">Watch the computer prove the drawer example</a></p>
</div>
<figure class="drawer-proof">
<figcaption>The drawer proof, as a graph</figcaption>
<div class="drawer-step given"><strong>Given</strong><span>The drawer holds a key <em>and</em> a coin.</span></div>
<div class="drawer-edge"><span aria-hidden="true">↓</span> ∧E · Take one part of “and”</div>
<div class="drawer-step"><strong>Conclusion</strong><span>The drawer holds a key.</span></div>
</figure>
</section>
<section aria-labelledby="reading-heading">
<h2 id="reading-heading">From the drawer to the screen</h2>
<p>Let <i>K</i> stand for “the drawer holds a key” and <i>C</i> for “the drawer holds a coin.” Then the whole problem fits on one line: <span class="math">K ∧ C ⊢ K</span>. Read <span class="math">∧</span> as “and” and <span class="math">⊢</span> as “from this, prove.” On the homepage, the <strong>Goal</strong> line puts the starting facts, called <em>premises</em>, on the left and the statement to prove on the right.</p>
<p>Look for the blue circle when the search starts. In this example it’s our one premise, named <strong>A1</strong>. Follow its arrow to <span class="math">K [A1]</span>. The brackets tell you that the key conclusion depends on A1. The arrow’s label, <span class="math">∧E</span>, names the rule you just used: <em>conjunction elimination</em>. In a longer proof, the arrows’ colors help you spot uses of the same rule.</p>
<h3>What if nobody told you what was in the drawer?</h3>
<p>You could still say, “<em>If</em> the drawer holds a key and a coin, <em>then</em> it holds a key.” To see why, suppose for a moment that both things are inside. The same one-step argument gives you the key. You can now drop the supposition: the whole <em>if … then …</em> statement holds even if the drawer is empty.</p>
<p>In <a href="/?example=drawer-if#proof-panel">this version of the proof</a>, the temporary “what if” appears as a diamond named <strong>H1</strong>. Inside that branch, <span class="math">K [H1]</span> still needs H1. The last arrow, <span class="math">→I</span>, makes the conditional and <em>discharges</em> H1. The finished conditional carries <span class="math">[∅]</span>: it needs no starting facts.</p>
<h3>Why do some paths disappear?</h3>
<p>You’re watching a search. The computer tries rules, sometimes works backward from the goal, and can abandon a path that doesn’t help. When it finds a proof, a separate checker checks each step. Only the paths that support the conclusion remain. You can grab the finished graph to turn it, select a statement to inspect it, or open <strong>Proof details</strong> to read the same steps in the transcript. If the search reaches its limit, the question stays open.</p>
</section>
<section aria-labelledby="slate-heading">
<h2 id="slate-heading">Why RAIR draws proofs</h2>
<p>Graphical proof tools predate Slate. In 1993, for example, the <a href="https://www.cmu.edu/dietrich/philosophy/docs/tech-reports/40_Scheines.pdf">Carnegie Mellon Proof Tutor</a> let students work backward through a tree of goals. At Rensselaer, the <a href="https://kryten.mm.rpi.edu/Bringsjord_etal_Slate_cmna_crc_061708.pdf">Slate</a> team brought drawing an argument and asking a machine to test it into the same workspace. RPI students were using Slate in <a href="https://kryten.mm.rpi.edu/PRES/AKRRIV_ARIVA_KICK/RL_ARIVA_AKRRIV_kickoff_prez_102606.pdf#page=18">introductory logic by 2005</a>.</p>
<p>The <a href="https://kryten.mm.rpi.edu/Bringsjord_etal_Slate_cmna_crc_061708.pdf#page=1">Slate paper</a> opens with a murder mystery. Could the butler have killed Aunt Agatha? A user adds that suspicion to the diagram and asks Slate to test it. Slate finds that it conflicts with the clues. You can watch our homepage prover work through <a href="/?challenge=dreadbury#proof-panel">the same mansion mystery</a>.</p>
<p>By 2019, <a href="https://www.logicamodernapproach.com/rpi/intlogs19.bringsjord/">RPI’s introductory logic course</a> used <strong>HyperSlate®</strong>, software developed and published by <a href="https://www.motalen.com/">Motalen LLC</a> for <a href="https://www.logicamodernapproach.com/"><em>Logic: A Modern Approach</em></a>. It let students connect several statements to one inference and ask an automated reasoner for help.</p>
<p>In <em>hypergraphical</em> natural deduction, one step can depend on several statements together. For instance, “the key opens the safe” and “if the key opens the safe, we can read the letter” let us conclude we can read the letter. Neither fact does the job alone. A statement drawn once can also feed several later steps.</p>
<p><a href="https://github.com/RAIRLab/lazyslate">LazySlate</a> lets people draw and check propositional proofs. The connections in those drawings also tell a computer which steps it can check at the same time. James Oswald and Brandon Rozek show how that works with <a href="https://arxiv.org/pdf/2311.10440#page=5">examples from HyperSlate and LazySlate</a>.</p>
<p>What could a third dimension add? At the 2023 Logic Colloquium, Selmer Bringsjord, Naveen Sundar Govindarajulu, and Alexander Bringsjord <a href="https://lc2023.unimi.it/wp-content/uploads/2023/05/bringsjord-govindarajulu-bringsjord.pdf">explored giving depth a meaning</a>, such as how prominent a statement is in an argument. <a href="https://github.com/RAIRLab/VirtualSlate">VirtualSlate</a> is a prototype for working with proofs in virtual reality. On the homepage, depth serves a simpler purpose: turn the graph and you can see branches that hid behind one another.</p>
<p><a href="/#proof-panel">Return to the live proof</a></p>
</section>
</article>