You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@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