metacoq icon indicating copy to clipboard operation
metacoq copied to clipboard

Explicit sharing

Open gmalecha opened this issue 6 years ago • 0 comments

I'm wondering if it would of interest to provide explicit sharing information in terms. I imagine something like:

tTerm (nm : positive) (t : term) (_ : term)
tRef (nm : positive)

This would act like let-in but would not generate the construct and instead just use the same node.

This would be a way to address https://github.com/coq/coq/issues/11111 but it could also be independently useful.

gmalecha avatar Nov 16 '19 14:11 gmalecha