google / google/zerocopy

Aeneas is flaky wrt nested mutable references

Open
#3,227 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

See https://github.com/google/zerocopy/pull/3223.

This shows up in the `test_2_6_nested_refs` test case:

```rust
/// ```lean, hermes
/// proof (h_progress):
/// sorry
/// proof context:
/// have h_foo : True := True.intro
/// ```
pub fn nested(x: &&u32, y: &mut &u32, z: &&mut u32) {
let _ = **x;
let _ = **y;
let _ = **z;
}
```

Sometimes this succeeds. Sometimes Aeneas panics with an "unimplemented" error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.