Skip to content

Commit e37fe01

Browse files
committed
refactor: cosmetic, tighten imports
1 parent 56d0a74 commit e37fe01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Nat/Primality/Factorisation.agda

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ open import Data.List.Membership.Propositional.Properties using (∈-∃++)
2525
open import Data.List.Relation.Unary.All as All using (All; []; _∷_)
2626
open import Data.List.Relation.Unary.Any using (here; there)
2727
open import Data.List.Relation.Binary.Permutation.Propositional
28-
using (_↭_; prep; swap; ↭-reflexive; ↭-refl; ↭-trans; refl; module PermutationReasoning)
28+
using (_↭_; ↭-reflexive; ↭-refl; ↭-trans; module PermutationReasoning)
2929
open import Data.List.Relation.Binary.Permutation.Propositional.Properties
3030
using (All-resp-↭; shift)
3131
open import Data.Sum.Base using (inj₁; inj₂)
@@ -147,7 +147,7 @@ factorisationHasAllPrimeFactors {a ∷ as} {p} pPrime p∣aΠas (aPrime ∷ asPr
147147

148148
private
149149
factorisationUnique′ : (as bs : List ℕ) product as ≡ product bs All Prime as All Prime bs as ↭ bs
150-
factorisationUnique′ [] [] Πas≡Πbs asPrime bsPrime = refl
150+
factorisationUnique′ [] [] Πas≡Πbs asPrime bsPrime = ↭-refl
151151
factorisationUnique′ [] (b@(2+ _) ∷ bs) Πas≡Πbs prime[as] (_ ∷ prime[bs]) =
152152
contradiction Πas≡Πbs (<⇒≢ Πas<Πbs)
153153
where

0 commit comments

Comments
 (0)