Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdemeo committed Apr 27, 2024
1 parent 1b29fc3 commit 5be3271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Axiom/Set/Map/Dec.agda
Expand Up @@ -70,7 +70,7 @@ module Lookupᵐᵈ (sp-∈ : spec-∈ A) where
(proj₂ $ proj₁ (∈-dom-∪⁺ p))
where
f : Σ A (λ a a ∈ dom (m ˢ) ∪ dom (m' ˢ)) A × V
f (a , a∈) = a , (fold id id __)(unionThese m m' a a∈)
f (a , a∈) = a , (fold id id __)(unionThese m m' a a∈)

∈-dom-∪⁺ : {a : A} (p : a ∈ dom ((m ∪⁺ m') ˢ))
∃[ c ] (a , proj₁ (to dom∈ p)) ≡ f c
Expand All @@ -82,7 +82,7 @@ module Lookupᵐᵈ (sp-∈ : spec-∈ A) where
dom-∪⊆∪⁺ {a} a∈ = from dom∈ (proj₂ (f (proj₁ c')) , to ∈-map ν)
where
f : Σ A (λ a a ∈ dom (m ˢ) ∪ dom (m' ˢ)) A × V
f (a , a∈) = a , (fold id id __)(unionThese m m' a a∈)
f (a , a∈) = a , (fold id id __)(unionThese m m' a a∈)

c' : ∃[ c ] ((a ≡ proj₁ c) × (c ∈ incl-set (dom (m ˢ) ∪ dom (m' ˢ))))
c' = from ∈-map (incl-set-proj₁⊇ a∈)
Expand Down

0 comments on commit 5be3271

Please sign in to comment.