shingarov / MachineArithmetic

A mathematical foundation for Smalltalk-25
MIT License
17 stars 6 forks source link

Attempt to address misclassification of Iff as PAtom #214

Closed shingarov closed 8 months ago

shingarov commented 8 months ago

DANGER! DANGER! DANGER! This can potentially kill us: Looking at a live Z3 Bool "(= x y)", one cannot tell whether it is an Iff between two formulae in the metalanguage (something like p⇔q), or an equality predicate between two terms (a=b) which just happen to be terms of Book sort.

I can not think of a way to properly fix this confusion between object- and metalanguage if we are to stick with live Z3 ASTs.