# 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