cur icon indicating copy to clipboard operation
cur copied to clipboard

fixes #121 destruct sigma types

Open stchang opened this issue 4 years ago • 3 comments

This is a temporary fix but it got me thinking, should we disable type checking completely while running tactics? The final term will be type checked anyways right?

stchang avatar Jun 17 '20 00:06 stchang

fixes #121

stchang avatar Jun 17 '20 00:06 stchang

I could see an argument for yes. It would increase performance, and we ought to only be constructing well-typed terms. However, it might also be useful for debugging tactics.

wilbowma avatar Jun 17 '20 20:06 wilbowma

True. I do see that several tactics raise their own exceptions when given an ill-typed expression, so it may not be completely straightforward to completely disable type checking.

For now, I'll just do it when appropriate for individual tactics.

stchang avatar Jun 17 '20 21:06 stchang