Zulip Chat Archive

Stream: lean4

Topic: Reflexive inductives


Gabriel Barreto (Jun 04 2022 at 03:47):

There's a field isReflexive : Bool in the struct InductiveVal here but there's no explanation of what it is. I couldn't find it in the manual either. It would be very much appreciated if anyone could explain this

Kyle Miller (Jun 04 2022 at 04:03):

If it helps, I found this: https://github.com/leanprover/lean4/blob/7850dc023b004443cca2e1ef937a019f9eb6a2c2/src/kernel/inductive.cpp#L287

Gabriel Barreto (Jun 04 2022 at 04:10):

Awesome, that helps a lot


Last updated: Dec 20 2023 at 11:08 UTC