English

Cartesian institutions with evidence: Data and system modelling with diagrammatic constraints and generalized sketches

Logic in Computer Science 2023-06-29 v1 Category Theory

Abstract

Data constraints are fundamental for practical data modelling, and a verifiable conformance of a data instance to a safety-critical constraint (satisfaction relation) is a corner-stone of safety assurance. Diagrammatic constraints are important as both a theoretical concepts and a practically convenient device. The paper shows that basic formal constraint management can well be developed within a finitely complete category (hence the reference to Cartesianity in the title). In the data modelling context, objects of such a category can be thought of as graphs, while their morphisms play two roles: of data instances and (when being additionally labelled) of constraints. Specifically, a generalized sketch SS consists of a graph GSG_S and a set of constraints CSC_S declared over GSG_S, and appears as a pattern for typical data schemas (in databases, XML, and UML class diagrams). Interoperability of data modelling frameworks (and tools based on them) very much depends on the laws regulating the transformation of satisfaction relations between data instances and schemas when the schema graph changes: then constraints are translated co- whereas instances contra-variantly. Investigation of this transformation pattern is the main mathematical subject of the paper

Keywords

Cite

@article{arxiv.2306.16284,
  title  = {Cartesian institutions with evidence: Data and system modelling with diagrammatic constraints and generalized sketches},
  author = {Zinovy Diskin},
  journal= {arXiv preprint arXiv:2306.16284},
  year   = {2023}
}

Comments

35 pages. The paper will be presented at the conference on Applied Category Theory, ACT'23