← All projects
Project record1 mention
Originally shared on Hacker News

Provably / Likely Correct Software

This project is software built so that the concept, data, and behavioral models are formal — using category theory, normal forms, and finite-state machines — without formal methods. The presentation layer is semi-formal via a design system with a closed API (tailor-made components without styling props), and the remaining hand-written code is tested with 100% code coverage. Models are created with visual diagram editors in a diagrams-as-code paradigm (similar to Stately.ai), with the data model generated, targeting code architecture and state management.

Last shared
01 / The problem

What it addresses

It solves two major developer pain points: code architecture and state management.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Provably / Likely Correct Software

    This project is software built so that the concept, data, and behavioral models are formal — using category theory, normal forms, and finite-state machines — without formal methods. The presentation layer is semi-formal via a design system with a closed API (tailor-made components without styling props), and the remaining hand-written code is tested with 100% code coverage. Models are created with visual diagram editors in a diagrams-as-code paradigm (similar to Stately.ai), with the data model generated, targeting code architecture and state management.

    Problem: It solves two major developer pain points: code architecture and state management.

    Posted by @csbartus · Original source ↗

    Source text · @csbartus · · Source ↗

    I'm about to finish my first provably / likely correct software. The concept, data, and behavioral models are all formal without using formal methods. Think category theory, normal forms and finite-state machines here. The presentation layer / the visual mapping model is semi-formal using design systems. Think here a usual component library / design system with a closed API, aka tailor made components without styling props. The rest, that small amount of hand-written code is tested with 100% code coverage. The concept and behavioral models are created with visual diagram editors, the data model is generated. Think Stately.ai here, and the diagrams-as-code paradigm.