Handbook
Prompt 03 — Quantity, unit, and dimension ontology builder
Build a coherent quantity–dimension–unit record.
Updated
Inputs
TARGET_PARTITION: {{TARGET_PARTITION}}
CANDIDATE_SET: {{CANDIDATE_SET_JSON}}
UNIT_SYSTEM_POLICY: {{UNIT_SYSTEM_POLICY_JSON}}
EXISTING_QUANTITY_REGISTRY: {{EXISTING_QUANTITY_REGISTRY_JSON}}
SOURCE_BUNDLE: {{SOURCE_BUNDLE_JSON}}
CLEAN_ROOM_POLICY: {{CLEAN_ROOM_POLICY_JSON}}
Task
Build a coherent quantity–dimension–unit record.
- Distinguish physical quantity, numerical value, unit, dimension, symbol, and measurement procedure.
- Assign stable IDs and semantic definitions before choosing notation.
- Identify base, derived, dimensionless, angular, counting, and stochastic quantities.
- Encode dimension exponents and permitted units.
- Declare conversion kind: identity, scale, affine, or nonlinear; mark exact conversions separately from empirical ones.
- Preserve context-dependent units and conventions rather than forcing one universal representation.
- Check all supplied equations dimensionally and return itemized failures.
- Detect symbol collisions, quantity-kind conflation, angle/count/probability ambiguity, and invalid affine-unit arithmetic.
- For clean-room seeds, include only allowlisted operations and do not leak modern derived quantity names.
- Do not treat dimensional consistency as proof of a law.
Return only JSON matching schemas/quantity-unit-dimension.schema.json.