FLOW ALGEBRA
PARAMETER ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Symbolic Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/symbolic-entities/parameter-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: Domain-grounded draft; source page not independently verified.
Version: 1.0 | Date: 2026-10-13
01. PURPOSE
flow "ParameterOntology" v1.0
domain: mathematical_symbolic_entities
entity: Parameter
intent: represent context-fixed but potentially variable quantities that index models, families, or computations
distinguish_from: [Variable, Constant, Coefficient, Hyperparameter]
02. CORE TYPES
Parameter := SymbolicEntity with contextual value assignment
ParameterContext := {model, scope, assumptions, domain, binding}
ParameterValue := ExactValue | ApproximateValue | SymbolicExpression | StructuredValue
ParameterDomain := Set | Interval | DiscreteChoices | ConstraintSet
ParameterRole := Shape | Scale | Location | Rate | Control | Model | Hyperparameter | Other
03. ENTITY SCHEMA
parameter.id: IRI
parameter.label: string
parameter.symbol: string
parameter.type: mathematical | statistical | physical | computational
parameter.role: ParameterRole
parameter.domain: ParameterDomain
parameter.value: optional ParameterValue
parameter.units: optional Unit
parameter.scope: Scope
parameter.model: ModelReference
parameter.constraints: Constraint[]
parameter.provenance: Provenance
parameter.confidence: ConfidenceRecord
04. SEMANTICS
A parameter is treated as fixed within a specified evaluation context, but may differ across contexts.
parameter(p, M, C) => belongs_to(p, M) AND scoped_to(p, C)
assigned(p, v, C) => v in domain(p) AND satisfies(v, constraints(p))
same_symbol(p, q) does not imply same_entity(p, q)
parameter_vs_variable is a role distinction dependent on the model and context.
05. MODEL FAMILIES
model_family: F(x; theta)
x: evaluation input
theta: parameter or parameter vector
instantiate(F, theta0) -> F_theta0(x)
example: f(x; a, b) = a*x + b
example_binding: a = 2, b = 3 => f(x) = 2*x + 3
06. DOMAINS AND CONSTRAINTS
domain(theta) = D
valid(theta) iff theta in D AND all_constraints_hold(theta)
examples:
probability_parameter: 0 <= p <= 1
positive_scale: sigma > 0
integer_parameter: n in Z
invalid bindings MUST produce a validation error rather than silent coercion.
07. OPERATIONS
bind(parameter, value, context) -> BoundParameter
unbind(parameter, context) -> UnboundParameter
substitute(expression, parameter, value) -> Expression
specialise(model, parameter_assignments) -> ModelInstance
sweep(model, parameter_grid) -> ResultCollection
estimate(data, model, method) -> ParameterEstimate
optimise(objective, constraints) -> ParameterAssignment
differentiate(expression, parameter) -> SensitivityExpression
08. INVARIANTS
binding_preserves_scope: true
substitution_avoids_variable_capture: true
type_preservation_required: true
constraints_checked_before_evaluation: true
units_compatible_on_binding: true
contextual_identity_preserved: true
09. STATISTICAL PARAMETERS
population_parameter: fixed characteristic of a specified population/model
estimator: rule mapping observations to an estimate
estimate: realised estimator output
distinction: parameter != estimator != estimate
example: mu = population mean; x_bar = sample mean estimator
uncertainty_metadata: confidence_interval | credible_interval | standard_error
intervals require method and interpretation metadata.
10. COMPUTATIONAL PARAMETERS
function_parameter: input declared by function signature
argument: value or expression supplied at a call site
model_parameter: value learned or configured within a model
hyperparameter: configuration controlling learning or model structure
scope distinctions MUST be recorded; terms are not universally interchangeable.
11. PHYSICAL PARAMETERS
physical_parameter: quantity with declared units and measurement context
examples: mass, temperature, resistance
unit_conversion: permitted only with dimensionally compatible units
measured_value: may carry uncertainty, calibration and provenance
12. RELATIONSHIP GRAPH
Parameter --is_a--> SymbolicEntity
Parameter --parameterises--> Model
Parameter --has_domain--> ParameterDomain
Parameter --has_constraint--> Constraint
Parameter --has_scope--> Scope
Parameter --has_unit--> Unit
Parameter --has_assignment--> ParameterValue
Parameter --estimated_by--> Estimator
Parameter --used_in--> Expression
Parameter --affects--> ModelOutput
Parameter --has_provenance--> Provenance
13. SEMANTIC EQUIVALENCE
equivalent_parameters(p, q, C) iff
compatible_meaning(p, q, C) AND
compatible_domains(p, q) AND
compatible_units(p, q) AND
compatible_scopes(p, q)
aliases require explicit mappings.
symbol spelling alone is insufficient evidence of equivalence.
reparameterisation may preserve a model family without making parameter values identical.
14. REASONING RULES
IF bound(p, v, C) AND v not_in domain(p) THEN reject_binding
IF bound(p, v, C) AND violates_constraints(v, p) THEN reject_binding
IF expression_uses(e, p) AND bound(p, v, C) THEN substitute_capture_avoiding(e, p, v)
IF differentiable(F, p) THEN sensitivity(F, p) = partial_derivative(F, p)
IF same_symbol(p, q) AND different_scope(p, q) THEN do_not_merge_entities
IF estimated_from(p, data) THEN attach_estimation_method_and_provenance
15. VALIDATION
required: [id, symbol, domain, scope, model]
checks:
unique_id: true
domain_membership: true
constraints_satisfied: true
type_compatibility: true
unit_compatibility: true
no_ambiguous_binding: true
provenance_available_for_empirical_estimates: true
error_policy: explicit_error_with_reason
16. CONFIDENCE
confidence.kind: asserted | derived | estimated | inferred
confidence.score: optional real in [0, 1]
confidence.method: required_if_score_present
confidence.evidence: references[]
mathematical proof is recorded separately from probabilistic confidence.
17. FLOW HASH
canonicalise: [entity_id, model_id, scope, domain, constraints, role, units, binding]
encoding: UTF-8
ordering: deterministic
flow_hash: SHA-256(canonical_serialisation)
hash_excludes: [volatile_timestamp, display_formatting]
hash_version: 1
18. UPDATE MODEL
change_events: [parameter_created, domain_changed, binding_changed, constraint_changed, role_changed]
on_change: validate -> re-evaluate_dependents -> regenerate_hash -> record_version
retain_previous_versions: true
invalidation: downstream_results_depending_on_changed_parameter
19. AI CONSUMPTION
representation: typed triples + machine-readable constraints + natural-language gloss
retrieval_keys: [parameter_id, model_id, symbol, role, scope]
inference: constraint-aware, scope-aware, unit-aware
output_requirements: [value, units_if_any, assumptions, uncertainty_if_any, provenance]
guardrails:
- never assume same symbols denote the same parameter across scopes
- never confuse estimated values with exact constants
- never silently violate parameter constraints
- never conflate model parameters and hyperparameters
20. WORKED EXAMPLES
example_linear:
model: y = m*x + c
parameters: m, c
input: x
bindings: {m: 2, c: 1}
evaluation_at_x_3: 7
example_probability:
model: Bernoulli(p)
domain: p in [0, 1]
binding: p = 0.7
status: valid
example_invalid:
model: Bernoulli(p)
binding: p = 1.4
status: reject_domain_violation
21. CROSS-ONTOLOGY LINKS
links: [MathematicalSymbolOntology, VariableOntology, ConstantOntology,
CoefficientOntology, OperatorOntology, NumericValueOntology,
ExactValueOntology, ApproximateValueOntology, RelationshipOntology]
22. TERMINATION
flow_complete: true
source_alignment: not_verified
mathematical_consistency: domain-grounded
ready_for: semantic_indexing | knowledge_graph_ingestion | review
END FLOW ALGEBRA
Download Code
Copy to Clipboard