Comments (6)
The problem occurs only when running itstools from the inside of Eclipse (macOS version).
Re-executing in the terminal the same command that appears on the console:
"Eclipse.app/Contents/Eclipse/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201806011319/bin/its-lts-Darwin -i new_file.gal -t CGAL ... ... " produces the normally expected results !!!
from itstools.
The problems is caused by the fact that the original source model:
gal model{
int AA = 0;
int BB = 0;
transition aabb [ AA < 6 ] {
AA = ( AA + 2 ) ;
BB = AA ;
}
}
main model;
is wrongly (?!?!) traslated by eclipse inside the private "work" directory as:
gal model_flat{
int AA = 0;
int BB = 0;
transition aabb [ AA< 6 ] {
AA = ( AA + 2 ) ;
BB = ( AA + 2 ) ;
}
}
main model_flat ;
from itstools.
Hi,
Sorry this looks like a bug or regression in the toolchain. I'll track the problem and patch it tomorrow. I'll post here when it's fixed.
from itstools.
ok I've tracked it down,
ITSTools/fr.lip6.move.gal/src/fr/lip6/move/gal/support/SupportAnalyzer.java
Lines 278 to 290 in 3beb301
this rewriting is missing on the fact that "x" depends on A.
from itstools.
so line 286 should read : x is arbitrary but depends neither on A nor on B.
from itstools.
So this should fix your problem if you update to the latest version (help-> check for updates) .
Thank you for reporting this problem in such audible fashion, please ask if you find any other issues or have feature requests/workflows that could be improved. LTL counter-examples are pretty tricky to interpret right now for instance.
As a side note, you might like to use : Ctrl-Shift-F shortcut to "Source->Format" to indent your gal files (it's not perfect but it's decent).
from itstools.
Related Issues (15)
- Extend flags that can be passed to ITS model check HOT 2
- Archive versions of the update site / release HOT 3
- urgent channels in XTA HOT 2
- Promela to GAL transformation error HOT 2
- System invariants in GAL HOT 10
- Derived state variables HOT 11
- Unexpected error when asking for witness on its-ctl CTL HOT 3
- Run as its -model-check only runs one of ltl, reachability or CTL HOT 1
- Chain transformations
- specify target properties separately from model
- limited quantifiers in properties HOT 3
- bug during simplification with nested arrayRefs HOT 1
- missing dynamic library when installing its-reach on a fresh linux HOT 5
- NPE whe trying to run its reach or flatten HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itstools.