Skip to content

Commit 3ba32ed

Browse files
authored
Fix typos in pitfalls.md / Other partial functions (#759)
Typos at the bottom of [pitfalls.md / Other partial functions](https://leanprover-community.github.io/extras/pitfalls.html#other-partial-functions): "then" -> "than" and "negative all" -> "all negative".
1 parent cf76888 commit 3ba32ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/extras/pitfalls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ Consider adding `Summable f` hypotheses to theorems that involve `∑' i, f i`.
401401
- `Nat.sqrt x` takes the floor of $\sqrt{x}$.
402402
- `Real.sqrt x` is `0` for negative inputs.
403403
- `Real.log x` actually means $\log_e |x|$ when $x \ne 0$ and is $0$ when $x = 0$.
404-
This gives nicer algebraic properties then setting it to be $0$ for negative all $x$.
404+
This gives nicer algebraic properties than setting it to be $0$ for all negative $x$.
405405
- `Real.sSup` and `Real.iSup` are 0 if the set is empty or not bounded above, and likewise `Real.sInf`, and `Real.iInf` are 0 if the set is empty or not bounded below.
406406
This interacts nicely with `Real.sqrt`: it means that $\sqrt{x} = \sup \{y \mid y^2 < x\}$ for all $x \in \mathbb{R}$, since when $x \le 0$ both sides are $0$.
407407

0 commit comments

Comments
 (0)