# by_contra
| β£ββ£βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£ββ£[[π© by_contra-tactic\|by_contra]] *contrary hypotheses* | If the goal is `β’ P`, then **`by_contra`** `h_notP : Β¬P` provides a proofΒ by contradiction. <br>It constructs the hypothesisΒ `h_notP : Β¬P`Β and changes the goal to false, `β’ False`. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | |
## Description
- If the goal `P` is a negation, `⒠¬P`, the `hP : P` will be introduced instead of `h_not_notP : ¬¬P`.
- The newly constructed contrary hypothesesΒ can be any pattern supported byΒ [[rcases-tactic|rcases]] or [[rintro-tactic|rintro]]`.
---
**`LeanNotes curator:`** [[π€ dducoff]], [Contact dducoff](https://tally.so/r/rjQYWL)
**`Posted Date`**: 2026-08-19