Skip to main content

LTLf2DFA

ciaio

LTLf2DFA is a simple tool that processes an LTLf formula (with past or future operators) and generates the corresponding minimized DFA (Deterministic Finite state Automaton) using MONA. This tool is written in Python 3.6.

It is tested on Linux Ubuntu 16.04.

Getting Started

Requirements

This tool uses MONA for the generation of the DFA. Hence, you should first install all MONA dependencies following the instructions here.

This tool is also based on the following libraries:

You should install them apart from pyparsing, which is automatically installed by pydot

How To Use It

  • Download the LTLf2DFA.zip repository or clone it locally:
git clone https://github.com/Francesco17/LTLf2DFA.git
  • Unzip it
  • Enter the folder with the terminal and run the program
python3 main.py [-h] [-d] "formula"

Flags:

-h, --help     Show help message and exit
-d, --declare  Compute DECLARE assumption for the formula. -- OPTIONAL
  • You will get the DFA automaton in .dot format within the current folder.

Syntax

The syntax accepted by LTLf2DFA is the following:

OPERATOR SYMBOL
TRUE T
FALSE F
AND &
OR |
NOT ~
IMPLICATION ->
D-IMPLICATION <->
NEXT X
UNTIL U
EVENTUALLY E
GLOBALLY G
YESTERDAY (*) Y
SINCE (*) S
ONCE (*) O
GLOBALLY (*) H

(*) are PAST operators.

Also parentheses ( and ) can be used.

NOTE: LTLf2DFA accepts ONLY separated formulas, i.e. formulas that have only past, only future or none operators.

Author

Francesco Fuggitti

License

This project is licensed under the MIT License - see the LICENSE file for details

Contacts

If, for any reason, you are interested in feel free to contact me by email.

Metadata

Release files for ltlf2dfa 0.1.2.post0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ltlf2dfa 0.1.2.post0
File Size Uploaded Provenance Actions
ltlf2dfa-0.1.2.post0.tar.gz 7.6 kB Without provenance Details for ltlf2dfa-0.1.2.post0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ltlf2dfa 0.1.2.post0
File Interpreter ABI Platform Actions
ltlf2dfa-0.1.2.post0-py3-none-any.whl Python 3 none any Details for ltlf2dfa-0.1.2.post0-py3-none-any.whl

Total release size: 15.9 kB

Release files / ltlf2dfa-0.1.2.post0.tar.gz

Download URL ltlf2dfa-0.1.2.post0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8d8772690639055c0c71b279f442a5aafaf2beb3cc6f86d4bdfafa01a62c0e2d
BLAKE2b-256 checksum
How to use checksums
b6ca1389ad85ea08446bc2f6261f6fe827897eb8b12f566c582bca609f43a687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ltlf2dfa-0.1.2.post0-py3-none-any.whl

Download URL ltlf2dfa-0.1.2.post0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a9683e71ee8919e990b042da5d63821d557a0230ba6e5ed6bb7f5b104df5a42
BLAKE2b-256 checksum
How to use checksums
4503149ad1f28d82111e60f5605aa9850234a319ed142b9bd439d100350db311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ltlf2dfa 0.1.2.post0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page