next up previous contents
Next: Well-Formedness of Terms Up: The Nuprl Proof Development Previous: Entering the Main Goal

Running Tactics 1

The proof-editor window should now look like:

EDIT THM not_over_and
# top
$\vdash$ $\forall$A:${\Bbb{P}}${i}. $\forall$B:${\Bbb{P}}${i}. $\neg$(A $\wedge$ B) $\Longleftrightarrow$ $\neg$A $\vee$ $\neg$B
<refinement rule>
 
 
 
 
 

Click \framebox {\rule[-.2ex]{0em}{1.5ex}\sc mouse-right}
on <refinement rule>. \framebox {\rule[-.2ex]{0em}{1.5ex}\sc mouse-right}
selects it and opens up a term-editor window, which should look like:

EDIT rule of not_over_and
 
 
 
 
 

The rule window is set up for entering a tactic. Initially the window contains an empty text string. Enter the tactic:





\begin{parbox}
{25em}
{\tt D 0$\langle${\sc{}c{}-{\tt{}z}}$\rangle$}\end{parbox}




Here $\ulcorner$0$\urcorner$ is the number zero. The letter O in the typewriter font is $\ulcorner$O$\urcorner$.The $\langle$C-Z$\rangle$ closes the window and runs the tactic D 0 on the main goal, generating two subgoals:

EDIT THM not_over_and
# top
$\vdash$ $\forall$A:${\Bbb{P}}${i}. $\forall$B:${\Bbb{P}}${i}. $\neg$(A $\wedge$ B) $\Longleftrightarrow$ $\neg$A $\vee$ $\neg$B
 
BY D 0
 
1# 1. A: ${\Bbb{P}}${i}
$\vdash$ $\forall$B:${\Bbb{P}}${i}. $\neg$(A $\wedge$B) $\Longleftrightarrow$ $\neg$A $\vee$$\neg$B
 
2# $\vdash$ ${\Bbb{P}}${i}$\in$$\Bbb{U}${i'}
 
 
 

The D tactic decomposes the outermost connective of either a hypothesis or the conclusion. The D tactic always takes an integer argument. To see this, click \framebox {\rule[-.2ex]{0em}{1.5ex}\sc mouse-left}
in the ML-Top-Loop window, and enter





\begin{parbox}
{25em}
{\tt D\hspace{.2em}\lower.2ex\hbox{
\framebox {\rule[-.2ex]{0em}{1.5ex}\sc return}
}\hspace{.2em}}\end{parbox}




You should see:




M> D;;
- : int -> tactic
M> \framebox [0.5em]{\rule{0em}{1ex}}
 
 



So the expression $\ulcorner$D 0$\urcorner$ has the ML type tactic. Enter





\begin{parbox}
{25em}
{\tt D 0\hspace{.2em}\lower.2ex\hbox{
\framebox {\rule[-.2ex]{0em}{1.5ex}\sc return}
}\hspace{.2em}}\end{parbox}




You should see:




M> D 0;;
- : tactic
M> \framebox [0.5em]{\rule{0em}{1ex}}
 
 




next up previous contents
Next: Well-Formedness of Terms Up: The Nuprl Proof Development Previous: Entering the Main Goal
Dora Abdullah, 12/4/97