Zulip Chat Archive
Stream: general
Topic: Does Lean have definitorial expansion?
Fames Yasd (Aug 17 2020 at 07:34):
So let's suppose I have proved a theorem: exists! x, P x. can I now define this 'x' as 'c' and have two theorems:
P c and forall y, P y -> y = c? The same thing with functions, if I proved forall A,B exists! C P(C) can I now define a function symbol 'f' such that
forall A B, P(f(A,B)).
Kenny Lau (Aug 17 2020 at 07:38):
that isn't "definitorial expansion"
Kenny Lau (Aug 17 2020 at 07:38):
you can use classical.some
(and its friend classical.some_spec
)
Last updated: Dec 20 2023 at 11:08 UTC