UOR Derivations

IRI
https://uor.foundation/derivation/
Prefix
derivation:
Space
bridge
Comment
Computation witnesses recording term rewriting sequences from original terms to their canonical forms.

Imports

  • https://uor.foundation/observable/
  • https://uor.foundation/op/
  • https://uor.foundation/resolver/
  • https://uor.foundation/schema/
  • https://uor.foundation/type/

Classes

NameIRISubclass OfDisjoint WithComment
Derivationhttps://uor.foundation/derivation/Derivationhttp://www.w3.org/2002/07/owl#ThingA complete term rewriting witness: the full sequence of rewrite steps transforming an original term into its canonical form.
DerivationStephttps://uor.foundation/derivation/DerivationStephttp://www.w3.org/2002/07/owl#ThingAn abstract step in a derivation. Concrete subclasses are RewriteStep (term-level rewriting) and RefinementStep (type-level refinement).
RewriteStephttps://uor.foundation/derivation/RewriteStephttps://uor.foundation/derivation/DerivationStepA single rewrite step in a derivation: the application of one rewrite rule to transform a term.
RefinementStephttps://uor.foundation/derivation/RefinementStephttps://uor.foundation/derivation/DerivationStepA type-level refinement step: the application of a constraint to narrow a type, pinning additional site coordinates. Complements RewriteStep (term-level) in the derivation hierarchy.
RewriteRulehttps://uor.foundation/derivation/RewriteRulehttp://www.w3.org/2002/07/owl#ThingA named rewrite rule that can be applied in a derivation step. Each RewriteRule individual represents a specific algebraic law or normalization strategy used during term rewriting.
TermMetricshttps://uor.foundation/derivation/TermMetricshttp://www.w3.org/2002/07/owl#ThingMetrics describing the size and complexity of a term.
SynthesisStephttps://uor.foundation/derivation/SynthesisStephttp://www.w3.org/2002/07/owl#ThingA single step in the construction of a SynthesizedType: one constraint added to the synthesis candidate and the resulting change in the constraint nerve's topological signature. Ordered by derivation:stepIndex. Analogous to derivation:RewriteStep in the forward pipeline.
SynthesisCheckpointhttps://uor.foundation/derivation/SynthesisCheckpointhttp://www.w3.org/2002/07/owl#ThingA persistent snapshot of a ConstraintSearchState at a specific SynthesisStep, allowing a TypeSynthesisResolver to resume exploration after interruption. Essential at Q1+ scale where exhaustive synthesis is computationally significant.

Properties

