Skip to main content

Memory Device Ontology

Artificial Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 12 October 2026
Audio Overview
FLOW ALGEBRA
MEMORY DEVICE ONTOLOGY
Version: 1.0
Source: https://kirethresearch.org/booksai-core/entity-graph/physical-entities/artificial-entities/memory-device-ontology.html
Authors: Mark Anthony Higgins — Sky (Recursive AI)
Research: Kireth Semantic Research Archive
Generated: 2026-10-12

AI INTERPRETATION NOTE
The following specifications define a typed structural reasoning model for memory devices. Interpret the rules as formal constraints and inference relations. Hardware-specific parameters require verified evidence; unknown values remain unknown.

1. DOMAIN AND SIGNATURE
ontology MemoryDeviceOntology <: ArtificialEntityOntology
sort Entity, ArtificialEntity, PhysicalDevice, MemoryDevice, Component, Interface, Controller, MemoryCell, DataObject, Address, Operation, Technology, Metric, State, Evidence, Time
subsort MemoryDevice <: PhysicalDevice <: ArtificialEntity <: Entity
subsort MemoryCell <: Component
subsort Controller <: Component
predicate is_a(Entity, sort)
predicate part_of(Component, PhysicalDevice)
predicate uses_technology(MemoryDevice, Technology)
predicate supports(MemoryDevice, Operation)
predicate stores(MemoryDevice, DataObject)
predicate addressable_at(MemoryDevice, Address)
predicate connected_via(MemoryDevice, Interface)
predicate has_state(MemoryDevice, State, Time)
predicate evidenced_by(Entity, Evidence)

2. ENTITY TYPES
MemoryDevice := {device_id, technology, medium, capacity_bytes?, addressability?, volatile?, persistence?, interface?, read_latency?, write_latency?, bandwidth?, endurance?, error_rate?, power_profile?, provenance?}
Technology := {SRAM, DRAM, SDRAM, DDR, NAND_FLASH, NOR_FLASH, EEPROM, ROM, MRAM, PCM, OPTICAL, MAGNETIC, OTHER}
Operation := {READ, WRITE, ERASE, REFRESH, RETAIN, VERIFY, TRANSFER}
State := {READY, BUSY, IDLE, SLEEP, DEGRADED, FAILED, UNKNOWN}
Metric := {capacity_bytes, latency_seconds, bandwidth_bytes_per_second, endurance_cycles, bit_error_rate, power_watts, retention_seconds}

3. CLASSIFICATION RULES
forall d:MemoryDevice . uses_technology(d, DRAM) -> volatile(d, true)
forall d:MemoryDevice . uses_technology(d, SRAM) -> volatile(d, true)
forall d:MemoryDevice . uses_technology(d, NAND_FLASH) -> nonvolatile(d)
forall d:MemoryDevice . uses_technology(d, NOR_FLASH) -> nonvolatile(d)
forall d:MemoryDevice . uses_technology(d, ROM) -> nonvolatile(d)
forall d:MemoryDevice . nonvolatile(d) -> retains_without_power(d)
NOTE: Technology families indicate typical properties; device-specific evidence overrides generic defaults where justified.

4. STRUCTURAL RELATIONSHIPS
forall c:Component, d:MemoryDevice . part_of(c,d) -> component_of(c,d)
forall cell:MemoryCell, d:MemoryDevice . part_of(cell,d) -> has_memory_cell(d,cell)
forall ctrl:Controller, d:MemoryDevice . part_of(ctrl,d) -> controlled_by(d,ctrl)
forall d:MemoryDevice, i:Interface . connected_via(d,i) -> accessible_through(d,i)
Constraint: a component relationship alone does not imply physical addressability or read/write permission.

5. READ FLOW
flow ReadMemory(d:MemoryDevice, a:Address, requester:Entity) -> Result<DataObject, Error>
precondition: supports(d, READ) AND authorised(requester,d,READ) AND addressable_at(d,a)
step 1: validate_address(d,a)
step 2: check_state(d,{READY,IDLE})
step 3: issue_read(d,a)
step 4: apply_ecc_if_available(d)
step 5: verify_integrity_if_available(d)
postcondition success: returns(data) AND read_event(d,a,requester)
postcondition failure: returns(error) AND no_claim_of_verified_data

6. WRITE FLOW
flow WriteMemory(d:MemoryDevice, a:Address, payload:DataObject, requester:Entity) -> Result<Receipt, Error>
precondition: supports(d,WRITE) AND authorised(requester,d,WRITE) AND valid_payload(d,payload)
step 1: validate_address(d,a)
step 2: check_capacity_and_alignment(d,a,payload)
step 3: perform_required_erase_or_refresh_handling(d)
step 4: issue_write(d,a,payload)
step 5: verify_write_when_supported(d,a,payload)
postcondition success: recorded_write(d,a,payload) AND receipt_status(SUCCESS)
postcondition failure: receipt_status(FAILED_OR_UNVERIFIED)

7. RETENTION AND VOLATILITY
forall d . volatile(d,true) AND power_removed(d) -> retention_not_guaranteed(d)
forall d . nonvolatile(d) AND power_removed(d) -> persistence_expected(d)
NOT (persistence_expected(d) -> permanent_retention(d))
retention_risk(d) := f(technology(d), temperature(d), age(d), wear(d), storage_conditions(d))

8. PERFORMANCE AND CAPACITY
usable_capacity(d) <= nominal_capacity(d) WHEN both_known
transfer_time(d,n) >= n / effective_bandwidth(d) WHEN bandwidth_positive AND n>=0
observed_latency(d,op) := measured_elapsed_time(d,op)
throughput(d,interval) := completed_bytes(d,interval) / duration(interval) WHEN duration(interval)>0
No performance figure is inferred without a measurement, manufacturer specification, or justified model.

9. RELIABILITY AND ENDURANCE
wear_consumption(d,op) := technology_dependent_cost(d,op)
remaining_endurance(d) := estimated_endurance(d) - accumulated_wear(d) WHEN both_known
error_detected(d,x) AND correctable(d,x) -> correction_attempt(d,x)
error_detected(d,x) AND NOT correctable(d,x) -> integrity_alert(d,x)
Constraint: ECC support does not imply zero error probability.

10. MEMORY HIERARCHY
relation faster_than(MemoryDevice,MemoryDevice,Context)
relation lower_latency_than(MemoryDevice,MemoryDevice,Context)
relation higher_capacity_than(MemoryDevice,MemoryDevice,Context)
relation caches_for(MemoryDevice,MemoryDevice)
relation backs(MemoryDevice,MemoryDevice)
forall a,b,c . caches_for(a,b) AND backs(b,c) -> indirect_storage_path(a,c)
Constraint: hierarchy order is contextual, not a universal ranking across all technologies.

11. SEMANTIC EQUIVALENCE
semantic_equivalence(a,b,context) iff same_relevant_function(a,b,context) AND compatible_constraints(a,b,context)
NOT (same_technology(a,b) -> interchangeable(a,b))
semantic_difference(a,b) := compare(technology, volatility, interface, capacity, latency, endurance, reliability, security)

12. CONFIDENCE AND PROVENANCE
CONFIDENCE(assertion) in [0,1]
confidence_source(assertion) := {MEASURED, MANUFACTURER_SPEC, STANDARD, INFERRED, UNKNOWN}
rule measured_and_reproducible(x) -> evidence_strength(x,HIGH)
rule inferred_without_validation(x) -> evidence_strength(x,LOW)
rule conflicting_evidence(x) -> requires_review(x)
No numerical confidence is assigned without a calibrated method.

13. INFERENCE RULES
R1: memory_device(d) AND supports(d,READ) -> readable_capability(d)
R2: memory_device(d) AND supports(d,WRITE) -> writable_capability(d)
R3: nonvolatile(d) AND supports(d,WRITE) -> rewritable_nonvolatile_candidate(d)
R4: state(d,FAILED) -> unavailable_for_normal_operations(d)
R5: integrity_check_failed(d,x) -> do_not_assert_valid_data(x)
R6: insufficient_evidence(x) -> epistemic_status(x,UNKNOWN)

14. VALIDATION
validate(d):
  require unique(device_id(d))
  require capacity_bytes(d) >= 0 IF known
  require latency_seconds(d) >= 0 IF known
  require bandwidth_bytes_per_second(d) >= 0 IF known
  require bit_error_rate(d) in [0,1] IF known
  require source_traceability(d) FOR externally asserted specifications
  reject contradictory_volatility_assertions(d) UNLESS context_resolved

15. UPDATE MODEL
UPDATE_MODEL(event, d):
  ingest(event)
  verify_provenance(event)
  check_temporal_order(event)
  revise_device_state(d) IF validated(event)
  invalidate_dependent_inferences(d) IF relevant_change(event)
  preserve_version_history(d)
  recompute_confidence_for_affected_assertions(d)

16. FLOW HASH
FLOW_HASH := SHA256(canonical_serialisation(ontology_name, ontology_version, typed_signature, rules, flows, constraints))
Canonicalisation requirements: UTF-8, stable field order, normalised whitespace, explicit version.
Hash identifies the formal specification snapshot; it is not proof of hardware correctness.

17. AI CONSUMPTION
AI_CONSUMPTION:
  parse typed entities and relationships
  enforce preconditions and constraints
  distinguish observed facts from inferred properties
  preserve UNKNOWN values
  avoid asserting device-specific metrics without evidence
  use provenance and temporal versioning
  provide traceable inference paths
  return uncertainty where evidence is incomplete

18. OUTPUT CONTRACT
output := {entity_id, classification, relationships, capabilities, constraints, state, measurements, evidence, confidence, version, flow_hash}
Any unsupported property MUST be represented as UNKNOWN rather than fabricated.

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