bugBRILLANT - Bugs: bug #17668, B' : VAR ... IN ... END prooving...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #17668: B' : VAR ... IN ... END prooving or typing

Submitted by:  Georges Mariano <gmariano>
Submitted on:  Mon Feb 7 20:57:03 2011  
Category: DevelopmentModule: BiCoax
Priority: 1 - LaterSeverity: 1 - Wish
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Mon Feb 7 22:09:46 2011, comment #1:

This is indeed a problem that shall be solved by the btyper.

In the interest of discussion though, such a change would impose studying similar changes for other high-level substitutions such as LET or operations out parameters (e.g. in an operation definition, x <-- op(y), y is typed through the precondition but x is not, very much like the example you describe).

Samuel Colin <scolin>
Project Administrator
Mon Feb 7 20:57:03 2011, original submission:

For now, bicoax cannot be used to prove VAR IN substitutions.
The syntax
VAR v1,v2 IN v1 <-- ... ; v2 <-- ... END

leads to (bicoax)
forall _v1 _v2 ... without correct typing (since there is no typing step in bicoax process)

in the B' 'spirit', it woul be nice to write :

VAR v1 : NAT & v2 : NAT IN ... END

i.e with explicit typing of local variables, which is in the spirit of rigorous languages like ADA...

Georges Mariano <gmariano>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by scolin (Posted a comment)
  • -unavailable- added by gmariano (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Feb 7 22:09:46 2011scolinPriority5 - Normal=>1 - Later
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup