-
Notifications
You must be signed in to change notification settings - Fork 246
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
Why does equality of Function Setoids have cong baked in? #1467
Comments
Hi @TOTBWF, yup agreed these definitions are super-hard to work with. Because of that, we're in the process of trying to define a more useable function hierarchy (see
As of yet, we don't have either the construction of the function setoid or a dependant functions in the new function hierarchy. The former should probably live in |
Good to know about the imminent deprecation! I stumbled across this when I was doing some stuff in |
The main thing that's missing from the new |
Well the principled place would be |
Working on it. I'm first changing all of agda-categories to use the 'simpler' definition of |
Right now, we define function setoids as follows (taken from Function.Equality):
If we look at the definition of
_≈_
, we can see that it hascong
baked into it. This makes working with these equalities awkward, as you essentially perform a proof thatf ⟨$⟩ x ≈₂ g ⟨$⟩ x
, then perform acong
at the very end to get thatg ⟨$⟩ x ≈₂ g ⟨$⟩ y
. It seems like the following equivalent definition would be a bit easier to work with:Thoughts?
The text was updated successfully, but these errors were encountered: