Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

feat(tactic/generalize_a): a version of generalize that also applies#110

Merged
digama0 merged 3 commits intoleanprover-community:masterfrom
cipher1024:generalize_generalize
Apr 25, 2018
Merged

feat(tactic/generalize_a): a version of generalize that also applies#110
digama0 merged 3 commits intoleanprover-community:masterfrom
cipher1024:generalize_generalize

Conversation

@cipher1024
Copy link
Copy Markdown
Collaborator

to assumptions

lemma {u} generalize_a_aux {α : Sort u}
(h : ∀ x : Sort u, (α → x) → x) : α := h α id

/-- like `generalize` but allows the user to list assumptions and omit the goal in -/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In what? Also use complete sentences (or at least capitalized command-tense statements).

@cipher1024 cipher1024 force-pushed the generalize_generalize branch from 40bea1a to 7128eb6 Compare April 24, 2018 19:50
@digama0 digama0 merged commit e4e4659 into leanprover-community:master Apr 25, 2018
@cipher1024 cipher1024 deleted the generalize_generalize branch April 26, 2018 01:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants