Skip to content

Commit e1835ce

Browse files
committed
fix
1 parent ec04327 commit e1835ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mathlib/Data/Rat/Floor.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ theorem fract_inv_num_lt_num_of_pos {q : ℚ} (q_pos : 0 < q) : (fract q⁻¹).n
405405
suffices ((q.den : ℤ) - q.num * ⌊q_inv⌋).natAbs.Coprime q.num.natAbs from
406406
mod_cast Rat.num_div_eq_of_coprime q_num_pos this
407407
have tmp := Nat.coprime_sub_mul_floor_rat_div_of_coprime q.reduced.symm
408-
simpa only [Nat.cast_natAbs, abs_of_nonneg q_num_pos.le] using tmp
408+
simpa only [Nat.cast_natAbs, _root_.abs_of_nonneg q_num_pos.le] using tmp
409409
rwa [this]
410410
-- to show the claim, start with the following inequality
411411
have q_inv_num_denom_ineq : q⁻¹.num - ⌊q⁻¹⌋ * q⁻¹.den < q⁻¹.den := by

0 commit comments

Comments
 (0)