Setup for the gcongr
tactic #
The core implementation of the gcongr
("generalized congruence") tactic is in the file
Tactic.GCongr.Core
. In this file we set it up for use across the library by tagging a minimal
set of lemmas with the attribute @[gcongr]
and by listing positivity
as a first-pass
discharger for side goals (gcongr_discharger
).
≤, - #
<, - #
≤, + #
<, + #
≤, - #
<, - #
≤, * #
<, * #
≤, / #
See if the term is a ⊂ b
and the goal is a ⊆ b
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
<, / #
≤, ⁻¹ #
≤, ^ #
<, ^ #
coercions #
theorem
Nat.cast_le_cast
{α : Type u_1}
[OrderedSemiring α]
[CharZero α]
{x : ℕ}
{y : ℕ}
(h : x ≤ y)
:
↑x ≤ ↑y