Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with auto.native #37

Closed
threonorm opened this issue Oct 28, 2024 · 1 comment
Closed

Issue with auto.native #37

threonorm opened this issue Oct 28, 2024 · 1 comment

Comments

@threonorm
Copy link

Hi,

I was trying to play around with the different backend solver, and especially the native on. From here I tried to look up how to use the native solver, and after investigation using the same command for emulateNative, it seems auto is not sound (or maybe I am misunderstanding how to use it?):

import Auto.Tactic

set_option auto.native true
attribute [rebind Auto.Native.solverFunc] Auto.Solver.Native.emulateNative

example : False := by auto 
-- It seems to say that it has found a proof in 1ms (but it used sorry to admit the proof)

(Tested with commit 60e546c, Lean v4.11)

@PratherConid
Copy link
Collaborator

Sorry for the confusion. emulateNative always uses sorry to close the goal. I've added a paragraph in readme to explain how to use the native solver duper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants