Skip to content

Commit 58ed06d

Browse files
committed
feat(Topology/Order/IntermediateValue): add theorems for preconnected and connected intervals with uIoo and uIoc
1 parent e91a22a commit 58ed06d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Mathlib/Topology/Order/IntermediateValue.lean

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,15 @@ theorem isPreconnected_Ioi : IsPreconnected (Ioi a) :=
453453
theorem isPreconnected_Ioo : IsPreconnected (Ioo a b) :=
454454
ordConnected_Ioo.isPreconnected
455455

456+
theorem isPreconnected_uIoo : IsPreconnected (uIoo a b) :=
457+
isPreconnected_Ioo
458+
456459
theorem isPreconnected_Ioc : IsPreconnected (Ioc a b) :=
457460
ordConnected_Ioc.isPreconnected
458461

462+
theorem isPreconnected_uIoc : IsPreconnected (uIoc a b) :=
463+
isPreconnected_Ioc
464+
459465
theorem isPreconnected_Ico : IsPreconnected (Ico a b) :=
460466
ordConnected_Ico.isPreconnected
461467

@@ -477,9 +483,15 @@ theorem isConnected_Icc (h : a ≤ b) : IsConnected (Icc a b) :=
477483
theorem isConnected_Ioo (h : a < b) : IsConnected (Ioo a b) :=
478484
⟨nonempty_Ioo.2 h, isPreconnected_Ioo⟩
479485

486+
theorem isConnected_uIoo (h : a ≠ b) : IsConnected (uIoo a b) :=
487+
⟨nonempty_uIoo.2 h, isPreconnected_uIoo⟩
488+
480489
theorem isConnected_Ioc (h : a < b) : IsConnected (Ioc a b) :=
481490
⟨nonempty_Ioc.2 h, isPreconnected_Ioc⟩
482491

492+
theorem isConnected_uIoc (h : a ≠ b) : IsConnected (uIoc a b) :=
493+
⟨nonempty_uIoc.2 h, isPreconnected_uIoc⟩
494+
483495
theorem isConnected_Ico (h : a < b) : IsConnected (Ico a b) :=
484496
⟨nonempty_Ico.2 h, isPreconnected_Ico⟩
485497

0 commit comments

Comments
 (0)