Skip to content

axiomatic blocks as namepaces #39

Description

@jensgerlach

I think an axiomatic block should declare a separate namespace.
Instead of

/*@ axiomatic sign {
   @  logic integer get_sign(real x);  								 									 										    
   @  axiom sign_pos: \forall real x; x >= 0. ==> get_sign(x) == 1;  									 									 										
   @  axiom sign_neg: \forall real x; x <= 0. ==> get_sign(x) == -1; 
   @}
@*/

one could then omit the sign_ prefix for the individual axioms.

/*@ axiomatic sign {
   @  logic integer get_sign(real x);  								 									 										    
   @  axiom pos: \forall real x; x >= 0. ==> get_sign(x) == 1;  									 									 										
   @  axiom neg: \forall real x; x <= 0. ==> get_sign(x) == -1; 
   @}
@*/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions