Interval-order cycle collapse and Herlihy–Wing Theorem 1 (Locality) #
Algebraic interval-order acyclicity (acyclic_sup_of_isIntervalOrder), finite topological sort,
per-object operation lifting (liftOp), and Herlihy–Wing Theorem 1
(isLinearizable_iff_forall_obj, compositionality / locality of linearizability across typed
concurrent objects; [HW90], §3.1, Theorem 1, pp. 470–471; [SHP21],
§5.2, Theorem 5.1, pp. 7–9).
Main results #
Cslib.Distributed.ConcurrentObjects.History.prec_append_resp_iff: appending response events does not alter real-time precedence<_Hon operations completed inH ++ R.Cslib.Distributed.ConcurrentObjects.acyclic_sup_of_isIntervalOrder: algebraic interval-order cycle-collapse theorem showing the union of per-object strict orders with a compatible interval order isRelation.Acyclic.Cslib.Distributed.ConcurrentObjects.IsLinearizable.objSubhistory,Cslib.Distributed.ConcurrentObjects.isLinearizable_iff_forall_obj: Herlihy–Wing Theorem 1 (Locality) — a well-formed historyHis linearizable if and only if for every objectx, its object subhistoryHistory.objSubhistory H xis linearizable.
References #
Appending response events does not alter <_H on operations completed in H ++ R.
Interval-order acyclicity and finite topological sort #
Algebraic interval-order cycle collapse (core of [HW90], §3.1, Theorem 1,
p. 471): if rt is a Relation.IsIntervalOrder on α, loc only relates elements of the same
object (obj a = obj b), loc is a strict order (irreflexive and transitive), and rt restricted
to same-object pairs is contained in loc, then loc ⊔ rt is Relation.Acyclic.
Per-object operation lifting #
Herlihy–Wing Theorem 1 (Locality) #
Restricting a linearizable history H to any single object x preserves linearizability
("only if" direction of [HW90], §3.1, Theorem 1, p. 470; [SHP21], §5.2,
Theorem 5.1, p. 7).
Herlihy–Wing Theorem 1 (Locality / Compositionality of Linearizability)
([HW90], §3.1, Theorem 1, pp. 470–471; amended L2 proof of [SHP21],
§5.2, Theorem 5.1, pp. 7–9): a well-formed concurrent history H over typed objects Obj is
linearizable if and only if for every object x : Obj, its object subhistory
History.objSubhistory H x (H | x) is linearizable.