| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > ivthdich | GIF version | ||
| Description: The intermediate value
theorem implies real number dichotomy. Because
real number dichotomy (also known as analytic LLPO) is a constructive
taboo, this means we will be unable to prove the intermediate value
theorem as stated here (although versions with additional conditions,
such as ivthinc 15396 for strictly monotonic functions, can be
proved).
The proof is via a function which we call the hover function and which is also described in Section 5.1 of [Bauer], p. 493. Consider any real number 𝑧. We want to show that 𝑧 ≤ 0 ∨ 0 ≤ 𝑧. Because of hovercncf 15399, hovera 15400, and hoverb 15401, we are able to apply the intermediate value theorem to get a value 𝑐 such that the hover function at 𝑐 equals 𝑧. By axltwlin 8252, 𝑐 < 1 or 0 < 𝑐, and that leads to 𝑧 ≤ 0 by hoverlt1 15402 or 0 ≤ 𝑧 by hovergt0 15403. (Contributed by Jim Kingdon and Mario Carneiro, 22-Jul-2025.) |
| Ref | Expression |
|---|---|
| ivthdich | ⊢ (∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0))) → ∀𝑟 ∈ ℝ ∀𝑠 ∈ ℝ (𝑟 ≤ 𝑠 ∨ 𝑠 ≤ 𝑟)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | breq2 4093 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑞 → (𝑎 < 𝑥 ↔ 𝑎 < 𝑞)) | |
| 2 | breq1 4092 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑞 → (𝑥 < 𝑏 ↔ 𝑞 < 𝑏)) | |
| 3 | fveqeq2 5651 | . . . . . . . . . 10 ⊢ (𝑥 = 𝑞 → ((𝑓‘𝑥) = 0 ↔ (𝑓‘𝑞) = 0)) | |
| 4 | 1, 2, 3 | 3anbi123d 1348 | . . . . . . . . 9 ⊢ (𝑥 = 𝑞 → ((𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0) ↔ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0))) |
| 5 | 4 | cbvrexv 2767 | . . . . . . . 8 ⊢ (∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0) ↔ ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0)) |
| 6 | 5 | imbi2i 226 | . . . . . . 7 ⊢ (((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0)) ↔ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0))) |
| 7 | 6 | 2ralbii 2539 | . . . . . 6 ⊢ (∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0)) ↔ ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0))) |
| 8 | 7 | imbi2i 226 | . . . . 5 ⊢ ((𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0))) ↔ (𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0)))) |
| 9 | 8 | albii 1518 | . . . 4 ⊢ (∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0))) ↔ ∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0)))) |
| 10 | preq1 3749 | . . . . . . . . 9 ⊢ (𝑡 = 𝑥 → {𝑡, 0} = {𝑥, 0}) | |
| 11 | 10 | infeq1d 7216 | . . . . . . . 8 ⊢ (𝑡 = 𝑥 → inf({𝑡, 0}, ℝ, < ) = inf({𝑥, 0}, ℝ, < )) |
| 12 | oveq1 6030 | . . . . . . . 8 ⊢ (𝑡 = 𝑥 → (𝑡 − 1) = (𝑥 − 1)) | |
| 13 | 11, 12 | preq12d 3757 | . . . . . . 7 ⊢ (𝑡 = 𝑥 → {inf({𝑡, 0}, ℝ, < ), (𝑡 − 1)} = {inf({𝑥, 0}, ℝ, < ), (𝑥 − 1)}) |
| 14 | 13 | supeq1d 7191 | . . . . . 6 ⊢ (𝑡 = 𝑥 → sup({inf({𝑡, 0}, ℝ, < ), (𝑡 − 1)}, ℝ, < ) = sup({inf({𝑥, 0}, ℝ, < ), (𝑥 − 1)}, ℝ, < )) |
| 15 | 14 | cbvmptv 4186 | . . . . 5 ⊢ (𝑡 ∈ ℝ ↦ sup({inf({𝑡, 0}, ℝ, < ), (𝑡 − 1)}, ℝ, < )) = (𝑥 ∈ ℝ ↦ sup({inf({𝑥, 0}, ℝ, < ), (𝑥 − 1)}, ℝ, < )) |
| 16 | simpr 110 | . . . . 5 ⊢ ((∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0))) ∧ 𝑧 ∈ ℝ) → 𝑧 ∈ ℝ) | |
| 17 | 9 | biimpri 133 | . . . . . 6 ⊢ (∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0))) → ∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0)))) |
| 18 | 17 | adantr 276 | . . . . 5 ⊢ ((∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0))) ∧ 𝑧 ∈ ℝ) → ∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0)))) |
| 19 | 15, 16, 18 | ivthdichlem 15404 | . . . 4 ⊢ ((∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑞 ∈ ℝ (𝑎 < 𝑞 ∧ 𝑞 < 𝑏 ∧ (𝑓‘𝑞) = 0))) ∧ 𝑧 ∈ ℝ) → (𝑧 ≤ 0 ∨ 0 ≤ 𝑧)) |
| 20 | 9, 19 | sylanb 284 | . . 3 ⊢ ((∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0))) ∧ 𝑧 ∈ ℝ) → (𝑧 ≤ 0 ∨ 0 ≤ 𝑧)) |
| 21 | 20 | ralrimiva 2604 | . 2 ⊢ (∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0))) → ∀𝑧 ∈ ℝ (𝑧 ≤ 0 ∨ 0 ≤ 𝑧)) |
| 22 | dich0 15405 | . 2 ⊢ (∀𝑧 ∈ ℝ (𝑧 ≤ 0 ∨ 0 ≤ 𝑧) ↔ ∀𝑟 ∈ ℝ ∀𝑠 ∈ ℝ (𝑟 ≤ 𝑠 ∨ 𝑠 ≤ 𝑟)) | |
| 23 | 21, 22 | sylib 122 | 1 ⊢ (∀𝑓(𝑓 ∈ (ℝ–cn→ℝ) → ∀𝑎 ∈ ℝ ∀𝑏 ∈ ℝ ((𝑎 < 𝑏 ∧ (𝑓‘𝑎) < 0 ∧ 0 < (𝑓‘𝑏)) → ∃𝑥 ∈ ℝ (𝑎 < 𝑥 ∧ 𝑥 < 𝑏 ∧ (𝑓‘𝑥) = 0))) → ∀𝑟 ∈ ℝ ∀𝑠 ∈ ℝ (𝑟 ≤ 𝑠 ∨ 𝑠 ≤ 𝑟)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 ∨ wo 715 ∧ w3a 1004 ∀wal 1395 = wceq 1397 ∈ wcel 2201 ∀wral 2509 ∃wrex 2510 {cpr 3671 class class class wbr 4089 ↦ cmpt 4151 ‘cfv 5328 (class class class)co 6023 supcsup 7186 infcinf 7187 ℝcr 8036 0cc0 8037 1c1 8038 < clt 8219 ≤ cle 8220 − cmin 8355 –cn→ccncf 15323 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 619 ax-in2 620 ax-io 716 ax-5 1495 ax-7 1496 ax-gen 1497 ax-ie1 1541 ax-ie2 1542 ax-8 1552 ax-10 1553 ax-11 1554 ax-i12 1555 ax-bndl 1557 ax-4 1558 ax-17 1574 ax-i9 1578 ax-ial 1582 ax-i5r 1583 ax-13 2203 ax-14 2204 ax-ext 2212 ax-coll 4205 ax-sep 4208 ax-nul 4216 ax-pow 4266 ax-pr 4301 ax-un 4532 ax-setind 4637 ax-iinf 4688 ax-cnex 8128 ax-resscn 8129 ax-1cn 8130 ax-1re 8131 ax-icn 8132 ax-addcl 8133 ax-addrcl 8134 ax-mulcl 8135 ax-mulrcl 8136 ax-addcom 8137 ax-mulcom 8138 ax-addass 8139 ax-mulass 8140 ax-distr 8141 ax-i2m1 8142 ax-0lt1 8143 ax-1rid 8144 ax-0id 8145 ax-rnegex 8146 ax-precex 8147 ax-cnre 8148 ax-pre-ltirr 8149 ax-pre-ltwlin 8150 ax-pre-lttrn 8151 ax-pre-apti 8152 ax-pre-ltadd 8153 ax-pre-mulgt0 8154 ax-pre-mulext 8155 ax-arch 8156 ax-caucvg 8157 ax-addf 8159 |
| This theorem depends on definitions: df-bi 117 df-stab 838 df-dc 842 df-3or 1005 df-3an 1006 df-tru 1400 df-fal 1403 df-nf 1509 df-sb 1810 df-eu 2081 df-mo 2082 df-clab 2217 df-cleq 2223 df-clel 2226 df-nfc 2362 df-ne 2402 df-nel 2497 df-ral 2514 df-rex 2515 df-reu 2516 df-rmo 2517 df-rab 2518 df-v 2803 df-sbc 3031 df-csb 3127 df-dif 3201 df-un 3203 df-in 3205 df-ss 3212 df-nul 3494 df-if 3605 df-pw 3655 df-sn 3676 df-pr 3677 df-op 3679 df-uni 3895 df-int 3930 df-iun 3973 df-br 4090 df-opab 4152 df-mpt 4153 df-tr 4189 df-id 4392 df-po 4395 df-iso 4396 df-iord 4465 df-on 4467 df-ilim 4468 df-suc 4470 df-iom 4691 df-xp 4733 df-rel 4734 df-cnv 4735 df-co 4736 df-dm 4737 df-rn 4738 df-res 4739 df-ima 4740 df-iota 5288 df-fun 5330 df-fn 5331 df-f 5332 df-f1 5333 df-fo 5334 df-f1o 5335 df-fv 5336 df-isom 5337 df-riota 5976 df-ov 6026 df-oprab 6027 df-mpo 6028 df-1st 6308 df-2nd 6309 df-recs 6476 df-frec 6562 df-map 6824 df-sup 7188 df-inf 7189 df-pnf 8221 df-mnf 8222 df-xr 8223 df-ltxr 8224 df-le 8225 df-sub 8357 df-neg 8358 df-reap 8760 df-ap 8767 df-div 8858 df-inn 9149 df-2 9207 df-3 9208 df-4 9209 df-n0 9408 df-z 9485 df-uz 9761 df-q 9859 df-rp 9894 df-xneg 10012 df-xadd 10013 df-ioo 10132 df-seqfrec 10716 df-exp 10807 df-cj 11425 df-re 11426 df-im 11427 df-rsqrt 11581 df-abs 11582 df-rest 13347 df-topgen 13366 df-psmet 14581 df-xmet 14582 df-met 14583 df-bl 14584 df-mopn 14585 df-top 14751 df-topon 14764 df-bases 14796 df-cn 14941 df-cnp 14942 df-tx 15006 df-cncf 15324 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |