AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
Scale Ontology — Measurement and Dimensional Entities
Version: 1.0
Date: 2026-10-14
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/measurement-and-dimensional-entities/scale-ontology.html
Status: Domain-derived draft; source page not directly retrieved.
Authors: Mark Higgins — Sky (Recursive AI)
Project: Kireth Semantic Library | https://kirethresearch.org
FLOW "ScaleOntology" v1.0
PURPOSE:
Model the meaning, construction, calibration and conversion of measurement scales,
while distinguishing scale types from units, coordinate scaling and resolution.
ENTITY_TYPES:
Scale: {id:str, name:str, kind:ScaleKind, quantity_kind:str?, domain:str?, provenance:str?}
ScaleKind: enum[nominal, ordinal, interval, ratio, logarithmic, other]
ScaleValue: {scale_id:str, value:any, unit_id:str?, uncertainty:float?}
ScaleOrigin: {scale_id:str, reference_value:float, meaning:str}
ScaleStep: {scale_id:str, increment:float, unit_id:str?}
ScaleRange: {scale_id:str, lower:float?, upper:float?, lower_inclusive:bool, upper_inclusive:bool}
ScaleMapping: {source_scale:str, target_scale:str, function:str, inverse_function:str?, validity_domain:str?}
Calibration: {scale_id:str, reference_standard:str, date:str?, correction_model:str?, uncertainty:float?}
MeasurementInstrument: {id:str, scale_id:str, resolution:float?, calibration_id:str?}
Unit: {id:str, symbol:str, dimension:str}
Quantity: {id:str, kind:str, dimension:str}
RELATIONSHIPS:
HAS_SCALE(instrument:MeasurementInstrument, scale:Scale)
REPRESENTS(scale:Scale, quantity:Quantity)
HAS_VALUE(value:ScaleValue, scale:Scale)
HAS_UNIT(value:ScaleValue, unit:Unit)
HAS_RANGE(scale:Scale, range:ScaleRange)
HAS_ORIGIN(scale:Scale, origin:ScaleOrigin)
HAS_STEP(scale:Scale, step:ScaleStep)
CONVERTS(mapping:ScaleMapping, source:Scale, target:Scale)
CALIBRATED_BY(scale:Scale, calibration:Calibration)
SEMANTICS:
nominal: categories; equality and inequality only, absent extra structure.
ordinal: ranked categories; order meaningful, differences not inherently quantitative.
interval: equal differences meaningful; zero may be conventional; ratios of readings not meaningful.
ratio: meaningful zero and ratios, assuming the measured quantity supports them.
logarithmic: numeric mapping of a positive underlying ratio to a logarithmic reading;
its permitted interpretations depend on its reference and definition.
NOTE: logarithmic is a representation characteristic, not mutually exclusive with
nominal/ordinal/interval/ratio classification; a richer implementation
should store measurement_level and representation separately.
FORMAL_RULES:
linear_affine_mapping:
y = a*x + b
REQUIRE a != 0 for invertibility.
inverse: x = (y-b)/a.
unit_scale_conversion:
q_target = a*q_source + b
REQUIRE dimensions compatible and conversion defined for the quantity kind.
pure_ratio_rescaling:
y = a*x, a > 0; zero preserved.
logarithmic_mapping:
y = k*log_b(x/x_ref)
REQUIRE x > 0, x_ref > 0, b > 0, b != 1, k != 0.
inverse: x = x_ref*b^(y/k).
ordered_mapping:
IF scale is ordinal AND mapping strictly increasing
THEN order is preserved.
uncertainty_affine:
u_y = abs(a)*u_x, for standard uncertainty under exact a,b.
uncertainty_nonlinear_first_order:
u_y ~= abs(f'(x))*u_x, for small uncertainty and differentiable f;
account for parameter uncertainty and covariance where applicable.
VALIDATION:
V01: Scale IDs unique; every ScaleValue references an existing scale.
V02: Units must have compatible dimensions before physical conversion.
V03: Reject arithmetic on nominal category labels without a justified model.
V04: Do not infer equal intervals from ordinal ranks.
V05: Do not interpret ratios of Celsius readings as temperature ratios.
V06: Enforce defined scale range and mapping domain.
V07: Inverse mapping requires injectivity over the stated domain.
V08: Do not conflate instrument resolution with measurement accuracy or uncertainty.
V09: Preserve references, units, calibration provenance and significant digits.
V10: Distinguish coordinate geometric scaling from measurement scale semantics.
WORKED_EXAMPLES:
E01: Celsius to Kelvin: K = degC + 273.15; 20 degC -> 293.15 K.
Temperature differences: 1 degC difference = 1 K difference.
E02: Metres to centimetres: cm = 100*m; 2.5 m -> 250 cm.
E03: Ordinal ratings: low < medium < high; differences unspecified.
E04: Base-10 logarithmic mapping: y = log10(x/1); x=100 -> y=2.
E05: Instrument linear calibration: y=1.02*x+0.1; x=10 -> y=10.3.
INFERENCE:
IF mapping f is invertible on D THEN reverse conversion may use f_inverse.
IF two values have different scale IDs THEN compare only after compatible mapping.
IF scale is interval THEN differences can be compared in consistent units.
IF scale is ratio THEN ratios can be compared for positive meaningful quantities.
IF calibration changes THEN derived readings may require re-evaluation.
SEMANTIC_EQUIVALENCE:
scale ≈ measurement scale [context: metrology]
measurement scale != geometric scaling transformation
resolution != precision != accuracy
scale interval != measurement uncertainty interval
scale value != physical quantity (without interpretation and unit)
CONFIDENCE:
mathematical_rules: 0.98
domain_taxonomy: 0.95
correspondence_to_source_page: unverified
NOTE: Confidence values are editorial estimates, not calibrated probabilities.
FLOW_HASH:
method: SHA-256 over canonical UTF-8 serialisation of flow content
value: COMPUTE_AT_INGESTION
NOTE: Do not treat this placeholder as a computed hash.
UPDATE_MODEL:
version: 1.0
revision_policy: semantic_versioning
triggers: [source_revision, standards_revision, ontology_alignment, validation_failure]
preserve: [entity_identifiers, provenance, mapping_definitions]
AI_CONSUMPTION:
format: typed_entity_relationship_graph
inference: rule_guarded
validation: required_before_ingestion
provenance: source_url_and_version
uncertainty: explicit_when_available
semantic_search_terms: [scale, measurement scale, interval scale, ratio scale,
ordinal scale, nominal scale, logarithmic scale, calibration]
output: [normalised_entities, relations, transformations, validation_report]
END FLOW