Abbreviating a formula by a fresh predicate symbol.
We add a list FormAbbrevations of formula abbreviations by predicate symbols, and a map Unfold to unfold abbreviations. An abbreviation is a string S staying for any closed formula A, or an atomic formula S(x,y, z,...), staying for any A in the variables x,yz,.... We define an operator SetAbbreviation[S,A], adding the abbreviation S=A, or S(x,y,z,...)=A. In order to get shorter expressions, we do not unfold abbreviations in the linear form of a formula. We also allow abbreviations for predicates.
In[136]:=
In[137]:=
In[138]:=
In[139]:=
In[140]:=
In[141]:=
Some examples of abbreviations.
In[142]:=
In[143]:=
Out[143]=
In[144]:=
Out[144]=
In[145]:=
In[146]:=
Global`UnfoldEq
|
In[147]:=
Out[147]=
Created by Mathematica (October 17, 2006)