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

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
File Size Uploaded Provenance Actions
ltlf2dfa-0.1.2.tar.gz 7.6 kB Without provenance Details for ltlf2dfa-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 15.8 kB

Release files / ltlf2dfa-0.1.2.tar.gz

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

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

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

Security for ltlf2dfa 0.1.2

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