James B. Wilson
if x >= y then
do something!
Lets deal with truth and leave computation "if -- then --" untill later,
if = when= because ....
then = implies = follows = thus...
Term being defined
"If" used to separate equivalent clause
Definitions are names/symbols to substitute often lengthy or technical expressions, e.g. \(x:=\sqrt{17}^{\log 541}\)
\[\begin{array}{rl} \Gamma & \vdash P\Rightarrow Q\\ \Gamma & \vdash P \\ \hline \Gamma & \vdash Q\end{array}\qquad (E_{\Rightarrow})\]
(E)LIMINATION
"Modus Ponens"
Premise
Conclusion
\[\begin{array}{rl} & P\Rightarrow Q\\ & P \\ \hline & Q\end{array}\qquad (E_{\Rightarrow})\]
\[\frac{P\vdash Q}{ P\Rightarrow Q}\qquad (I_{\Rightarrow})\]
(I)NTRODUCTION
\(\Gamma\): Natural numbers \(m\geq n\) means there is a \(k\) where \(m=n+k\)
\(m\geq n\) means there is a \(k\) with \(m=n+k\)
P
Q
Process states \(\Gamma,P\vdash Q\)
CONTEXT MATTERS
\[\frac{\Gamma, P \vdash Q}{\Gamma \vdash P\Rightarrow Q}\]
\(\Gamma\)
\(\Gamma\)
<imp> ::= if <term> then <term>
<imp> ::= <term> => <term>
\(\langle imp\rangle ::= \langle term\rangle \Longrightarrow \langle term\rangle\)
\[\frac{\Gamma, P\vdash Q}{\Gamma \vdash P\Rightarrow Q}\qquad (I_{\Rightarrow})\]
(I)NTRODUCTION
(naive version)
\[\begin{array}{rl} \Gamma & \vdash P\Rightarrow Q\\ \Gamma & \vdash P \\ \hline \Gamma & \vdash Q\end{array}\qquad (E_{\Rightarrow})\]
(E)LIMINATION
(naive version/ modus ponens)
(L)ANGUAGE
If pigs can fly then pigs can get bird flu.
This is a valid statement because pigs can can get bird flu.
However, pigs cannot fly.
What explains this situation?
If pigs can fly then pigs can get bird flu.
It is seems illogical to argue that a false premise leads to a true conclusion
What explains this situation?
False Premise P
True conclusion Q
However context is always available as well!
Context (maybe implicit) may be responsible for true conclusion, i.e. \(\Gamma \vdash P\)
Classical & Intuitionistic context even have \(\bot \vdash Q\)
False Premise P
True conclusion Q
\(\Rightarrow \)
This is a confusing abbreviation of reality.
Instead read this as:
Context, or
False Premise P
\(\Rightarrow \)
True conclusion Q
Since context is often implicit never forget to ask if context is responsible for implications.