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

Theorem dyadmax 24205
Description: Any nonempty set of dyadic rational intervals has a maximal element. (Contributed by Mario Carneiro, 26-Mar-2015.)
Hypothesis
Ref Expression
dyadmbl.1 𝐹 = (𝑥 ∈ ℤ, 𝑦 ∈ ℕ0 ↦ ⟨(𝑥 / (2↑𝑦)), ((𝑥 + 1) / (2↑𝑦))⟩)
Assertion
Ref Expression
dyadmax ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤))
Distinct variable groups:   𝑥,𝑦   𝑧,𝑤,𝑥,𝑦,𝐴   𝑤,𝐹,𝑥,𝑦,𝑧

Proof of Theorem dyadmax
Dummy variables 𝑐 𝑑 𝑎 𝑏 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltweuz 13328 . . . . 5 < We (ℤ‘0)
21a1i 11 . . . 4 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → < We (ℤ‘0))
3 nn0ex 11895 . . . . . 6 0 ∈ V
43rabex 5202 . . . . 5 {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ∈ V
54a1i 11 . . . 4 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ∈ V)
6 ssrab2 4010 . . . . . 6 {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ⊆ ℕ0
7 nn0uz 12272 . . . . . 6 0 = (ℤ‘0)
86, 7sseqtri 3954 . . . . 5 {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ⊆ (ℤ‘0)
98a1i 11 . . . 4 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ⊆ (ℤ‘0))
10 id 22 . . . . . . 7 (𝐴 ≠ ∅ → 𝐴 ≠ ∅)
11 dyadmbl.1 . . . . . . . . . . . 12 𝐹 = (𝑥 ∈ ℤ, 𝑦 ∈ ℕ0 ↦ ⟨(𝑥 / (2↑𝑦)), ((𝑥 + 1) / (2↑𝑦))⟩)
1211dyadf 24198 . . . . . . . . . . 11 𝐹:(ℤ × ℕ0)⟶( ≤ ∩ (ℝ × ℝ))
13 ffn 6491 . . . . . . . . . . 11 (𝐹:(ℤ × ℕ0)⟶( ≤ ∩ (ℝ × ℝ)) → 𝐹 Fn (ℤ × ℕ0))
14 ovelrn 7308 . . . . . . . . . . 11 (𝐹 Fn (ℤ × ℕ0) → (𝑧 ∈ ran 𝐹 ↔ ∃𝑎 ∈ ℤ ∃𝑛 ∈ ℕ0 𝑧 = (𝑎𝐹𝑛)))
1512, 13, 14mp2b 10 . . . . . . . . . 10 (𝑧 ∈ ran 𝐹 ↔ ∃𝑎 ∈ ℤ ∃𝑛 ∈ ℕ0 𝑧 = (𝑎𝐹𝑛))
16 rexcom 3311 . . . . . . . . . 10 (∃𝑎 ∈ ℤ ∃𝑛 ∈ ℕ0 𝑧 = (𝑎𝐹𝑛) ↔ ∃𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
1715, 16sylbb 222 . . . . . . . . 9 (𝑧 ∈ ran 𝐹 → ∃𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
1817rgen 3119 . . . . . . . 8 𝑧 ∈ ran 𝐹𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)
19 ssralv 3984 . . . . . . . 8 (𝐴 ⊆ ran 𝐹 → (∀𝑧 ∈ ran 𝐹𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛) → ∀𝑧𝐴𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)))
2018, 19mpi 20 . . . . . . 7 (𝐴 ⊆ ran 𝐹 → ∀𝑧𝐴𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
21 r19.2z 4401 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑧𝐴𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)) → ∃𝑧𝐴𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
2210, 20, 21syl2anr 599 . . . . . 6 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → ∃𝑧𝐴𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
23 rexcom 3311 . . . . . 6 (∃𝑧𝐴𝑛 ∈ ℕ0𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛) ↔ ∃𝑛 ∈ ℕ0𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
2422, 23sylib 221 . . . . 5 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → ∃𝑛 ∈ ℕ0𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
25 rabn0 4296 . . . . 5 ({𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ≠ ∅ ↔ ∃𝑛 ∈ ℕ0𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛))
2624, 25sylibr 237 . . . 4 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ≠ ∅)
27 wereu 5519 . . . 4 (( < We (ℤ‘0) ∧ ({𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ∈ V ∧ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ⊆ (ℤ‘0) ∧ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ≠ ∅)) → ∃!𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)}∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐)
282, 5, 9, 26, 27syl13anc 1369 . . 3 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → ∃!𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)}∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐)
29 reurex 3379 . . 3 (∃!𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)}∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐 → ∃𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)}∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐)
3028, 29syl 17 . 2 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → ∃𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)}∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐)
31 oveq2 7147 . . . . . . 7 (𝑛 = 𝑐 → (𝑎𝐹𝑛) = (𝑎𝐹𝑐))
3231eqeq2d 2812 . . . . . 6 (𝑛 = 𝑐 → (𝑧 = (𝑎𝐹𝑛) ↔ 𝑧 = (𝑎𝐹𝑐)))
33322rexbidv 3262 . . . . 5 (𝑛 = 𝑐 → (∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛) ↔ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐)))
3433elrab 3631 . . . 4 (𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ↔ (𝑐 ∈ ℕ0 ∧ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐)))
35 eqeq1 2805 . . . . . . . . . 10 (𝑧 = 𝑤 → (𝑧 = (𝑎𝐹𝑛) ↔ 𝑤 = (𝑎𝐹𝑛)))
36 oveq1 7146 . . . . . . . . . . 11 (𝑎 = 𝑏 → (𝑎𝐹𝑛) = (𝑏𝐹𝑛))
3736eqeq2d 2812 . . . . . . . . . 10 (𝑎 = 𝑏 → (𝑤 = (𝑎𝐹𝑛) ↔ 𝑤 = (𝑏𝐹𝑛)))
3835, 37cbvrex2vw 3412 . . . . . . . . 9 (∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛) ↔ ∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑛))
39 oveq2 7147 . . . . . . . . . . 11 (𝑛 = 𝑑 → (𝑏𝐹𝑛) = (𝑏𝐹𝑑))
4039eqeq2d 2812 . . . . . . . . . 10 (𝑛 = 𝑑 → (𝑤 = (𝑏𝐹𝑛) ↔ 𝑤 = (𝑏𝐹𝑑)))
41402rexbidv 3262 . . . . . . . . 9 (𝑛 = 𝑑 → (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑛) ↔ ∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑)))
4238, 41syl5bb 286 . . . . . . . 8 (𝑛 = 𝑑 → (∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛) ↔ ∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑)))
4342ralrab 3636 . . . . . . 7 (∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐 ↔ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐))
44 r19.23v 3241 . . . . . . . . . . . . . . . . 17 (∀𝑤𝐴 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ↔ (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐))
4544ralbii 3136 . . . . . . . . . . . . . . . 16 (∀𝑑 ∈ ℕ0𝑤𝐴 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ↔ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐))
46 ralcom 3310 . . . . . . . . . . . . . . . 16 (∀𝑑 ∈ ℕ0𝑤𝐴 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ↔ ∀𝑤𝐴𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐))
4745, 46bitr3i 280 . . . . . . . . . . . . . . 15 (∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ↔ ∀𝑤𝐴𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐))
48 simplll 774 . . . . . . . . . . . . . . . . . . . 20 ((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) → 𝐴 ⊆ ran 𝐹)
4948sselda 3918 . . . . . . . . . . . . . . . . . . 19 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) → 𝑤 ∈ ran 𝐹)
50 ovelrn 7308 . . . . . . . . . . . . . . . . . . . 20 (𝐹 Fn (ℤ × ℕ0) → (𝑤 ∈ ran 𝐹 ↔ ∃𝑏 ∈ ℤ ∃𝑑 ∈ ℕ0 𝑤 = (𝑏𝐹𝑑)))
5112, 13, 50mp2b 10 . . . . . . . . . . . . . . . . . . 19 (𝑤 ∈ ran 𝐹 ↔ ∃𝑏 ∈ ℤ ∃𝑑 ∈ ℕ0 𝑤 = (𝑏𝐹𝑑))
5249, 51sylib 221 . . . . . . . . . . . . . . . . . 18 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) → ∃𝑏 ∈ ℤ ∃𝑑 ∈ ℕ0 𝑤 = (𝑏𝐹𝑑))
53 rexcom 3311 . . . . . . . . . . . . . . . . . . 19 (∃𝑏 ∈ ℤ ∃𝑑 ∈ ℕ0 𝑤 = (𝑏𝐹𝑑) ↔ ∃𝑑 ∈ ℕ0𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑))
54 r19.29 3219 . . . . . . . . . . . . . . . . . . . 20 ((∀𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ∧ ∃𝑑 ∈ ℕ0𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑)) → ∃𝑑 ∈ ℕ0 ((∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ∧ ∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑)))
5554expcom 417 . . . . . . . . . . . . . . . . . . 19 (∃𝑑 ∈ ℕ0𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → (∀𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → ∃𝑑 ∈ ℕ0 ((∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ∧ ∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑))))
5653, 55sylbi 220 . . . . . . . . . . . . . . . . . 18 (∃𝑏 ∈ ℤ ∃𝑑 ∈ ℕ0 𝑤 = (𝑏𝐹𝑑) → (∀𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → ∃𝑑 ∈ ℕ0 ((∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ∧ ∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑))))
5752, 56syl 17 . . . . . . . . . . . . . . . . 17 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) → (∀𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → ∃𝑑 ∈ ℕ0 ((∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ∧ ∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑))))
58 simplrr 777 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) → 𝑎 ∈ ℤ)
5958ad2antrr 725 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → 𝑎 ∈ ℤ)
60 simplrr 777 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → 𝑏 ∈ ℤ)
61 simp-5r 785 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → 𝑐 ∈ ℕ0)
62 simplrl 776 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → 𝑑 ∈ ℕ0)
63 simprl 770 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → ¬ 𝑑 < 𝑐)
64 simprr 772 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))
6511, 59, 60, 61, 62, 63, 64dyadmaxlem 24204 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → (𝑎 = 𝑏𝑐 = 𝑑))
66 oveq12 7148 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑎 = 𝑏𝑐 = 𝑑) → (𝑎𝐹𝑐) = (𝑏𝐹𝑑))
6765, 66syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) ∧ (¬ 𝑑 < 𝑐 ∧ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)))) → (𝑎𝐹𝑐) = (𝑏𝐹𝑑))
6867exp32 424 . . . . . . . . . . . . . . . . . . . . . . 23 ((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) → (¬ 𝑑 < 𝑐 → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)) → (𝑎𝐹𝑐) = (𝑏𝐹𝑑))))
69 fveq2 6649 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑤 = (𝑏𝐹𝑑) → ([,]‘𝑤) = ([,]‘(𝑏𝐹𝑑)))
7069sseq2d 3950 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑤 = (𝑏𝐹𝑑) → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) ↔ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑))))
71 eqeq2 2813 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑤 = (𝑏𝐹𝑑) → ((𝑎𝐹𝑐) = 𝑤 ↔ (𝑎𝐹𝑐) = (𝑏𝐹𝑑)))
7270, 71imbi12d 348 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑤 = (𝑏𝐹𝑑) → ((([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤) ↔ (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)) → (𝑎𝐹𝑐) = (𝑏𝐹𝑑))))
7372imbi2d 344 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑤 = (𝑏𝐹𝑑) → ((¬ 𝑑 < 𝑐 → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)) ↔ (¬ 𝑑 < 𝑐 → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘(𝑏𝐹𝑑)) → (𝑎𝐹𝑐) = (𝑏𝐹𝑑)))))
7468, 73syl5ibrcom 250 . . . . . . . . . . . . . . . . . . . . . 22 ((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ (𝑑 ∈ ℕ0𝑏 ∈ ℤ)) → (𝑤 = (𝑏𝐹𝑑) → (¬ 𝑑 < 𝑐 → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤))))
7574anassrs 471 . . . . . . . . . . . . . . . . . . . . 21 (((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ 𝑑 ∈ ℕ0) ∧ 𝑏 ∈ ℤ) → (𝑤 = (𝑏𝐹𝑑) → (¬ 𝑑 < 𝑐 → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤))))
7675rexlimdva 3246 . . . . . . . . . . . . . . . . . . . 20 ((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ 𝑑 ∈ ℕ0) → (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → (¬ 𝑑 < 𝑐 → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤))))
7776a2d 29 . . . . . . . . . . . . . . . . . . 19 ((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ 𝑑 ∈ ℕ0) → ((∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤))))
7877impd 414 . . . . . . . . . . . . . . . . . 18 ((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) ∧ 𝑑 ∈ ℕ0) → (((∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ∧ ∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑)) → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)))
7978rexlimdva 3246 . . . . . . . . . . . . . . . . 17 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) → (∃𝑑 ∈ ℕ0 ((∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) ∧ ∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑)) → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)))
8057, 79syld 47 . . . . . . . . . . . . . . . 16 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ 𝑤𝐴) → (∀𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)))
8180ralimdva 3147 . . . . . . . . . . . . . . 15 ((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) → (∀𝑤𝐴𝑑 ∈ ℕ0 (∃𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → ∀𝑤𝐴 (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)))
8247, 81syl5bi 245 . . . . . . . . . . . . . 14 ((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) → (∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → ∀𝑤𝐴 (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)))
8382imp 410 . . . . . . . . . . . . 13 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ (𝑧𝐴𝑎 ∈ ℤ)) ∧ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐)) → ∀𝑤𝐴 (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤))
8483an32s 651 . . . . . . . . . . . 12 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐)) ∧ (𝑧𝐴𝑎 ∈ ℤ)) → ∀𝑤𝐴 (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤))
85 fveq2 6649 . . . . . . . . . . . . . . 15 (𝑧 = (𝑎𝐹𝑐) → ([,]‘𝑧) = ([,]‘(𝑎𝐹𝑐)))
8685sseq1d 3949 . . . . . . . . . . . . . 14 (𝑧 = (𝑎𝐹𝑐) → (([,]‘𝑧) ⊆ ([,]‘𝑤) ↔ ([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤)))
87 eqeq1 2805 . . . . . . . . . . . . . 14 (𝑧 = (𝑎𝐹𝑐) → (𝑧 = 𝑤 ↔ (𝑎𝐹𝑐) = 𝑤))
8886, 87imbi12d 348 . . . . . . . . . . . . 13 (𝑧 = (𝑎𝐹𝑐) → ((([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤) ↔ (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)))
8988ralbidv 3165 . . . . . . . . . . . 12 (𝑧 = (𝑎𝐹𝑐) → (∀𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤) ↔ ∀𝑤𝐴 (([,]‘(𝑎𝐹𝑐)) ⊆ ([,]‘𝑤) → (𝑎𝐹𝑐) = 𝑤)))
9084, 89syl5ibrcom 250 . . . . . . . . . . 11 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐)) ∧ (𝑧𝐴𝑎 ∈ ℤ)) → (𝑧 = (𝑎𝐹𝑐) → ∀𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤)))
9190anassrs 471 . . . . . . . . . 10 ((((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐)) ∧ 𝑧𝐴) ∧ 𝑎 ∈ ℤ) → (𝑧 = (𝑎𝐹𝑐) → ∀𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤)))
9291rexlimdva 3246 . . . . . . . . 9 (((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐)) ∧ 𝑧𝐴) → (∃𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐) → ∀𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤)))
9392reximdva 3236 . . . . . . . 8 ((((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) ∧ ∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐)) → (∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐) → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤)))
9493ex 416 . . . . . . 7 (((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) → (∀𝑑 ∈ ℕ0 (∃𝑤𝐴𝑏 ∈ ℤ 𝑤 = (𝑏𝐹𝑑) → ¬ 𝑑 < 𝑐) → (∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐) → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤))))
9543, 94syl5bi 245 . . . . . 6 (((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) → (∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐 → (∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐) → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤))))
9695com23 86 . . . . 5 (((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) ∧ 𝑐 ∈ ℕ0) → (∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐) → (∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐 → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤))))
9796expimpd 457 . . . 4 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → ((𝑐 ∈ ℕ0 ∧ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑐)) → (∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐 → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤))))
9834, 97syl5bi 245 . . 3 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → (𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} → (∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐 → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤))))
9998rexlimdv 3245 . 2 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → (∃𝑐 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)}∀𝑑 ∈ {𝑛 ∈ ℕ0 ∣ ∃𝑧𝐴𝑎 ∈ ℤ 𝑧 = (𝑎𝐹𝑛)} ¬ 𝑑 < 𝑐 → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤)))
10030, 99mpd 15 1 ((𝐴 ⊆ ran 𝐹𝐴 ≠ ∅) → ∃𝑧𝐴𝑤𝐴 (([,]‘𝑧) ⊆ ([,]‘𝑤) → 𝑧 = 𝑤))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1538  wcel 2112  wne 2990  wral 3109  wrex 3110  ∃!wreu 3111  {crab 3113  Vcvv 3444  cin 3883  wss 3884  c0 4246  cop 4534   class class class wbr 5033   We wwe 5481   × cxp 5521  ran crn 5524   Fn wfn 6323  wf 6324  cfv 6328  (class class class)co 7139  cmpo 7141  cr 10529  0cc0 10530  1c1 10531   + caddc 10533   < clt 10668  cle 10669   / cdiv 11290  2c2 11684  0cn0 11889  cz 11973  cuz 12235  [,]cicc 12733  cexp 13429
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-rep 5157  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298  ax-un 7445  ax-inf2 9092  ax-cnex 10586  ax-resscn 10587  ax-1cn 10588  ax-icn 10589  ax-addcl 10590  ax-addrcl 10591  ax-mulcl 10592  ax-mulrcl 10593  ax-mulcom 10594  ax-addass 10595  ax-mulass 10596  ax-distr 10597  ax-i2m1 10598  ax-1ne0 10599  ax-1rid 10600  ax-rnegex 10601  ax-rrecex 10602  ax-cnre 10603  ax-pre-lttri 10604  ax-pre-lttrn 10605  ax-pre-ltadd 10606  ax-pre-mulgt0 10607  ax-pre-sup 10608
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ne 2991  df-nel 3095  df-ral 3114  df-rex 3115  df-reu 3116  df-rmo 3117  df-rab 3118  df-v 3446  df-sbc 3724  df-csb 3832  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-pss 3903  df-nul 4247  df-if 4429  df-pw 4502  df-sn 4529  df-pr 4531  df-tp 4533  df-op 4535  df-uni 4804  df-int 4842  df-iun 4886  df-br 5034  df-opab 5096  df-mpt 5114  df-tr 5140  df-id 5428  df-eprel 5433  df-po 5442  df-so 5443  df-fr 5482  df-se 5483  df-we 5484  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-res 5535  df-ima 5536  df-pred 6120  df-ord 6166  df-on 6167  df-lim 6168  df-suc 6169  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-isom 6337  df-riota 7097  df-ov 7142  df-oprab 7143  df-mpo 7144  df-om 7565  df-1st 7675  df-2nd 7676  df-wrecs 7934  df-recs 7995  df-rdg 8033  df-1o 8089  df-oadd 8093  df-er 8276  df-map 8395  df-en 8497  df-dom 8498  df-sdom 8499  df-fin 8500  df-fi 8863  df-sup 8894  df-inf 8895  df-oi 8962  df-card 9356  df-pnf 10670  df-mnf 10671  df-xr 10672  df-ltxr 10673  df-le 10674  df-sub 10865  df-neg 10866  df-div 11291  df-nn 11630  df-2 11692  df-3 11693  df-n0 11890  df-z 11974  df-uz 12236  df-q 12341  df-rp 12382  df-xneg 12499  df-xadd 12500  df-xmul 12501  df-ioo 12734  df-ico 12736  df-icc 12737  df-fz 12890  df-fzo 13033  df-seq 13369  df-exp 13430  df-hash 13691  df-cj 14453  df-re 14454  df-im 14455  df-sqrt 14589  df-abs 14590  df-clim 14840  df-sum 15038  df-rest 16691  df-topgen 16712  df-psmet 20086  df-xmet 20087  df-met 20088  df-bl 20089  df-mopn 20090  df-top 21502  df-topon 21519  df-bases 21554  df-cmp 21995  df-ovol 24071
This theorem is referenced by:  dyadmbllem  24206
  Copyright terms: Public domain W3C validator