Stream: Coq users

Topic: Match on type of t - bug?


view this post on Zulip Patrick Nicodemus (May 04 2022 at 01:45):

Is there any good reason why

let X := type of t in
match goal with
| [ H : X |- _ ] => simpl
end

should fail for t a term in the context?

view this post on Zulip Patrick Nicodemus (May 04 2022 at 01:45):

Having this weird problem right now and wondering if it's a bug.

view this post on Zulip Patrick Nicodemus (May 04 2022 at 01:59):

test.v
isolated the error as much as possible

view this post on Zulip Patrick Nicodemus (May 04 2022 at 02:03):

The Coq Proof Assistant, version 8.15.1 compiled with OCaml 4.11.1

view this post on Zulip Patrick Nicodemus (May 04 2022 at 02:03):

coq-hott.8.15

view this post on Zulip Gaƫtan Gilbert (May 04 2022 at 07:50):

can't reproduce on master
sounds like https://github.com/coq/coq/issues/15554


Last updated: Feb 01 2023 at 12:30 UTC