cakeml
cakeml copied to clipboard
Clean up dataLang cost semantics
This issue is to clean up some of the mess we made when introducing the dataLang cost semantics.
- The
allowed_opdefinition serves no purpose anymore --- all operators except Install are now allowed, and Install is already treated specially elsewhere indo_app - Much (all?) of
costPropsshould move fromexamples/costintodataProps(because part of it is needed indata_to_word_assignProofand hence copypasted) - The
wordLangstack cost semantics would be much nicer if it was phrased in theoption_lestyle of thedataLanglayer instead of thethe F ..."style" it currently uses. - dataProps has many slow and eerily similar
do_appproofs. Can these be sped up or fused together?