We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The delaborator doesn't use the function composition notation when the composition is applied.
variable (f : α → β) (g : β → γ) (x : α) #check (g ∘ f) x
Expected behavior: [What you expect to happen]
See (g ∘ f) x : γ.
(g ∘ f) x : γ
Actual behavior: [What actually happens]
See Function.comp g f x : γ.
Function.comp g f x : γ
Reproduces how often: [What percentage of the time does it reproduce?]
100%
leanprover/lean4:nightly-2023-01-17 under Linux.
leanprover/lean4:nightly-2023-01-17
See the discussion at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Function.2Ecomp.20pretty.20printing
The text was updated successfully, but these errors were encountered:
This particular problem can be fixed with an unexpender:
@[app_unexpander Function.comp] def unexpandFunctionComp : Lean.PrettyPrinter.Unexpander | `($(_) $f:term $g:term $x:term) => `(($f ∘ $g) $x) | _ => throw ()
However, Mario Carneiro reports in the Zulip discussion referenced above that a more general fix is in the works.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Prerequisites
Description
The delaborator doesn't use the function composition notation when the composition is applied.
Steps to Reproduce
Expected behavior: [What you expect to happen]
See
(g ∘ f) x : γ
.Actual behavior: [What actually happens]
See
Function.comp g f x : γ
.Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
leanprover/lean4:nightly-2023-01-17
under Linux.See the discussion at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Function.2Ecomp.20pretty.20printing
The text was updated successfully, but these errors were encountered: