Skip to content

Conversation

@dnezam
Copy link
Contributor

@dnezam dnezam commented Nov 12, 2025

There are a few things worth pointing out:

  1. I've slightly restructured some new_specification calls. In particular, I factored out the proof into a local theorem, and more importantly, I factored out the string name into a variable (see clFFIScript.sml). The motivation for the latter was to ultimately ban export_rewrites[", but it turns out that there are still good uses for this (for example when adding definitions/theorems from other theories to the simpset). Arguably, it gets rid of some duplication, which is why I haven't reverted it.

  2. I've adjusted various tutorial files to use simp tags, since presumably we want newcomers to be exposed to that. simple_bstScript.sml still mentions what it desugars to at some point, so it should be fine.

  3. I deleted astPropsScript.sml -- there was a TODO that said to do it, and it also had commented out export_rewrites.

@dnezam dnezam added the test failing regression test failed on the latest commit of this pull request label Nov 13, 2025
@dnezam dnezam force-pushed the export_rewrites-simp branch from 5d280ed to 2f182ca Compare November 13, 2025 08:19
There are a few things worth pointing out:

1. I've slightly restructured some new_specification calls. In particular, I
factored out the proof into a local theorem, and more importantly, I factored
out the string name into a variable (see clFFIScript.sml). The motivation for
the latter was to ultimately ban `export_rewrites["`, but it turns out that
there are still good uses for this (for example when adding definitions/theorems
from other theories to the simpset). Arguably, it gets rid of some duplication,
which is why I haven't reverted it.

2. I've adjusted various tutorial files to use simp tags, since presumably we
want newcomers to be exposed to that. simple_bstScript.sml still mentions what
it desugars to at some point, so it should be fine.

3. I deleted astPropsScript.sml -- there was a TODO that said to do it, and it
also had commented out export_rewrites.
@dnezam dnezam force-pushed the export_rewrites-simp branch from 79cc52d to 704e36e Compare November 14, 2025 07:40
@dnezam dnezam removed the test failing regression test failed on the latest commit of this pull request label Nov 14, 2025
@tanyongkiam tanyongkiam merged commit 4777c4b into master Nov 15, 2025
1 check passed
@tanyongkiam tanyongkiam deleted the export_rewrites-simp branch November 15, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants