Skip to content

Commit 1029995

Browse files
Fix breaking introduction of variable (agda#2774)
1 parent ba505b0 commit 1029995

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Algebra/Properties/Semiring/Primality.agda

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ open import Algebra.Properties.Semiring.Divisibility R
2222

2323
private
2424
variable
25-
x p : A
26-
25+
x : A
2726

2827
------------------------------------------------------------------------
2928
-- Re-export primality definitions
@@ -43,6 +42,6 @@ Coprime-sym coprime = flip coprime
4342
------------------------------------------------------------------------
4443
-- Properties of Irreducible
4544

46-
Irreducible⇒≉0 : 0# ≉ 1# Irreducible p p ≉ 0#
45+
Irreducible⇒≉0 : 0# ≉ 1# {p} Irreducible p p ≉ 0#
4746
Irreducible⇒≉0 0≉1 (mkIrred _ chooseInvertible) p≈0 =
4847
0∤1 0≉1 (reduce (chooseInvertible (trans p≈0 (sym (zeroˡ 0#)))))

0 commit comments

Comments
 (0)