Add lemmas used by RefinedRust
2 unresolved threads
2 unresolved threads
This MR adds lemmas that RefinedRust uses in its model of lifetime contexts.
Since the lifetime logic is now a separate opam package, this would allow us to use that package instead of maintaining a fork of lambda-rust.
Merge request reports
Activity
- Resolved by Lennard Gäher
117 118 lft_ctx ={E}=∗ 118 119 ∃ p : positive, let κ := positive_to_lft p in ⌜P p⌝ ∗ 119 120 (1).[κ] ∗ □ ((1).[κ] ={↑lftN ∪ userE}[userE]▷=∗ [†κ]). 121 Parameter lft_fresh_strong : ∀ κ κ', ∃ i : positive, ∀ m : positive, (i < m)%positive → (positive_to_lft m) ⊓ κ' ≠ κ. changed this line in version 3 of the diff
- Resolved by Lennard Gäher
mentioned in merge request stdpp!562 (merged)
118 118 lft_ctx ={E}=∗ 119 119 ∃ p : positive, let κ := positive_to_lft p in ⌜P p⌝ ∗ 120 120 (1).[κ] ∗ □ ((1).[κ] ={↑lftN ∪ userE}[userE]▷=∗ [†κ]). 121 Parameter lft_fresh_strong : ∀ κ κ', ∃ i : positive, ∀ m : positive, (i < m)%positive → (positive_to_lft m) ⊓ κ' ≠ κ. 121 (** Given two lifetimes [κ] and [κ'], find a lower bound on atomic lifetimes [m] 122 such that [m ⊓ κ'] is syntactically different from [κ]. 123 This is useful in conjunction with [lft_create_strong] to generate 124 fresh lifetimes when using lifetimes as keys to index into a map. *) 125 Parameter lft_fresh_strong : ∀ κ κ', ∃ i : positive, 126 ∀ m : positive, (i < m)%positive → (positive_to_lft m) ⊓ κ' ≠ κ. added 8 commits
-
4ec7f861...bd958899 - 6 commits from branch
master
- 588ebc4b - Add lemmas used by RefinedRust
- 590f19bb - adjust name + use new stdpp lemma
-
4ec7f861...bd958899 - 6 commits from branch
mentioned in commit 72a1c9c3
mentioned in merge request !39 (merged)
Please register or sign in to reply