Skip to content

Commit 3283c4c

Browse files
committed
chore(Counterexamples/TopologistsSineCurve): remove defeq abuse (#38673)
Remove a `backward.isDefEq.respectTransparency`
1 parent b5364a4 commit 3283c4c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Counterexamples/TopologistsSineCurve.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ lemma exists_mem_Ioc_of_y {y : ℝ} (hy : y ∈ Icc (-1) 1) {a : ℝ} (ha : 0 <
152152
rw [dist_eq, sub_zero, abs_of_pos (xSeq_pos _ N)] at h_dist
153153
linarith
154154

155-
set_option backward.isDefEq.respectTransparency false in
156155
/-- The set `T` is not path-connected. -/
157156
theorem not_isPathConnected_T : ¬ IsPathConnected T := by
158157
-- **Step 1**:
@@ -173,7 +172,7 @@ theorem not_isPathConnected_T : ¬ IsPathConnected T := by
173172
-- connected subset of `ℝ` is an interval, we have `[0, a] ⊂ x(p([t0, t1]))`.
174173
obtain ⟨t₁, ht₁⟩ : ∃ t₁, t₀ < t₁ ∧ dist t₀ t₁ < δ := by
175174
refine exists_unitInterval_gt (lt_of_le_of_ne (unitInterval.le_one t₀) fun ht₀' ↦ ?_) hδ
176-
have w_x_path : (p 1).1 = 1 := by simp [w]
175+
have w_x_path : (p 1).1 = 1 := by rw [Path.target p, w]
177176
have x_eq_zero : (p 1).1 = 0 := by rwa [ht₀'] at h_pt₀_x
178177
linarith
179178
let a := (p t₁).1

0 commit comments

Comments
 (0)