Cohesive Systems logoCOHESIVE SYSTEMS

Search Cohesive Systems

Ready

Search Cohesive Systems

Find product pages, building blocks, technical articles, and graph definitions.

Enrichment and Order

Enrichment adds structure to relationships. Instead of merely asking whether a relationship exists, an enriched view asks what kind of value the relationship has: order, distance, cost, probability, time, authority, confidence, or information.

Lawvere distance is the motivating example: a metric space is a category whose relationships carry distances, with the triangle inequality as composition. The same pattern covers reachability, cost, capacity, reliability, and interval bounds.

The values of such relationships typically form a quantale: a complete lattice, whose join chooses the best of several alternatives, with a composition along paths that distributes over that choice. Distributivity is what makes best values over all paths well defined and computable, and it gives every relationship an implication, such as the budget remaining after one step toward a target.

When the values behave like truth values, enrichment is a generalized logic. Heyting algebras are the quantales whose composition is the meet. Their truth values are intuitionistic, so a relationship may be neither established nor refuted, and the Booleans are the classical special case. Heyting algebras of observable or monotone properties give relationships whose truth is partial or not yet determined, as with sheaves and with information that grows over time. Cost, probability, and languages are quantales that replace meet with addition, multiplication, or concatenation.

In many models, relationships are not just arrows. They carry operational and semantic measures:

  • Happens-before or version order.
  • Delivery ordering.
  • Latency or cost.
  • Trust or authority.
  • Consistency strength.
  • Probability or confidence.
  • Information refinement.
  • Failure or recovery scope.

Order is the most common enrichment in the Cohesive System Model. Versions, event schedules, workflow histories, broker partitions, and state histories all rely on explicit ordering spaces.

Enrichment helps ask:

  • Is this relation merely possible, or ordered, weighted, trusted, timed, or constrained?
  • What is the ordering or metric space?
  • Does the ordering compose across boundaries?
  • Are two paths equivalent, or is one more authoritative, cheaper, faster, newer, or more reliable?

Examples:

  • Ordering defines where events, commands, observations, or effects are sequenced.
  • Version enriches entity state observations with history position.
  • Delivery Semantics enrich interaction edges with guarantees.
  • Rate Limiting and retry policies enrich interactions with control behavior.