leanprover-community.github.io | Hosts the website for mathlib and other Lean community | Collaboration library
kandi X-RAY | leanprover-community.github.io Summary
kandi X-RAY | leanprover-community.github.io Summary
Hosts the website for mathlib and other Lean community infrastructure.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of leanprover-community.github.io
leanprover-community.github.io Key Features
leanprover-community.github.io Examples and Code Snippets
Community Discussions
Trending Discussions on leanprover-community.github.io
QUESTION
My aim is to get a function constant f from a fact of the form ∀ x . ∃ y . P x y so that ∀ x . P x (f x). Here is how I do it manually:
...ANSWER
Answered 2020-Aug-31 at 14:56I don't think there is anything that automates this use case. You can avoid fiddling around with SOME
by using the choice
rule directly; it allows you to turn an ‘∀∃’ into a ‘∃∀’. However, you still have to convert P
from a curried property with 5 arguments into a tupled one with two arguments first, and then unwrap the result again. I don't see a way around this. This is how I would have done it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install leanprover-community.github.io
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page