-
Couldn't load subscription status.
- Fork 259
[ fix ] Relation.Nullary.Decidable.Core names for combinators
#2843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
e0bf280
0786e8f
880eeaa
da62f21
ddd2669
5346ec9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ open import Data.Sum.Base using (inj₁; inj₂) | |
| open import Level using (Level; _⊔_; 0ℓ) | ||
| open import Function.Base using (id) | ||
| open import Function.Bundles using (Inverse) | ||
| open import Relation.Nullary.Decidable using (_×-dec_) | ||
| open import Relation.Nullary.Decidable using (_×?_) | ||
| open import Relation.Binary.Core using (REL; Rel; _⇒_) | ||
| open import Relation.Binary.Bundles | ||
| using (Setoid; DecSetoid; Preorder; Poset; StrictPartialOrder) | ||
|
|
@@ -88,7 +88,7 @@ Pointwise R S (a , c) (b , d) = (R a b) × (S c d) | |
| ... | inj₂ y₁∼x₁ | inj₁ x₂∼y₂ = inj₁ (sym₁ y₁∼x₁ , x₂∼y₂) | ||
|
|
||
| ×-decidable : Decidable R → Decidable S → Decidable (Pointwise R S) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this be called There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Arguably! But see |
||
| ×-decidable _≟₁_ _≟₂_ (x₁ , x₂) (y₁ , y₂) = (x₁ ≟₁ y₁) ×-dec (x₂ ≟₂ y₂) | ||
| ×-decidable _≟₁_ _≟₂_ (x₁ , x₂) (y₁ , y₂) = (x₁ ≟₁ y₁) ×? (x₂ ≟₂ y₂) | ||
|
|
||
| ------------------------------------------------------------------------ | ||
| -- Structures can also be combined. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be called
<ₗₑₓ??There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.