-
Notifications
You must be signed in to change notification settings - Fork 259
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
feat: add APIs about Quotient.choice
#5995
base: master
Are you sure you want to change the base?
Conversation
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.
This looks reasonable, but I know there was some previous discussion involving @eric-wieser. What's the situation here?
noncomputable def Quotient.choice {ι : Type*} {α : ι → Type*} [S : ∀ i, Setoid (α i)] | ||
/-- Given a class of functions `q : @Quotient (∀ i, α i) _`, returns the class of `i`-th projection | ||
`Quotient (S i)`. -/ | ||
def Quotient.proj {ι : Sort*} {α : ι → Sort*} [S : ∀ i, Setoid (α i)] |
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 that not be called something like Quotient.eval
instead?
Some docs in this PR refer to the definition in #5576.