Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions PORTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Some porting tasks will require other tasks as dependencies, the GitHub issues p
- [ ] `agree.v`
- [x] CMRA
- [x] Functors
- [ ] `auth.v`
- [ ] CMRA
- [ ] Updates
- [ ] Functors
- [x] `auth.v`
- [x] CMRA
- [x] Updates
- [x] Functors
- [ ] `big_op.v`
- TBD (Zongyuan?)
- [ ] `cmra.v`
Expand Down Expand Up @@ -54,10 +54,10 @@ Some porting tasks will require other tasks as dependencies, the GitHub issues p
- [ ] `functions.v` (nb. contained in `CMRA.lean`)
- [x] CMRA
- [ ] Updates
- [ ] `gmap.v` (nb. generalized in `Heap.lean`)
- [x] `gmap.v` (nb. generalized in `Heap.lean`)
- [x] CMRA
- [ ] Updates
- [ ] Functors
- [x] Functors
- [ ] `gmultiset.v`
- [ ] CMRA
- [ ] Updates
Expand Down Expand Up @@ -111,10 +111,10 @@ Some porting tasks will require other tasks as dependencies, the GitHub issues p
- [ ] `vector.v`
- [ ] CMRA
- [ ] Functors
- [ ] `view.v`
- [x] `view.v`
- [x] CMRA
- [x] Updates
- [ ] Functors
- [x] Functors
- [ ] `lib/dfrac_agree.v`
- [ ] Lemmas
- [ ] Updates
Expand All @@ -126,10 +126,10 @@ Some porting tasks will require other tasks as dependencies, the GitHub issues p
- [ ] Lemmas
- [ ] Updates
- [ ] Functors
- [ ] `lib/gmap_view.v` (nb. generalized in `HeapView.lean`)
- [x] `lib/gmap_view.v` (nb. generalized in `HeapView.lean`)
- [x] CMRA
- [x] Updates
- [ ] Functors
- [x] Functors
- [ ] `lib/gset_bij.v`
- [ ] `lib/mono_Z.v` (nb. generalize to `MonoNumbers.lean`)
- [ ] `lib/mono_list.v`
Expand Down
1 change: 1 addition & 0 deletions src/Iris/Algebra.lean
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ import Iris.Algebra.UPred
import Iris.Algebra.Heap
import Iris.Algebra.View
import Iris.Algebra.HeapView
import Iris.Algebra.Auth
6 changes: 3 additions & 3 deletions src/Iris/Algebra/Agree.lean
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/-
Copyright (c) 2025 Leo Stefanesco. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leo Stefanesco
Authors: Leo Stefanesco, Puming Liu
-/

import Iris.Algebra.CMRA
Expand Down Expand Up @@ -349,7 +349,7 @@ section agree_map

variable {α β} [OFE α] [OFE β] {f : α → β} [hne : OFE.NonExpansive f]

local instance : OFE.NonExpansive (Agree.map' f) where
instance : OFE.NonExpansive (Agree.map' f) where
ne := by
intro n x₁ x₂ h
simp only [Agree.map', Agree.dist_def, Agree.dist, List.mem_map, forall_exists_index, and_imp,
Expand Down Expand Up @@ -411,7 +411,7 @@ abbrev AgreeRF (F : COFE.OFunctorPre) : COFE.OFunctorPre :=

instance {F} [COFE.OFunctor F] : RFunctor (AgreeRF F) where
map f g := Agree.map (COFE.OFunctor.map f g)
map_ne.ne _ _ _ Hx _ _ Hy _ := Agree.map_ne <| COFE.OFunctor.map_ne.ne Hx Hy
map_ne.ne _ _ _ Hx _ _ Hy _ := Agree.map_ne <| COFE.OFunctor.map_ne.ne Hx Hy
map_id x := by
conv=> right; rw [<- (Agree.map_id x)]
exact (Agree.map_id x) ▸ Agree.agree_map_ext COFE.OFunctor.map_id
Expand Down
Loading