JuliaReach / MathematicalSystems.jl

Systems definitions in Julia
https://juliareach.github.io/MathematicalSystems.jl/
Other
42 stars 6 forks source link

Extend map macro to constrained maps #198

Open schillic opened 4 years ago

schillic commented 4 years ago

@map can only read unconstrained maps so far. But we can read constraints in @system. It should be rather easy to share that code (I hope).

mforets commented 3 years ago

This is also a source of bugs, e.g. in the following code, the struct is built, but the guard is ignored (!):

julia> guard_1 = Universe(3);

julia> t1 = @map(h -> h, dim: 3, h ∈ guard_1)
IdentityMap(3)