Skip to content

Commit f294c2f

Browse files
committed
update
1 parent 652efa1 commit f294c2f

4 files changed

Lines changed: 21 additions & 13 deletions

File tree

GridCircuit/Basic.lean

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,9 +2112,13 @@ theorem integral_sub_cos_inv {a : ℝ} (h1 : -1 < a) (h2 : a < 1) :
21122112
unfold f at h
21132113
obtain h := tan_inj_of_lt_of_lt_pi_div_two (by
21142114
grw [← ha.1]
2115-
simp [pi_pos]) ((div_lt_div_iff_of_pos_right (by simp)).mpr ha.2) (by
2115+
suffices 0 ≤ π / 2 by simpa
2116+
exact div_nonneg (pi_nonneg) (by simp))
2117+
((div_lt_div_iff_of_pos_right (by simp)).mpr ha.2) (by
21162118
grw [← hb.1]
2117-
simp [pi_pos]) ((div_lt_div_iff_of_pos_right (by simp)).mpr hb.2) h
2119+
suffices 0 ≤ π / 2 by simpa
2120+
exact div_nonneg (pi_nonneg) (by simp))
2121+
((div_lt_div_iff_of_pos_right (by simp)).mpr hb.2) h
21182122
simpa using h
21192123
rw [← integral_image_eq_integral_abs_deriv_smul measurableSet_Ioo hderiv hinj g, hfs]
21202124
rw [← integrableOn_image_iff_integrableOn_abs_deriv_smul measurableSet_Ioo hderiv hinj g, hfs]

GridCircuit/Misc.lean

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,14 @@ theorem sin_cube_bound {x : ℝ} (hx : x ∈ Set.Icc (-1) 1) :
229229
suffices x - sin x ≤ x ^ 3 / 4 by
230230
convert this using 1
231231
field
232+
suffices x - sin x ≤ x ^ 3 / 6 by
233+
apply this.trans
234+
gcongr
235+
norm_num
232236
rw [sub_le_comm]
233237
by_cases hx0 : x = 0
234238
· simp [hx0]
235-
exact (sin_gt_sub_cube (lt_of_le_of_ne' h0 hx0) hx.2).le
239+
exact (sin_gt_sub_cube (lt_of_le_of_ne' h0 hx0)).le
236240

237241

238242
theorem bounded_of_isBigO_cofinite {α : Type*} {f : α → ℝ} (hf : f =O[cofinite] (1 : α → ℝ)) :

lake-manifest.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "leanprover-community",
8-
"rev": "e5836dbb05fccdfa24ab3396d46f1f49b1f816ed",
8+
"rev": "1f165a51dee3b8cf9dbd45716c0b7fe05fa6bf00",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "master",
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "leanprover-community",
18-
"rev": "f3f26cc72646205ca167117487c008ee1dafe816",
18+
"rev": "e12c1910fe855cbfc38803cd4e55543906d5fa62",
1919
"name": "plausible",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": "main",
@@ -35,7 +35,7 @@
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "41f407a8e85b0fdc00910633a8f14754139b63f4",
38+
"rev": "7e9612bf0b9ee66db3cb5b9988a35afc706f5a12",
3939
"name": "importGraph",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -45,7 +45,7 @@
4545
"type": "git",
4646
"subDir": null,
4747
"scope": "leanprover-community",
48-
"rev": "e6518a674e62de322b8f79eebeda7bcae2a36bc3",
48+
"rev": "6e311e2a844da9b2cc3971187df2fe0066947b93",
4949
"name": "proofwidgets",
5050
"manifestFile": "lake-manifest.json",
5151
"inputRev": "main",
@@ -55,7 +55,7 @@
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "b5b9e2bb45ce91e4bc44eaa738c3a8910404ab82",
58+
"rev": "a7dbf0c63b694e47f425f3dcddbc0e178bb432d3",
5959
"name": "aesop",
6060
"manifestFile": "lake-manifest.json",
6161
"inputRev": "master",
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "7a62bd13860cd39ac98da16ffc8c24d601353f69",
68+
"rev": "38d591e778f100aec9762bb582f9c7f55f50e9dc",
6969
"name": "Qq",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "master",
@@ -75,7 +75,7 @@
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "125807f43a86b5d58892b7ea6972eec0d6c164d2",
78+
"rev": "023ce7d62a0531e22a5331e20b587817a80d49ff",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "main",
@@ -85,10 +85,10 @@
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover",
88-
"rev": "406ebb8c8e2f7e852a1b47764b42494022ce652c",
88+
"rev": "88679d088c9720c27ebdf2ba4dafe17341747f94",
8989
"name": "Cli",
9090
"manifestFile": "lake-manifest.json",
91-
"inputRev": "v4.32.0-rc1",
91+
"inputRev": "v4.32.0",
9292
"inherited": true,
9393
"configFile": "lakefile.toml"}],
9494
"name": "«grid-circuit»",

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.32.0-rc1
1+
leanprover/lean4:v4.32.0

0 commit comments

Comments
 (0)