Skip to content

Commit b3495c8

Browse files
committed
refactor: minor style adjustments
1 parent fcfb232 commit b3495c8

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

src/Mugen/Cat/HierarchyTheory/Traditional.agda

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ open import Order.Instances.Coproduct
77

88
open import Mugen.Prelude
99
open import Mugen.Algebra.Displacement
10-
open import Mugen.Order.Instances.LeftInvariantRightCentred
1110
open import Mugen.Order.StrictOrder
1211
open import Mugen.Cat.Instances.StrictOrders
1312
open import Mugen.Cat.HierarchyTheory

src/Mugen/Order/Instances/LeftInvariantRightCentred.agda

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,20 @@ module Mugen.Order.Instances.LeftInvariantRightCentred
1717
x ≤ y = ∥ x ≤' y ∥
1818

1919
private
20-
≤-thin : (x y : ⌞ A ⌟ × ⌞ B ⌟) is-prop (x ≤ y)
20+
≤-thin : x y is-prop (x ≤ y)
2121
≤-thin x y = squash
2222

23-
≤-refl : (x : ⌞ A ⌟ × ⌞ B ⌟) x ≤ x
23+
≤-refl : x x ≤ x
2424
≤-refl (a , b1) = pure $ biased refl B.≤-refl
2525

26-
≤-trans : (x y z : ⌞ A ⌟ × ⌞ B ⌟)
27-
x ≤ y
28-
y ≤ z
29-
x ≤ z
26+
≤-trans : x y z x ≤ y y ≤ z x ≤ z
3027
≤-trans x y z = ∥-∥-map₂ λ where
3128
(biased a1=a2 b1≤b2) (biased a2=a3 b2≤b3) biased (a1=a2 ∙ a2=a3) (B.≤-trans b1≤b2 b2≤b3)
3229
(biased a1=a2 b1≤b2) (centred a2≤a3 b2≤b b≤b3) centred (A.=+≤→≤ a1=a2 a2≤a3) (B.≤-trans b1≤b2 b2≤b) b≤b3
3330
(centred a1≤a2 b1≤b b≤b2) (biased a2=a3 b2≤b3) centred (A.≤+=→≤ a1≤a2 a2=a3) b1≤b (B.≤-trans b≤b2 b2≤b3)
3431
(centred a1≤a2 b1≤b b≤b2) (centred a2≤a3 b2≤b b≤b3) centred (A.≤-trans a1≤a2 a2≤a3) b1≤b b≤b3
3532

36-
≤-antisym : (x y : ⌞ A ⌟ × ⌞ B ⌟)
37-
x ≤ y
38-
y ≤ x
39-
x ≡ y
33+
≤-antisym : x y x ≤ y y ≤ x x ≡ y
4034
≤-antisym x y = ∥-∥-rec₂ (×-is-hlevel 2 A.Ob-is-set B.Ob-is-set _ _) λ where
4135
(biased a1=a2 b1≤b2) (biased a2=a1 b2≤b1)
4236
ap₂ _,_ a1=a2 (B.≤-antisym b1≤b2 b2≤b1)

0 commit comments

Comments
 (0)