Zulip Chat Archive
Stream: mathlib4
Topic: Proof-irrelevant simps
𝚠𝚘𝚓𝚌𝚒𝚎𝚌𝚑 𝚗𝚊𝚠𝚛𝚘𝚌𝚔𝚒 (Oct 03 2024 at 23:25):
The @[simps!]
annotation on docs#CategoryTheory.Over.homMk generates a rather weird lemma docs#CategoryTheory.Over.homMk_right_down_down which equates two proofs of equality. This is completely trivial by proof irrelevance / UIP. Does this lemma actually serve a purpose, or is it a bug in @[simps]
?
Kim Morrison (Oct 04 2024 at 01:34):
Sounds like a problem with simp
.
Kim Morrison (Oct 04 2024 at 01:35):
You can probably disable it with @[simps -right_down_down]
or some similar syntax, just to double check. But seems very unlikely.
Last updated: May 02 2025 at 03:31 UTC