-
Couldn't load subscription status.
- Fork 259
Adds "pushforward" to Relation.Unary #2840
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
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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -202,7 +202,7 @@ Decidable P = ∀ x → Dec (P x) | |||||||||
| -- Operations on sets | ||||||||||
|
|
||||||||||
| infix 10 ⋃ ⋂ | ||||||||||
| infixr 9 _⊢_ | ||||||||||
| infixr 9 _⊢_ _⊣_ | ||||||||||
| infixr 8 _⇒_ | ||||||||||
| infixr 7 _∩_ | ||||||||||
| infixr 6 _∪_ | ||||||||||
|
|
@@ -266,6 +266,11 @@ P ⊥′ Q = P ∩ Q ⊆′ ∅ | |||||||||
| _⊢_ : (A → B) → Pred B ℓ → Pred A ℓ | ||||||||||
| f ⊢ P = λ x → P (f x) | ||||||||||
|
|
||||||||||
| -- Pushforward. | ||||||||||
|
|
||||||||||
| _⊣_ : (A → B) → Pred A ℓ → Pred B _ | ||||||||||
| f ⊣ P = λ b → ∃ λ a → f a ≡ b × P a | ||||||||||
|
Comment on lines
+271
to
+272
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. In a spirit of 'compromise', and taking @gallais 's nudge about relative position wrt the turnstile, suggest instead:
Suggested change
so that one can also then add (plus fixing up the fixity declarations! sigh...) ∀[_]⊢_ : (A → B) → Pred A ℓ → Pred B ℓ
∀[ f ]⊢ P = λ b → ∀ a → f a ≡ b → P aper Lawvere, and consider refinements of this in a setoidal context downstream? |
||||||||||
|
|
||||||||||
| ------------------------------------------------------------------------ | ||||||||||
| -- Predicate combinators | ||||||||||
|
|
||||||||||
|
|
||||||||||
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.
I think a certain amount of the discussion on the PR should go in comments here. At least that would give a hope of someone finding this via just plain 'grep'.