Functional Logic • Higher Order Propositions
Author: Jon Awbrey
Idea
If functions of type are propositions about things in then functions of type are propositions about propositions about things in the first of a series of higher order propositions based on
Contents
Higher Order Propositional Expressions
By way of equipping the discussion with a modicum of concrete material, let's begin with a consideration of higher order propositions and logical operators that stem from the ordinary propositions on 1 and 2 variables.
Note on notation. The discussion that follows uses minimal negation operations, expressed as parenthesized tuples of the form and logical conjunctions, expressed as concatenated tuples of the form as the sole expressionforming operations of a calculus for booleanvalued functions or propositions. The expressions of this calculus parse into data structures whose underlying graphs are called cacti by graph theorists. Hence the name cactus language for this dialect of propositional calculus.
Higher Order Propositions and Logical Operators (n = 1)
A higher order proposition is a proposition about propositions. If the original order of propositions consists of maps of the form then the next higher order of propositions consists of maps of the form It is often useful to think of a higher order proposition as a measure on propositions.
For example, consider the case where Then there are exactly four propositions and exactly sixteen higher order propositions based on this set, all taking the form
Table 1 lists the 16 measures of the form
0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  
0  0  1  1  0  0  1  1  0  0  1  1  0  0  1  1  
0  0  0  0  1  1  1  1  0  0  0  0  1  1  1  1  
0  0  0  0  0  0  0  0  1  1  1  1  1  1  1  1 
The contents of Table 1 are organized as follows. Columns 1 and 2 form a truth table for the four propositions of the form with the row leaders in Column 1 displaying the names of the functions for = 0 to 3, while the entries in Column 2 give the values of each function for the argument values that are listed in the corresponding column head. Column 3 displays a more or less canonical expression for the proposition in question. The last sixteen columns are topped by a collection of conventional names for the measures as ranges from 0 to 15, where the entries in the body of the Table record the values assigned to each by each
Table 2 presents a sample of interpretive categories for higher order propositions of type but it's best to put off discussing this Table further until we get beyond the 1dimensional case. These lower dimensional cases tend to be extremely condensed or degenerate in their structures, and the pattern of what's going on here can be set in higher relief as soon as we get even two logical variables to play off each other.
Measure  Happening  Exactness  Existence  Linearity  Uniformity  Information 
Nothing happens  
Just false  Nothing exists  
Just not  
Nothing is  
Just  
Everything is  is linear  
is not uniform  is informed  
Not just true  
Just true  
is uniform  is not informed  
Something is not  is not linear  
Not just  
Something is  
Not just not  
Not just false  Something exists  
Anything happens 
Higher Order Propositions and Logical Operators (n = 2)
By way of reviewing notation and preparing to extend it to higher order universes of discourse, let's first consider the universe of discourse that is based on just two logical features or boolean variables and
The universe of discourse consists of two parts, a set of points and a set of propositions.
The points of form a space notated as follows:

Each point in may be indicated by means of a singular proposition, that is, a proposition that describes it uniquely. This form of representation leads to the following enumeration of points:

Each point in may also be described by means of its coordinates, that is, by the ordered pair of values in that the coordinate propositions and take on that point. This form of representation leads to the following enumeration of points:

The propositions of form a space notated as follows:

As always, it is convenient to overlook the finer marks of distinction between isomorphic structures, so long as one is aware of their presence and knows when it is critical to call on them again.
The next higher order universe of discourse that is built on is which may be developed in the following way. The propositions of become the points of and the mappings of the type become the propositions of In addition, it is convenient to equip the discussion with a selected set of higher order operators on propositions, all of which have the form
To save a few words in the remainder of this discussion, let us use the terms measure and qualifier to refer to all types of higher order propositions and operators. To describe the present setting in picturesque terms, the propositions of may be regarded as a gallery of sixteen venn diagrams, while the measures are analogous to a body of judges or a panel of critical viewers, each of whom evaluates each of the pictures as a whole and reports the ones that find favor or not. In this way, each judge partitions the gallery of pictures into two aesthetic portions, the pictures that dislikes and the pictures that likes.
There are measures of the form Table 3 shows the first 24 of these measures in the same style of higher order truth table used above. The column headed shows the values of the measure on each of the propositions for = 0 to 15, with blank entries in the Table being optional for values of zero. Let us refer to the arrangement of measures that continues according to this plan as their standard ordering. In this scheme of things, the index of the measure is the decimal equivalent of the bit string in the corresponding column of the Table, reading the binary digits in order from bottom to top.
0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  
0  0  1  1  0  0  1  1  0  0  1  1  0  0  1  1  0  0  1  1  0  0  1  1  
0  0  0  0  1  1  1  1  0  0  0  0  1  1  1  1  0  0  0  0  1  1  1  1  
0  0  0  0  0  0  0  0  1  1  1  1  1  1  1  1  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  1  1  1  1  1  1  1  1  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 
Umpire Operators
We now examine measures at the high end of the standard ordering. Instrumental to this purpose we define a couple of higher order operators, and referred to as the relative and absolute umpire operators, respectively. If either of these operators is defined in terms of more primitive notions then the remaining operator can be defined in terms of the one first established.
Given an ordered pair of propositions as arguments, the relative umpire operator reports the value if the first implies the second, otherwise it reports the value
Expressing it another way:
In writing this, however, it is important to notice that the appearing on the left side and the appearing on the right side of the logical equivalence have different meanings. Filling in the details, we have:

Writing types as subscripts and using the fact that it is possible to express this a little more succinctly as follows:

Finally, it is often convenient to write the first argument as a subscript, hence
As a special application of the relative umpire operator, we next define the absolute umpire operator, also known as the umpire measure. In the present setting this is a higher order proposition that is defined by the equation Here, the subscript on the left and the argument on the right both refer to the constant proposition In most contexts where is actually applied the subscript is safely omitted, since the number of arguments indicates which type of operator is intended. Thus, we have the following identities and equivalents:

The umpire measure is defined at the level of boolean functions, but can also be understood in terms of its implied judgments at the syntactic level. Interpreted this way, recognizes theorems of the propositional calculus over giving a score of to tautologies and a score of to everything else, regarding all contingent statements as no better than falsehoods.
One remark in passing for those who might prefer an alternative definition. If we had originally taken to mean the absolute measure, then the relative version could have been defined as
Measure for Measure
Define two families of measures:
by means of the following equations:

The values of the sixteen on each of the sixteen boolean functions are shown in Table 4. Expressed in terms of the implication ordering on the sixteen functions, says that is above or identical to in the implication lattice, that is, in the implication ordering.
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  1  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  1  1  
0  0  0  0  0  0  0  0  0  0  0  0  0  1  0  1  
0  0  0  0  0  0  0  0  0  0  0  0  1  1  1  1  
0  0  0  0  0  0  0  0  0  0  0  1  0  0  0  1  
0  0  0  0  0  0  0  0  0  0  1  1  0  0  1  1  
0  0  0  0  0  0  0  0  0  1  0  1  0  1  0  1  
0  0  0  0  0  0  0  0  1  1  1  1  1  1  1  1  
0  0  0  0  0  0  0  1  0  0  0  0  0  0  0  1  
0  0  0  0  0  0  1  1  0  0  0  0  0  0  1  1  
0  0  0  0  0  1  0  1  0  0  0  0  0  1  0  1  
0  0  0  0  1  1  1  1  0  0  0  0  1  1  1  1  
0  0  0  1  0  0  0  1  0  0  0  1  0  0  0  1  
0  0  1  1  0  0  1  1  0  0  1  1  0  0  1  1  
0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  
1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1 
The values of the sixteen on each of the sixteen boolean functions are shown in Table 5. Expressed in terms of the implication ordering on the sixteen functions, says that is below or identical to in the implication lattice, that is, in the implication ordering.
1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  
0  1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  
0  0  1  1  0  0  1  1  0  0  1  1  0  0  1  1  
0  0  0  1  0  0  0  1  0  0  0  1  0  0  0  1  
0  0  0  0  1  1  1  1  0  0  0  0  1  1  1  1  
0  0  0  0  0  1  0  1  0  0  0  0  0  1  0  1  
0  0  0  0  0  0  1  1  0  0  0  0  0  0  1  1  
0  0  0  0  0  0  0  1  0  0  0  0  0  0  0  1  
0  0  0  0  0  0  0  0  1  1  1  1  1  1  1  1  
0  0  0  0  0  0  0  0  0  1  0  1  0  1  0  1  
0  0  0  0  0  0  0  0  0  0  1  1  0  0  1  1  
0  0  0  0  0  0  0  0  0  0  0  1  0  0  0  1  
0  0  0  0  0  0  0  0  0  0  0  0  1  1  1  1  
0  0  0  0  0  0  0  0  0  0  0  0  0  1  0  1  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  1  1  
0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  1 
Applied to a given proposition the qualifiers and tell whether is above or below respectively, in the implication ordering. By way of example, let us trace the effects of several such measures, namely, those that occupy the limiting positions of the Tables.

Thus, is a totally indiscriminate measure, one that accepts all propositions whereas and are measures that value the constant propositions and respectively, above all others.
Finally, in conformity with the use of fiber notation to indicate sets of models, it is natural to use notations like the following to denote sets of propositions that satisfy the umpires in question.
Functional Conception of Quantification Theory
Up till now quantification theory has been based on the assumption of individual variables ranging over universal collections of perfectly determinate elements. Merely to write down quantified formulas like and involves a subscription to such notions, as shown by the membership relations invoked in their indices. Reflected on pragmatic and constructive principles, these ideas begin to appear as problematic hypotheses whose warrants are not beyond question, projects of exhaustive determination that overreach the powers of finite information and control to manage. Therefore, it is worth considering how we might shift the medium of quantification theory closer to familiar ground, toward the predicates themselves that represent our continuing acquaintance with phenomena.
Extending the Existential Interpretation to Quantificational Logic
The forms commonly viewed as quantified propositions may be viewed again as propositions about propositions, indeed, there is every reason to regard higher order propositions as the genus of quantification under which the more familiar species appear.
Let us return to the 2dimensional case . In order to provide a bridge between propositions and quantifications it serves to define a set of qualifiers that have the following characters:

Intuitively, the operators may be thought of as qualifying propositions according to the elements of the universe of discourse that each proposition positively values. Taken together, these measures provide us with the means to express many useful observations about the propositions in and so they mediate a subtext that takes place within the higher order universe of discourse Figure 6 summarizes the action of the operators on the within
Application of Higher Order Propositions to Quantification Theory
Our excursion into the vastening landscape of higher order propositions has finally come round to the stage where we can bring its returns to bear on opening up new perspectives for quantificational logic.
It's hard to tell if it makes any difference from a purely formal point of view, but it serves intuition to devise a slightly different interpretation for the twovalued space that we use as the target of our basic indicator functions. Therefore, let us declare the type of existentialvalued functions where is a pair of values that indicate whether or not anything exists in the cells of the underlying universe of discourse. As usual, let's not be too fussy about the coding of these functions, reverting to binary codes whenever the intended interpretation is clear enough.
With this interpretation in mind we note the following correspondences between classical quantifications and higher order indicator functions:

The following Tables develop these ideas in more detail.
1  1  1  1  0  0  0  0  
1  1  1  0  1  0  0  0  
1  1  0  1  0  1  0  0  
1  1  0  0  1  1  0  0  
1  0  1  1  0  0  1  0  
1  0  1  0  1  0  1  0  
1  0  0  1  0  1  1  0  
1  0  0  0  1  1  1  0  
0  1  1  1  0  0  0  1  
0  1  1  0  1  0  0  1  
0  1  0  1  0  1  0  1  
0  1  0  0  1  1  0  1  
0  0  1  1  0  0  1  1  
0  0  1  0  1  0  1  1  
0  0  0  1  0  1  1  1  
0  0  0  0  1  1  1  1 
1  1  1  1  0  0  0  0  
1  1  1  0  1  0  0  0  
1  1  0  1  0  1  0  0  
1  0  1  1  0  0  1  0  
0  1  1  1  0  0  0  1  
1  1  0  0  1  1  0  0  
0  0  1  1  0  0  1  1  
1  0  0  1  0  1  1  0  
0  1  1  0  1  0  0  1  
1  0  1  0  1  0  1  0  
0  1  0  1  0  1  0  1  
1  0  0  0  1  1  1  0  
0  1  0  0  1  1  0  1  
0  0  1  0  1  0  1  1  
0  0  0  1  0  1  1  1  
0  0  0  0  1  1  1  1 
References
 Quine, W.V. (1969/1981), "On the Limits of Decision", Akten des XIV. Internationalen Kongresses für Philosophie, vol. 3 (1969). Reprinted, pp. 156–163 in Quine (ed., 1981), Theories and Things, Harvard University Press, Cambridge, MA.
