Skip to content

Commit

Permalink
refactor: use the singleton poset from the upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Jun 14, 2024
1 parent f0c9ed2 commit 8e3e0c8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ open import Mugen.Cat.HierarchyTheory.McBride
open import Mugen.Order.StrictOrder
open import Mugen.Order.Instances.Endomorphism renaming (Endomorphism to Endomorphism-poset)
open import Mugen.Order.Instances.LeftInvariantRightCentered
open import Mugen.Order.Instances.Singleton

import Mugen.Order.Reasoning as Reasoning

Expand Down Expand Up @@ -55,7 +54,7 @@ module Mugen.Cat.HierarchyTheory.Universality.EndomorphismEmbedding

-- made public for the naturality proof in a different file
Δ⁺ : Poset o r
Δ⁺ = {o = o} {r = r} ⊎ᵖ (Δ ⊎ᵖ Δ)
Δ⁺ = 𝟙ᵖ {o = o} { = r} ⊎ᵖ (Δ ⊎ᵖ Δ)

private
H⟨Δ⁺⟩ : Poset o r
Expand Down Expand Up @@ -109,7 +108,7 @@ module Mugen.Cat.HierarchyTheory.Universality.EndomorphismEmbedding

pattern ι₀ α = inl α

ι₀-hom : Hom Δ⁺
ι₀-hom : Hom 𝟙ᵖ Δ⁺
ι₀-hom .hom = ι₀
ι₀-hom .pres-≤[]-equal α≤β = lift α≤β , λ _ refl

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ open import Mugen.Order.StrictOrder
open import Mugen.Order.Instances.Endomorphism renaming (Endomorphism to Endomorphism-poset)
open import Mugen.Order.Instances.LeftInvariantRightCentered
open import Mugen.Order.Instances.Lift
open import Mugen.Order.Instances.Singleton

import Mugen.Order.Reasoning as Reasoning

Expand Down
1 change: 0 additions & 1 deletion src/Mugen/Everything.agda
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ import Mugen.Order.Instances.Opposite
import Mugen.Order.Instances.Pointwise
import Mugen.Order.Instances.Prefix
import Mugen.Order.Instances.Product
import Mugen.Order.Instances.Singleton
import Mugen.Order.Instances.Support
import Mugen.Order.Lattice
import Mugen.Order.Reasoning
Expand Down
11 changes: 0 additions & 11 deletions src/Mugen/Order/Instances/Singleton.agda

This file was deleted.

0 comments on commit 8e3e0c8

Please sign in to comment.