Semantic Conflict Model for Collaborative Data Structures
Pith reviewed 2026-05-15 20:49 UTC · model grok-4.3
The pith
A semantic conflict model resolves operation conflicts locally by identifying dependencies and rebasing via three-way merge on a replicated journal.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The paper establishes a conflict model for collaborative data structures in which conflicts are identified by semantic dependencies between operations and resolved by rebasing conflicting operations onto a reconciling operation via a three-way merge over a replicated journal, with explicit formulations provided for a Last-Writer-Wins register and a multi-register entity that enables semi-automatic reconciliation.
What carries the argument
The semantic conflict model, which detects conflicts from semantic dependencies between operations and resolves them by rebasing onto a reconciling operation through three-way merge on a replicated journal.
If this is right
- Conflict resolution becomes explicit and visible to users instead of hidden inside opaque CRDT logic.
- Reconciliation can proceed entirely locally without any central coordinator.
- Standard registers such as Last-Writer-Wins receive an explicit formulation inside the model.
- Multi-register entities gain support for semi-automatic reconciliation driven by the same mechanism.
Where Pith is reading between the lines
- The same dependency-plus-rebase pattern could be applied to other replicated structures such as lists or trees once appropriate semantic relations are defined.
- The model offers a route to hybrid systems that combine CRDT convergence with selective user-guided merges.
- Audit logs of the replicated journal could be used to replay and customize past conflict resolutions.
Load-bearing premise
Semantic dependencies between operations can be identified locally and used to drive conflict resolution without central coordination.
What would settle it
A scenario in which two concurrent operations have a semantic dependency that cannot be determined from local information alone, so the three-way merge on the replicated journal produces an incorrect shared history.
Figures
read the original abstract
Digital collaboration systems support asynchronous work over replicated data, where conflicts arise when concurrent operations cannot be unambiguously integrated into a shared history. While Conflict-Free Replicated Data Types (CRDTs) ensure convergence through built-in conflict resolution, this resolution is typically implicit and opaque to users, whereas existing reconciliation techniques often rely on centralized coordination. This paper introduces a conflict model for collaborative data structures that enables explicit, local-first conflict resolution without central coordination. The model identifies conflicts using semantic dependencies between operations and resolves them by rebasing conflicting operations onto a reconciling operation via a three-way merge over a replicated journal. We demonstrate our approach on collaborative registers, including an explicit formulation of the Last-Writer-Wins Register and a multi-register entity supporting semi-automatic reconciliation.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces a semantic conflict model for collaborative data structures that identifies conflicts via semantic dependencies between operations and resolves them locally by rebasing conflicting operations onto a reconciling operation using a three-way merge over a replicated journal. It demonstrates the model on collaborative registers, including an explicit Last-Writer-Wins formulation and a multi-register entity with semi-automatic reconciliation.
Significance. If the model can be shown to guarantee convergence and local execution without hidden coordination, it would provide a useful explicit alternative to opaque CRDT resolution mechanisms for local-first systems. The register demonstration indicates the approach is at least compatible with simple replicated types, but broader significance hinges on formal verification and extension beyond the presented cases.
major comments (2)
- [Abstract] Abstract: the central claim that semantic dependencies can be identified locally to drive rebasing and three-way merge rests entirely on descriptive text; the manuscript supplies no formal definition of the dependency relation, no algorithm for local detection, and no proof of convergence or safety.
- [Abstract] Abstract: the demonstration on registers (including the LWW formulation) provides neither detailed pseudocode, machine-checked invariants, nor any empirical evaluation, leaving the practicality and correctness of the semi-automatic multi-register reconciliation unverified.
minor comments (1)
- The abstract would benefit from a concise statement of the model's scope (e.g., which data types are supported and which assumptions are required for local dependency identification).
Simulated Author's Rebuttal
We thank the referee for the detailed review and for identifying areas where greater formality and detail would strengthen the presentation of the semantic conflict model. We address each major comment below and commit to revisions that add the requested formal elements without altering the core claims or scope of the work.
read point-by-point responses
-
Referee: [Abstract] Abstract: the central claim that semantic dependencies can be identified locally to drive rebasing and three-way merge rests entirely on descriptive text; the manuscript supplies no formal definition of the dependency relation, no algorithm for local detection, and no proof of convergence or safety.
Authors: We agree that the current version relies on descriptive exposition in Sections 2 and 3. In the revision we will introduce a formal definition of the semantic dependency relation (as a partial order over operation metadata stored in the replicated journal), an explicit local detection algorithm that inspects only locally available operation logs, and a proof sketch establishing convergence and safety under the three-way merge semantics. These additions will appear in a new subsection of Section 3 and will be cross-referenced from the abstract. revision: yes
-
Referee: [Abstract] Abstract: the demonstration on registers (including the LWW formulation) provides neither detailed pseudocode, machine-checked invariants, nor any empirical evaluation, leaving the practicality and correctness of the semi-automatic multi-register reconciliation unverified.
Authors: The register examples in Section 4 are currently illustrative. We will add detailed pseudocode for the LWW register operations and the multi-register reconciliation procedure, together with machine-checked invariants (expressed in a lightweight TLA+ model) for the core safety properties. Because the paper's primary contribution is the conflict model rather than a performance study, we will not add new empirical benchmarks; instead we will include a brief discussion of implementation considerations and reference existing local-first systems that could serve as evaluation targets. These changes will be placed in an expanded Section 4. revision: partial
Circularity Check
No significant circularity identified
full rationale
The paper introduces a semantic conflict model defined directly in terms of identifying conflicts via semantic dependencies between operations and resolving them through rebasing onto a reconciling operation using three-way merge over a replicated journal. This is presented as an independent construction for collaborative data structures, demonstrated on registers including an explicit LWW formulation, without any equations, fitted parameters, self-citations, or uniqueness theorems that reduce the central claims back to their own inputs by construction. The model is scoped to local-first execution and semi-automatic reconciliation without hidden coordination requirements or renamings of prior results.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Operations carry identifiable semantic dependencies that determine when they conflict.
- domain assumption A three-way merge over a replicated journal can correctly rebase and reconcile conflicting operations.
Lean theorems connected to this paper
-
IndisputableMonolith/Foundation/AbsoluteFloorClosure.lean; IndisputableMonolith/Cost/FunctionalEquation.leanreality_from_one_distinction; washburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
The model identifies conflicts using semantic dependencies between operations and resolves them by rebasing conflicting operations onto a reconciling operation via a three-way merge over a replicated journal.
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
J. Aspnes and M. Herlihy. 1990. Wait-free data structures in the asyn- chronous PRAM model. InProceedings of the Second Annual ACM Symposium on Parallel Algorithms and Architectures(Island of Crete, Greece)(SPAA ’90). Association for Computing Machinery, New York, NY, USA, 340–349. doi:10.1145/97444.97701
-
[2]
Alexandru Baltag and Sonja Smets. 2008. A qualitative theory of dynamic interactive belief revision.Logic and the foundations of game and decision theory (LOFT 7)3 (2008), 9–58
work page 2008
-
[3]
Carlos Baquero, Paulo Sérgio Almeida, Alcino Cunha, Carla Ferreira, et al. 2017. Composition in state-based replicated data types.Bulletin of EATCS3, 123 (2017)
work page 2017
-
[4]
C. A. Ellis and S. J. Gibbs. 1989. Concurrency control in groupware systems.SIGMOD Rec.18, 2 (June 1989), 399–407. doi:10.1145/66926. 66963
-
[5]
Gowtham Kaki, Swarn Priya, KC Sivaramakrishnan, and Suresh Jagan- nathan. 2019. Mergeable replicated data types.Proc. ACM Program. Lang.3, OOPSLA, Article 154 (Oct. 2019), 29 pages. doi:10.1145/3360580
-
[6]
Martin Kleppmann, Adam Wiggins, Peter van Hardenberg, and Mark McGranaghan. 2019. Local-first software: you own your data, in spite of the cloud. InProceedings of the 2019 ACM SIGPLAN Inter- national Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software(Athens, Greece)(Onward! 2019). As- sociation for Computing Machinery, New ...
-
[7]
Petr Kuznetsov, Maxence Perion, and Sara Tucci-Piergiovanni
-
[8]
arXiv:2508.18193 [cs.DC]https://arxiv.org/abs/2508.18193
Wait-free Replicated Data Types and Fair Reconciliation. arXiv:2508.18193 [cs.DC]https://arxiv.org/abs/2508.18193
- [9]
- [10]
-
[11]
Nuno Preguiça, Marc Shapiro, and Caroline Matheson. 2003. Semantics- Based Reconciliation for Collaborative and Mobile Environments. In On The Move to Meaningful Internet Systems 2003: CoopIS, DOA, and ODBASE, Robert Meersman, Zahir Tari, and Douglas C. Schmidt (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 38–55
work page 2003
-
[12]
Yasushi Saito and Marc Shapiro. 2005. Optimistic replication.ACM Comput. Surv.37, 1 (March 2005), 42–81. doi:10.1145/1057977.1057980
-
[13]
Kjeld Schmidt and Liam Bannon. 1992. Taking CSCW seriously. Computer Supported Cooperative Work (CSCW)1, 1 (1992), 7–40. doi:10.1007/BF00752449
-
[14]
Vitaly Semenov. 2007. Semantics-based Reconciliation of Divergent Replicas in Advanced Concurrent Engineering Environments. InCom- plex Systems Concurrent Engineering, Geilson Loureiro and Richard Curran (Eds.). Springer London, London, 557–564
work page 2007
-
[15]
2011.A comprehensive study of Convergent and Commutative Repli- cated Data Types
Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski. 2011.A comprehensive study of Convergent and Commutative Repli- cated Data Types. Research Report RR-7506. Inria – Centre Paris- Rocquencourt ; INRIA. 50 pages.https://inria.hal.science/inria- 00555588
work page 2011
-
[16]
Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski
-
[17]
InSymposium on Self- Stabilizing Systems
Conflict-free replicated data types. InSymposium on Self- Stabilizing Systems. Springer, 386–400
-
[18]
Marc Shapiro, Antony Rowstron, and Anne-Marie Kermarrec. 2000. Application-independent reconciliation for nomadic applications. In Proceedings of the 9th Workshop on ACM SIGOPS European Workshop: Beyond the PC: New Challenges for the Operating System(Kolding, Denmark)(EW 9). Association for Computing Machinery, New York, NY, USA, 1–6. doi:10.1145/566726.566728
-
[19]
Chengzheng Sun, Xiaohua Jia, Yanchun Zhang, Yun Yang, and David Chen. 1998. Achieving convergence, causality preservation, and in- tention preservation in real-time cooperative editing systems.ACM Trans. Comput.-Hum. Interact.5, 1 (March 1998), 63–108. doi:10.1145/ 274444.274447
-
[20]
Robert H. Thomas. 1979. A Majority consensus approach to concur- rency control for multiple copy databases.ACM Trans. Database Syst. 4, 2 (June 1979), 180–209. doi:10.1145/320071.320076
-
[21]
Hans Van Ditmarsch, Wiebe van Der Hoek, and Barteld Kooi. 2008. Dynamic epistemic logic. Springer
work page 2008
-
[22]
Matthew Weidner, Heather Miller, and Christopher Meiklejohn. 2020. Composing and decomposing op-based CRDTs with semidirect prod- ucts.Proc. ACM Program. Lang.4, ICFP, Article 94 (Aug. 2020), 27 pages. doi:10.1145/3408976
-
[23]
W.E. Weihl. 1988. Commutativity-based concurrency control for abstract data types.IEEE Trans. Comput.37, 12 (1988), 1488–1505. doi:10.1109/12.9728 Received xx February 2026; revised xx March 2026; accepted xx April 2026
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.