ufmg-smite / lean-smt

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

Add support for defining constants. #15

Closed abdoo8080 closed 2 years ago

abdoo8080 commented 2 years ago

This PR adds support for defining constants in the Lean goal. Currently, those are treated as uninterpreted functions. This PR also fixes a bug where an assertion is not added for (first-order) functions that return a Nat (the returned value must not be less than zero).