Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Algebra/Order/GroupWithZero/Unbundled): deprecate useless lemmas, use ZeroLEOneClass #17593

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
20e8ce1
feat: synchronize with mathlib3 #16525
FR-vdash-bot Nov 29, 2022
c3eacbc
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Dec 24, 2022
71b978e
Update Defs.lean
FR-vdash-bot Dec 24, 2022
1570ce6
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Dec 23, 2023
46548cf
ported from https://github.com/leanprover-community/mathlib/pull/18158
FR-vdash-bot Dec 23, 2023
a5e5161
fix
FR-vdash-bot Dec 24, 2023
a39cc94
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot May 16, 2024
5260861
fix
FR-vdash-bot May 17, 2024
3117a46
fix
FR-vdash-bot May 17, 2024
ba4c3ce
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot May 23, 2024
73eff91
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Jul 13, 2024
90b1b4f
deprecated
FR-vdash-bot Jul 13, 2024
ccd7635
more
FR-vdash-bot Jul 13, 2024
ca1ba0e
fix
FR-vdash-bot Jul 13, 2024
5c11cfe
fix
FR-vdash-bot Jul 13, 2024
0de833f
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Jul 17, 2024
dfe66c9
fix
FR-vdash-bot Jul 17, 2024
b1d0835
alias
FR-vdash-bot Jul 17, 2024
8cead35
move
FR-vdash-bot Jul 17, 2024
d1281d0
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Jul 24, 2024
7eb3c36
shorter name
FR-vdash-bot Jul 25, 2024
5583087
deprecated alias
FR-vdash-bot Jul 25, 2024
4702966
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Aug 3, 2024
5fa0cca
fix
FR-vdash-bot Aug 3, 2024
83b55a1
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Aug 27, 2024
c53fc99
fix merge
FR-vdash-bot Aug 27, 2024
09a72c1
Merge branch 'master' into FR_order_refactor18
FR-vdash-bot Oct 9, 2024
8fe12ef
Update Unbundled.lean
FR-vdash-bot Oct 9, 2024
a240df4
deprecate
FR-vdash-bot Oct 9, 2024
c1e5221
replacement theorems and deprecate
FR-vdash-bot Oct 10, 2024
28e9091
lint
FR-vdash-bot Oct 10, 2024
50062b0
Merge branch 'master' into FR_order_refactor18'
FR-vdash-bot Oct 23, 2024
d8d587f
Merge branch 'master' into FR_order_refactor18'
FR-vdash-bot Nov 2, 2024
5f81d9e
`₀`
FR-vdash-bot Nov 2, 2024
6ecdce4
nolint
FR-vdash-bot Nov 2, 2024
2bd0600
deprecate
FR-vdash-bot Nov 2, 2024
e2e958b
Revert "deprecate"
FR-vdash-bot Nov 2, 2024
13ddf3c
revert
FR-vdash-bot Nov 2, 2024
5f266c8
oops
FR-vdash-bot Nov 2, 2024
402dd96
revert
FR-vdash-bot Nov 2, 2024
39653e4
Update Unbundled.lean
FR-vdash-bot Nov 2, 2024
b0223e3
Update Unbundled.lean
FR-vdash-bot Nov 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Archive/Wiedijk100Theorems/BuffonsNeedle.lean
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ lemma short_needle_inter_eq (h : l ≤ d) (θ : ℝ) :
Set.Icc (-θ.sin * l / 2) (θ.sin * l / 2) := by
rw [Set.Icc_inter_Icc, inf_eq_min, sup_eq_max, max_div_div_right zero_le_two,
min_div_div_right zero_le_two, neg_mul, max_neg_neg, mul_comm,
min_eq_right (mul_le_of_le_of_le_one_of_nonneg h θ.sin_le_one hl.le)]
min_eq_right ((mul_le_of_le_one_right hl.le θ.sin_le_one).trans h)]

include hd hBₘ hB hl in
/--
Expand Down
5 changes: 0 additions & 5 deletions Mathlib/Algebra/Order/GroupWithZero/Canonical.lean
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,6 @@ instance (priority := 100) LinearOrderedCommGroupWithZero.toMulPosStrictMono :
MulPosStrictMono α where
elim a b c hbc := by by_contra! h; exact hbc.not_le <| (mul_le_mul_right a.2).1 h

/-- Alias of `one_le_mul'` for unification. -/
@[deprecated one_le_mul (since := "2024-08-21")]
theorem one_le_mul₀ (ha : 1 ≤ a) (hb : 1 ≤ b) : 1 ≤ a * b :=
one_le_mul ha hb

@[deprecated mul_le_mul_right (since := "2024-08-21")]
theorem le_of_le_mul_right (h : c ≠ 0) (hab : a * c ≤ b * c) : a ≤ b :=
(mul_le_mul_right (zero_lt_iff.2 h)).1 hab
Expand Down
Loading