sybila / biodivine-sketchbook

Biodivine SketchBook is a multi-platform application for designing and analysing large-scale logical models.
MIT License
0 stars 1 forks source link

Template static properties + consistency check #49

Closed ondrej33 closed 2 months ago

ondrej33 commented 2 months ago

This PR focuses on two (interconnected) things:

1) We added support for all remaining template static properties. Currently, all templates are encoded into FO logic and then evaluated via the FOL evaluator. There are new methods to encode monotonicity (including the 'dual' case) and essentiality, as well as to encode that a property must be valid in a particular context.

2) We fully implemented the consistency checking. The check is now implicitly done whenever starting the inference workflow, as well as explicitly via a button. It now properly checks whether all IDs referenced in properties are valid, checks if dataset variables are valid, and checks all details regarding FOL and HCTL formulas (including context formulas of static properties).

Furthermore: