Semantic realizations
Let be an -category whose objects are computational realizations (machines, programs, agents, or other executable systems), and let
be an operational semantics into an -topos . Fix . Let
denote the -truncation functor. Define the semantic realization functor
Definition 1.1.
For , write
if there is an equivalence
in . We call semantic equivalence at level .
Thus identifies realizations which are indistinguishable after passage to the chosen homotopy -type.
Definition 1.2.
The -semantic class of a realization is the equivalence class
determined by in the appropriate homotopy category of .
The distinction between realization and semantic class is therefore
Non-uniqueness of realizations
The essential mathematical point is that truncation is generally a localization and therefore need not be conservative.
Definition 2.1.
A functor
is conservative if, for every morphism of ,
Equivalently, reflects equivalences.
Theorem 2.2 (Semantic equivalence does not imply realization uniqueness).
Let
Suppose there exist realizations such that
while
Then and determine the same semantic -class but are inequivalent realizations:
In particular, whenever fails to reflect equivalences on the full subcategory of realizers under consideration, semantic uniqueness does not imply uniqueness of realization.
Proof. By definition,
means precisely that and are semantically equivalent at level , hence
The hypothesis
states that the realizations themselves are not equivalent in . Thus the same object of the localized semantic category has at least two inequivalent realizations in . Hence the semantic class is unique while its realization is not.
If is non-conservative on the relevant class of realizers, such a pair can occur by definition of non-conservativity: there exists an equivalence after applying which does not arise from an equivalence before applying .
Remark 2.3.
The conclusion is stronger than the statement that presentations need not be literally equal. It permits
even in the homotopy theory of realizations. Thus the distinction is not merely syntactic. It can persist after quotienting the category of machines by its own equivalences.
Why truncation permits non-uniqueness
The preceding phenomenon is intrinsic to truncation.
Proposition 3.1.
For , the truncation functor
does not in general reflect equivalences.
Proof. Consider, for example, spaces in the -category . Let
The canonical map
induces an equivalence after -truncation:
However,
because
Hence does not reflect equivalences.
Consequently, equality in the localized semantics forgets all homotopy information above degree . In particular,
does not imply
Realizers of a finite specification
Let be a finite presentation of an operation. Write
for the full -subcategory of realizations of . Assume that the specification determines a semantic -type
such that every realization of satisfies
Theorem 4.1 (Uniqueness of the semantic class).
Under the preceding hypotheses, determines a unique semantic operation class
in the sense that
This does not imply that is contractible, nor even that all of its objects are equivalent.
Proof. For ,
and therefore
Thus all realizers determine the same semantic -class. No assertion has been made that
Such an assertion would require additional hypotheses, for example conservativity of on . Hence uniqueness of the semantic class does not entail uniqueness of the realization category.
Corollary 4.2 (Unique class, non-unique machines).
Suppose there exist
such that
Then
so the specification has a unique semantic operation class but at least two inequivalent machine realizations.
Traces and operational classes
Let
denote the space of executable traces. A trace is not treated merely as an external observation; rather, assume the operational semantics provides a trace map
and a semantic reification map
such that
Thus a realized operation is represented by the composite
The trace is therefore an operational object, while the map performs the passage from an executable trace to its semantic operation class. In particular,
does not entail
unless the composite
is conservative on the realizers under consideration.
Cofinality of realizers
Let be a directed index category and let
be a timeline of machines. Suppose this timeline is -cofinal in , meaning that
Theorem 6.1 (Eventual realization up to semantic type).
If and the machine timeline is -cofinal in , then there exists such that
Proof. Choose any
which exists by assumption. Since the timeline is -cofinal, there is an satisfying
Since realizes ,
Therefore
Hence stage realizes the specification up to the chosen homotopy -type.
Recursive self-improvement
Let
be the -truncated -type of agent operations. Suppose self-improvement induces an internal endomorphism
For an initial semantic operation
define recursively
Then
A family of machines realizes this recursive process up to semantic level precisely when
for all . There is no requirement that
Indeed, if the fibers of are nontrivial, there may exist many inequivalent realizers satisfying
Thus recursive self-improvement is naturally an operation on semantic classes:
rather than necessarily an endomorphism of a uniquely determined machine presentation.
Main conclusion
The preceding results establish the following separation:
More precisely,
is a semantic localization. If it is non-conservative on the relevant realization category, then
Hence the appropriate uniqueness statement is
The non-uniqueness is therefore not an artifact of comparing different syntactic presentations. It is a structural consequence of passing from realizations to a truncated semantic localization.
Typeset in the browser with KaTeX. The wording follows the source note; statements are numbered within each section, as in the original.