Skip to main content

Amount Ontology

Quantity & Degree Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
AMOUNT ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-03
Authors: Mark Anthony Higgins — Sky Recursive AI
Licence: Open Research Licence (project attribution; exact terms unverified)
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/quantity-degree-concepts/amount-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Quantity & Degree Concepts
Status: Proposed formalisation; live source and published grammar not independently verified.

1. CANONICAL DEFINITION
Amount denotes how much of a specified quantity kind is attributed to an entity, collection or system within a defined boundary and context. It may be counted or measured. Amount is not necessarily mass, volume or amount of substance: these are distinct quantity kinds. In SI, amount of substance specifically measures specified elementary entities in moles. A numerical value alone is not a complete amount representation. Distinguish stock from flow, gross from net, actual from estimated, and zero from unknown. A degree or intensity is not necessarily an additive amount.

2. ENTITY MODEL
A = (id, subject, kind, value, unit, dimension, scale, boundary, time, basis, uncertainty, evidence, version, status)
kind identifies the measured property; basis identifies counting, measurement or estimation method and reference conditions. Status belongs to {established, rejected, unknown, disputed, not_applicable}. Unknown values are not coerced to zero. Stock records identify a reference instant; accumulated flows identify an interval. Signed net amounts require explicit semantics; ordinary counts and physical stocks are nonnegative. Identity of records is distinct from equality of measured values.

3. CLASSIFICATION
DiscreteAmount: cardinality of specified countable entities.
ContinuousAmount: measured extent in a continuous quantity domain.
ExtensiveAmount: additive over disjoint subsystems under specified conditions.
SubstanceAmount: number of specified elementary entities expressed in mol.
ResourceAmount: stock or allocation of a resource within a boundary.
GrossAmount: total before specified deductions.
NetAmount: signed balance after specified deductions.
EstimatedAmount: amount inferred using an explicit model.
AccumulatedAmount: integral or sum of compatible flows over a period.
AvailableAmount: stock less reservations and other applicable restrictions.
These classifications may intersect; additivity is a declared property, not inferred from the label amount.

4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation. g ∘ f applies f then g. Operators below are proposed local notation, not verified executable grammar.
COUNT: FiniteSet × CountingRule → Amount
MEASURE: Subject × Protocol × Context → AmountRecord
NORMALISE: AmountRecord × CompatibleUnit → AmountRecord
COMPARE: AmountRecord × AmountRecord → OrderingOrUnknown
SUM: DisjointCompatibleAmounts → AmountRecord
DIFFERENCE: CompatibleAmounts → SignedAmount
SCALE: Amount × DimensionlessFactor → Amount
ALLOCATE: Amount × AllocationRule → AmountVector
ACCUMULATE: RateFunction × Interval → Amount
BALANCE: Stock × Inflows × Outflows × Sources × Sinks → Stock
VALIDATE: AmountRecord × Constraints × Evidence → ValidationResult
REVISE: VersionedRecord × EvidenceDelta → CandidateRecord
Every operator is partial where preconditions fail. Return a typed error or unknown rather than inventing a value.

5. COMPOSITE FLOWS
Subject →[MEASURE] A →[NORMALISE] A' →[VALIDATE] AcceptedOrPending
Collection →[COUNT] A →[ALLOCATE] (A1,...,An) →[SUM] A_reconstructed
Stock(t0) + FlowRecords →[BALANCE] Stock(t1) →[VALIDATE] Result
EvidenceDelta + Record(v) →[REVISE] Candidate(v+1) →[VALIDATE] CommitOrReject
Parallel measurement branches retain source identifiers and correlation metadata. Merge only compatible records; repeated observations of one stock are not separate stocks to sum. Conflicting observations remain disputed until a reconciliation rule is justified.

6. MATHEMATICAL SEMANTICS
For a finite set S, count(S)=|S|. For overlapping sets, |S∪T|=|S|+|T|−|S∩T|. Disjoint union permits ordinary addition.
For multiplicative unit conversion, v_target=k v_source, k>0. Quantity kind must match as well as dimension; equal dimensions alone do not establish semantic compatibility. Affine conversions require separate treatment of absolute readings and differences.
For specified elementary entities N, n=N/N_A, with N_A=6.02214076×10^23 mol⁻¹ exactly.
For compatible additive amounts a_i, total A=Σ_i a_i. Allocation a_i=w_i A with w_i≥0 and Σ_i w_i=1 preserves total before rounding. Integer allocations require an explicit remainder policy.
For a rate r(t), accumulated amount Q=∫[t0,t1] r(t)dt when integrable. Rate units multiplied by time must match the stock kind.
Balance: A1=A0+I−O+G−C, where I/O are boundary transfers and G/C are internal generation/consumption of the specified kind. For a conserved kind in a closed system with no sources or sinks, A1=A0. Do not impose conservation on arbitrary counts or chemical species.
Relative change=(A1−A0)/A0 when A0≠0 and a ratio interpretation is valid. Percentage change is 100 times this ratio.
For linear combinations y=wᵀx with covariance Σ, Var(y)=wᵀΣw. Independence is not assumed. For bounded uncertainties, propagate feasible ranges rather than claiming a probability distribution.

