2020 James B. Wilson
Colorado State University
(This will make more sense at the end.)
\[\vdash \bot:type (F)\]
\[\frac{A:type}{f:\bot \to A}(E)\]
Indeed, \(P:Prop\) then \(f:\bot\to P\). So ...
if ever anyone introduces \(e:\bot\) then \(f(e):P\).
I.e. if "falsity" (\(\bot\)) is "true" then everything is true and false.
Programmers know this type as "void", i.e.
void f(int i){...}
returns nothing because there is no data of type void
Difference: \(0+0\) is a formula and it must be computed (\(\beta\)-reduced) before comparing. Since \[0+0\rhd 0\] by our definition of + we do indeed end with \(0=_{\mathbb{N}} 0\).
Definition. "Not P"
\[\neg P :\equiv P\to \bot\]
So evidence for \(\neg P\) means a function \(f:P\to \bot\). Function elimination now recovers "contradiction":
\[\frac{P,\neg P}{\bot}\equiv \frac{e:P, f:P\to \bot}{f(e):\bot}\]
(Since \(\bot\to P\) this means \(P\leftrightarrow \bot\).)
WHAT THIS DOES NOT SAY!
\[\vdash P\sqcup \neg P\]
That is, we have not assumed either P or not P. (Known as "Law of Excluded Middle (LEM)")
Instead we are saying if P and not P then everything.
Ours is a strictly weaker logic;
but you wont need stronger logic in algebra.
Let \(P\) be a mere proposition.
E.g. \(P(n):\equiv \) "n is even"
\[\frac{n\in\mathbb{N}}{P(n):type}(F)\]
\[\frac{k\in\mathbb{N}}{witness(k):P(k+k)}(I)\]
\[\frac{e:P(n)}{testimony(e)\in\mathbb{N}}(E)\]
\[\frac{k\in\mathbb{N}\quad e:P(k+k)}{refl:k=testimony(witness(k))}(C)\]
\(P(3):\equiv \) "3 is even" is a data type, it exists.
\[\frac{n\in\mathbb{N}}{P(n):type}(F)\]
BUT ...would the introduction rule ever let us create data of this type?
\[\frac{k\in\mathbb{N}}{witness(k):P(k+k)}(I)\]
A proposition without proof is still a proposition...but you might question if it is true!
Make a function \(P(3)\to \bot\).
Assume \(e:P(3)\), so \(e=witness(k):P(k+k)\) and \(k+k=3\).
Proof of negation: Want to prove \(\neg P\equiv P\to \bot\)
These are different. The second requires an axiom of logic (LEM). So proofs of negation hold in more places than proofs by contradiction.
Intuitionistic logic cannot disprove anything in classical logic.
"...its not (not true) that..." still weaker than "...it is true..." but close enough for us.