Menu

#20 Examplar Incorrectly Substituted For in VCs

open
Heather
Verifier (14)
5
2010-02-03
2010-02-03
H. Smith
No

It would seem that when a type's constraints make their way into VCs, the exemplar variable name is replaced with the name of the variable representing the object of that type in the OPERATION, not the PROCEDURE. For example:

Type Family X is modeled by B;
exemplar C;
constraints C = True;

Enhancement ...
Operation Foo(updates E : X);
end Enhancement;

Relization ...
Procedure Foo(updates R: X);
Confirm R = True;
end;
end Realization;

Will generate a VC like:

E = True
====>
R = True

Discussion


Log in to post a comment.