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

The commentary uses repeat which isn't listed in the tactics #60

Open
jariji opened this issue Mar 21, 2024 · 2 comments
Open

The commentary uses repeat which isn't listed in the tactics #60

jariji opened this issue Mar 21, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@jariji
Copy link

jariji commented Mar 21, 2024

https://adam.math.hhu.de/#/g/leanprover-community/nng4/world/Implication/level/11

The post-solution commentary suggests

intro h
rw [add_succ, add_succ, add_zero] at h
repeat apply succ_inj at h
apply zero_ne_succ at h
exact h

but there is no repeat in the tactic list:

image

@joneugster
Copy link
Collaborator

I believe this one is by design of the author (aka Kevin Buzzard), similar to how nth_rewrite also does not appear in the list but only in the documentation of rw.

But thanks for all the comments about typos, etc. I will look through them and merge them on the authors behalf next week!

@joneugster
Copy link
Collaborator

@kbuzzard that's actually a point here. So far we have nth_rewrite/nth_rw and repeat rw as "part" of the rw tactic and doc.

But repeat apply isn't really explained.

Should repeat maybe get it's own doc after all?

@joneugster joneugster added the documentation Improvements or additions to documentation label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants