Skip to main content

Operand Ontology

Symbolic Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
OPERAND ONTOLOGY
Kireth Semantic Library | Mathematical Entities > Symbolic Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/symbolic-entities/operand-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13
Status: Mathematics-grounded ontology; source page not independently verified.

01. PURPOSE
flow "OperandOntology" v1.0
  domain: mathematical_symbolic_entities
  entity: Operand
  intent: identify, type, relate, evaluate and validate operands in expressions
  semantics: context_sensitive

02. DEFINITIONS
  Operand := an expression or value supplied as an argument to an operator.
  Operator := a rule or mapping that acts on one or more operands.
  Operation := an application of an operator to ordered or named operands.
  Arity := number of operand positions required by an operator.
  OperandPosition := position or role of an operand in an operation.
  NOTE: an operand may be a literal, variable, compound expression, function,
        vector, matrix, proposition, set, or other appropriately typed entity.

03. CORE ENTITY SCHEMA
  Operand {
    id: URI
    expression: ASTNode
    semantic_type: Type
    role: OperandRole?
    position: Integer?
    operator_ref: URI?
    scope_ref: URI?
    value: TypedValue?
    evaluation_state: symbolic | resolved | error
    provenance: Provenance?
    confidence: Decimal[0,1]?
  }
  Operation {
    id: URI
    operator: Operator
    operands: OrderedList<Operand>
    result_type: Type?
    result: TypedValue?
    context: EvaluationContext
  }

04. OPERAND CLASSIFICATION
  literal_operand: explicit value, e.g. 3 in 3 + x
  variable_operand: identifier resolved from scope, e.g. x
  expression_operand: compound expression, e.g. (a+b) in (a+b)*c
  function_operand: callable expression when operator accepts a function
  logical_operand: proposition or truth value
  collection_operand: set, vector, matrix, sequence or tensor
  left_operand/right_operand: syntactic roles for binary operators
  sole_operand: argument of a unary operator

05. RELATIONSHIPS
  Operand --isArgumentOf--> Operation
  Operation --usesOperator--> Operator
  Operation --hasOperand--> Operand
  Operand --hasPosition--> OperandPosition
  Operand --hasSemanticType--> Type
  Operand --isEvaluatedIn--> EvaluationContext
  Operand --resolvesTo--> TypedValue
  Operation --produces--> Result
  CompoundOperand --containsExpression--> Expression
  Operand --hasProvenance--> Provenance

06. OPERATOR ARITY AND POSITION
  unary: NEGATE(x) has one operand
  binary: SUBTRACT(a,b) has ordered operands [a,b]
  n_ary: SUM(a,b,c,...) has variable arity if defined
  nullary: constants may be modelled as nullary operators, with no operands
  constraint: operand_count must satisfy operator_arity
  constraint: preserve operand order for noncommutative operations

07. TYPE CONSTRAINTS
  addition: Numeric x Numeric -> Numeric (subject to compatible domains)
  division: Numeric x NonzeroNumeric -> Numeric (subject to domain rules)
  conjunction: Boolean x Boolean -> Boolean
  membership: Element x Set -> Boolean
  matrix_multiplication: Matrix[m,n] x Matrix[n,p] -> Matrix[m,p]
  rule: operator signatures govern accepted operand types
  rule: implicit coercion must be declared, not silently assumed

08. EVALUATION FLOW
  input: -expression, context
  parse -> AST
  identify operator nodes
  bind operand positions
  resolve identifiers and scope
  infer operand types
  validate operator signature and constraints
  evaluate operands according to declared evaluation strategy
  apply operator
  produce typed result and provenance
  on_failure -> typed error or unresolved symbolic expression

09. MATHEMATICAL RULES
  ADD(a,0) = a where additive identity is defined
  MULTIPLY(a,1) = a where multiplicative identity is defined
  SUBTRACT(a,b) != SUBTRACT(b,a) in general
  DIVIDE(a,b) requires b != 0 in ordinary fields
  MULTIPLY(a,b) = MULTIPLY(b,a) only in commutative domains
  operand equivalence does not imply identical syntax

10. SYMBOLIC SUBSTITUTION
  SUBSTITUTE(expression, variable, replacement)
  precondition: replacement is type-compatible
  precondition: substitution avoids variable capture
  rule: alpha-renaming may be required for bound variables
  rule: preserve operator precedence with explicit AST structure

11. SEMANTIC EQUIVALENCE
  SAME_OPERAND_ID: identical entity identity
  STRUCTURALLY_EQUIVALENT: identical normalised syntax tree
  VALUE_EQUIVALENT: same evaluated value under a specified context
  ALGEBRAICALLY_EQUIVALENT: provably same denotation under assumptions
  warning: these equivalence relations are not interchangeable
  example: x+x and 2*x may be equivalent over ordinary arithmetic
           but differ structurally and under some computational semantics

12. KNOWLEDGE GRAPH TRIPLES
  (:Operand {id:'op_a'})-[:ARGUMENT_OF]->(:Operation {id:'sum_1'})
  (:Operand {id:'op_a'})-[:HAS_POSITION]->(:Position {index:0})
  (:Operation {id:'sum_1'})-[:USES_OPERATOR]->(:Operator {name:'addition'})
  (:Operand {id:'op_a'})-[:HAS_TYPE]->(:Type {name:'Real'})
  (:Operation {id:'sum_1'})-[:PRODUCES]->(:Result {value:7})

13. INFERENCE RULES
  IF operator=ADD AND operands=[a,b] AND numeric(a,b)
    THEN result_type=promote_numeric_type(a,b)
  IF operator=DIVIDE AND denominator=0 AND ordinary_field_semantics
    THEN error=DivisionByZero
  IF operand is Variable AND binding exists in scope
    THEN operand_value=binding.value
  IF operator is commutative AND operand types permit commutation
    THEN swapping operands preserves denotation
  IF operand type violates operator signature
    THEN error=TypeMismatch

14. VALIDATION
  require: operand id is unique in ontology graph
  require: operand AST is well formed
  require: operator reference resolves
  require: operand arity and positions are valid
  require: declared operand type matches inferred type or explicit coercion
  require: evaluation context resolves free variables or marks unresolved
  require: nonzero denominators when division is evaluated in ordinary fields
  reject: inference without required domain assumptions

15. EXAMPLES
  5 + 2: operator=ADD; operands=[5,2]; result=7
  -x: operator=NEGATE; operand=x; result symbolic until x is bound
  (a+b)*c: MULTIPLY operands=[ADD(a,b),c]
  A AND B: AND operands=[A,B]; each Boolean
  A*B matrices: validate inner dimensions before multiplication

16. CONFIDENCE
  mathematical_axiom: 1.0 when assumptions and formal system are explicit
  computed_result: 1.0 for verified exact computation
  inferred_type: confidence tied to successful signature validation
  empirical_or_extracted_operand: preserve source-specific uncertainty
  rule: never treat an unverified inference as a mathematical proof

17. FLOW_HASH
  canonicalise: ontology_id, version, AST, operator, ordered_operands,
                type_constraints, context, rules
  FLOW_HASH := SHA256(canonical_serialisation)
  note: hashing identifies content state; it does not prove semantic correctness

18. UPDATE_MODEL
  on_change(operator_signature) -> revalidate affected operands
  on_change(variable_binding) -> invalidate dependent evaluation results
  on_change(domain_assumptions) -> recompute semantic equivalences
  on_change(ontology_version) -> record provenance and migration mapping

19. AI_CONSUMPTION
  expose: typed_operand_entities
  expose: operator_argument_edges
  expose: ordered_AST_and_scope
  expose: formal_constraints_and_inference_rules
  expose: evaluation_provenance_and_confidence
  guardrail: distinguish syntax, value, type, role and denotation
  guardrail: report unknown values rather than fabricate them

20. INTEROPERABILITY
  related: Mathematical Symbol Ontology
  related: Variable Ontology
  related: Constant Ontology
  related: Parameter Ontology
  related: Coefficient Ontology
  related: Operator Ontology
  related: -Expression and Equation Ontologies
  interchange: typed AST, RDF/OWL mapping, JSON-LD or equivalent

21. OUTPUT CONTRACT
  output {
    ontology: 'OperandOntology'
    version: '1.0'
    operand_graph: typed_entities_and_edges
    operator_signatures: validated
    expressions: structured_AST
    inferred_results: with_assumptions
    provenance: preserved
    flow_hash: computed_on_serialisation
  }

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