You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for the omegaDefault tactic gives a broken example for aesop usage.
Context
I tried to use omega with aesop but the documentation example was not valid. It says:
/-- The `omega` tactic, for resolving integer and natural linear arithmetic problems. This
`TacticM Unit` frontend with default configuration can be used as an Aesop rule, for example via
the tactic call `aesop (add 50% tactic Lean.Omega.omegaDefault)`. -/
but this does not work:
import Aesop
example : 1 = 1 := by
aesop (add 50% tactic Lean.Omega.omegaDefault)
Steps to Reproduce
Code as above
Expected behavior: Example tactic call succeeds.
Actual behavior: Example tactic call fails.
Versions
Lean 4.16.0-rc1 on live.lean-lang.org
Target: x86_64-unknown-linux-gnu on live.lean-lang.org
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
The documentation for the
omegaDefault
tactic gives a broken example for aesop usage.Context
I tried to use
omega
withaesop
but the documentation example was not valid. It says:but this does not work:
Steps to Reproduce
Expected behavior: Example tactic call succeeds.
Actual behavior: Example tactic call fails.
Versions
Lean 4.16.0-rc1 on live.lean-lang.org
Target: x86_64-unknown-linux-gnu on live.lean-lang.org
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: