Replies: 1 comment
-
|
and 18 months later I'm still going on this - I'd forgotten I'd even left this here. can't decide if I'm daft, or just bloody-minded. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@MikaelMayer and @kjx are both interested in Dafny vs Rust vs Ownership / Ownership types.
(along with a bunch of other people, including at least one paper at OOPSLA 2023).
The lemma I was proving was part of a Dafny model of somewhat Rust-style ownership.
(trying to be a lighter weigh alternative to things like Derek Dreyer's Coq model of Rust).
In particular, that lemma was proving that when you delete an "owner" such as a Rust
stack frame or non-borrowing variable - you can transitively delete everything "owned" by that owned.
I'm doing this in Dafny, rather than in the core of the translator, or just the "Rust Backend".
my main aim is to support various research projects I'm doing by modelling Rust or other semantics -
but I have slowly been realising that if one could bind such a semantic meta-model to "domain" objects in Dafny
then
Thus my interest in your type system model - although I haven't got on to working with that yet - just with heap invariants with an model of actual evaluation.
MPTP.pdf
learn.pdf
Rusty_Links_in_Local_Chains.pdf
Beta Was this translation helpful? Give feedback.
All reactions