Skip to content

Commit

Permalink
Fix minor inconsistency in S01_Calculating.lean
Browse files Browse the repository at this point in the history
  • Loading branch information
hansonchar authored and PatrickMassot committed Apr 22, 2024
1 parent e310745 commit cad8f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MIL/C02_Basics/S01_Calculating.lean
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,9 @@ It can be imported explicitly with the command
We will see there are similar tactics for other common kind of algebraic
structures.
There is a variation of ``rw`` called ``nth_rewrite`` that allows you to replace only particular instances of an expression in the goal.
There is a variation of ``rw`` called ``nth_rw`` that allows you to replace only particular instances of an expression in the goal.
Possible matches are enumerated starting with 1,
so in the following example, ``nth_rewrite 2 h`` replaces the second
so in the following example, ``nth_rw 2 [h]`` replaces the second
occurrence of ``a + b`` with ``c``.
EXAMPLES: -/
-- QUOTE:
Expand Down

0 comments on commit cad8f9f

Please sign in to comment.