Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
Soupstraw committed Mar 22, 2023
1 parent f269d7a commit c1b932c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Axiom/Set.agda
Expand Up @@ -198,7 +198,7 @@ record Theory {ℓ} : Type (sucˡ ℓ) where
from' (x , x∈X , refl) | just x₁ | [ eq ] = to ∈-unions
( maybe ❴_❵ ∅ (f x)
, to ∈-map (x , refl , x∈X)
, subst (λ z x₁ ∈ maybe ❴_❵ ∅ z) (sym eq) (from ∈-singleton refl))
, subst (λ z x₁ ∈ maybe ❴_❵ ∅ z) (sym eq) (to ∈-singleton refl))

binary-unions : ∃[ Y ] {a} (a ∈ X ⊎ a ∈ X') ⇔ a ∈ Y
binary-unions {X = X} {X'} with unions (fromList (X ∷ [ X' ]))
Expand Down
2 changes: 1 addition & 1 deletion src/Axiom/Set/Map/Dec.agda
Expand Up @@ -3,7 +3,7 @@ open import Axiom.Set

module Axiom.Set.Map.Dec (thᵈ : Theoryᵈ) where

open import Algebra.Bundles
open import Algebra
open import Agda.Primitive renaming (Set to Type)
open import Data.These
open import Interface.DecEq
Expand Down
8 changes: 5 additions & 3 deletions src/Ledger/Deleg.lagda
Expand Up @@ -5,15 +5,17 @@

open import Ledger.Prelude
open import Ledger.Epoch
open import Ledger.Crypto

module Ledger.Deleg
(Network KeyHash ScriptHash : Set)
(crypto : Crypto)
(Network : Set)
(epochStructure : EpochStructure)
⦃ _ : DecEq Network ⦄
⦃ _ : DecEq KeyHash ⦄
⦃ _ : DecEq ScriptHash ⦄
where

open Crypto crypto

open import Agda.Primitive renaming (Set to Type)

open import Ledger.Address Network KeyHash ScriptHash
Expand Down

0 comments on commit c1b932c

Please sign in to comment.