File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -345,28 +345,17 @@ partial maps.
345
345
> apply_empty = Refl
346
346
>
347
347
> update_eq : (update x v m) x = Just v
348
- > update_eq {x} {v} {m} =
349
- > rewrite t_update_eq {x} {v= Just v} {m} in
350
- > Refl
348
+ > update_eq {v} = t_update_eq {v= Just v}
351
349
>
352
350
> update_neq : Not (x2 = x1) -> (update x2 v m) x1 = m x1
353
- > update_neq {x1} {x2} {v} {m} neq =
354
- > rewrite t_update_neq neq {x1= x2} {x2= x1} {v= Just v} {m} in
355
- > Refl
351
+ > update_neq {x1} {x2} {v} = t_update_neq {x1= x2} {x2= x1} {v= Just v}
356
352
>
357
353
> update_shadow : update x v2 $ update x v1 m = update x v2 m
358
- > update_shadow {x} {v1} {v2} {m} =
359
- > rewrite t_update_shadow {x} {v1= Just v1} {v2= Just v2} {m} in
360
- > Refl
354
+ > update_shadow {v1} {v2} = t_update_shadow {v1= Just v1} {v2= Just v2}
361
355
>
362
356
> update_same : m x = Just v -> update x v m = m
363
- > update_same {x} {m} prf =
364
- > rewrite sym prf in
365
- > rewrite t_update_same {x} {m} in
366
- > Refl
357
+ > update_same prf = rewrite sym prf in t_update_same
367
358
>
368
359
> update_permute : Not (x2 = x1) -> update x1 v1 $ update x2 v2 m
369
360
> = update x2 v2 $ update x1 v1 m
370
- > update_permute {v1} {v2} {m} neq =
371
- > rewrite t_update_permute neq {v1= Just v1} {v2= Just v2} {m} in
372
- > Refl
361
+ > update_permute {v1} {v2} = t_update_permute {v1= Just v1} {v2= Just v2}
You can’t perform that action at this time.
0 commit comments