NameKindFunctionalDomainRangeComment
originalTermObjecttruehttps://uor.foundation/derivation/Derivationhttps://uor.foundation/schema/TermThe term at the start of the derivation, before any rewriting.
canonicalTermObjecttruehttps://uor.foundation/derivation/Derivationhttps://uor.foundation/schema/TermThe canonical form produced at the end of the derivation.
resultObjecttruehttps://uor.foundation/derivation/Derivationhttps://uor.foundation/schema/DatumThe datum value obtained by evaluating the canonical term.
stepObjectfalsehttps://uor.foundation/derivation/Derivationhttps://uor.foundation/derivation/RewriteStepA rewrite step in this derivation.
termMetricsObjecttruehttps://uor.foundation/derivation/Derivationhttps://uor.foundation/derivation/TermMetricsMetrics for the canonical term produced by this derivation.
fromObjecttruehttps://uor.foundation/derivation/RewriteStephttps://uor.foundation/schema/TermThe term before this rewrite step.
toObjecttruehttps://uor.foundation/derivation/RewriteStephttps://uor.foundation/schema/TermThe term after this rewrite step.
hasRewriteRuleObjecttruehttps://uor.foundation/derivation/RewriteStephttps://uor.foundation/derivation/RewriteRuleThe typed rewrite rule applied in this step. Provides a structured reference to a named RewriteRule individual, complementing the string-valued derivation:rule property.
groundedInObjecttruehttps://uor.foundation/derivation/RewriteRulehttps://uor.foundation/op/IdentityThe algebraic identity that grounds this rewrite rule. Links a RewriteRule to the op:Identity individual that justifies its application.
stepCountDatatypetruehttps://uor.foundation/derivation/TermMetricshttp://www.w3.org/2001/XMLSchema#nonNegativeIntegerThe total number of rewrite steps in this derivation.
termSizeDatatypetruehttps://uor.foundation/derivation/TermMetricshttp://www.w3.org/2001/XMLSchema#nonNegativeIntegerThe number of nodes in the canonical term's syntax tree.
previousTypeObjecttruehttps://uor.foundation/derivation/RefinementStephttps://uor.foundation/type/TypeDefinitionThe type before this refinement step was applied.
appliedConstraintObjecttruehttps://uor.foundation/derivation/RefinementStephttps://uor.foundation/type/ConstraintThe constraint that was applied in this refinement step.
refinedTypeObjecttruehttps://uor.foundation/derivation/RefinementStephttps://uor.foundation/type/TypeDefinitionThe type after this refinement step was applied.
sitesClosedDatatypetruehttps://uor.foundation/derivation/RefinementStephttp://www.w3.org/2001/XMLSchema#nonNegativeIntegerThe number of site coordinates pinned by this refinement step.
stepIndexDatatypetruehttps://uor.foundation/derivation/SynthesisStephttp://www.w3.org/2001/XMLSchema#nonNegativeIntegerZero-based sequential index of this step within the synthesis derivation.
addedConstraintObjecttruehttps://uor.foundation/derivation/SynthesisStephttps://uor.foundation/type/ConstraintThe constraint added in this synthesis step.
signatureBeforeObjecttruehttps://uor.foundation/derivation/SynthesisStephttps://uor.foundation/observable/SynthesisSignatureThe constraint nerve signature before this synthesis step.
signatureAfterObjecttruehttps://uor.foundation/derivation/SynthesisStephttps://uor.foundation/observable/SynthesisSignatureThe constraint nerve signature after this synthesis step.
checkpointStepObjecttruehttps://uor.foundation/derivation/SynthesisCheckpointhttps://uor.foundation/derivation/SynthesisStepThe SynthesisStep at which this checkpoint was taken.
checkpointStateObjecttruehttps://uor.foundation/derivation/SynthesisCheckpointhttps://uor.foundation/resolver/ConstraintSearchStateThe ConstraintSearchState snapshot captured by this checkpoint.
towerCheckpointObjectfalsehttps://uor.foundation/resolver/TowerCompletenessResolverhttps://uor.foundation/derivation/SynthesisCheckpointLinks a TowerCompletenessResolver to a SynthesisCheckpoint issued at each completed step. Cross-namespace bridge property: domain is resolver:TowerCompletenessResolver.

Named Individuals

NameTypePropertiesComment
CriticalIdentityRulehttps://uor.foundation/derivation/RewriteRule
  • groundedIn: https://uor.foundation/op/criticalIdentity
The rewrite rule applying the critical identity: neg(bnot(x)) → succ(x). Grounded in op:criticalIdentity.
InvolutionRulehttps://uor.foundation/derivation/RewriteRuleThe rewrite rule applying involution cancellation: f(f(x)) → x for any involution f.
AssociativityRulehttps://uor.foundation/derivation/RewriteRuleThe rewrite rule applying associativity to re-bracket nested binary operations.
CommutativityRulehttps://uor.foundation/derivation/RewriteRuleThe rewrite rule applying commutativity to reorder operands of commutative operations.
IdentityElementRulehttps://uor.foundation/derivation/RewriteRuleThe rewrite rule eliminating identity elements: add(x, 0) → x, mul(x, 1) → x, xor(x, 0) → x.
NormalizationRulehttps://uor.foundation/derivation/RewriteRuleThe rewrite rule normalizing compound expressions to canonical ordering (e.g., sorting operands by address).