ufmg-smite / lean-smt

Tactics for discharging Lean goals into SMT solvers.
Apache License 2.0
89 stars 18 forks source link

Choosing which formulas and terms to encode #20

Open Vtec234 opened 2 years ago

Vtec234 commented 2 years ago

@abdoo8080 and I discussed recently when terms should be encoded with their definition, and when just declared. Here is a proposal for how the tactic could behave. It is almost what it does now, except that I suggest we do encode all assumptions in default mode and move the current behavior to smt only.

What are your thoughts?

abdoo8080 commented 2 years ago

Your proposal looks reasonable to me. However, at its current state, the tactic will most likely crash on any reasonable proof context 😅. Properly handling all of those crashes is not a priority for us right now. So, let's keep the current behavior for now and come back to this issue when we have a more robust tactic.