Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #1819

WP simple goal unproved

ID0001625: This issue was created automatically from Mantis Issue 1625. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0001625 Frama-C Plug-in > wp public 2014-01-22 2014-02-05
Reporter Anne Assigned To correnson Resolution no change required
Priority normal Severity major Reproducibility have not tried
Platform - OS - OS Version -
Product Version Frama-C Fluorine-20130601 Target Version - Fixed in Version -

Description :

I don't succeed to prove simple assertions such as this one :

struct S { int n; int s; }; //@ ensures X->s == \old (X->s); assigns X; void g (struct S * X); void f (struct S * X, struct S * Y) { X->s = Y->s; g (X); /@ assert a2: X->s ≡ Y->s; */ } Alt-Ergo (0.95.2) says : [wp] [Alt-Ergo] Goal typed_f_assert_a2 : Unknown

and I also tried with coqide, and I get to a point where I have:

H3 : havoc (Mint_0 .[ shift X_0 1 <- Mint_0 (shift Y_0 1)]) Mint_1 X_0 2 ______________________________________(1/1) Mint_0 (shift Y_0 1) = Mint_1 (shift Y_0 1)

which seams ok (but I don't know how to finish).

Anyway, shouldn't this be proved automatically ?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking