Commit 3928a0c
committed
Optimization hack for checking operator compatibility in clones
The conversion check has a strategy to unfold the LHS before the RHS
when checking that two maybe applied different operators are
convertible. When cloning a theory with the "theory T <- U"
stanza, the RHS of the conversion is an alias to the RHS. By
swapping the two arguments, the convertibility check is immediate,
while on the other case, both hands will be normalized.
A proper way to solve this problem would be to have a more
advanced unfold heuristic (by using a generation ID per operators
or having more meta-information on the operators bodies)1 parent 65ac0be commit 3928a0c
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | | - | |
243 | | - | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments