Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthur-milchior/regaut
An algorithm that decide if a finite deterministic automaton accepts a set definable in FO[<,mod]
https://github.com/arthur-milchior/regaut
Last synced: about 1 month ago
JSON representation
An algorithm that decide if a finite deterministic automaton accepts a set definable in FO[<,mod]
- Host: GitHub
- URL: https://github.com/arthur-milchior/regaut
- Owner: Arthur-Milchior
- Created: 2014-09-16T16:04:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-07-23T00:56:38.000Z (over 5 years ago)
- Last Synced: 2024-05-21T08:31:49.786Z (6 months ago)
- Language: OCaml
- Size: 75.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
This program has been written by Arthur Milchior as part of his Computer Science PhD at University Paris Diderot.
It can be compiled with
ocamlbuild main.nativeThe program can run in two modes
In the mode input (default), the program reads a file (by default the file is ./input, it can otherwise be changed with the command line argument «-input Input_File»), containing automata. The EBNF of this file is given in automaton.ebnf
the program print "Name of the automaton:OK: a formula defining the set accepted by the state" if the automaton accepts a state definable in the logic, or
"name of the automaton: its description: the property it does not satisfy" otherwiseNote that only the program currently considers only automata reading
set of non-negative integers. The options -none, -quantifier-free and -existential selects whether our algorithm generate no formula, quantifier-free formulas(takes exponential-time), or existential formulas(takes polynomial-time).In the mode random, selected by the option -random, 1 (or the argument given after the option -number) formulas F of length 10 (or the argument given after the option -size) in dimension 2 (or the argument given after the option -dimension) and base 4 (or the argument given after the option -base). The minimal automaton A accepting the set defined by F is then computed using Büchi-Bruyère algorithm. Our algorithm is then applied to A. The computation time of our algorithm is then appended to formula.dat (this file must already exists)