Zulip Chat Archive
Stream: general
Topic: generalizing an unpacked structure
Moses Schönfinkel (Oct 25 2018 at 07:30):
I have something like {to_structure := {x := X, y := Y}}
in my goal's conclusion. Is it possible to express generalize h : {to_structure := {x := X, y := Y}} = a
somehow? (This particular formulation errors with invalid structure instance, identifier expected
.)
Simon Hudon (Oct 25 2018 at 10:29):
You may need to give the name of each structure as generalize h : {foo . to_structure := {bar . x := X, y := Y}} = a
Moses Schönfinkel (Oct 25 2018 at 19:49):
Oh. Thanks. That's going to be a little painful.
Last updated: Dec 20 2023 at 11:08 UTC