Stream: Beginner Questions

Topic: unfolding comp_apply also unfolds unapplied comp


view this post on Zulip Jan van Brügge (Jul 31 2022 at 18:23):

Hi, is there a way to restrict a unfolding so it does not do eta expansion?
I am trying to use comp_apply in a lemma that looks like P (a ∘ b) ((g ∘ h) x). Unfolding comp_apply does not result in P (a ∘ b) (g (h x)), but in P (λx. a (b x)) (g (h x)). Is there a way to prevent this from happening?

view this post on Zulip Jan van Brügge (Jul 31 2022 at 18:24):

at the moment i am working around it with some deeply nested arg_cong, but a proper solution would be much nicer


Last updated: Dec 21 2024 at 16:20 UTC