Skip to content

Commit 76fef8c

Browse files
committed
rc2
1 parent 6b4eecf commit 76fef8c

4 files changed

Lines changed: 24 additions & 17 deletions

File tree

Poncelet/Euclidean.lean

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ theorem inner_yDir_center_o : ⟪cf.o.center -ᵥ cf.i.center, cf.yDir -ᵥ cf.i
328328
use 1
329329
simp
330330

331-
set_option backward.isDefEq.respectTransparency false in
332331
noncomputable
333332
def toConfig : Config ℝ where
334333
u := dist cf.o.center cf.i.center / cf.i.radius
@@ -349,7 +348,6 @@ def toConfig : Config ℝ where
349348
apply le_of_lt
350349
exact radius_lt_of_inside cf.i cf.o cf.i_pos cf.inside
351350

352-
set_option backward.isDefEq.respectTransparency false in
353351
theorem u_add_r_sq : (cf.toConfig.u + cf.toConfig.r) ^ 21 := by
354352
apply ne_of_gt
355353
unfold toConfig
@@ -362,7 +360,6 @@ theorem u_add_r_sq : (cf.toConfig.u + cf.toConfig.r) ^ 2 ≠ 1 := by
362360
rw [abs_of_nonneg (by simpa using cf.o_pos.le)]
363361
exact radius_lt_of_inside cf.i cf.o cf.i_pos cf.inside
364362

365-
set_option backward.isDefEq.respectTransparency false in
366363
theorem u_sub_r_sq : (cf.toConfig.u - cf.toConfig.r) ^ 21 := by
367364
apply ne_of_gt
368365
unfold toConfig
@@ -459,7 +456,7 @@ theorem dirVec_ne_zero' {p : AffineSubspace ℝ P} (hp : Module.finrank ℝ p.di
459456
set_option backward.isDefEq.respectTransparency false in
460457
theorem eq_span_dirVec {p : AffineSubspace ℝ P} (hp : Module.finrank ℝ p.direction = 1) :
461458
p.direction = Submodule.span ℝ {(dirVec hp).val} := by
462-
rw [finrank_eq_one_iff_of_nonzero _ (dirVec_ne_zero hp)] at hp
459+
rw [finrank_eq_one_iff_of_nonzero (dirVec hp) (dirVec_ne_zero hp) (K := ℝ)] at hp
463460
rw [← Submodule.map_subtype_span_singleton, hp]
464461
simp
465462

Poncelet/Transfer.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ theorem fChord_w [DecidableEq K] [CharZero K] :
365365
grind
366366

367367
@[simp]
368-
theorem fPoint_w [DecidableEq K] [CharZero K] : fPoint cf (w cf) =
368+
theorem fPoint_w [CharZero K] : fPoint cf (w cf) =
369369
P2.mk ![(cf.u - cf.r) * (cf.u + cf.r) ^ 2 + 2 * cf.r, -2 * cf.k * cf.r, (cf.u + cf.r) ^ 2]
370370
(by
371371
by_cases h : cf.u + cf.r = 0
@@ -435,7 +435,7 @@ theorem fChord_neg_w [DecidableEq K] [CharZero K] :
435435
· ring
436436

437437
@[simp]
438-
theorem fPoint_neg_w [DecidableEq K] [CharZero K] : fPoint cf (-w cf) =
438+
theorem fPoint_neg_w [CharZero K] : fPoint cf (-w cf) =
439439
P2.mk ![(cf.u - cf.r) * (cf.u + cf.r) ^ 2 + 2 * cf.r, 2 * cf.k * cf.r, (cf.u + cf.r) ^ 2]
440440
(by
441441
by_cases h : cf.u + cf.r = 0

lake-manifest.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "13ecfbb8be8bbea477028cd3dcf5eae0c92e47b1",
8+
"rev": "f178e492e7f345d7be5a57d2178e95f7a3cc070b",
99
"name": "«doc-gen4»",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "main",
@@ -25,12 +25,22 @@
2525
"type": "git",
2626
"subDir": null,
2727
"scope": "leanprover-community",
28-
"rev": "1aca177ec824a36582f55fb0396d8f83be20da77",
28+
"rev": "2d6247196524215d9beb18820e09d6bd5537bf8e",
2929
"name": "mathlib",
3030
"manifestFile": "lake-manifest.json",
3131
"inputRev": "master",
3232
"inherited": false,
3333
"configFile": "lakefile.lean"},
34+
{"url": "https://github.com/david-christiansen/leansqlite",
35+
"type": "git",
36+
"subDir": null,
37+
"scope": "",
38+
"rev": "739abe6c8ae0602d6ce56461d33f3e49837c9b70",
39+
"name": "leansqlite",
40+
"manifestFile": "lake-manifest.json",
41+
"inputRev": "main",
42+
"inherited": true,
43+
"configFile": "lakefile.lean"},
3444
{"url": "https://github.com/leanprover/lean4-cli",
3545
"type": "git",
3646
"subDir": null,
@@ -74,8 +84,8 @@
7484
{"url": "https://github.com/leanprover-community/plausible",
7585
"type": "git",
7686
"subDir": null,
77-
"scope": "leanprover-community",
78-
"rev": "a8191ec244102f576a8cd93399cdd8cc489e47cd",
87+
"scope": "",
88+
"rev": "b3dd6c3ebc0a71685e86bea9223be39ea4c299fb",
7989
"name": "plausible",
8090
"manifestFile": "lake-manifest.json",
8191
"inputRev": "main",
@@ -95,7 +105,7 @@
95105
"type": "git",
96106
"subDir": null,
97107
"scope": "leanprover-community",
98-
"rev": "7ccd5e026eb2b3581915ff3f0d1cd918e18c2ab9",
108+
"rev": "17d5e44a634099607fae899127736377c3517f95",
99109
"name": "importGraph",
100110
"manifestFile": "lake-manifest.json",
101111
"inputRev": "main",
@@ -105,17 +115,17 @@
105115
"type": "git",
106116
"subDir": null,
107117
"scope": "leanprover-community",
108-
"rev": "06c949a3f4a3b2eb0bd8601e31269b9f4f820aa6",
118+
"rev": "b5e00ab2b8adfc9dfc9335ca3dadca7caec37629",
109119
"name": "proofwidgets",
110120
"manifestFile": "lake-manifest.json",
111-
"inputRev": "v0.0.88",
121+
"inputRev": "v0.0.89",
112122
"inherited": true,
113123
"configFile": "lakefile.lean"},
114124
{"url": "https://github.com/leanprover-community/aesop",
115125
"type": "git",
116126
"subDir": null,
117127
"scope": "leanprover-community",
118-
"rev": "eb165126bfb2988738792c9ae37e09d58e2fec83",
128+
"rev": "de5caa559acfd0a1577b3bc49c33887a91c4792e",
119129
"name": "aesop",
120130
"manifestFile": "lake-manifest.json",
121131
"inputRev": "master",
@@ -125,7 +135,7 @@
125135
"type": "git",
126136
"subDir": null,
127137
"scope": "leanprover-community",
128-
"rev": "90217e10b2db6c6c445d30faae7fea453d9782c0",
138+
"rev": "db277098a6c4ae41e0aa9938382a98f14af9da38",
129139
"name": "Qq",
130140
"manifestFile": "lake-manifest.json",
131141
"inputRev": "master",
@@ -135,7 +145,7 @@
135145
"type": "git",
136146
"subDir": null,
137147
"scope": "leanprover-community",
138-
"rev": "965500ff9171556698ec2714b936739d5da438c2",
148+
"rev": "07be181c4f3c157e385eaa0259ac248bc3eb3626",
139149
"name": "batteries",
140150
"manifestFile": "lake-manifest.json",
141151
"inputRev": "main",

lean-toolchain

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

0 commit comments

Comments
 (0)