UOR Schema

IRI
https://uor.foundation/schema/
Prefix
schema:
Space
kernel
Comment
Core value types and term language for the UOR ring substrate. Defines Datum (ring element), Term (syntactic expression), and the Ring container.

Imports

Classes

NameSubclass OfDisjoint WithComment
DatumThingTermAn element of the ring Z/(2^n)Z at a specific quantum level n. The primary semantic value type. Disjoint from Term: datums are values, terms are syntactic expressions that evaluate to datums.
TermThingDatumA syntactic expression in the UOR term language. Terms are evaluated to produce Datums. Disjoint from Datum.
TriadThingA three-component structure encoding an element's position in the UOR address space: stratum (ring layer), spectrum (bit pattern), and glyph (Braille address).
LiteralTermA term that directly denotes a datum value. A Literal is a leaf node in the term language — it refers to a concrete Datum via schema:denotes without being a Datum itself.
ApplicationTermA term formed by applying an operation to one or more argument terms. The application's value is the result of evaluating the operator on the evaluated arguments.
RingThingThe ambient ring Z/(2^n)Z at a specific quantum level n. The Ring is the primary data structure of the UOR kernel. Its two generators (negation and complement) produce the dihedral group D_{2^n} that governs the invariance frame.

Properties

NameKindFunctionalDomainRangeComment
valueDatatypetrueDatumnonNegativeIntegerThe integer value of a datum element. For a Datum in Z/(2^n)Z, this is an integer in [0, 2^n).
quantumDatatypetrueDatumpositiveIntegerThe quantum level n of a datum, where the datum's ring is Z/(2^n)Z. Determines the bit width and modulus of the datum.
stratumDatatypetrueDatumnonNegativeIntegerThe ring-layer index of a datum, indicating its position in the stratification of Z/(2^n)Z.
spectrumDatatypetrueDatumstringThe bit-pattern representation of a datum, encoding its position in the hypercube geometry of Z/(2^n)Z.
glyphObjecttrueDatumAddressThe Braille address associated with this datum, linking the algebraic value to its content-addressable identifier.
operatorObjecttrueApplicationOperationThe operation applied in an Application term.
argumentObjectfalseApplicationTermAn argument term in an Application. The ordering of arguments follows rdf:List semantics.
ringQuantumDatatypetrueRingpositiveIntegerThe bit width n of the ring Z/(2^n)Z. Distinct from schema:quantum on Datum — ringQuantum is the container's bit width; datum quantum is a membership property.
modulusDatatypetrueRingpositiveIntegerThe modulus 2^n of the ring. Equals 2 raised to the power of ringQuantum.
generatorObjecttrueRingDatumThe generator element π₁ (value = 1) of the ring. Under iterated successor application, π₁ generates all ring elements.
negationObjecttrueRingInvolutionThe ring reflection involution: neg(x) = (-x) mod 2^n. One of the two generators of the dihedral group D_{2^n}.
complementObjecttrueRingInvolutionThe hypercube reflection involution: bnot(x) = (2^n - 1) ⊕ x. The second generator of the dihedral group D_{2^n}.
denotesObjecttrueLiteralDatumThe datum value that a Literal term denotes. Bridges the Term/Datum disjointness: a Literal refers to a Datum without being one. Evaluation of a Literal produces its denoted Datum.

Named Individuals

NameTypeComment
π₁DatumThe unique generator of R_n under successor. Value = 1 at every quantum level. Under iterated application of succ, π₁ generates every element of the ring.
  • value: 1
zeroDatumThe additive identity of the ring. Value = 0 at every quantum level. op:add(x, zero) = x for all x in R_n.
  • value: 0