Skip to content

Commit 9b5d4b6

Browse files
fix build
1 parent 86bcb18 commit 9b5d4b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Iris/Algebra/View.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ instance : CMRA (View F R) where
224224
have g_pcore_0 {y : View F R} : CMRA.pcore (g y) ≡ g <$> pcore y := by
225225
rcases y with ⟨x, b⟩
226226
simp only [pcore, Option.map_eq_map, Option.map, g]
227-
simp [CMRA.pcore, prod.pcore, optionCore]
227+
simp [CMRA.pcore, Prod.pcore, optionCore]
228228
simp [CMRA.pcore_eq_core]
229229
rfl
230230

@@ -235,7 +235,7 @@ instance : CMRA (View F R) where
235235
exact ⟨fun H n => H n, fun H n => H n⟩
236236

237237
have g_opM_f {x y} : g (opM' y (f x)) ≡ CMRA.op (g y) x := by
238-
simp [opM', g, f, CMRA.op, prod.op]
238+
simp [opM', g, f, CMRA.op, Prod.op]
239239

240240
rintro y1 cy y2 ⟨z, Hy2⟩ Hy1
241241
let Lcore := (@CMRA.pcore_mono' _ _ (g y1) (g y2) (g cy) ?G1 ?G2)
@@ -255,7 +255,7 @@ instance : CMRA (View F R) where
255255
let g : View F R → (Option ((DFrac F) × Agree A) × B) := fun x => (x.1, x.2)
256256
have H2 := @CMRA.extend _ _ n (g x) (g y1) (g y2) ?G1 He
257257
case G1 =>
258-
simp_all [validN, CMRA.ValidN, prod.ValidN, g, optionValidN]
258+
simp_all [validN, CMRA.ValidN, Prod.ValidN, g, optionValidN]
259259
rcases x with ⟨_|⟨q1, ag1⟩, b1⟩ <;> simp_all only
260260
· refine ⟨trivial, ?_⟩
261261
rcases Hv with ⟨_, Ha⟩
@@ -360,7 +360,7 @@ theorem view_auth_dfrac_op_validN :
360360
apply CMRA.op_commN.trans
361361
apply (CMRA.op_ne.ne (toAgree.ne.ne Ha')).trans
362362
apply Agree.idemp
363-
· simp [CMRA.op, CMRA.ValidN, validN, optionOp, prod.op]
363+
· simp [CMRA.op, CMRA.ValidN, validN, optionOp, Prod.op]
364364
refine ⟨H.1, a1, ?_, ?_⟩
365365
· exact (CMRA.op_ne.ne <| toAgree.ne.ne H.2.1.symm).trans Agree.idemp.dist
366366
· refine ViewRel.mono H.2.2 .rfl ?_ n.le_refl

0 commit comments

Comments
 (0)