Comments (4)
Hi Scott,
in the test file you're using the partial correctness Hoare triples that assume guards and asserts (which pointer validity is translated to).
To get the ones you want, you'd either prove "no_fail P f" independently, or you'd use the total correctness triples (validNF, i.e. the "<lbrace> .. <rbrace> f <lambda> .. <rbrace>!" syntax -- note the "!" at the end).
Cheers,
Gerwin
from l4v.
Just to explain why this strange division (we recently had a discussion about this internally as well): in our refinement proofs, no_fail is implied by the refinement we're proving, so it'd be wasted effort to prove it twice -- that's why there is a version of Hoare triples that assume them instead of asserting them, and it's also the reason that version is the default syntax.
from l4v.
from l4v.
Excellent explanations from both of you. This fully explains the behavior I was witnessing. Thanks!
Scott
from l4v.
Related Issues (20)
- check scheduled workflow runs HOT 2
- sel4 verification HOT 3
- rename `kernel_base` to `pptrBase`
- restyle Platform.thy for all architectures
- Questions about the autocorres tool HOT 4
- Problems with the autocorres tool HOT 1
- Move lemmas to CParser
- Investigate greater use of heap projections in `Invariants_H.thy`
- simpler `corres` and `corressimp` methods HOT 10
- investigate parallelising the haskell translator
- does `ccorres` need a `corres_cases` equivalent?
- should `corres_cases` also do case distinction on `if`?
- Cannot load theory file "l4v/proof/crefine/autocorres-test/Refine_C.thy" HOT 4
- Investigate adding `projectKOs` to the simp set HOT 1
- Remove instances of `UNIV <\inter>` from CRefine
- Cleanup CRefine Wellformed_C
- Cleanup post-x64 comments
- Document mysterious useful comments for ctac and ceqv
- SIMPL: don't print `_'proc`
- CI artifact upload uses clashing artifact names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from l4v.