MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  evth Structured version   Visualization version   GIF version

Theorem evth 24122
Description: The Extreme Value Theorem. A continuous function from a nonempty compact topological space to the reals attains its maximum at some point in the domain. (Contributed by Mario Carneiro, 12-Aug-2014.)
Hypotheses
Ref Expression
bndth.1 𝑋 = 𝐽
bndth.2 𝐾 = (topGen‘ran (,))
bndth.3 (𝜑𝐽 ∈ Comp)
bndth.4 (𝜑𝐹 ∈ (𝐽 Cn 𝐾))
evth.5 (𝜑𝑋 ≠ ∅)
Assertion
Ref Expression
evth (𝜑 → ∃𝑥𝑋𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥))
Distinct variable groups:   𝑥,𝑦,𝐹   𝑦,𝐾   𝜑,𝑥,𝑦   𝑥,𝑋,𝑦   𝑥,𝐽,𝑦
Allowed substitution hint:   𝐾(𝑥)

Proof of Theorem evth
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 bndth.1 . . . . 5 𝑋 = 𝐽
2 bndth.2 . . . . 5 𝐾 = (topGen‘ran (,))
3 bndth.3 . . . . . 6 (𝜑𝐽 ∈ Comp)
43adantr 481 . . . . 5 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → 𝐽 ∈ Comp)
5 cmptop 22546 . . . . . . . . . 10 (𝐽 ∈ Comp → 𝐽 ∈ Top)
64, 5syl 17 . . . . . . . . 9 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → 𝐽 ∈ Top)
71toptopon 22066 . . . . . . . . 9 (𝐽 ∈ Top ↔ 𝐽 ∈ (TopOn‘𝑋))
86, 7sylib 217 . . . . . . . 8 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → 𝐽 ∈ (TopOn‘𝑋))
9 eqid 2738 . . . . . . . . . . 11 (TopOpen‘ℂfld) = (TopOpen‘ℂfld)
109cnfldtopon 23946 . . . . . . . . . 10 (TopOpen‘ℂfld) ∈ (TopOn‘ℂ)
1110a1i 11 . . . . . . . . 9 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (TopOpen‘ℂfld) ∈ (TopOn‘ℂ))
12 1cnd 10970 . . . . . . . . 9 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → 1 ∈ ℂ)
138, 11, 12cnmptc 22813 . . . . . . . 8 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ 1) ∈ (𝐽 Cn (TopOpen‘ℂfld)))
14 bndth.4 . . . . . . . . . . . . . . . . 17 (𝜑𝐹 ∈ (𝐽 Cn 𝐾))
15 uniretop 23926 . . . . . . . . . . . . . . . . . . 19 ℝ = (topGen‘ran (,))
162unieqi 4852 . . . . . . . . . . . . . . . . . . 19 𝐾 = (topGen‘ran (,))
1715, 16eqtr4i 2769 . . . . . . . . . . . . . . . . . 18 ℝ = 𝐾
181, 17cnf 22397 . . . . . . . . . . . . . . . . 17 (𝐹 ∈ (𝐽 Cn 𝐾) → 𝐹:𝑋⟶ℝ)
1914, 18syl 17 . . . . . . . . . . . . . . . 16 (𝜑𝐹:𝑋⟶ℝ)
2019frnd 6608 . . . . . . . . . . . . . . 15 (𝜑 → ran 𝐹 ⊆ ℝ)
2119fdmd 6611 . . . . . . . . . . . . . . . . 17 (𝜑 → dom 𝐹 = 𝑋)
22 evth.5 . . . . . . . . . . . . . . . . 17 (𝜑𝑋 ≠ ∅)
2321, 22eqnetrd 3011 . . . . . . . . . . . . . . . 16 (𝜑 → dom 𝐹 ≠ ∅)
24 dm0rn0 5834 . . . . . . . . . . . . . . . . 17 (dom 𝐹 = ∅ ↔ ran 𝐹 = ∅)
2524necon3bii 2996 . . . . . . . . . . . . . . . 16 (dom 𝐹 ≠ ∅ ↔ ran 𝐹 ≠ ∅)
2623, 25sylib 217 . . . . . . . . . . . . . . 15 (𝜑 → ran 𝐹 ≠ ∅)
271, 2, 3, 14bndth 24121 . . . . . . . . . . . . . . . 16 (𝜑 → ∃𝑥 ∈ ℝ ∀𝑦𝑋 (𝐹𝑦) ≤ 𝑥)
2819ffnd 6601 . . . . . . . . . . . . . . . . . 18 (𝜑𝐹 Fn 𝑋)
29 breq1 5077 . . . . . . . . . . . . . . . . . . 19 (𝑧 = (𝐹𝑦) → (𝑧𝑥 ↔ (𝐹𝑦) ≤ 𝑥))
3029ralrn 6964 . . . . . . . . . . . . . . . . . 18 (𝐹 Fn 𝑋 → (∀𝑧 ∈ ran 𝐹 𝑧𝑥 ↔ ∀𝑦𝑋 (𝐹𝑦) ≤ 𝑥))
3128, 30syl 17 . . . . . . . . . . . . . . . . 17 (𝜑 → (∀𝑧 ∈ ran 𝐹 𝑧𝑥 ↔ ∀𝑦𝑋 (𝐹𝑦) ≤ 𝑥))
3231rexbidv 3226 . . . . . . . . . . . . . . . 16 (𝜑 → (∃𝑥 ∈ ℝ ∀𝑧 ∈ ran 𝐹 𝑧𝑥 ↔ ∃𝑥 ∈ ℝ ∀𝑦𝑋 (𝐹𝑦) ≤ 𝑥))
3327, 32mpbird 256 . . . . . . . . . . . . . . 15 (𝜑 → ∃𝑥 ∈ ℝ ∀𝑧 ∈ ran 𝐹 𝑧𝑥)
3420, 26, 333jca 1127 . . . . . . . . . . . . . 14 (𝜑 → (ran 𝐹 ⊆ ℝ ∧ ran 𝐹 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑧 ∈ ran 𝐹 𝑧𝑥))
35 suprcl 11935 . . . . . . . . . . . . . 14 ((ran 𝐹 ⊆ ℝ ∧ ran 𝐹 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑧 ∈ ran 𝐹 𝑧𝑥) → sup(ran 𝐹, ℝ, < ) ∈ ℝ)
3634, 35syl 17 . . . . . . . . . . . . 13 (𝜑 → sup(ran 𝐹, ℝ, < ) ∈ ℝ)
3736recnd 11003 . . . . . . . . . . . 12 (𝜑 → sup(ran 𝐹, ℝ, < ) ∈ ℂ)
3837adantr 481 . . . . . . . . . . 11 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → sup(ran 𝐹, ℝ, < ) ∈ ℂ)
398, 11, 38cnmptc 22813 . . . . . . . . . 10 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ sup(ran 𝐹, ℝ, < )) ∈ (𝐽 Cn (TopOpen‘ℂfld)))
4019feqmptd 6837 . . . . . . . . . . . 12 (𝜑𝐹 = (𝑧𝑋 ↦ (𝐹𝑧)))
419cnfldtop 23947 . . . . . . . . . . . . . 14 (TopOpen‘ℂfld) ∈ Top
42 cnrest2r 22438 . . . . . . . . . . . . . 14 ((TopOpen‘ℂfld) ∈ Top → (𝐽 Cn ((TopOpen‘ℂfld) ↾t ℝ)) ⊆ (𝐽 Cn (TopOpen‘ℂfld)))
4341, 42ax-mp 5 . . . . . . . . . . . . 13 (𝐽 Cn ((TopOpen‘ℂfld) ↾t ℝ)) ⊆ (𝐽 Cn (TopOpen‘ℂfld))
449tgioo2 23966 . . . . . . . . . . . . . . . 16 (topGen‘ran (,)) = ((TopOpen‘ℂfld) ↾t ℝ)
452, 44eqtri 2766 . . . . . . . . . . . . . . 15 𝐾 = ((TopOpen‘ℂfld) ↾t ℝ)
4645oveq2i 7286 . . . . . . . . . . . . . 14 (𝐽 Cn 𝐾) = (𝐽 Cn ((TopOpen‘ℂfld) ↾t ℝ))
4714, 46eleqtrdi 2849 . . . . . . . . . . . . 13 (𝜑𝐹 ∈ (𝐽 Cn ((TopOpen‘ℂfld) ↾t ℝ)))
4843, 47sselid 3919 . . . . . . . . . . . 12 (𝜑𝐹 ∈ (𝐽 Cn (TopOpen‘ℂfld)))
4940, 48eqeltrrd 2840 . . . . . . . . . . 11 (𝜑 → (𝑧𝑋 ↦ (𝐹𝑧)) ∈ (𝐽 Cn (TopOpen‘ℂfld)))
5049adantr 481 . . . . . . . . . 10 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (𝐹𝑧)) ∈ (𝐽 Cn (TopOpen‘ℂfld)))
519subcn 24029 . . . . . . . . . . 11 − ∈ (((TopOpen‘ℂfld) ×t (TopOpen‘ℂfld)) Cn (TopOpen‘ℂfld))
5251a1i 11 . . . . . . . . . 10 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → − ∈ (((TopOpen‘ℂfld) ×t (TopOpen‘ℂfld)) Cn (TopOpen‘ℂfld)))
538, 39, 50, 52cnmpt12f 22817 . . . . . . . . 9 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ∈ (𝐽 Cn (TopOpen‘ℂfld)))
5436ad2antrr 723 . . . . . . . . . . . . . . 15 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → sup(ran 𝐹, ℝ, < ) ∈ ℝ)
55 ffvelrn 6959 . . . . . . . . . . . . . . . . . 18 ((𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ∧ 𝑧𝑋) → (𝐹𝑧) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}))
5655adantll 711 . . . . . . . . . . . . . . . . 17 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (𝐹𝑧) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}))
57 eldifsn 4720 . . . . . . . . . . . . . . . . 17 ((𝐹𝑧) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ ((𝐹𝑧) ∈ ℝ ∧ (𝐹𝑧) ≠ sup(ran 𝐹, ℝ, < )))
5856, 57sylib 217 . . . . . . . . . . . . . . . 16 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → ((𝐹𝑧) ∈ ℝ ∧ (𝐹𝑧) ≠ sup(ran 𝐹, ℝ, < )))
5958simpld 495 . . . . . . . . . . . . . . 15 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (𝐹𝑧) ∈ ℝ)
6054, 59resubcld 11403 . . . . . . . . . . . . . 14 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) ∈ ℝ)
6160recnd 11003 . . . . . . . . . . . . 13 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) ∈ ℂ)
6254recnd 11003 . . . . . . . . . . . . . 14 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → sup(ran 𝐹, ℝ, < ) ∈ ℂ)
6359recnd 11003 . . . . . . . . . . . . . 14 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (𝐹𝑧) ∈ ℂ)
6458simprd 496 . . . . . . . . . . . . . . 15 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (𝐹𝑧) ≠ sup(ran 𝐹, ℝ, < ))
6564necomd 2999 . . . . . . . . . . . . . 14 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → sup(ran 𝐹, ℝ, < ) ≠ (𝐹𝑧))
6662, 63, 65subne0d 11341 . . . . . . . . . . . . 13 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) ≠ 0)
67 eldifsn 4720 . . . . . . . . . . . . 13 ((sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) ∈ (ℂ ∖ {0}) ↔ ((sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) ∈ ℂ ∧ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) ≠ 0))
6861, 66, 67sylanbrc 583 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) ∈ (ℂ ∖ {0}))
6968fmpttd 6989 . . . . . . . . . . 11 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))):𝑋⟶(ℂ ∖ {0}))
7069frnd 6608 . . . . . . . . . 10 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → ran (𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ⊆ (ℂ ∖ {0}))
71 difssd 4067 . . . . . . . . . 10 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (ℂ ∖ {0}) ⊆ ℂ)
72 cnrest2 22437 . . . . . . . . . 10 (((TopOpen‘ℂfld) ∈ (TopOn‘ℂ) ∧ ran (𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ⊆ (ℂ ∖ {0}) ∧ (ℂ ∖ {0}) ⊆ ℂ) → ((𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ∈ (𝐽 Cn (TopOpen‘ℂfld)) ↔ (𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ∈ (𝐽 Cn ((TopOpen‘ℂfld) ↾t (ℂ ∖ {0})))))
7311, 70, 71, 72syl3anc 1370 . . . . . . . . 9 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → ((𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ∈ (𝐽 Cn (TopOpen‘ℂfld)) ↔ (𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ∈ (𝐽 Cn ((TopOpen‘ℂfld) ↾t (ℂ ∖ {0})))))
7453, 73mpbid 231 . . . . . . . 8 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ∈ (𝐽 Cn ((TopOpen‘ℂfld) ↾t (ℂ ∖ {0}))))
75 eqid 2738 . . . . . . . . . 10 ((TopOpen‘ℂfld) ↾t (ℂ ∖ {0})) = ((TopOpen‘ℂfld) ↾t (ℂ ∖ {0}))
769, 75divcn 24031 . . . . . . . . 9 / ∈ (((TopOpen‘ℂfld) ×t ((TopOpen‘ℂfld) ↾t (ℂ ∖ {0}))) Cn (TopOpen‘ℂfld))
7776a1i 11 . . . . . . . 8 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → / ∈ (((TopOpen‘ℂfld) ×t ((TopOpen‘ℂfld) ↾t (ℂ ∖ {0}))) Cn (TopOpen‘ℂfld)))
788, 13, 74, 77cnmpt12f 22817 . . . . . . 7 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ∈ (𝐽 Cn (TopOpen‘ℂfld)))
7960, 66rereccld 11802 . . . . . . . . . 10 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑧𝑋) → (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) ∈ ℝ)
8079fmpttd 6989 . . . . . . . . 9 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))):𝑋⟶ℝ)
8180frnd 6608 . . . . . . . 8 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → ran (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ⊆ ℝ)
82 ax-resscn 10928 . . . . . . . . 9 ℝ ⊆ ℂ
8382a1i 11 . . . . . . . 8 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → ℝ ⊆ ℂ)
84 cnrest2 22437 . . . . . . . 8 (((TopOpen‘ℂfld) ∈ (TopOn‘ℂ) ∧ ran (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ⊆ ℝ ∧ ℝ ⊆ ℂ) → ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ∈ (𝐽 Cn (TopOpen‘ℂfld)) ↔ (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ∈ (𝐽 Cn ((TopOpen‘ℂfld) ↾t ℝ))))
8511, 81, 83, 84syl3anc 1370 . . . . . . 7 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ∈ (𝐽 Cn (TopOpen‘ℂfld)) ↔ (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ∈ (𝐽 Cn ((TopOpen‘ℂfld) ↾t ℝ))))
8678, 85mpbid 231 . . . . . 6 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ∈ (𝐽 Cn ((TopOpen‘ℂfld) ↾t ℝ)))
8786, 46eleqtrrdi 2850 . . . . 5 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) ∈ (𝐽 Cn 𝐾))
881, 2, 4, 87bndth 24121 . . . 4 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → ∃𝑥 ∈ ℝ ∀𝑦𝑋 ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥)
8936ad2antrr 723 . . . . . . . 8 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → sup(ran 𝐹, ℝ, < ) ∈ ℝ)
90 simpr 485 . . . . . . . . . . 11 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 𝑥 ∈ ℝ)
91 1re 10975 . . . . . . . . . . 11 1 ∈ ℝ
92 ifcl 4504 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ∧ 1 ∈ ℝ) → if(1 ≤ 𝑥, 𝑥, 1) ∈ ℝ)
9390, 91, 92sylancl 586 . . . . . . . . . 10 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → if(1 ≤ 𝑥, 𝑥, 1) ∈ ℝ)
94 0red 10978 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 0 ∈ ℝ)
9591a1i 11 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 1 ∈ ℝ)
96 0lt1 11497 . . . . . . . . . . . . 13 0 < 1
9796a1i 11 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 0 < 1)
98 max1 12919 . . . . . . . . . . . . 13 ((1 ∈ ℝ ∧ 𝑥 ∈ ℝ) → 1 ≤ if(1 ≤ 𝑥, 𝑥, 1))
9991, 90, 98sylancr 587 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 1 ≤ if(1 ≤ 𝑥, 𝑥, 1))
10094, 95, 93, 97, 99ltletrd 11135 . . . . . . . . . . 11 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 0 < if(1 ≤ 𝑥, 𝑥, 1))
101100gt0ne0d 11539 . . . . . . . . . 10 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → if(1 ≤ 𝑥, 𝑥, 1) ≠ 0)
10293, 101rereccld 11802 . . . . . . . . 9 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (1 / if(1 ≤ 𝑥, 𝑥, 1)) ∈ ℝ)
10393, 100recgt0d 11909 . . . . . . . . 9 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 0 < (1 / if(1 ≤ 𝑥, 𝑥, 1)))
104102, 103elrpd 12769 . . . . . . . 8 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (1 / if(1 ≤ 𝑥, 𝑥, 1)) ∈ ℝ+)
10589, 104ltsubrpd 12804 . . . . . . 7 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) < sup(ran 𝐹, ℝ, < ))
10689, 102resubcld 11403 . . . . . . . 8 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ∈ ℝ)
107106, 89ltnled 11122 . . . . . . 7 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → ((sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) < sup(ran 𝐹, ℝ, < ) ↔ ¬ sup(ran 𝐹, ℝ, < ) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
108105, 107mpbid 231 . . . . . 6 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → ¬ sup(ran 𝐹, ℝ, < ) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))))
109 simprl 768 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → 𝑥 ∈ ℝ)
110 max2 12921 . . . . . . . . . . . 12 ((1 ∈ ℝ ∧ 𝑥 ∈ ℝ) → 𝑥 ≤ if(1 ≤ 𝑥, 𝑥, 1))
11191, 109, 110sylancr 587 . . . . . . . . . . 11 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → 𝑥 ≤ if(1 ≤ 𝑥, 𝑥, 1))
11236ad2antrr 723 . . . . . . . . . . . . . 14 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → sup(ran 𝐹, ℝ, < ) ∈ ℝ)
113 ffvelrn 6959 . . . . . . . . . . . . . . . . 17 ((𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ∧ 𝑦𝑋) → (𝐹𝑦) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}))
114113ad2ant2l 743 . . . . . . . . . . . . . . . 16 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (𝐹𝑦) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}))
115 eldifsn 4720 . . . . . . . . . . . . . . . 16 ((𝐹𝑦) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ ((𝐹𝑦) ∈ ℝ ∧ (𝐹𝑦) ≠ sup(ran 𝐹, ℝ, < )))
116114, 115sylib 217 . . . . . . . . . . . . . . 15 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → ((𝐹𝑦) ∈ ℝ ∧ (𝐹𝑦) ≠ sup(ran 𝐹, ℝ, < )))
117116simpld 495 . . . . . . . . . . . . . 14 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (𝐹𝑦) ∈ ℝ)
118112, 117resubcld 11403 . . . . . . . . . . . . 13 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)) ∈ ℝ)
119 fnfvelrn 6958 . . . . . . . . . . . . . . . . . . 19 ((𝐹 Fn 𝑋𝑦𝑋) → (𝐹𝑦) ∈ ran 𝐹)
12028, 119sylan 580 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑦𝑋) → (𝐹𝑦) ∈ ran 𝐹)
121 suprub 11936 . . . . . . . . . . . . . . . . . 18 (((ran 𝐹 ⊆ ℝ ∧ ran 𝐹 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑧 ∈ ran 𝐹 𝑧𝑥) ∧ (𝐹𝑦) ∈ ran 𝐹) → (𝐹𝑦) ≤ sup(ran 𝐹, ℝ, < ))
12234, 120, 121syl2an2r 682 . . . . . . . . . . . . . . . . 17 ((𝜑𝑦𝑋) → (𝐹𝑦) ≤ sup(ran 𝐹, ℝ, < ))
123122ad2ant2rl 746 . . . . . . . . . . . . . . . 16 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (𝐹𝑦) ≤ sup(ran 𝐹, ℝ, < ))
124116simprd 496 . . . . . . . . . . . . . . . . 17 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (𝐹𝑦) ≠ sup(ran 𝐹, ℝ, < ))
125124necomd 2999 . . . . . . . . . . . . . . . 16 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → sup(ran 𝐹, ℝ, < ) ≠ (𝐹𝑦))
126117, 112, 123, 125leneltd 11129 . . . . . . . . . . . . . . 15 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (𝐹𝑦) < sup(ran 𝐹, ℝ, < ))
127117, 112posdifd 11562 . . . . . . . . . . . . . . 15 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → ((𝐹𝑦) < sup(ran 𝐹, ℝ, < ) ↔ 0 < (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))))
128126, 127mpbid 231 . . . . . . . . . . . . . 14 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → 0 < (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)))
129128gt0ne0d 11539 . . . . . . . . . . . . 13 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)) ≠ 0)
130118, 129rereccld 11802 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ∈ ℝ)
131109, 91, 92sylancl 586 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → if(1 ≤ 𝑥, 𝑥, 1) ∈ ℝ)
132 letr 11069 . . . . . . . . . . . 12 (((1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ∈ ℝ ∧ 𝑥 ∈ ℝ ∧ if(1 ≤ 𝑥, 𝑥, 1) ∈ ℝ) → (((1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ 𝑥𝑥 ≤ if(1 ≤ 𝑥, 𝑥, 1)) → (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ if(1 ≤ 𝑥, 𝑥, 1)))
133130, 109, 131, 132syl3anc 1370 . . . . . . . . . . 11 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (((1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ 𝑥𝑥 ≤ if(1 ≤ 𝑥, 𝑥, 1)) → (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ if(1 ≤ 𝑥, 𝑥, 1)))
134111, 133mpan2d 691 . . . . . . . . . 10 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → ((1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ 𝑥 → (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ if(1 ≤ 𝑥, 𝑥, 1)))
135 fveq2 6774 . . . . . . . . . . . . . . 15 (𝑧 = 𝑦 → (𝐹𝑧) = (𝐹𝑦))
136135oveq2d 7291 . . . . . . . . . . . . . 14 (𝑧 = 𝑦 → (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)) = (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)))
137136oveq2d 7291 . . . . . . . . . . . . 13 (𝑧 = 𝑦 → (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))) = (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))))
138 eqid 2738 . . . . . . . . . . . . 13 (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧)))) = (𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))
139 ovex 7308 . . . . . . . . . . . . 13 (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ∈ V
140137, 138, 139fvmpt 6875 . . . . . . . . . . . 12 (𝑦𝑋 → ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) = (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))))
141140breq1d 5084 . . . . . . . . . . 11 (𝑦𝑋 → (((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥 ↔ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ 𝑥))
142141ad2antll 726 . . . . . . . . . 10 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥 ↔ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ 𝑥))
143102adantrr 714 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (1 / if(1 ≤ 𝑥, 𝑥, 1)) ∈ ℝ)
144100adantrr 714 . . . . . . . . . . . . 13 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → 0 < if(1 ≤ 𝑥, 𝑥, 1))
145131, 144recgt0d 11909 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → 0 < (1 / if(1 ≤ 𝑥, 𝑥, 1)))
146 lerec 11858 . . . . . . . . . . . 12 ((((1 / if(1 ≤ 𝑥, 𝑥, 1)) ∈ ℝ ∧ 0 < (1 / if(1 ≤ 𝑥, 𝑥, 1))) ∧ ((sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)) ∈ ℝ ∧ 0 < (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)))) → ((1 / if(1 ≤ 𝑥, 𝑥, 1)) ≤ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)) ↔ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ (1 / (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
147143, 145, 118, 128, 146syl22anc 836 . . . . . . . . . . 11 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → ((1 / if(1 ≤ 𝑥, 𝑥, 1)) ≤ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)) ↔ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ (1 / (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
148 lesub 11454 . . . . . . . . . . . 12 (((1 / if(1 ≤ 𝑥, 𝑥, 1)) ∈ ℝ ∧ sup(ran 𝐹, ℝ, < ) ∈ ℝ ∧ (𝐹𝑦) ∈ ℝ) → ((1 / if(1 ≤ 𝑥, 𝑥, 1)) ≤ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)) ↔ (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
149143, 112, 117, 148syl3anc 1370 . . . . . . . . . . 11 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → ((1 / if(1 ≤ 𝑥, 𝑥, 1)) ≤ (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦)) ↔ (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
150131recnd 11003 . . . . . . . . . . . . 13 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → if(1 ≤ 𝑥, 𝑥, 1) ∈ ℂ)
151101adantrr 714 . . . . . . . . . . . . 13 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → if(1 ≤ 𝑥, 𝑥, 1) ≠ 0)
152150, 151recrecd 11748 . . . . . . . . . . . 12 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (1 / (1 / if(1 ≤ 𝑥, 𝑥, 1))) = if(1 ≤ 𝑥, 𝑥, 1))
153152breq2d 5086 . . . . . . . . . . 11 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → ((1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ (1 / (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ if(1 ≤ 𝑥, 𝑥, 1)))
154147, 149, 1533bitr3d 309 . . . . . . . . . 10 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → ((𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑦))) ≤ if(1 ≤ 𝑥, 𝑥, 1)))
155134, 142, 1543imtr4d 294 . . . . . . . . 9 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ (𝑥 ∈ ℝ ∧ 𝑦𝑋)) → (((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥 → (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
156155anassrs 468 . . . . . . . 8 ((((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) ∧ 𝑦𝑋) → (((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥 → (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
157156ralimdva 3108 . . . . . . 7 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (∀𝑦𝑋 ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥 → ∀𝑦𝑋 (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
15834ad2antrr 723 . . . . . . . . 9 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (ran 𝐹 ⊆ ℝ ∧ ran 𝐹 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑧 ∈ ran 𝐹 𝑧𝑥))
159 suprleub 11941 . . . . . . . . 9 (((ran 𝐹 ⊆ ℝ ∧ ran 𝐹 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑧 ∈ ran 𝐹 𝑧𝑥) ∧ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ∈ ℝ) → (sup(ran 𝐹, ℝ, < ) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ ∀𝑧 ∈ ran 𝐹 𝑧 ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
160158, 106, 159syl2anc 584 . . . . . . . 8 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (sup(ran 𝐹, ℝ, < ) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ ∀𝑧 ∈ ran 𝐹 𝑧 ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
16128ad2antrr 723 . . . . . . . . 9 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → 𝐹 Fn 𝑋)
162 breq1 5077 . . . . . . . . . 10 (𝑧 = (𝐹𝑦) → (𝑧 ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
163162ralrn 6964 . . . . . . . . 9 (𝐹 Fn 𝑋 → (∀𝑧 ∈ ran 𝐹 𝑧 ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ ∀𝑦𝑋 (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
164161, 163syl 17 . . . . . . . 8 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (∀𝑧 ∈ ran 𝐹 𝑧 ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ ∀𝑦𝑋 (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
165160, 164bitrd 278 . . . . . . 7 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (sup(ran 𝐹, ℝ, < ) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1))) ↔ ∀𝑦𝑋 (𝐹𝑦) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
166157, 165sylibrd 258 . . . . . 6 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → (∀𝑦𝑋 ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥 → sup(ran 𝐹, ℝ, < ) ≤ (sup(ran 𝐹, ℝ, < ) − (1 / if(1 ≤ 𝑥, 𝑥, 1)))))
167108, 166mtod 197 . . . . 5 (((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) ∧ 𝑥 ∈ ℝ) → ¬ ∀𝑦𝑋 ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥)
168167nrexdv 3198 . . . 4 ((𝜑𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})) → ¬ ∃𝑥 ∈ ℝ ∀𝑦𝑋 ((𝑧𝑋 ↦ (1 / (sup(ran 𝐹, ℝ, < ) − (𝐹𝑧))))‘𝑦) ≤ 𝑥)
16988, 168pm2.65da 814 . . 3 (𝜑 → ¬ 𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )}))
170122ralrimiva 3103 . . . . . . . . 9 (𝜑 → ∀𝑦𝑋 (𝐹𝑦) ≤ sup(ran 𝐹, ℝ, < ))
171 breq2 5078 . . . . . . . . . 10 ((𝐹𝑥) = sup(ran 𝐹, ℝ, < ) → ((𝐹𝑦) ≤ (𝐹𝑥) ↔ (𝐹𝑦) ≤ sup(ran 𝐹, ℝ, < )))
172171ralbidv 3112 . . . . . . . . 9 ((𝐹𝑥) = sup(ran 𝐹, ℝ, < ) → (∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥) ↔ ∀𝑦𝑋 (𝐹𝑦) ≤ sup(ran 𝐹, ℝ, < )))
173170, 172syl5ibrcom 246 . . . . . . . 8 (𝜑 → ((𝐹𝑥) = sup(ran 𝐹, ℝ, < ) → ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥)))
174173necon3bd 2957 . . . . . . 7 (𝜑 → (¬ ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥) → (𝐹𝑥) ≠ sup(ran 𝐹, ℝ, < )))
175174adantr 481 . . . . . 6 ((𝜑𝑥𝑋) → (¬ ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥) → (𝐹𝑥) ≠ sup(ran 𝐹, ℝ, < )))
17619ffvelrnda 6961 . . . . . . 7 ((𝜑𝑥𝑋) → (𝐹𝑥) ∈ ℝ)
177 eldifsn 4720 . . . . . . . 8 ((𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ ((𝐹𝑥) ∈ ℝ ∧ (𝐹𝑥) ≠ sup(ran 𝐹, ℝ, < )))
178177baib 536 . . . . . . 7 ((𝐹𝑥) ∈ ℝ → ((𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ (𝐹𝑥) ≠ sup(ran 𝐹, ℝ, < )))
179176, 178syl 17 . . . . . 6 ((𝜑𝑥𝑋) → ((𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ (𝐹𝑥) ≠ sup(ran 𝐹, ℝ, < )))
180175, 179sylibrd 258 . . . . 5 ((𝜑𝑥𝑋) → (¬ ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥) → (𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )})))
181180ralimdva 3108 . . . 4 (𝜑 → (∀𝑥𝑋 ¬ ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥) → ∀𝑥𝑋 (𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )})))
182 ffnfv 6992 . . . . . 6 (𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ (𝐹 Fn 𝑋 ∧ ∀𝑥𝑋 (𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )})))
183182baib 536 . . . . 5 (𝐹 Fn 𝑋 → (𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ ∀𝑥𝑋 (𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )})))
18428, 183syl 17 . . . 4 (𝜑 → (𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )}) ↔ ∀𝑥𝑋 (𝐹𝑥) ∈ (ℝ ∖ {sup(ran 𝐹, ℝ, < )})))
185181, 184sylibrd 258 . . 3 (𝜑 → (∀𝑥𝑋 ¬ ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥) → 𝐹:𝑋⟶(ℝ ∖ {sup(ran 𝐹, ℝ, < )})))
186169, 185mtod 197 . 2 (𝜑 → ¬ ∀𝑥𝑋 ¬ ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥))
187 dfrex2 3170 . 2 (∃𝑥𝑋𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥) ↔ ¬ ∀𝑥𝑋 ¬ ∀𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥))
188186, 187sylibr 233 1 (𝜑 → ∃𝑥𝑋𝑦𝑋 (𝐹𝑦) ≤ (𝐹𝑥))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wral 3064  wrex 3065  cdif 3884  wss 3887  c0 4256  ifcif 4459  {csn 4561   cuni 4839   class class class wbr 5074  cmpt 5157  dom cdm 5589  ran crn 5590   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275  supcsup 9199  cc 10869  cr 10870  0cc0 10871  1c1 10872   < clt 11009  cle 11010  cmin 11205   / cdiv 11632  (,)cioo 13079  t crest 17131  TopOpenctopn 17132  topGenctg 17148  fldccnfld 20597  Topctop 22042  TopOnctopon 22059   Cn ccn 22375  Compccmp 22537   ×t ctx 22711
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948  ax-pre-sup 10949  ax-mulf 10951
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-iin 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-of 7533  df-om 7713  df-1st 7831  df-2nd 7832  df-supp 7978  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-er 8498  df-map 8617  df-ixp 8686  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-fsupp 9129  df-fi 9170  df-sup 9201  df-inf 9202  df-oi 9269  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-3 12037  df-4 12038  df-5 12039  df-6 12040  df-7 12041  df-8 12042  df-9 12043  df-n0 12234  df-z 12320  df-dec 12438  df-uz 12583  df-q 12689  df-rp 12731  df-xneg 12848  df-xadd 12849  df-xmul 12850  df-ioo 13083  df-icc 13086  df-fz 13240  df-fzo 13383  df-seq 13722  df-exp 13783  df-hash 14045  df-cj 14810  df-re 14811  df-im 14812  df-sqrt 14946  df-abs 14947  df-struct 16848  df-sets 16865  df-slot 16883  df-ndx 16895  df-base 16913  df-ress 16942  df-plusg 16975  df-mulr 16976  df-starv 16977  df-sca 16978  df-vsca 16979  df-ip 16980  df-tset 16981  df-ple 16982  df-ds 16984  df-unif 16985  df-hom 16986  df-cco 16987  df-rest 17133  df-topn 17134  df-0g 17152  df-gsum 17153  df-topgen 17154  df-pt 17155  df-prds 17158  df-xrs 17213  df-qtop 17218  df-imas 17219  df-xps 17221  df-mre 17295  df-mrc 17296  df-acs 17298  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-submnd 18431  df-mulg 18701  df-cntz 18923  df-cmn 19388  df-psmet 20589  df-xmet 20590  df-met 20591  df-bl 20592  df-mopn 20593  df-cnfld 20598  df-top 22043  df-topon 22060  df-topsp 22082  df-bases 22096  df-cn 22378  df-cnp 22379  df-cmp 22538  df-tx 22713  df-hmeo 22906  df-xms 23473  df-ms 23474  df-tms 23475
This theorem is referenced by:  evth2  24123  evthicc  24623  evthf  42570  cncmpmax  42575
  Copyright terms: Public domain W3C validator