7. STRUCTURAL INVARIANTS
I01 Every amount has a quantity kind and subject or collection.
I02 Units and dimensions are compatible with the kind.
I03 Comparison requires compatible basis, boundary and reference conditions.
I04 Unknown and zero are distinct.
I05 Counts of actual finite sets are nonnegative integers.
I06 Negative physical stock is rejected unless the model explicitly represents a signed balance instead.
I07 Aggregation requires additivity and no double counting.
I08 Allocation preserves total within declared rounding tolerance.
I09 Rate integration requires compatible temporal units and coverage.
I10 Conservation applies only to declared conserved quantities and boundaries.
I11 Uncertainty and provenance survive conversion and aggregation.
I12 Revisions preserve historical versions and identify superseded assertions.

8. RECURSIVE VALIDATION
Let G_k be a versioned entity graph and ΔE_k new evidence. Generate candidate G* = REVISE(G_k, ΔE_k). Check schema, kind, units, boundaries, uncertainty, accounting consistency and evidence policy. Commit G* only when validation and authorisation succeed; otherwise retain G_k and record the conflict. Recompute dependent aggregates from their source records, not by repeatedly adding prior totals. Track visited version/content hashes to detect oscillation. Stop when no material change remains under declared tolerance, evidence is exhausted, or a configured iteration limit is reached. For numerical reconciliation, a fixed point F(A*)=A* indicates stability of the chosen update rule, not truth. Unresolved discrepancies remain explicit.

9. EVIDENCE AND PROVENANCE
Record source identifier, measurement method, instrument or counting rule, calibration, observation time, valid time, transaction time, unit, boundary, resolution, uncertainty and transformation lineage. Distinguish measured, calculated, estimated and asserted amounts. Confidence is not a probability unless calibrated. Preserve correlation when records share measurements. An absent observation cannot establish an empty stock. Report significant digits consistent with the measurement protocol. Document conversion factors and rounding decisions.

10. WORKED EXAMPLES (ILLUSTRATIVE)
E01 Inventory: 120 units received into a stock of 500 and 80 dispatched yields 540 units, assuming no other changes.
E02 Collection: two lists contain 40 and 30 distinct members respectively, with 10 shared; union count is 60, not 70.
E03 Engineering: 2 kg + 500 g = 2.5 kg after compatible conversion. Adding 2 kg to 500 mL is invalid without an explicit physical model.
E04 Chemistry: 6.02214076×10^23 specified molecules correspond to 1 mol. Mass requires the appropriate molar mass.
E05 Resource flow: a constant inflow of 3 L/min for 10 min accumulates 30 L, subject to the stated interval and flow assumptions.
E06 Allocation: 100 units divided with weights 0.2, 0.3, 0.5 produces 20, 30, 50 units. Total remains 100.
E07 Measurement: two independent masses each with standard uncertainty 0.1 kg have a sum uncertainty √0.02 kg ≈0.141 kg; shared calibration error would require covariance terms.

11. CROSS-ONTOLOGY INTEGRATION
Quantity Concept: supplies quantity kinds, dimensions and measurement semantics.
Quantity & Degree Concepts: parent classification and comparison framework.
Growth and Decline: positive and negative changes in compatible amounts over time.
Conversion: compatible units and representation transformations.
Temporal Context and Duration: stock reference times and accumulation intervals.
Boundary and Containment: define counted populations and physical accounting systems.
Engineering Data and Resource entities: evidence records and operational stock accounting.
Identity and Equivalence: distinguish entity identity from numerical equality.
Mappings are proposed conceptual links; canonical identifiers require verification against the published library.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 COUNT({a,b,c}) → 3.
T02 COUNT(empty set) → 0; missing set → unknown.
T03 NORMALISE(500 g, kg) → 0.5 kg.
T04 SUM(2 kg, 3 s) → incompatible kind error.
T05 Union of sets {a,b} and {b,c} → count 3.
T06 ALLOCATE(100,[0.2,0.3,0.5]) → [20,30,50].
T07 BALANCE(500,120,80,0,0) → 540.
T08 ACCUMULATE(3 L/min,10 min) → 30 L.
T09 Relative change from zero → undefined, not infinity by default.
T10 Negative actual cardinality → rejected.
T11 Sum of repeated observations of same stock → reject as double counting unless a distinct aggregation purpose is specified.
T12 Revision with incompatible unit → reject candidate, retain prior version and audit record.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Amount Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/quantity-degree-concepts/amount-ontology.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Published grammar, live source and exact licence terms have not been independently verified. Acceptance tests are specifications, not execution results.
END OF SPECIFICATION
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