Intuitionistic Logic: f function and fg injective imply g injective.
( Fun_f∧Inj_fg ⇒ Inj_g )
In this example we interpret a simple equational reasoning. Assume f is a function, and fg is injective, in order to prove that g is injective. Take any a, b, and assume g(a)=g(b), in order to prove a=b. Since f is a function, we have fg(a)=fg(b). Since fg is injective, we conclude a=b, as wished.
Below we interpret this equational reasoning as a recursive winning strategy for Eloise using intuitionistic backtracking.
There is a recursive winning strategy for Eloise. We do not describe it in full. The idea is that we read the proof itself as a strategy. Each time we invoke a particular hypothesis, or the thesis, we backtrack to it. The move by Abelard or Eloise corresponds to the logical rule we apply there.
In[395]:=
In[398]:=
Out[398]=
Out[399]=
Dotted positions (reminder). We mark with a big dot any position to which Eloise can backtrack to: all negative judgements of the tree, and the last positive judgement of the tree.
In[400]:=
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Goal of: | Eloise |
Goal of: | Abelard |
Created by Mathematica (November 11, 2006)