quint-modeling

Construct formal specifications for distributed systems using the Quint language.

1.6k|138|Updated May 28, 2021
One-click install
npx skills add https://github.com/quint-co/quint --skill quint-modeling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quint-modeling
Source: https://github.com/quint-co/quint/tree/main/skills/quint-modeling
Command: npx skills add https://github.com/quint-co/quint --skill quint-modeling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires quint, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps users build formal specifications for distributed systems, protocols, and algorithms using the Quint language, enabling precise modeling, verification, and validation.

Core Features & Use Cases

  • Modeling Support: Offers guidelines for modeling different types of systems, including those based on ideas, requirements documents, source code, or existing TLA+ specifications.
  • Shared Modelling Spine: Provides a structured approach to modeling distributed systems, emphasizing executable specifications and separating concerns like state, logic, and properties.
  • Verification: Includes steps for verifying specifications through typechecking and runtime simulation.

Quick Start

Generate a Quint specification for a blockchain protocol by following the guidelines in the guidelines/from-code.md file.

Frequently Asked Questions about quint-modeling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build formal specifications for distributed systems?

You can build formal specifications for distributed systems using the Quint language to model protocols and algorithms. The Skill provides a structured modeling approach that separates state, logic, and properties for precise verification.

Can I convert existing TLA+ specifications into Quint?

Yes, you can model Quint specifications from existing TLA+ specifications. The Skill includes guidelines for translating and reconstructing your current formal models into the Quint language.

What is the best way to model a blockchain protocol from source code?

To model a blockchain protocol from source code, follow the guidelines in the Skill's from-code reference. This approach helps you extract executable specifications and verify them through typechecking and runtime simulation.

Do I need to know the Quint language to model distributed protocols?

Yes, you need Quint language knowledge and familiarity with distributed systems concepts. The Skill constructs specifications from scratch or requirements but requires you to understand Quint syntax and formal verification principles.

How are Quint specifications verified after modeling?

Quint specifications are verified through typechecking and runtime simulation. The Skill's shared modeling spine ensures your executable specifications are structured correctly to support these validation steps.

Quint vs other formal verification tools for distributed systems?

Quint focuses on constructing executable specifications for distributed systems with a structured approach separating state, logic, and properties. It supports modeling from requirements, code, or existing TLA+ specifications for verification.