S++Core systems, human-reviewable
ENGLISH EDITION · OCTOBER 15, 2026
ContentsComplete book

Chapter 2 — Service Equals Participants Multiplied by Behavior

© 2026 S++ project contributors. All rights reserved. Book copyright.

A transfer behavior cannot identify a payment without a source, destination and agreed terms. Two accounts, conversely, do not move money merely by existing. A business result depends on both the participating capacities and the behavior applied to them.

The Service Model

The conceptual expression is:

B = p × b
B: business activity or result
p: participant (or structured combination of participants)
b: behavior applied in their business capacities

The word service in the familiar phrase “service = participants × behavior” denotes a complete business activity. In SPP's language model, an atomic service has one defined responsibility, while a scenario composes services and participants toward the complete objective. These are different levels of description.

The multiplication sign expresses joint contribution to a business result, not the numerical product of a database object and a function. Its important consequence is that a behavior cannot be interpreted independently of participant roles and their contracts. Payment, refund and wallet funding may share a transfer mechanism but have different sources, destinations, permissions and business meanings.

Contribution, Decomposition and Composition

A complex activity can be analyzed into smaller responsibilities:

Purchase = eligibility + quotation + inventory commitment + order formation

This is a decomposition of responsibilities, not an arithmetic equality of money or inventory. A scenario can compose the corresponding services, preserve dependencies and define the common completion result.

For a fixed participant context and a composition operator that preserves the behavior's meaning, one may express a distributive modeling rule:

p × (b1 ⊕ b2) ≡ (p × b1) ⊕ (p × b2)

Here ⊕ means a specified composition of compatible activities and ≡ means equivalence of the intended business result. This is conditional: the component behaviors must have well-defined roles, contracts, ordering and failure semantics; neither the algebraic notation nor S++ syntax alone proves arbitrary distribution or reordering. Appendix A develops the formal assumptions.

The Boundary Between Service and Scenario

For payment, querying payer facts, validating eligibility, calculating the amount and transferring funds are separate responsibilities. A scenario binds them to the order and payment agreement, establishes the transaction boundary and determines whether the entire payment completed.

This separation lets a service remain precise without pretending it alone represents the complete business. Chapters 4–7 define the atomic categories and their guarantees.


Part Contents · Full Book Contents · Previous Chapter · Next Chapter