Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(tactic/simps): trace with @[simps?] #6995

Closed
wants to merge 3 commits into from

Conversation

fpvandoorn
Copy link
Member

@fpvandoorn fpvandoorn commented Apr 1, 2021

also trace with initialize_simps_projections?
trace when to_additive is applied to generated lemmas
with @[simps?] projection information is not printed (since that is often not as useful)


@semorrison

Example:

@[simps?] protected def rfl {α} : α ≃ α :=
⟨id, λ x, x, λ x, rfl, λ x, rfl⟩

gives

[simps] > adding projection foo.rfl_to_fun:
        > ∀ {α : Sort u_1} (a : α), foo.rfl.to_fun a = id a
[simps] > adding projection foo.rfl_inv_fun:
        > ∀ {α : Sort u_1} (x : α), foo.rfl.inv_fun x = x

Open in Gitpod

related Zulip thread

also trace with initialize_simps_projections?
trace when to_additive is applied to generated lemmas
with @[simps?] projection information is not printed (since that is often not as useful)
@fpvandoorn fpvandoorn added awaiting-review The author would like community review of the PR t-meta Tactics, attributes or user commands labels Apr 1, 2021
@bryangingechen bryangingechen changed the title trace with @[simps?] feat(tactic/simps): trace with @[simps?] Apr 2, 2021
@semorrison
Copy link
Collaborator

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Apr 5, 2021
bors bot pushed a commit that referenced this pull request Apr 5, 2021
also trace with initialize_simps_projections?
trace when to_additive is applied to generated lemmas
with @[simps?] projection information is not printed (since that is often not as useful)
@bors
Copy link

bors bot commented Apr 5, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(tactic/simps): trace with @[simps?] [Merged by Bors] - feat(tactic/simps): trace with @[simps?] Apr 5, 2021
@bors bors bot closed this Apr 5, 2021
@bors bors bot deleted the simps_questionmark branch April 5, 2021 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-meta Tactics, attributes or user commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants