Printing the view in sequent form.
These maps take a list L of integers, an integer i, and return the sublist of all integers < i (all integers > i):
In[294]:=
In[295]:=
This maps takes a list {n_1, ..., n_k} of integers, and returns the sequent of all formulas of index n_1, ..., n_k, in the usual syntax.
In[296]:=
This maps takes a list {n_1, ..., n_k} of integers, and returns the sequent all formulas of index n_1, ..., n_k and < i (and > i) in the usual syntax.
In[297]:=
In[298]:=
We explain how to make evident formula of index i in a one-sided sequent. This maps takes a list {n_1, ..., n_k} of integers, an index n_i, and prints the sequent of all formulas of index n_1, ..., n_k in the usual syntax, with the formula n_i in bold.
In[299]:=
Printing a sequent of Classical Logic. This map takes two lists {n_1, ..., n_k}, {m_1, ..., m_h} of integers, an index n_i in the first list, and returns the two-sided sequent Γ,A,Γ'|-Δ of Classical Logic, having all formulas of index n_1, ..., n_k and m_1, ..., m_h in the left- and right-hand-side. Formulas in the usual syntax, with the formula n_i in the left-hand-side in bold. Another map does the same when the index m_j is in the right-hand-side.
In[300]:=
In[301]:=
Printing a sequent of Intuitionistic Logic. These maps takes the same parameters of the previous ones, but they return a two-sided sequent Γ,A,Γ'|-D or Γ|-A of Intuitionistic Logic. The difference is that, in intuitionistic logic, the right-hand-side has at most one formula, which is the last formula of the right-hand-side in the classical sequent if any. In the intuitionistic case, if the formula we print in bold in is the right-hand-side, then it is the unique formula of the right-hand-side.
In[302]:=
In[303]:=
This map takes a list and return a list having only the last element of the original list, empty if the original list is empty.
In[304]:=
Printing a sequent of LCM. This map selects the formulas having the sign of the player in the list of formulas visible in LCM.
In[305]:=
These maps takes the same parameters of the previous ones, but they return a two-sided sequent Γ,A,Γ'|-Δ or Γ|-Δ,A of LCM. The right-hand-side is linearly ordered by the father/child relation on formulas. If the formula printed in bold is in the right-hand-side, then it is the last one.
In[306]:=
In[307]:=
Printing the view in sequent form. This function prints the sequent associated to the view player p from turn pview. The formula of index CurrentPlay and sign s is printed in bold. For each case we compute the right-hand-side. In the intuitionistic case, is the last visible formula (if any). In the LCM case, are the LCM visible formulas having the same sign of the player. In the Classical case, are the visible formulas having the same sign of the player.
In[308]:=
Created by Mathematica (October 17, 2006)