Grounded Language Design for Lightweight Diagramming for Formal Methods

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Prasad, Siddhartha, Greenman, Ben, Nelson, Tim, Krishnamurthi, Shriram
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912143791620096
author Prasad, Siddhartha
Greenman, Ben
Nelson, Tim
Krishnamurthi, Shriram
author_facet Prasad, Siddhartha
Greenman, Ben
Nelson, Tim
Krishnamurthi, Shriram
contents Model finding, as embodied by SAT solvers and similar tools, is used widely, both in embedding settings and as a tool in its own right. For instance, tools like Alloy target SAT to enable users to incrementally define, explore, verify, and diagnose sophisticated specifications for a large number of complex systems. These tools critically include a visualizer that lets users graphically explore these generated models. As we show, however, default visualizers, which know nothing about the domain, are unhelpful and even actively violate presentational and cognitive principles. At the other extreme, full-blown visualizations require significant effort as well as knowledge a specifier might not possess; they can also exhibit bad failure modes (including silent failure). Instead, we need a language to capture essential domain information for lightweight diagramming. We ground our language design in both the cognitive science literature on diagrams and on a large number of example custom visualizations. This identifies the key elements of lightweight diagrams. We distill these into a small set of orthogonal primitives. We extend an Alloy-like tool to support these primitives. We evaluate the effectiveness of the produced diagrams, finding them good for reasoning. We then compare this against many other drawing languages and tools to show that this work defines a new niche that is lightweight, effective, and driven by sound principles.
format Preprint
id arxiv_https___arxiv_org_abs_2412_03310
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Grounded Language Design for Lightweight Diagramming for Formal Methods
Prasad, Siddhartha
Greenman, Ben
Nelson, Tim
Krishnamurthi, Shriram
Computation and Language
Programming Languages
D.3.1; D.2.4; D.3.2
Model finding, as embodied by SAT solvers and similar tools, is used widely, both in embedding settings and as a tool in its own right. For instance, tools like Alloy target SAT to enable users to incrementally define, explore, verify, and diagnose sophisticated specifications for a large number of complex systems. These tools critically include a visualizer that lets users graphically explore these generated models. As we show, however, default visualizers, which know nothing about the domain, are unhelpful and even actively violate presentational and cognitive principles. At the other extreme, full-blown visualizations require significant effort as well as knowledge a specifier might not possess; they can also exhibit bad failure modes (including silent failure). Instead, we need a language to capture essential domain information for lightweight diagramming. We ground our language design in both the cognitive science literature on diagrams and on a large number of example custom visualizations. This identifies the key elements of lightweight diagrams. We distill these into a small set of orthogonal primitives. We extend an Alloy-like tool to support these primitives. We evaluate the effectiveness of the produced diagrams, finding them good for reasoning. We then compare this against many other drawing languages and tools to show that this work defines a new niche that is lightweight, effective, and driven by sound principles.
title Grounded Language Design for Lightweight Diagramming for Formal Methods
topic Computation and Language
Programming Languages
D.3.1; D.2.4; D.3.2
url https://arxiv.org/abs/2412.03310