Zulip Chat Archive

Stream: lean4

Topic: Lean private objects


Hanting Zhang (Nov 18 2022 at 16:27):

Is there any documentation on the complex relationships between _cstage1/2, _unsafe_rec, _rarg, _closed, for declarations generated by the Lean compiler? I have a decent idea of what they mean, but are there a set of exact conditions required for the compiler to generate them and specs for how the compiler implicitly references them?

For example, is it always the case that functions that shouldGenerateCode have a corresponding _cstage1/2 object? How is something determined to be _closed?

Arthur Paulino (Nov 18 2022 at 19:52):

I'm also interested in this :pray:


Last updated: Dec 20 2023 at 11:08 UTC