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

fix(restate_axiom) #286

Merged
merged 5 commits into from
Aug 28, 2018

Conversation

kim-em
Copy link
Collaborator

@kim-em kim-em commented Aug 28, 2018

This changes the behaviour of the command restate_axiom, to give better names:

  • if a second argument is provided, use that as the new name, otherwise
  • if the field end with a ', the new lemma has the same name without the ', otherwise
  • the new lemma has the field name with _lemma appended

This PR also removes all the inappropriate [ematch] attributes on lemmas in the category_theory library. To use rewrite_search we'll have to add [search] attributes later.

Closes #282 and #283.

@digama0 digama0 merged commit 3f65a93 into leanprover-community:master Aug 28, 2018
@digama0 digama0 deleted the restate_axiom branch August 28, 2018 17:39
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