Extend Mata with counter automata support#548
Extend Mata with counter automata support#548hiraethese wants to merge 84 commits intoVeriFIT:develfrom
Conversation
…an add the cntnfa tests
…tnfa tests integration
…rations for the better tests
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## devel #548 +/- ##
==========================================
- Coverage 75.88% 71.04% -4.84%
==========================================
Files 43 61 +18
Lines 6476 9253 +2777
Branches 1437 2074 +637
==========================================
+ Hits 4914 6574 +1660
- Misses 1031 1918 +887
- Partials 531 761 +230 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The naming convention should be changed, especially in the |
|
I agree that the naming needs to change. Primarily, Since the type of the automaton will be used repeatedly, I would opt for as the shortest name as possible. Maybe |
There was a problem hiding this comment.
This file should be removed.
This PR extends the Mata automata library with support for GCFAs, a generalization of NFAs that includes counter guards/updates on transitions. It introduces efficient data structures, polymorphic annotation handling, and a LISP-like format for specifying automata. Core operations such as union, intersection, and membership testing are implemented for GCFAs. Benchmarks show improved performance and reduced state explosion compared to standard NFAs. This lays the foundation for advanced applications like integration with the Z3-Noodler string solver.