Related Topics
Appendix : Generalized Umpire Operators
In order to get a handle on the space of higher order propositions and eventually to carry out a functional approach to quantification theory, it serves to construct some specialized tools. Specifically, I define a higher order operator called the umpire operator, which takes up to three propositions as arguments and returns a single truth value as the result. Formally, this socalled multigrade property of can be expressed as a union of function types, in the following manner:
In contexts of application the intended sense can be discerned by the number of arguments that actually appear in the argument list. Often, the first and last arguments appear as indices, the one in the middle being treated as the main argument while the other two arguments serve to modify the sense of the operation in question. Thus, we have the following forms:
The intention of this operator is that we evaluate the proposition on each model of the proposition and combine the results according to the method indicated by the connective parameter In principle, the index might specify any connective on as many as arguments, but usually we have in mind a much simpler form of combination, most often either collective products or collective sums. By convention, each of the accessory indices is assigned a default value that is understood to be in force when the corresponding argument place is left blank, specifically, the constant proposition for the lower index and the continued conjunction or continued product operation for the upper index Taking the upper default value gives license to the following readings:
This means that if and only if holds for all models of In propositional terms, this is tantamount to the assertion that or that
Throwing in the lower default value permits the following abbreviations:
This means that if and only if holds for the whole universe of discourse in question, that is, if and only is the constantly true proposition The ambiguities of this usage are not a problem so long as we distinguish the context of definition from the context of application and restrict all shorthand notations to the latter.
Document History
Note. The above material is taken from a project report on Charles Sanders Peirce's conceptions of inquiry and analogy. Online formatting of the original document and continuation of the initial project are currently in progress under the title Functional Logic : Inquiry and Analogy.
1995 • Oakland University • Inquiry and Analogy
Author:  Jon Awbrey  November 1, 1995 
Course:  Engineering 690, Graduate Project  Winter Term, January 1995 
Supervisors:  M.A. Zohdy and F. Mili  Oakland University 
 Version: Draft 3.25  Created: 01 Jan 1995  Relayed: 01 Nov 1995  Revised: 24 Dec 2001  Revised: 12 Mar 2004
2004 • Inquiry List • Functional Logic
 http://web.archive.org/web/20090303000827/http://stderr.org/pipermail/inquiry/2004March/001256.html
 http://web.archive.org/web/20090303001935/http://stderr.org/pipermail/inquiry/2004March/001257.html
 http://web.archive.org/web/20090303002148/http://stderr.org/pipermail/inquiry/2004March/001258.html
 http://web.archive.org/web/20090303001240/http://stderr.org/pipermail/inquiry/2004March/001259.html
 http://web.archive.org/web/20090303001940/http://stderr.org/pipermail/inquiry/2004March/001260.html
 http://web.archive.org/web/20090303002026/http://stderr.org/pipermail/inquiry/2004March/001261.html
2004 • Ontology List • Functional Logic
 http://web.archive.org/web/20090303202815/http://suo.ieee.org/ontology/msg05480.html
 http://web.archive.org/web/20090302145522/http://suo.ieee.org/ontology/msg05481.html
 http://web.archive.org/web/20090302145531/http://suo.ieee.org/ontology/msg05482.html
 http://web.archive.org/web/20090303203051/http://suo.ieee.org/ontology/msg05483.html
 http://web.archive.org/web/20090303203442/http://suo.ieee.org/ontology/msg05484.html
 http://web.archive.org/web/20090302145538/http://suo.ieee.org/ontology/msg05485.html
2004 • NKS Forum • Functional Logic
 http://web.archive.org/web/20131120210604/http://forum.wolframscience.com/archive/topic/254.html
 http://web.archive.org/web/20090302144746/http://forum.wolframscience.com/showthread.php?threadid=254
2004 • NKS Forum • Introduction to Inquiry Driven Systems
 http://web.archive.org/web/20131104033846/http://forum.wolframscience.com/archive/topic/598.html
 http://web.archive.org/web/20160406171418/http://forum.wolframscience.com/showthread.php?threadid=598
 http://web.archive.org/web/20090302150057/http://forum.wolframscience.com/showthread.php?postid=1957#post1957
 http://web.archive.org/web/20090302145607/http://forum.wolframscience.com/showthread.php?postid=1960#post1960
 http://web.archive.org/web/20090302150102/http://forum.wolframscience.com/showthread.php?postid=1961#post1961
 http://web.archive.org/web/20090302150134/http://forum.wolframscience.com/showthread.php?postid=1962#post1962
 http://web.archive.org/web/20090302145918/http://forum.wolframscience.com/showthread.php?postid=1964#post1964
 http://web.archive.org/web/20090302145303/http://forum.wolframscience.com/showthread.php?postid=1966#post1966
 http://web.archive.org/web/20090302150013/http://forum.wolframscience.com/showthread.php?postid=1968#post1968
 Adaptive Systems
 Artificial Intelligence
 Combinatorics
 Computer Science
 Cybernetics
 Differential Logic
 Discrete Systems
 Dynamical Systems
 Formal Languages
 Formal Sciences
 Formal Systems
 Functional Logic
 Graph Theory
 Group Theory
 Inquiry
 Knowledge Representation
 Linguistics
 Logic
 Logical Graphs
 Mathematics
 Mathematical Systems Theory
 Science
 Semiotics
 Philosophy
 Systems Science
 Visualization