Zulip Chat Archive

Stream: general

Topic: Resolving goals containing existential quantifiers


Andrew Helwer (Mar 29 2020 at 00:45):

In the natural number game, the use keyword resolves goals which contain existential quantifiers by assigning a concrete value to the quantified variable. Using Lean by itself it looks like use isn't available; what do you do instead?

Alastair Horn (Mar 29 2020 at 00:46):

I might be wrong but I think what you're looking for is called existsi

Scott Morrison (Mar 29 2020 at 00:52):

Using Lean by itself is usually a bad idea. The tactic use is provided in mathlib, along with everything else.

Kevin Buzzard (Mar 29 2020 at 00:52):

use is a mathlib tactic. import tactic and you'll get it

Andrew Helwer (Mar 29 2020 at 01:02):

Thanks everyone!


Last updated: Dec 20 2023 at 11:08 UTC