Skip to content

Commit

Permalink
rename hb to h
Browse files Browse the repository at this point in the history
  • Loading branch information
mo271 committed Jul 16, 2024
1 parent 07aecbd commit a86f16d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mathlib/Algebra/Order/Floor.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1180,10 +1180,10 @@ theorem lt_fmod_of_pos (a : Int) {b : Int} (h : b < 0) : b < a.fmod b := by
linarith

-- TODO: find a better place and golf
theorem fmod_nonpos (a : Int) {b : Int} (hb : b < 0) : a.fmod b ≤ 0 := by
theorem fmod_nonpos (a : Int) {b : Int} (h : b < 0) : a.fmod b ≤ 0 := by
induction' b with b b
· by_contra
exact (negSucc_not_nonneg b).mp hb
exact (negSucc_not_nonneg b).mp h
· induction' a with a a
· cases' a with a a
· simp
Expand Down

0 comments on commit a86f16d

Please sign in to comment.