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

Theorem vdwlem11 15901
Description: Lemma for vdw 15904. (Contributed by Mario Carneiro, 18-Aug-2014.)
Hypotheses
Ref Expression
vdw.r (𝜑𝑅 ∈ Fin)
vdwlem9.k (𝜑𝐾 ∈ (ℤ‘2))
vdwlem9.s (𝜑 → ∀𝑠 ∈ Fin ∃𝑛 ∈ ℕ ∀𝑓 ∈ (𝑠𝑚 (1...𝑛))𝐾 MonoAP 𝑓)
Assertion
Ref Expression
vdwlem11 (𝜑 → ∃𝑛 ∈ ℕ ∀𝑓 ∈ (𝑅𝑚 (1...𝑛))(𝐾 + 1) MonoAP 𝑓)
Distinct variable groups:   𝜑,𝑛,𝑓   𝑓,𝑠,𝐾,𝑛   𝑅,𝑓,𝑛,𝑠   𝜑,𝑓
Allowed substitution hint:   𝜑(𝑠)

Proof of Theorem vdwlem11
Dummy variables 𝑎 𝑑 𝑖 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vdw.r . . 3 (𝜑𝑅 ∈ Fin)
2 vdwlem9.k . . 3 (𝜑𝐾 ∈ (ℤ‘2))
3 vdwlem9.s . . 3 (𝜑 → ∀𝑠 ∈ Fin ∃𝑛 ∈ ℕ ∀𝑓 ∈ (𝑠𝑚 (1...𝑛))𝐾 MonoAP 𝑓)
4 hashcl 13348 . . . . 5 (𝑅 ∈ Fin → (♯‘𝑅) ∈ ℕ0)
51, 4syl 17 . . . 4 (𝜑 → (♯‘𝑅) ∈ ℕ0)
6 nn0p1nn 11533 . . . 4 ((♯‘𝑅) ∈ ℕ0 → ((♯‘𝑅) + 1) ∈ ℕ)
75, 6syl 17 . . 3 (𝜑 → ((♯‘𝑅) + 1) ∈ ℕ)
81, 2, 3, 7vdwlem10 15900 . 2 (𝜑 → ∃𝑛 ∈ ℕ ∀𝑓 ∈ (𝑅𝑚 (1...𝑛))(⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ∨ (𝐾 + 1) MonoAP 𝑓))
91adantr 466 . . . . . . 7 ((𝜑𝑛 ∈ ℕ) → 𝑅 ∈ Fin)
10 ovex 6822 . . . . . . 7 (1...𝑛) ∈ V
11 elmapg 8021 . . . . . . 7 ((𝑅 ∈ Fin ∧ (1...𝑛) ∈ V) → (𝑓 ∈ (𝑅𝑚 (1...𝑛)) ↔ 𝑓:(1...𝑛)⟶𝑅))
129, 10, 11sylancl 566 . . . . . 6 ((𝜑𝑛 ∈ ℕ) → (𝑓 ∈ (𝑅𝑚 (1...𝑛)) ↔ 𝑓:(1...𝑛)⟶𝑅))
1312biimpa 462 . . . . 5 (((𝜑𝑛 ∈ ℕ) ∧ 𝑓 ∈ (𝑅𝑚 (1...𝑛))) → 𝑓:(1...𝑛)⟶𝑅)
145nn0red 11553 . . . . . . . . . . 11 (𝜑 → (♯‘𝑅) ∈ ℝ)
1514ltp1d 11155 . . . . . . . . . 10 (𝜑 → (♯‘𝑅) < ((♯‘𝑅) + 1))
16 peano2re 10410 . . . . . . . . . . . 12 ((♯‘𝑅) ∈ ℝ → ((♯‘𝑅) + 1) ∈ ℝ)
1714, 16syl 17 . . . . . . . . . . 11 (𝜑 → ((♯‘𝑅) + 1) ∈ ℝ)
1814, 17ltnled 10385 . . . . . . . . . 10 (𝜑 → ((♯‘𝑅) < ((♯‘𝑅) + 1) ↔ ¬ ((♯‘𝑅) + 1) ≤ (♯‘𝑅)))
1915, 18mpbid 222 . . . . . . . . 9 (𝜑 → ¬ ((♯‘𝑅) + 1) ≤ (♯‘𝑅))
2019adantr 466 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → ¬ ((♯‘𝑅) + 1) ≤ (♯‘𝑅))
21 eluz2nn 11927 . . . . . . . . . . . . 13 (𝐾 ∈ (ℤ‘2) → 𝐾 ∈ ℕ)
222, 21syl 17 . . . . . . . . . . . 12 (𝜑𝐾 ∈ ℕ)
2322adantr 466 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → 𝐾 ∈ ℕ)
2423nnnn0d 11552 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → 𝐾 ∈ ℕ0)
25 simprr 748 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → 𝑓:(1...𝑛)⟶𝑅)
267adantr 466 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → ((♯‘𝑅) + 1) ∈ ℕ)
27 eqid 2771 . . . . . . . . . 10 (1...((♯‘𝑅) + 1)) = (1...((♯‘𝑅) + 1))
2810, 24, 25, 26, 27vdwpc 15890 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → (⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ↔ ∃𝑎 ∈ ℕ ∃𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1)))(∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}) ∧ (♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) = ((♯‘𝑅) + 1))))
291ad3antrrr 701 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → 𝑅 ∈ Fin)
3025ad2antrr 697 . . . . . . . . . . . . . . . . . . 19 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → 𝑓:(1...𝑛)⟶𝑅)
31 simpr 471 . . . . . . . . . . . . . . . . . . . . . . 23 (((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) ∧ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}))
32 cnvimass 5626 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}) ⊆ dom 𝑓
3331, 32syl6ss 3764 . . . . . . . . . . . . . . . . . . . . . 22 (((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) ∧ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ dom 𝑓)
3425ad3antrrr 701 . . . . . . . . . . . . . . . . . . . . . . 23 (((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) ∧ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → 𝑓:(1...𝑛)⟶𝑅)
35 fdm 6191 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑓:(1...𝑛)⟶𝑅 → dom 𝑓 = (1...𝑛))
3634, 35syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) ∧ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → dom 𝑓 = (1...𝑛))
3733, 36sseqtrd 3790 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) ∧ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (1...𝑛))
3822ad3antrrr 701 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → 𝐾 ∈ ℕ)
39 simplrl 754 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → 𝑎 ∈ ℕ)
40 simprr 748 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) → 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))
41 nnex 11227 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ℕ ∈ V
42 ovex 6822 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (1...((♯‘𝑅) + 1)) ∈ V
4341, 42elmap 8037 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))) ↔ 𝑑:(1...((♯‘𝑅) + 1))⟶ℕ)
4440, 43sylib 208 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) → 𝑑:(1...((♯‘𝑅) + 1))⟶ℕ)
4544ffvelrnda 6502 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → (𝑑𝑖) ∈ ℕ)
4639, 45nnaddcld 11268 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → (𝑎 + (𝑑𝑖)) ∈ ℕ)
47 vdwapid1 15885 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐾 ∈ ℕ ∧ (𝑎 + (𝑑𝑖)) ∈ ℕ ∧ (𝑑𝑖) ∈ ℕ) → (𝑎 + (𝑑𝑖)) ∈ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)))
4838, 46, 45, 47syl3anc 1476 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → (𝑎 + (𝑑𝑖)) ∈ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)))
4948adantr 466 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) ∧ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → (𝑎 + (𝑑𝑖)) ∈ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)))
5037, 49sseldd 3753 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) ∧ ((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → (𝑎 + (𝑑𝑖)) ∈ (1...𝑛))
5150ex 397 . . . . . . . . . . . . . . . . . . 19 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → (((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}) → (𝑎 + (𝑑𝑖)) ∈ (1...𝑛)))
52 ffvelrn 6500 . . . . . . . . . . . . . . . . . . 19 ((𝑓:(1...𝑛)⟶𝑅 ∧ (𝑎 + (𝑑𝑖)) ∈ (1...𝑛)) → (𝑓‘(𝑎 + (𝑑𝑖))) ∈ 𝑅)
5330, 51, 52syl6an 655 . . . . . . . . . . . . . . . . . 18 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ 𝑖 ∈ (1...((♯‘𝑅) + 1))) → (((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}) → (𝑓‘(𝑎 + (𝑑𝑖))) ∈ 𝑅))
5453ralimdva 3111 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) → (∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}) → ∀𝑖 ∈ (1...((♯‘𝑅) + 1))(𝑓‘(𝑎 + (𝑑𝑖))) ∈ 𝑅))
5554imp 393 . . . . . . . . . . . . . . . 16 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ∀𝑖 ∈ (1...((♯‘𝑅) + 1))(𝑓‘(𝑎 + (𝑑𝑖))) ∈ 𝑅)
56 eqid 2771 . . . . . . . . . . . . . . . . 17 (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) = (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))
5756fmpt 6523 . . . . . . . . . . . . . . . 16 (∀𝑖 ∈ (1...((♯‘𝑅) + 1))(𝑓‘(𝑎 + (𝑑𝑖))) ∈ 𝑅 ↔ (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))):(1...((♯‘𝑅) + 1))⟶𝑅)
5855, 57sylib 208 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))):(1...((♯‘𝑅) + 1))⟶𝑅)
59 frn 6193 . . . . . . . . . . . . . . 15 ((𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))):(1...((♯‘𝑅) + 1))⟶𝑅 → ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ⊆ 𝑅)
6058, 59syl 17 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ⊆ 𝑅)
61 ssdomg 8154 . . . . . . . . . . . . . 14 (𝑅 ∈ Fin → (ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ⊆ 𝑅 → ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ≼ 𝑅))
6229, 60, 61sylc 65 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ≼ 𝑅)
63 ssfi 8335 . . . . . . . . . . . . . . 15 ((𝑅 ∈ Fin ∧ ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ⊆ 𝑅) → ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ∈ Fin)
6429, 60, 63syl2anc 565 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ∈ Fin)
65 hashdom 13369 . . . . . . . . . . . . . 14 ((ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ∈ Fin ∧ 𝑅 ∈ Fin) → ((♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) ≤ (♯‘𝑅) ↔ ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ≼ 𝑅))
6664, 29, 65syl2anc 565 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ((♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) ≤ (♯‘𝑅) ↔ ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖)))) ≼ 𝑅))
6762, 66mpbird 247 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → (♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) ≤ (♯‘𝑅))
68 breq1 4789 . . . . . . . . . . . 12 ((♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) = ((♯‘𝑅) + 1) → ((♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) ≤ (♯‘𝑅) ↔ ((♯‘𝑅) + 1) ≤ (♯‘𝑅)))
6967, 68syl5ibcom 235 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) ∧ ∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))})) → ((♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) = ((♯‘𝑅) + 1) → ((♯‘𝑅) + 1) ≤ (♯‘𝑅)))
7069expimpd 441 . . . . . . . . . 10 (((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) ∧ (𝑎 ∈ ℕ ∧ 𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1))))) → ((∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}) ∧ (♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) = ((♯‘𝑅) + 1)) → ((♯‘𝑅) + 1) ≤ (♯‘𝑅)))
7170rexlimdvva 3186 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → (∃𝑎 ∈ ℕ ∃𝑑 ∈ (ℕ ↑𝑚 (1...((♯‘𝑅) + 1)))(∀𝑖 ∈ (1...((♯‘𝑅) + 1))((𝑎 + (𝑑𝑖))(AP‘𝐾)(𝑑𝑖)) ⊆ (𝑓 “ {(𝑓‘(𝑎 + (𝑑𝑖)))}) ∧ (♯‘ran (𝑖 ∈ (1...((♯‘𝑅) + 1)) ↦ (𝑓‘(𝑎 + (𝑑𝑖))))) = ((♯‘𝑅) + 1)) → ((♯‘𝑅) + 1) ≤ (♯‘𝑅)))
7228, 71sylbid 230 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → (⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 → ((♯‘𝑅) + 1) ≤ (♯‘𝑅)))
7320, 72mtod 189 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → ¬ ⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓)
74 biorf 907 . . . . . . 7 (¬ ⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 → ((𝐾 + 1) MonoAP 𝑓 ↔ (⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ∨ (𝐾 + 1) MonoAP 𝑓)))
7573, 74syl 17 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ ℕ ∧ 𝑓:(1...𝑛)⟶𝑅)) → ((𝐾 + 1) MonoAP 𝑓 ↔ (⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ∨ (𝐾 + 1) MonoAP 𝑓)))
7675anassrs 458 . . . . 5 (((𝜑𝑛 ∈ ℕ) ∧ 𝑓:(1...𝑛)⟶𝑅) → ((𝐾 + 1) MonoAP 𝑓 ↔ (⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ∨ (𝐾 + 1) MonoAP 𝑓)))
7713, 76syldan 571 . . . 4 (((𝜑𝑛 ∈ ℕ) ∧ 𝑓 ∈ (𝑅𝑚 (1...𝑛))) → ((𝐾 + 1) MonoAP 𝑓 ↔ (⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ∨ (𝐾 + 1) MonoAP 𝑓)))
7877ralbidva 3134 . . 3 ((𝜑𝑛 ∈ ℕ) → (∀𝑓 ∈ (𝑅𝑚 (1...𝑛))(𝐾 + 1) MonoAP 𝑓 ↔ ∀𝑓 ∈ (𝑅𝑚 (1...𝑛))(⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ∨ (𝐾 + 1) MonoAP 𝑓)))
7978rexbidva 3197 . 2 (𝜑 → (∃𝑛 ∈ ℕ ∀𝑓 ∈ (𝑅𝑚 (1...𝑛))(𝐾 + 1) MonoAP 𝑓 ↔ ∃𝑛 ∈ ℕ ∀𝑓 ∈ (𝑅𝑚 (1...𝑛))(⟨((♯‘𝑅) + 1), 𝐾⟩ PolyAP 𝑓 ∨ (𝐾 + 1) MonoAP 𝑓)))
808, 79mpbird 247 1 (𝜑 → ∃𝑛 ∈ ℕ ∀𝑓 ∈ (𝑅𝑚 (1...𝑛))(𝐾 + 1) MonoAP 𝑓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 382  wo 826   = wceq 1631  wcel 2145  wral 3061  wrex 3062  Vcvv 3351  wss 3723  {csn 4316  cop 4322   class class class wbr 4786  cmpt 4863  ccnv 5248  dom cdm 5249  ran crn 5250  cima 5252  wf 6027  cfv 6031  (class class class)co 6792  𝑚 cmap 8008  cdom 8106  Fincfn 8108  cr 10136  1c1 10138   + caddc 10140   < clt 10275  cle 10276  cn 11221  2c2 11271  0cn0 11493  cuz 11887  ...cfz 12532  chash 13320  APcvdwa 15875   MonoAP cvdwm 15876   PolyAP cvdwp 15877
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4904  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7095  ax-cnex 10193  ax-resscn 10194  ax-1cn 10195  ax-icn 10196  ax-addcl 10197  ax-addrcl 10198  ax-mulcl 10199  ax-mulrcl 10200  ax-mulcom 10201  ax-addass 10202  ax-mulass 10203  ax-distr 10204  ax-i2m1 10205  ax-1ne0 10206  ax-1rid 10207  ax-rnegex 10208  ax-rrecex 10209  ax-cnre 10210  ax-pre-lttri 10211  ax-pre-lttrn 10212  ax-pre-ltadd 10213  ax-pre-mulgt0 10214
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4226  df-pw 4299  df-sn 4317  df-pr 4319  df-tp 4321  df-op 4323  df-uni 4575  df-int 4612  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-tr 4887  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-riota 6753  df-ov 6795  df-oprab 6796  df-mpt2 6797  df-om 7212  df-1st 7314  df-2nd 7315  df-wrecs 7558  df-recs 7620  df-rdg 7658  df-1o 7712  df-2o 7713  df-oadd 7716  df-er 7895  df-map 8010  df-pm 8011  df-en 8109  df-dom 8110  df-sdom 8111  df-fin 8112  df-card 8964  df-cda 9191  df-pnf 10277  df-mnf 10278  df-xr 10279  df-ltxr 10280  df-le 10281  df-sub 10469  df-neg 10470  df-nn 11222  df-2 11280  df-n0 11494  df-xnn0 11565  df-z 11579  df-uz 11888  df-rp 12035  df-fz 12533  df-hash 13321  df-vdwap 15878  df-vdwmc 15879  df-vdwpc 15880
This theorem is referenced by:  vdwlem13  15903
  Copyright terms: Public domain W3C validator