Users' Mathboxes Mathbox for Brendan Leahy < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  poimirlem28 Structured version   Visualization version   GIF version

Theorem poimirlem28 32406
Description: Lemma for poimir 32411, a variant of Sperner's lemma. (Contributed by Brendan Leahy, 21-Aug-2020.)
Hypotheses
Ref Expression
poimir.0 (𝜑𝑁 ∈ ℕ)
poimirlem28.1 (𝑝 = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) → 𝐵 = 𝐶)
poimirlem28.2 ((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁))
poimirlem28.3 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛)
poimirlem28.4 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾)) → 𝐵 ≠ (𝑛 − 1))
poimirlem28.5 (𝜑𝐾 ∈ ℕ)
Assertion
Ref Expression
poimirlem28 (𝜑 → ∃𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶)
Distinct variable groups:   𝑓,𝑖,𝑗,𝑛,𝑝,𝑠   𝜑,𝑗,𝑛   𝑗,𝑁,𝑛   𝜑,𝑖,𝑝,𝑠   𝐵,𝑓,𝑖,𝑗,𝑛,𝑠   𝑓,𝐾,𝑖,𝑗,𝑛,𝑝,𝑠   𝑓,𝑁,𝑖,𝑝,𝑠   𝐶,𝑖,𝑛,𝑝
Allowed substitution hints:   𝜑(𝑓)   𝐵(𝑝)   𝐶(𝑓,𝑗,𝑠)

Proof of Theorem poimirlem28
Dummy variables 𝑘 𝑚 𝑞 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 poimir.0 . . . . . 6 (𝜑𝑁 ∈ ℕ)
21nnnn0d 11194 . . . . 5 (𝜑𝑁 ∈ ℕ0)
31nnred 10878 . . . . . 6 (𝜑𝑁 ∈ ℝ)
43leidd 10439 . . . . 5 (𝜑𝑁𝑁)
52, 2, 43jca 1234 . . . 4 (𝜑 → (𝑁 ∈ ℕ0𝑁 ∈ ℕ0𝑁𝑁))
6 oveq2 6531 . . . . . . . . . . . . . . . 16 (𝑘 = 0 → (1...𝑘) = (1...0))
7 fz10 12184 . . . . . . . . . . . . . . . 16 (1...0) = ∅
86, 7syl6eq 2655 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (1...𝑘) = ∅)
98oveq2d 6539 . . . . . . . . . . . . . 14 (𝑘 = 0 → ((0..^𝐾) ↑𝑚 (1...𝑘)) = ((0..^𝐾) ↑𝑚 ∅))
10 fzofi 12586 . . . . . . . . . . . . . . . 16 (0..^𝐾) ∈ Fin
11 map0e 7754 . . . . . . . . . . . . . . . 16 ((0..^𝐾) ∈ Fin → ((0..^𝐾) ↑𝑚 ∅) = 1𝑜)
1210, 11ax-mp 5 . . . . . . . . . . . . . . 15 ((0..^𝐾) ↑𝑚 ∅) = 1𝑜
13 df1o2 7432 . . . . . . . . . . . . . . 15 1𝑜 = {∅}
1412, 13eqtri 2627 . . . . . . . . . . . . . 14 ((0..^𝐾) ↑𝑚 ∅) = {∅}
159, 14syl6eq 2655 . . . . . . . . . . . . 13 (𝑘 = 0 → ((0..^𝐾) ↑𝑚 (1...𝑘)) = {∅})
16 eqidd 2606 . . . . . . . . . . . . . . . . 17 (𝑘 = 0 → 𝑓 = 𝑓)
1716, 8, 8f1oeq123d 6027 . . . . . . . . . . . . . . . 16 (𝑘 = 0 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:∅–1-1-onto→∅))
18 eqid 2605 . . . . . . . . . . . . . . . . 17 ∅ = ∅
19 f1o00 6064 . . . . . . . . . . . . . . . . 17 (𝑓:∅–1-1-onto→∅ ↔ (𝑓 = ∅ ∧ ∅ = ∅))
2018, 19mpbiran2 955 . . . . . . . . . . . . . . . 16 (𝑓:∅–1-1-onto→∅ ↔ 𝑓 = ∅)
2117, 20syl6bb 274 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓 = ∅))
2221abbidv 2723 . . . . . . . . . . . . . 14 (𝑘 = 0 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓 = ∅})
23 df-sn 4121 . . . . . . . . . . . . . 14 {∅} = {𝑓𝑓 = ∅}
2422, 23syl6eqr 2657 . . . . . . . . . . . . 13 (𝑘 = 0 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {∅})
2515, 24xpeq12d 5050 . . . . . . . . . . . 12 (𝑘 = 0 → (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = ({∅} × {∅}))
26 0ex 4709 . . . . . . . . . . . . 13 ∅ ∈ V
2726, 26xpsn 6294 . . . . . . . . . . . 12 ({∅} × {∅}) = {⟨∅, ∅⟩}
2825, 27syl6req 2656 . . . . . . . . . . 11 (𝑘 = 0 → {⟨∅, ∅⟩} = (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}))
29 elsni 4137 . . . . . . . . . . . . . . . . . . 19 (𝑠 ∈ {⟨∅, ∅⟩} → 𝑠 = ⟨∅, ∅⟩)
3026, 26op1std 7042 . . . . . . . . . . . . . . . . . . 19 (𝑠 = ⟨∅, ∅⟩ → (1st𝑠) = ∅)
3129, 30syl 17 . . . . . . . . . . . . . . . . . 18 (𝑠 ∈ {⟨∅, ∅⟩} → (1st𝑠) = ∅)
3231oveq1d 6538 . . . . . . . . . . . . . . . . 17 (𝑠 ∈ {⟨∅, ∅⟩} → ((1st𝑠) ∘𝑓 + ∅) = (∅ ∘𝑓 + ∅))
33 f0 5980 . . . . . . . . . . . . . . . . . . . 20 ∅:∅⟶∅
34 ffn 5940 . . . . . . . . . . . . . . . . . . . 20 (∅:∅⟶∅ → ∅ Fn ∅)
3533, 34mp1i 13 . . . . . . . . . . . . . . . . . . 19 (𝑠 ∈ {⟨∅, ∅⟩} → ∅ Fn ∅)
3626a1i 11 . . . . . . . . . . . . . . . . . . 19 (𝑠 ∈ {⟨∅, ∅⟩} → ∅ ∈ V)
37 inidm 3779 . . . . . . . . . . . . . . . . . . 19 (∅ ∩ ∅) = ∅
38 0fv 6118 . . . . . . . . . . . . . . . . . . . 20 (∅‘𝑛) = ∅
3938a1i 11 . . . . . . . . . . . . . . . . . . 19 ((𝑠 ∈ {⟨∅, ∅⟩} ∧ 𝑛 ∈ ∅) → (∅‘𝑛) = ∅)
4035, 35, 36, 36, 37, 39, 39offval 6775 . . . . . . . . . . . . . . . . . 18 (𝑠 ∈ {⟨∅, ∅⟩} → (∅ ∘𝑓 + ∅) = (𝑛 ∈ ∅ ↦ (∅ + ∅)))
41 mpt0 5916 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ ∅ ↦ (∅ + ∅)) = ∅
4240, 41syl6eq 2655 . . . . . . . . . . . . . . . . 17 (𝑠 ∈ {⟨∅, ∅⟩} → (∅ ∘𝑓 + ∅) = ∅)
4332, 42eqtrd 2639 . . . . . . . . . . . . . . . 16 (𝑠 ∈ {⟨∅, ∅⟩} → ((1st𝑠) ∘𝑓 + ∅) = ∅)
4443uneq1d 3723 . . . . . . . . . . . . . . 15 (𝑠 ∈ {⟨∅, ∅⟩} → (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) = (∅ ∪ ((1...𝑁) × {0})))
45 uncom 3714 . . . . . . . . . . . . . . . 16 (∅ ∪ ((1...𝑁) × {0})) = (((1...𝑁) × {0}) ∪ ∅)
46 un0 3914 . . . . . . . . . . . . . . . 16 (((1...𝑁) × {0}) ∪ ∅) = ((1...𝑁) × {0})
4745, 46eqtri 2627 . . . . . . . . . . . . . . 15 (∅ ∪ ((1...𝑁) × {0})) = ((1...𝑁) × {0})
4844, 47syl6req 2656 . . . . . . . . . . . . . 14 (𝑠 ∈ {⟨∅, ∅⟩} → ((1...𝑁) × {0}) = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})))
4948csbeq1d 3501 . . . . . . . . . . . . 13 (𝑠 ∈ {⟨∅, ∅⟩} → ((1...𝑁) × {0}) / 𝑝𝐵 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
5049eqeq2d 2615 . . . . . . . . . . . 12 (𝑠 ∈ {⟨∅, ∅⟩} → (0 = ((1...𝑁) × {0}) / 𝑝𝐵 ↔ 0 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
51 oveq2 6531 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (0...𝑘) = (0...0))
52 0z 11217 . . . . . . . . . . . . . . . 16 0 ∈ ℤ
53 fzsn 12205 . . . . . . . . . . . . . . . 16 (0 ∈ ℤ → (0...0) = {0})
5452, 53ax-mp 5 . . . . . . . . . . . . . . 15 (0...0) = {0}
5551, 54syl6eq 2655 . . . . . . . . . . . . . 14 (𝑘 = 0 → (0...𝑘) = {0})
56 oveq2 6531 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑘 = 0 → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...0))
5756imaeq2d 5368 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 0 → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...0)))
5857xpeq1d 5048 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 0 → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))
5958uneq2d 3724 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 0 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0})))
6059oveq2d 6539 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 0 → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))))
61 oveq1 6530 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 0 → (𝑘 + 1) = (0 + 1))
62 0p1e1 10975 . . . . . . . . . . . . . . . . . . . . . 22 (0 + 1) = 1
6361, 62syl6eq 2655 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 0 → (𝑘 + 1) = 1)
6463oveq1d 6538 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 0 → ((𝑘 + 1)...𝑁) = (1...𝑁))
6564xpeq1d 5048 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 0 → (((𝑘 + 1)...𝑁) × {0}) = ((1...𝑁) × {0}))
6660, 65uneq12d 3725 . . . . . . . . . . . . . . . . . 18 (𝑘 = 0 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})))
6766csbeq1d 3501 . . . . . . . . . . . . . . . . 17 (𝑘 = 0 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
6867eqeq2d 2615 . . . . . . . . . . . . . . . 16 (𝑘 = 0 → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
6955, 68rexeqbidv 3125 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ {0}𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
70 c0ex 9886 . . . . . . . . . . . . . . . 16 0 ∈ V
71 oveq2 6531 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 = 0 → (1...𝑗) = (1...0))
7271, 7syl6eq 2655 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 = 0 → (1...𝑗) = ∅)
7372imaeq2d 5368 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 = 0 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑠) “ ∅))
74 ima0 5383 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((2nd𝑠) “ ∅) = ∅
7573, 74syl6eq 2655 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 = 0 → ((2nd𝑠) “ (1...𝑗)) = ∅)
7675xpeq1d 5048 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 = 0 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (∅ × {1}))
77 0xp 5108 . . . . . . . . . . . . . . . . . . . . . . 23 (∅ × {1}) = ∅
7876, 77syl6eq 2655 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 = 0 → (((2nd𝑠) “ (1...𝑗)) × {1}) = ∅)
79 oveq1 6530 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 = 0 → (𝑗 + 1) = (0 + 1))
8079, 62syl6eq 2655 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 = 0 → (𝑗 + 1) = 1)
8180oveq1d 6538 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 = 0 → ((𝑗 + 1)...0) = (1...0))
8281, 7syl6eq 2655 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 = 0 → ((𝑗 + 1)...0) = ∅)
8382imaeq2d 5368 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 = 0 → ((2nd𝑠) “ ((𝑗 + 1)...0)) = ((2nd𝑠) “ ∅))
8483, 74syl6eq 2655 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 = 0 → ((2nd𝑠) “ ((𝑗 + 1)...0)) = ∅)
8584xpeq1d 5048 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 = 0 → (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}) = (∅ × {0}))
86 0xp 5108 . . . . . . . . . . . . . . . . . . . . . . 23 (∅ × {0}) = ∅
8785, 86syl6eq 2655 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 = 0 → (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}) = ∅)
8878, 87uneq12d 3725 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = 0 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0})) = (∅ ∪ ∅))
89 un0 3914 . . . . . . . . . . . . . . . . . . . . 21 (∅ ∪ ∅) = ∅
9088, 89syl6eq 2655 . . . . . . . . . . . . . . . . . . . 20 (𝑗 = 0 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0})) = ∅)
9190oveq2d 6539 . . . . . . . . . . . . . . . . . . 19 (𝑗 = 0 → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) = ((1st𝑠) ∘𝑓 + ∅))
9291uneq1d 3723 . . . . . . . . . . . . . . . . . 18 (𝑗 = 0 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})))
9392csbeq1d 3501 . . . . . . . . . . . . . . . . 17 (𝑗 = 0 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
9493eqeq2d 2615 . . . . . . . . . . . . . . . 16 (𝑗 = 0 → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
9570, 94rexsn 4165 . . . . . . . . . . . . . . 15 (∃𝑗 ∈ {0}𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
9669, 95syl6bb 274 . . . . . . . . . . . . . 14 (𝑘 = 0 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
9755, 96raleqbidv 3124 . . . . . . . . . . . . 13 (𝑘 = 0 → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ {0}𝑖 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
98 eqeq1 2609 . . . . . . . . . . . . . 14 (𝑖 = 0 → (𝑖 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 ↔ 0 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
9970, 98ralsn 4164 . . . . . . . . . . . . 13 (∀𝑖 ∈ {0}𝑖 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 ↔ 0 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
10097, 99syl6rbb 275 . . . . . . . . . . . 12 (𝑘 = 0 → (0 = (((1st𝑠) ∘𝑓 + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵))
10150, 100sylan9bbr 732 . . . . . . . . . . 11 ((𝑘 = 0 ∧ 𝑠 ∈ {⟨∅, ∅⟩}) → (0 = ((1...𝑁) × {0}) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵))
10228, 101rabeqbidva 3164 . . . . . . . . . 10 (𝑘 = 0 → {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})
103102eqcomd 2611 . . . . . . . . 9 (𝑘 = 0 → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})
104103fveq2d 6088 . . . . . . . 8 (𝑘 = 0 → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
105104breq2d 4585 . . . . . . 7 (𝑘 = 0 → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
106105notbid 306 . . . . . 6 (𝑘 = 0 → (¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
107106imbi2d 328 . . . . 5 (𝑘 = 0 → ((𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))))
108 oveq2 6531 . . . . . . . . . . . 12 (𝑘 = 𝑚 → (1...𝑘) = (1...𝑚))
109108oveq2d 6539 . . . . . . . . . . 11 (𝑘 = 𝑚 → ((0..^𝐾) ↑𝑚 (1...𝑘)) = ((0..^𝐾) ↑𝑚 (1...𝑚)))
110 eqidd 2606 . . . . . . . . . . . . 13 (𝑘 = 𝑚𝑓 = 𝑓)
111110, 108, 108f1oeq123d 6027 . . . . . . . . . . . 12 (𝑘 = 𝑚 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:(1...𝑚)–1-1-onto→(1...𝑚)))
112111abbidv 2723 . . . . . . . . . . 11 (𝑘 = 𝑚 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)})
113109, 112xpeq12d 5050 . . . . . . . . . 10 (𝑘 = 𝑚 → (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}))
114 oveq2 6531 . . . . . . . . . . 11 (𝑘 = 𝑚 → (0...𝑘) = (0...𝑚))
115 oveq2 6531 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑚 → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...𝑚))
116115imaeq2d 5368 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑚 → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...𝑚)))
117116xpeq1d 5048 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑚 → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))
118117uneq2d 3724 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑚 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0})))
119118oveq2d 6539 . . . . . . . . . . . . . . 15 (𝑘 = 𝑚 → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))))
120 oveq1 6530 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑚 → (𝑘 + 1) = (𝑚 + 1))
121120oveq1d 6538 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑚 → ((𝑘 + 1)...𝑁) = ((𝑚 + 1)...𝑁))
122121xpeq1d 5048 . . . . . . . . . . . . . . 15 (𝑘 = 𝑚 → (((𝑘 + 1)...𝑁) × {0}) = (((𝑚 + 1)...𝑁) × {0}))
123119, 122uneq12d 3725 . . . . . . . . . . . . . 14 (𝑘 = 𝑚 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})))
124123csbeq1d 3501 . . . . . . . . . . . . 13 (𝑘 = 𝑚(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵)
125124eqeq2d 2615 . . . . . . . . . . . 12 (𝑘 = 𝑚 → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵))
126114, 125rexeqbidv 3125 . . . . . . . . . . 11 (𝑘 = 𝑚 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵))
127114, 126raleqbidv 3124 . . . . . . . . . 10 (𝑘 = 𝑚 → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵))
128113, 127rabeqbidv 3163 . . . . . . . . 9 (𝑘 = 𝑚 → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})
129128fveq2d 6088 . . . . . . . 8 (𝑘 = 𝑚 → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}))
130129breq2d 4585 . . . . . . 7 (𝑘 = 𝑚 → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
131130notbid 306 . . . . . 6 (𝑘 = 𝑚 → (¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
132131imbi2d 328 . . . . 5 (𝑘 = 𝑚 → ((𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}))))
133 oveq2 6531 . . . . . . . . . . . 12 (𝑘 = (𝑚 + 1) → (1...𝑘) = (1...(𝑚 + 1)))
134133oveq2d 6539 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → ((0..^𝐾) ↑𝑚 (1...𝑘)) = ((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))))
135 eqidd 2606 . . . . . . . . . . . . 13 (𝑘 = (𝑚 + 1) → 𝑓 = 𝑓)
136135, 133, 133f1oeq123d 6027 . . . . . . . . . . . 12 (𝑘 = (𝑚 + 1) → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))))
137136abbidv 2723 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))})
138134, 137xpeq12d 5050 . . . . . . . . . 10 (𝑘 = (𝑚 + 1) → (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}))
139 oveq2 6531 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → (0...𝑘) = (0...(𝑚 + 1)))
140 oveq2 6531 . . . . . . . . . . . . . . . . . . 19 (𝑘 = (𝑚 + 1) → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...(𝑚 + 1)))
141140imaeq2d 5368 . . . . . . . . . . . . . . . . . 18 (𝑘 = (𝑚 + 1) → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))))
142141xpeq1d 5048 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝑚 + 1) → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))
143142uneq2d 3724 . . . . . . . . . . . . . . . 16 (𝑘 = (𝑚 + 1) → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0})))
144143oveq2d 6539 . . . . . . . . . . . . . . 15 (𝑘 = (𝑚 + 1) → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))))
145 oveq1 6530 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝑚 + 1) → (𝑘 + 1) = ((𝑚 + 1) + 1))
146145oveq1d 6538 . . . . . . . . . . . . . . . 16 (𝑘 = (𝑚 + 1) → ((𝑘 + 1)...𝑁) = (((𝑚 + 1) + 1)...𝑁))
147146xpeq1d 5048 . . . . . . . . . . . . . . 15 (𝑘 = (𝑚 + 1) → (((𝑘 + 1)...𝑁) × {0}) = ((((𝑚 + 1) + 1)...𝑁) × {0}))
148144, 147uneq12d 3725 . . . . . . . . . . . . . 14 (𝑘 = (𝑚 + 1) → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})))
149148csbeq1d 3501 . . . . . . . . . . . . 13 (𝑘 = (𝑚 + 1) → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
150149eqeq2d 2615 . . . . . . . . . . . 12 (𝑘 = (𝑚 + 1) → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
151139, 150rexeqbidv 3125 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
152139, 151raleqbidv 3124 . . . . . . . . . 10 (𝑘 = (𝑚 + 1) → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
153138, 152rabeqbidv 3163 . . . . . . . . 9 (𝑘 = (𝑚 + 1) → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})
154153fveq2d 6088 . . . . . . . 8 (𝑘 = (𝑚 + 1) → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))
155154breq2d 4585 . . . . . . 7 (𝑘 = (𝑚 + 1) → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
156155notbid 306 . . . . . 6 (𝑘 = (𝑚 + 1) → (¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
157156imbi2d 328 . . . . 5 (𝑘 = (𝑚 + 1) → ((𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
158 oveq2 6531 . . . . . . . . . . . 12 (𝑘 = 𝑁 → (1...𝑘) = (1...𝑁))
159158oveq2d 6539 . . . . . . . . . . 11 (𝑘 = 𝑁 → ((0..^𝐾) ↑𝑚 (1...𝑘)) = ((0..^𝐾) ↑𝑚 (1...𝑁)))
160 eqidd 2606 . . . . . . . . . . . . 13 (𝑘 = 𝑁𝑓 = 𝑓)
161160, 158, 158f1oeq123d 6027 . . . . . . . . . . . 12 (𝑘 = 𝑁 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)))
162161abbidv 2723 . . . . . . . . . . 11 (𝑘 = 𝑁 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})
163159, 162xpeq12d 5050 . . . . . . . . . 10 (𝑘 = 𝑁 → (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}))
164 oveq2 6531 . . . . . . . . . . 11 (𝑘 = 𝑁 → (0...𝑘) = (0...𝑁))
165 oveq2 6531 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑁 → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...𝑁))
166165imaeq2d 5368 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑁 → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...𝑁)))
167166xpeq1d 5048 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑁 → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))
168167uneq2d 3724 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑁 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0})))
169168oveq2d 6539 . . . . . . . . . . . . . . 15 (𝑘 = 𝑁 → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))))
170 oveq1 6530 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑁 → (𝑘 + 1) = (𝑁 + 1))
171170oveq1d 6538 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑁 → ((𝑘 + 1)...𝑁) = ((𝑁 + 1)...𝑁))
172171xpeq1d 5048 . . . . . . . . . . . . . . 15 (𝑘 = 𝑁 → (((𝑘 + 1)...𝑁) × {0}) = (((𝑁 + 1)...𝑁) × {0}))
173169, 172uneq12d 3725 . . . . . . . . . . . . . 14 (𝑘 = 𝑁 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})))
174173csbeq1d 3501 . . . . . . . . . . . . 13 (𝑘 = 𝑁(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵)
175174eqeq2d 2615 . . . . . . . . . . . 12 (𝑘 = 𝑁 → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵))
176164, 175rexeqbidv 3125 . . . . . . . . . . 11 (𝑘 = 𝑁 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵))
177164, 176raleqbidv 3124 . . . . . . . . . 10 (𝑘 = 𝑁 → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵))
178163, 177rabeqbidv 3163 . . . . . . . . 9 (𝑘 = 𝑁 → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})
179178fveq2d 6088 . . . . . . . 8 (𝑘 = 𝑁 → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}))
180179breq2d 4585 . . . . . . 7 (𝑘 = 𝑁 → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
181180notbid 306 . . . . . 6 (𝑘 = 𝑁 → (¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
182181imbi2d 328 . . . . 5 (𝑘 = 𝑁 → ((𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}))))
183 n2dvds1 14884 . . . . . . 7 ¬ 2 ∥ 1
184 opex 4849 . . . . . . . . . 10 ⟨∅, ∅⟩ ∈ V
185 hashsng 12968 . . . . . . . . . 10 (⟨∅, ∅⟩ ∈ V → (#‘{⟨∅, ∅⟩}) = 1)
186184, 185ax-mp 5 . . . . . . . . 9 (#‘{⟨∅, ∅⟩}) = 1
187 nnuz 11551 . . . . . . . . . . . . . . . . 17 ℕ = (ℤ‘1)
1881, 187syl6eleq 2693 . . . . . . . . . . . . . . . 16 (𝜑𝑁 ∈ (ℤ‘1))
189 eluzfz1 12170 . . . . . . . . . . . . . . . 16 (𝑁 ∈ (ℤ‘1) → 1 ∈ (1...𝑁))
190188, 189syl 17 . . . . . . . . . . . . . . 15 (𝜑 → 1 ∈ (1...𝑁))
191 poimirlem28.5 . . . . . . . . . . . . . . . . 17 (𝜑𝐾 ∈ ℕ)
192191nnnn0d 11194 . . . . . . . . . . . . . . . 16 (𝜑𝐾 ∈ ℕ0)
193 0elfz 12256 . . . . . . . . . . . . . . . 16 (𝐾 ∈ ℕ0 → 0 ∈ (0...𝐾))
194 fconst6g 5988 . . . . . . . . . . . . . . . 16 (0 ∈ (0...𝐾) → ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾))
195192, 193, 1943syl 18 . . . . . . . . . . . . . . 15 (𝜑 → ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾))
19670fvconst2 6348 . . . . . . . . . . . . . . . 16 (1 ∈ (1...𝑁) → (((1...𝑁) × {0})‘1) = 0)
197190, 196syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (((1...𝑁) × {0})‘1) = 0)
198190, 195, 1973jca 1234 . . . . . . . . . . . . . 14 (𝜑 → (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0))
199 nfv 1828 . . . . . . . . . . . . . . . 16 𝑝(𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0))
200 nfcsb1v 3510 . . . . . . . . . . . . . . . . 17 𝑝((1...𝑁) × {0}) / 𝑝𝐵
201200nfeq1 2759 . . . . . . . . . . . . . . . 16 𝑝((1...𝑁) × {0}) / 𝑝𝐵 = 0
202199, 201nfim 1811 . . . . . . . . . . . . . . 15 𝑝((𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0)) → ((1...𝑁) × {0}) / 𝑝𝐵 = 0)
203 ovex 6551 . . . . . . . . . . . . . . . 16 (1...𝑁) ∈ V
204 snex 4826 . . . . . . . . . . . . . . . 16 {0} ∈ V
205203, 204xpex 6833 . . . . . . . . . . . . . . 15 ((1...𝑁) × {0}) ∈ V
206 feq1 5921 . . . . . . . . . . . . . . . . . 18 (𝑝 = ((1...𝑁) × {0}) → (𝑝:(1...𝑁)⟶(0...𝐾) ↔ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾)))
207 fveq1 6083 . . . . . . . . . . . . . . . . . . 19 (𝑝 = ((1...𝑁) × {0}) → (𝑝‘1) = (((1...𝑁) × {0})‘1))
208207eqeq1d 2607 . . . . . . . . . . . . . . . . . 18 (𝑝 = ((1...𝑁) × {0}) → ((𝑝‘1) = 0 ↔ (((1...𝑁) × {0})‘1) = 0))
209206, 2083anbi23d 1393 . . . . . . . . . . . . . . . . 17 (𝑝 = ((1...𝑁) × {0}) → ((1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0) ↔ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0)))
210209anbi2d 735 . . . . . . . . . . . . . . . 16 (𝑝 = ((1...𝑁) × {0}) → ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) ↔ (𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0))))
211 csbeq1a 3503 . . . . . . . . . . . . . . . . 17 (𝑝 = ((1...𝑁) × {0}) → 𝐵 = ((1...𝑁) × {0}) / 𝑝𝐵)
212211eqeq1d 2607 . . . . . . . . . . . . . . . 16 (𝑝 = ((1...𝑁) × {0}) → (𝐵 = 0 ↔ ((1...𝑁) × {0}) / 𝑝𝐵 = 0))
213210, 212imbi12d 332 . . . . . . . . . . . . . . 15 (𝑝 = ((1...𝑁) × {0}) → (((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → 𝐵 = 0) ↔ ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0)) → ((1...𝑁) × {0}) / 𝑝𝐵 = 0)))
214 1ex 9887 . . . . . . . . . . . . . . . . 17 1 ∈ V
215 eleq1 2671 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 1 → (𝑛 ∈ (1...𝑁) ↔ 1 ∈ (1...𝑁)))
216 fveq2 6084 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 = 1 → (𝑝𝑛) = (𝑝‘1))
217216eqeq1d 2607 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 1 → ((𝑝𝑛) = 0 ↔ (𝑝‘1) = 0))
218215, 2173anbi13d 1392 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 1 → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0) ↔ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)))
219218anbi2d 735 . . . . . . . . . . . . . . . . . 18 (𝑛 = 1 → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) ↔ (𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0))))
220 breq2 4577 . . . . . . . . . . . . . . . . . 18 (𝑛 = 1 → (𝐵 < 𝑛𝐵 < 1))
221219, 220imbi12d 332 . . . . . . . . . . . . . . . . 17 (𝑛 = 1 → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛) ↔ ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → 𝐵 < 1)))
222 poimirlem28.3 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛)
223214, 221, 222vtocl 3227 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → 𝐵 < 1)
224 poimirlem28.2 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁))
225 elfznn0 12253 . . . . . . . . . . . . . . . . . 18 (𝐵 ∈ (0...𝑁) → 𝐵 ∈ ℕ0)
226 nn0lt10b 11268 . . . . . . . . . . . . . . . . . 18 (𝐵 ∈ ℕ0 → (𝐵 < 1 ↔ 𝐵 = 0))
227224, 225, 2263syl 18 . . . . . . . . . . . . . . . . 17 ((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) → (𝐵 < 1 ↔ 𝐵 = 0))
2282273ad2antr2 1219 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → (𝐵 < 1 ↔ 𝐵 = 0))
229223, 228mpbid 220 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → 𝐵 = 0)
230202, 205, 213, 229vtoclf 3226 . . . . . . . . . . . . . 14 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0)) → ((1...𝑁) × {0}) / 𝑝𝐵 = 0)
231198, 230mpdan 698 . . . . . . . . . . . . 13 (𝜑((1...𝑁) × {0}) / 𝑝𝐵 = 0)
232231eqcomd 2611 . . . . . . . . . . . 12 (𝜑 → 0 = ((1...𝑁) × {0}) / 𝑝𝐵)
233232ralrimivw 2945 . . . . . . . . . . 11 (𝜑 → ∀𝑠 ∈ {⟨∅, ∅⟩}0 = ((1...𝑁) × {0}) / 𝑝𝐵)
234 rabid2 3091 . . . . . . . . . . 11 ({⟨∅, ∅⟩} = {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵} ↔ ∀𝑠 ∈ {⟨∅, ∅⟩}0 = ((1...𝑁) × {0}) / 𝑝𝐵)
235233, 234sylibr 222 . . . . . . . . . 10 (𝜑 → {⟨∅, ∅⟩} = {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})
236235fveq2d 6088 . . . . . . . . 9 (𝜑 → (#‘{⟨∅, ∅⟩}) = (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
237186, 236syl5eqr 2653 . . . . . . . 8 (𝜑 → 1 = (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
238237breq2d 4585 . . . . . . 7 (𝜑 → (2 ∥ 1 ↔ 2 ∥ (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
239183, 238mtbii 314 . . . . . 6 (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
240239a1i 11 . . . . 5 (𝑁 ∈ ℕ0 → (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
241 2z 11238 . . . . . . . . . . . . 13 2 ∈ ℤ
242 fzfi 12584 . . . . . . . . . . . . . . . . 17 (1...(𝑚 + 1)) ∈ Fin
243 mapfi 8118 . . . . . . . . . . . . . . . . 17 (((0..^𝐾) ∈ Fin ∧ (1...(𝑚 + 1)) ∈ Fin) → ((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) ∈ Fin)
24410, 242, 243mp2an 703 . . . . . . . . . . . . . . . 16 ((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) ∈ Fin
245 ovex 6551 . . . . . . . . . . . . . . . . . . 19 (1...(𝑚 + 1)) ∈ V
246245, 245mapval 7729 . . . . . . . . . . . . . . . . . 18 ((1...(𝑚 + 1)) ↑𝑚 (1...(𝑚 + 1))) = {𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))}
247 mapfi 8118 . . . . . . . . . . . . . . . . . . 19 (((1...(𝑚 + 1)) ∈ Fin ∧ (1...(𝑚 + 1)) ∈ Fin) → ((1...(𝑚 + 1)) ↑𝑚 (1...(𝑚 + 1))) ∈ Fin)
248242, 242, 247mp2an 703 . . . . . . . . . . . . . . . . . 18 ((1...(𝑚 + 1)) ↑𝑚 (1...(𝑚 + 1))) ∈ Fin
249246, 248eqeltrri 2680 . . . . . . . . . . . . . . . . 17 {𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))} ∈ Fin
250 f1of 6031 . . . . . . . . . . . . . . . . . 18 (𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1)) → 𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1)))
251250ss2abi 3632 . . . . . . . . . . . . . . . . 17 {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ⊆ {𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))}
252 ssfi 8038 . . . . . . . . . . . . . . . . 17 (({𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))} ∈ Fin ∧ {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ⊆ {𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))}) → {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ∈ Fin)
253249, 251, 252mp2an 703 . . . . . . . . . . . . . . . 16 {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ∈ Fin
254 xpfi 8089 . . . . . . . . . . . . . . . 16 ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) ∈ Fin ∧ {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ∈ Fin) → (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin)
255244, 253, 254mp2an 703 . . . . . . . . . . . . . . 15 (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin
256 rabfi 8043 . . . . . . . . . . . . . . 15 ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin)
257 hashcl 12957 . . . . . . . . . . . . . . 15 ({𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0)
258255, 256, 257mp2b 10 . . . . . . . . . . . . . 14 (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0
259258nn0zi 11231 . . . . . . . . . . . . 13 (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ
260 rabfi 8043 . . . . . . . . . . . . . . 15 ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin)
261 hashcl 12957 . . . . . . . . . . . . . . 15 ({𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℕ0)
262255, 260, 261mp2b 10 . . . . . . . . . . . . . 14 (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℕ0
263262nn0zi 11231 . . . . . . . . . . . . 13 (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ
264241, 259, 2633pm3.2i 1231 . . . . . . . . . . . 12 (2 ∈ ℤ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ)
265 nn0p1nn 11175 . . . . . . . . . . . . . . . 16 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℕ)
266265ad2antrl 759 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (𝑚 + 1) ∈ ℕ)
267 uneq1 3717 . . . . . . . . . . . . . . . 16 (𝑞 = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})))
268267csbeq1d 3501 . . . . . . . . . . . . . . 15 (𝑞 = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
26970fconst 5985 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑚 + 1) + 1)...𝑁) × {0}):(((𝑚 + 1) + 1)...𝑁)⟶{0}
270269jctr 562 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑞:(1...(𝑚 + 1))⟶(0...𝐾) → (𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ ((((𝑚 + 1) + 1)...𝑁) × {0}):(((𝑚 + 1) + 1)...𝑁)⟶{0}))
271265nnred 10878 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℝ)
272271ltp1d 10799 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ0 → (𝑚 + 1) < ((𝑚 + 1) + 1))
273 fzdisj 12190 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑚 + 1) < ((𝑚 + 1) + 1) → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
274272, 273syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑚 ∈ ℕ0 → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
275 fun 5961 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ ((((𝑚 + 1) + 1)...𝑁) × {0}):(((𝑚 + 1) + 1)...𝑁)⟶{0}) ∧ ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
276270, 274, 275syl2anr 493 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 ∈ ℕ0𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
277276adantlr 746 . . . . . . . . . . . . . . . . . . . . 21 (((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
278277adantl 480 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
279265peano2nnd 10880 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑚 ∈ ℕ0 → ((𝑚 + 1) + 1) ∈ ℕ)
280279, 187syl6eleq 2693 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0 → ((𝑚 + 1) + 1) ∈ (ℤ‘1))
281280ad2antrl 759 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((𝑚 + 1) + 1) ∈ (ℤ‘1))
282 nn0z 11229 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑚 ∈ ℕ0𝑚 ∈ ℤ)
2831nnzd 11309 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝜑𝑁 ∈ ℤ)
284 zltp1le 11256 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑚 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑚 < 𝑁 ↔ (𝑚 + 1) ≤ 𝑁))
285282, 283, 284syl2anr 493 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑𝑚 ∈ ℕ0) → (𝑚 < 𝑁 ↔ (𝑚 + 1) ≤ 𝑁))
286285biimpa 499 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) → (𝑚 + 1) ≤ 𝑁)
287286anasss 676 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (𝑚 + 1) ≤ 𝑁)
288282peano2zd 11313 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℤ)
289288adantr 479 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → (𝑚 + 1) ∈ ℤ)
290 eluz 11529 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑚 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑚 + 1)) ↔ (𝑚 + 1) ≤ 𝑁))
291289, 283, 290syl2anr 493 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (𝑁 ∈ (ℤ‘(𝑚 + 1)) ↔ (𝑚 + 1) ≤ 𝑁))
292287, 291mpbird 245 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑁 ∈ (ℤ‘(𝑚 + 1)))
293 fzsplit2 12188 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑚 + 1) + 1) ∈ (ℤ‘1) ∧ 𝑁 ∈ (ℤ‘(𝑚 + 1))) → (1...𝑁) = ((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁)))
294281, 292, 293syl2anc 690 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (1...𝑁) = ((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁)))
295294eqcomd 2611 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁)) = (1...𝑁))
296192, 193syl 17 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → 0 ∈ (0...𝐾))
297296snssd 4276 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → {0} ⊆ (0...𝐾))
298 ssequn2 3743 . . . . . . . . . . . . . . . . . . . . . . . 24 ({0} ⊆ (0...𝐾) ↔ ((0...𝐾) ∪ {0}) = (0...𝐾))
299297, 298sylib 206 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → ((0...𝐾) ∪ {0}) = (0...𝐾))
300299adantr 479 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((0...𝐾) ∪ {0}) = (0...𝐾))
301295, 300feq23d 5935 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)))
302301adantrr 748 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)))
303278, 302mpbid 220 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
304 nfv 1828 . . . . . . . . . . . . . . . . . . . . 21 𝑝(𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
305 nfcsb1v 3510 . . . . . . . . . . . . . . . . . . . . . 22 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵
306305nfel1 2760 . . . . . . . . . . . . . . . . . . . . 21 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁)
307304, 306nfim 1811 . . . . . . . . . . . . . . . . . . . 20 𝑝((𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
308 vex 3171 . . . . . . . . . . . . . . . . . . . . 21 𝑞 ∈ V
309 ovex 6551 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑚 + 1) + 1)...𝑁) ∈ V
310309, 204xpex 6833 . . . . . . . . . . . . . . . . . . . . 21 ((((𝑚 + 1) + 1)...𝑁) × {0}) ∈ V
311308, 310unex 6827 . . . . . . . . . . . . . . . . . . . 20 (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) ∈ V
312 feq1 5921 . . . . . . . . . . . . . . . . . . . . . 22 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝑝:(1...𝑁)⟶(0...𝐾) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)))
313312anbi2d 735 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) ↔ (𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))))
314 csbeq1a 3503 . . . . . . . . . . . . . . . . . . . . . 22 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → 𝐵 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
315314eleq1d 2667 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 ∈ (0...𝑁) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁)))
316313, 315imbi12d 332 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁)) ↔ ((𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))))
317307, 311, 316, 224vtoclf 3226 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
318303, 317syldan 485 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
319318anassrs 677 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
320 elfznn0 12253 . . . . . . . . . . . . . . . . 17 ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℕ0)
321319, 320syl 17 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℕ0)
322265nnnn0d 11194 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℕ0)
323322adantr 479 . . . . . . . . . . . . . . . . 17 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → (𝑚 + 1) ∈ ℕ0)
324323ad2antlr 758 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑚 + 1) ∈ ℕ0)
325 leloe 9971 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑚 + 1) ∈ ℝ ∧ 𝑁 ∈ ℝ) → ((𝑚 + 1) ≤ 𝑁 ↔ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
326271, 3, 325syl2anr 493 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑚 ∈ ℕ0) → ((𝑚 + 1) ≤ 𝑁 ↔ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
327285, 326bitrd 266 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑚 ∈ ℕ0) → (𝑚 < 𝑁 ↔ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
328327biimpd 217 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑚 ∈ ℕ0) → (𝑚 < 𝑁 → ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
329328imdistani 721 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) → ((𝜑𝑚 ∈ ℕ0) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
330329anasss 676 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((𝜑𝑚 ∈ ℕ0) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
331 simplll 793 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → 𝜑)
332279nnge1d 10906 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ0 → 1 ≤ ((𝑚 + 1) + 1))
333332ad2antlr 758 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 1 ≤ ((𝑚 + 1) + 1))
334 zltp1le 11256 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝑚 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑚 + 1) < 𝑁 ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
335288, 283, 334syl2anr 493 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑𝑚 ∈ ℕ0) → ((𝑚 + 1) < 𝑁 ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
336335biimpa 499 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ≤ 𝑁)
337288peano2zd 11313 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0 → ((𝑚 + 1) + 1) ∈ ℤ)
338 1z 11236 . . . . . . . . . . . . . . . . . . . . . . . . . 26 1 ∈ ℤ
339 elfz 12154 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝑚 + 1) + 1) ∈ ℤ ∧ 1 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
340338, 339mp3an2 1403 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝑚 + 1) + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
341337, 283, 340syl2anr 493 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑𝑚 ∈ ℕ0) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
342341adantr 479 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
343333, 336, 342mpbir2and 958 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (1...𝑁))
344343adantlr 746 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (1...𝑁))
345 nn0re 11144 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0𝑚 ∈ ℝ)
346345ad2antlr 758 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑚 ∈ ℝ)
347271ad2antlr 758 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (𝑚 + 1) ∈ ℝ)
3483ad2antrr 757 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑁 ∈ ℝ)
349345ltp1d 10799 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0𝑚 < (𝑚 + 1))
350349ad2antlr 758 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑚 < (𝑚 + 1))
351 simpr 475 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (𝑚 + 1) < 𝑁)
352346, 347, 348, 350, 351lttrd 10045 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑚 < 𝑁)
353352adantlr 746 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → 𝑚 < 𝑁)
354 anass 678 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) ↔ (𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)))
355303anassrs 677 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
356354, 355sylanb 487 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
357356an32s 841 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
358353, 357syldan 485 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
359 ffn 5940 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑞:(1...(𝑚 + 1))⟶(0...𝐾) → 𝑞 Fn (1...(𝑚 + 1)))
360359ad2antlr 758 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → 𝑞 Fn (1...(𝑚 + 1)))
361274ad3antlr 762 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
362 eluz 11529 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((((𝑚 + 1) + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
363337, 283, 362syl2anr 493 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑𝑚 ∈ ℕ0) → (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
364363adantr 479 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
365336, 364mpbird 245 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)))
366 eluzfz1 12170 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) → ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))
367365, 366syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))
368367adantlr 746 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))
369 fnconstg 5987 . . . . . . . . . . . . . . . . . . . . . . . . 25 (0 ∈ V → ((((𝑚 + 1) + 1)...𝑁) × {0}) Fn (((𝑚 + 1) + 1)...𝑁))
37070, 369ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑚 + 1) + 1)...𝑁) × {0}) Fn (((𝑚 + 1) + 1)...𝑁)
371 fvun2 6161 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑞 Fn (1...(𝑚 + 1)) ∧ ((((𝑚 + 1) + 1)...𝑁) × {0}) Fn (((𝑚 + 1) + 1)...𝑁) ∧ (((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅ ∧ ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)))
372370, 371mp3an2 1403 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑞 Fn (1...(𝑚 + 1)) ∧ (((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅ ∧ ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)))
373360, 361, 368, 372syl12anc 1315 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)))
37470fvconst2 6348 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁) → (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)) = 0)
375368, 374syl 17 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)) = 0)
376373, 375eqtrd 2639 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)
377 nfv 1828 . . . . . . . . . . . . . . . . . . . . . . 23 𝑝(𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0))
378 nfcv 2746 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑝 <
379 nfcv 2746 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑝((𝑚 + 1) + 1)
380305, 378, 379nfbr 4619 . . . . . . . . . . . . . . . . . . . . . . 23 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)
381377, 380nfim 1811 . . . . . . . . . . . . . . . . . . . . . 22 𝑝((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1))
382 fveq1 6083 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝑝‘((𝑚 + 1) + 1)) = ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)))
383382eqeq1d 2607 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑝‘((𝑚 + 1) + 1)) = 0 ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0))
384312, 3833anbi23d 1393 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0) ↔ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)))
385384anbi2d 735 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)) ↔ (𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0))))
386314breq1d 4583 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 < ((𝑚 + 1) + 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)))
387385, 386imbi12d 332 . . . . . . . . . . . . . . . . . . . . . 22 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)) → 𝐵 < ((𝑚 + 1) + 1)) ↔ ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1))))
388 ovex 6551 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑚 + 1) + 1) ∈ V
389 eleq1 2671 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = ((𝑚 + 1) + 1) → (𝑛 ∈ (1...𝑁) ↔ ((𝑚 + 1) + 1) ∈ (1...𝑁)))
390 fveq2 6084 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑛 = ((𝑚 + 1) + 1) → (𝑝𝑛) = (𝑝‘((𝑚 + 1) + 1)))
391390eqeq1d 2607 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = ((𝑚 + 1) + 1) → ((𝑝𝑛) = 0 ↔ (𝑝‘((𝑚 + 1) + 1)) = 0))
392389, 3913anbi13d 1392 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑛 = ((𝑚 + 1) + 1) → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0) ↔ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)))
393392anbi2d 735 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑛 = ((𝑚 + 1) + 1) → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) ↔ (𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0))))
394 breq2 4577 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑛 = ((𝑚 + 1) + 1) → (𝐵 < 𝑛𝐵 < ((𝑚 + 1) + 1)))
395393, 394imbi12d 332 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑛 = ((𝑚 + 1) + 1) → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛) ↔ ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)) → 𝐵 < ((𝑚 + 1) + 1))))
396388, 395, 222vtocl 3227 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)) → 𝐵 < ((𝑚 + 1) + 1))
397381, 311, 387, 396vtoclf 3226 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1))
398331, 344, 358, 376, 397syl13anc 1319 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1))
399354, 319sylanb 487 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
400399an32s 841 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
401 elfzelz 12164 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℤ)
402400, 401syl 17 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℤ)
403353, 402syldan 485 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℤ)
404288ad3antlr 762 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑚 + 1) ∈ ℤ)
405 zleltp1 11257 . . . . . . . . . . . . . . . . . . . . 21 (((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℤ ∧ (𝑚 + 1) ∈ ℤ) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)))
406403, 404, 405syl2anc 690 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)))
407398, 406mpbird 245 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
408349ad2antlr 758 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → 𝑚 < (𝑚 + 1))
409 breq2 4577 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑚 + 1) = 𝑁 → (𝑚 < (𝑚 + 1) ↔ 𝑚 < 𝑁))
410409biimpac 501 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 < (𝑚 + 1) ∧ (𝑚 + 1) = 𝑁) → 𝑚 < 𝑁)
411408, 410sylan 486 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → 𝑚 < 𝑁)
412 elfzle2 12167 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑁)
413400, 412syl 17 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑁)
414411, 413syldan 485 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑁)
415 simpr 475 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → (𝑚 + 1) = 𝑁)
416414, 415breqtrrd 4601 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
417407, 416jaodan 821 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
418417an32s 841 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑚 ∈ ℕ0) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
419330, 418sylan 486 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
420 elfz2nn0 12251 . . . . . . . . . . . . . . . 16 ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...(𝑚 + 1)) ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℕ0 ∧ (𝑚 + 1) ∈ ℕ0(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1)))
421321, 324, 419, 420syl3anbrc 1238 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...(𝑚 + 1)))
422 fzss2 12203 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ (ℤ‘(𝑚 + 1)) → (1...(𝑚 + 1)) ⊆ (1...𝑁))
423292, 422syl 17 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (1...(𝑚 + 1)) ⊆ (1...𝑁))
424423sselda 3563 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑛 ∈ (1...(𝑚 + 1))) → 𝑛 ∈ (1...𝑁))
4254243ad2antr1 1218 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → 𝑛 ∈ (1...𝑁))
4263553ad2antr2 1219 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
427359ad2antll 760 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → 𝑞 Fn (1...(𝑚 + 1)))
428274ad2antlr 758 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
429 simprl 789 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → 𝑛 ∈ (1...(𝑚 + 1)))
430 fvun1 6160 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑞 Fn (1...(𝑚 + 1)) ∧ ((((𝑚 + 1) + 1)...𝑁) × {0}) Fn (((𝑚 + 1) + 1)...𝑁) ∧ (((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅ ∧ 𝑛 ∈ (1...(𝑚 + 1)))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
431370, 430mp3an2 1403 . . . . . . . . . . . . . . . . . . . . 21 ((𝑞 Fn (1...(𝑚 + 1)) ∧ (((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅ ∧ 𝑛 ∈ (1...(𝑚 + 1)))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
432427, 428, 429, 431syl12anc 1315 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
433432adantlrr 752 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
4344333adantr3 1214 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
435 simpr3 1061 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑞𝑛) = 0)
436434, 435eqtrd 2639 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)
437425, 426, 4363jca 1234 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))
438 nfv 1828 . . . . . . . . . . . . . . . . . . 19 𝑝(𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))
439 nfcv 2746 . . . . . . . . . . . . . . . . . . . 20 𝑝𝑛
440305, 378, 439nfbr 4619 . . . . . . . . . . . . . . . . . . 19 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛
441438, 440nfim 1811 . . . . . . . . . . . . . . . . . 18 𝑝((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
442 fveq1 6083 . . . . . . . . . . . . . . . . . . . . . 22 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝑝𝑛) = ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛))
443442eqeq1d 2607 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑝𝑛) = 0 ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))
444312, 4433anbi23d 1393 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0) ↔ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)))
445444anbi2d 735 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) ↔ (𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))))
446314breq1d 4583 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 < 𝑛(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛))
447445, 446imbi12d 332 . . . . . . . . . . . . . . . . . 18 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛) ↔ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)))
448441, 311, 447, 222vtoclf 3226 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
449448adantlr 746 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
450437, 449syldan 485 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
451 simp1 1053 . . . . . . . . . . . . . . . . . . 19 ((𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾) → 𝑛 ∈ (1...(𝑚 + 1)))
452424anasss 676 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑛 ∈ (1...(𝑚 + 1)))) → 𝑛 ∈ (1...𝑁))
453451, 452sylanr2 682 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → 𝑛 ∈ (1...𝑁))
454 simp2 1054 . . . . . . . . . . . . . . . . . . 19 ((𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾) → 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))
455454, 303sylanr2 682 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
4564323adantr3 1214 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
457 simpr3 1061 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → (𝑞𝑛) = 𝐾)
458456, 457eqtrd 2639 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)
459458anasss 676 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (𝑚 ∈ ℕ0 ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)
460459adantrlr 754 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)
461453, 455, 4603jca 1234 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))
462 nfv 1828 . . . . . . . . . . . . . . . . . . 19 𝑝(𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))
463 nfcv 2746 . . . . . . . . . . . . . . . . . . . 20 𝑝(𝑛 − 1)
464305, 463nfne 2877 . . . . . . . . . . . . . . . . . . 19 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1)
465462, 464nfim 1811 . . . . . . . . . . . . . . . . . 18 𝑝((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
466442eqeq1d 2607 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑝𝑛) = 𝐾 ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))
467312, 4663anbi23d 1393 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾) ↔ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)))
468467anbi2d 735 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾)) ↔ (𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))))
469314neeq1d 2836 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 ≠ (𝑛 − 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1)))
470468, 469imbi12d 332 . . . . . . . . . . . . . . . . . 18 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾)) → 𝐵 ≠ (𝑛 − 1)) ↔ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))))
471 poimirlem28.4 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾)) → 𝐵 ≠ (𝑛 − 1))
472465, 311, 470, 471vtoclf 3226 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
473461, 472syldan 485 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
474473anassrs 677 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
475266, 268, 421, 450, 474poimirlem27 32405 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
476266, 268, 421poimirlem26 32404 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
477 fzfi 12584 . . . . . . . . . . . . . . . . . . 19 (0...(𝑚 + 1)) ∈ Fin
478 xpfi 8089 . . . . . . . . . . . . . . . . . . 19 (((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin ∧ (0...(𝑚 + 1)) ∈ Fin) → ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∈ Fin)
479255, 477, 478mp2an 703 . . . . . . . . . . . . . . . . . 18 ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∈ Fin
480 rabfi 8043 . . . . . . . . . . . . . . . . . 18 (((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∈ Fin → {𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin)
481 hashcl 12957 . . . . . . . . . . . . . . . . . 18 ({𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin → (#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0)
482479, 480, 481mp2b 10 . . . . . . . . . . . . . . . . 17 (#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0
483482nn0zi 11231 . . . . . . . . . . . . . . . 16 (#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ
484 zsubcl 11248 . . . . . . . . . . . . . . . 16 (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ) → ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∈ ℤ)
485483, 263, 484mp2an 703 . . . . . . . . . . . . . . 15 ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∈ ℤ
486 zsubcl 11248 . . . . . . . . . . . . . . . 16 (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ) → ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})) ∈ ℤ)
487483, 259, 486mp2an 703 . . . . . . . . . . . . . . 15 ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})) ∈ ℤ
488 dvds2sub 14796 . . . . . . . . . . . . . . 15 ((2 ∈ ℤ ∧ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∈ ℤ ∧ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})) ∈ ℤ) → ((2 ∥ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∧ 2 ∥ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) → 2 ∥ (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))))
489241, 485, 487, 488mp3an 1415 . . . . . . . . . . . . . 14 ((2 ∥ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∧ 2 ∥ ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) → 2 ∥ (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
490475, 476, 489syl2anc 690 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
491482nn0cni 11147 . . . . . . . . . . . . . 14 (#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ
492262nn0cni 11147 . . . . . . . . . . . . . 14 (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℂ
493258nn0cni 11147 . . . . . . . . . . . . . 14 (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ
494 nnncan1 10164 . . . . . . . . . . . . . 14 (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℂ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ) → (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) = ((#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
495491, 492, 493, 494mp3an 1415 . . . . . . . . . . . . 13 (((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((#‘{𝑡 ∈ ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) = ((#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
496490, 495syl6breq 4614 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ ((#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
497 dvdssub2 14803 . . . . . . . . . . . 12 (((2 ∈ ℤ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ) ∧ 2 ∥ ((#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))) → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
498264, 496, 497sylancr 693 . . . . . . . . . . 11 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
499 nn0cn 11145 . . . . . . . . . . . . . . . . . . . 20 (𝑚 ∈ ℕ0𝑚 ∈ ℂ)
500 pncan1 10301 . . . . . . . . . . . . . . . . . . . 20 (𝑚 ∈ ℂ → ((𝑚 + 1) − 1) = 𝑚)
501499, 500syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑚 ∈ ℕ0 → ((𝑚 + 1) − 1) = 𝑚)
502501oveq2d 6539 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0 → (0...((𝑚 + 1) − 1)) = (0...𝑚))
503502rexeqdv 3117 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0 → (∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
504502, 503raleqbidv 3124 . . . . . . . . . . . . . . . . 17 (𝑚 ∈ ℕ0 → (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
5055043anbi1d 1394 . . . . . . . . . . . . . . . 16 (𝑚 ∈ ℕ0 → ((∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1)) ↔ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))))
506505rabbidv 3159 . . . . . . . . . . . . . . 15 (𝑚 ∈ ℕ0 → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} = {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})
507506fveq2d 6088 . . . . . . . . . . . . . 14 (𝑚 ∈ ℕ0 → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
508507ad2antrl 759 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
5091adantr 479 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑁 ∈ ℕ)
510191adantr 479 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝐾 ∈ ℕ)
511 simprl 789 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑚 ∈ ℕ0)
512 simprr 791 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑚 < 𝑁)
513509, 510, 511, 512poimirlem4 32382 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})
514 fzfi 12584 . . . . . . . . . . . . . . . . . 18 (1...𝑚) ∈ Fin
515 mapfi 8118 . . . . . . . . . . . . . . . . . 18 (((0..^𝐾) ∈ Fin ∧ (1...𝑚) ∈ Fin) → ((0..^𝐾) ↑𝑚 (1...𝑚)) ∈ Fin)
51610, 514, 515mp2an 703 . . . . . . . . . . . . . . . . 17 ((0..^𝐾) ↑𝑚 (1...𝑚)) ∈ Fin
517 ovex 6551 . . . . . . . . . . . . . . . . . . . 20 (1...𝑚) ∈ V
518517, 517mapval 7729 . . . . . . . . . . . . . . . . . . 19 ((1...𝑚) ↑𝑚 (1...𝑚)) = {𝑓𝑓:(1...𝑚)⟶(1...𝑚)}
519 mapfi 8118 . . . . . . . . . . . . . . . . . . . 20 (((1...𝑚) ∈ Fin ∧ (1...𝑚) ∈ Fin) → ((1...𝑚) ↑𝑚 (1...𝑚)) ∈ Fin)
520514, 514, 519mp2an 703 . . . . . . . . . . . . . . . . . . 19 ((1...𝑚) ↑𝑚 (1...𝑚)) ∈ Fin
521518, 520eqeltrri 2680 . . . . . . . . . . . . . . . . . 18 {𝑓𝑓:(1...𝑚)⟶(1...𝑚)} ∈ Fin
522 f1of 6031 . . . . . . . . . . . . . . . . . . 19 (𝑓:(1...𝑚)–1-1-onto→(1...𝑚) → 𝑓:(1...𝑚)⟶(1...𝑚))
523522ss2abi 3632 . . . . . . . . . . . . . . . . . 18 {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ⊆ {𝑓𝑓:(1...𝑚)⟶(1...𝑚)}
524 ssfi 8038 . . . . . . . . . . . . . . . . . 18 (({𝑓𝑓:(1...𝑚)⟶(1...𝑚)} ∈ Fin ∧ {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ⊆ {𝑓𝑓:(1...𝑚)⟶(1...𝑚)}) → {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ∈ Fin)
525521, 523, 524mp2an 703 . . . . . . . . . . . . . . . . 17 {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ∈ Fin
526 xpfi 8089 . . . . . . . . . . . . . . . . 17 ((((0..^𝐾) ↑𝑚 (1...𝑚)) ∈ Fin ∧ {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ∈ Fin) → (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∈ Fin)
527516, 525, 526mp2an 703 . . . . . . . . . . . . . . . 16 (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∈ Fin
528 rabfi 8043 . . . . . . . . . . . . . . . 16 ((((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin)
529527, 528ax-mp 5 . . . . . . . . . . . . . . 15 {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin
530 rabfi 8043 . . . . . . . . . . . . . . . 16 ((((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin)
531255, 530ax-mp 5 . . . . . . . . . . . . . . 15 {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin
532 hashen 12945 . . . . . . . . . . . . . . 15 (({𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin ∧ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin) → ((#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ↔ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
533529, 531, 532mp2an 703 . . . . . . . . . . . . . 14 ((#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ↔ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})
534513, 533sylibr 222 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
535508, 534eqtr4d 2642 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}))
536535breq2d 4585 . . . . . . . . . . 11 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
537498, 536bitrd 266 . . . . . . . . . 10 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
538537biimpd 217 . . . . . . . . 9 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) → 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
539538con3d 146 . . . . . . . 8 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
540539expcom 449 . . . . . . 7 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → (𝜑 → (¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
541540a2d 29 . . . . . 6 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → ((𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})) → (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
5425413adant1 1071 . . . . 5 ((𝑁 ∈ ℕ0𝑚 ∈ ℕ0𝑚 < 𝑁) → ((𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})) → (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
543107, 132, 157, 182, 240, 542fnn0ind 11304 . . . 4 ((𝑁 ∈ ℕ0𝑁 ∈ ℕ0𝑁𝑁) → (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
5445, 543mpcom 37 . . 3 (𝜑 → ¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}))
545 dvds0 14777 . . . . . . . 8 (2 ∈ ℤ → 2 ∥ 0)
546241, 545ax-mp 5 . . . . . . 7 2 ∥ 0
547 hash0 12967 . . . . . . 7 (#‘∅) = 0
548546, 547breqtrri 4600 . . . . . 6 2 ∥ (#‘∅)
549 fveq2 6084 . . . . . 6 ({𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} = ∅ → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶}) = (#‘∅))
550548, 549syl5breqr 4611 . . . . 5 ({𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} = ∅ → 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶}))
5513ltp1d 10799 . . . . . . . . . . . . . . . . . 18 (𝜑𝑁 < (𝑁 + 1))
552283peano2zd 11313 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝑁 + 1) ∈ ℤ)
553 fzn 12179 . . . . . . . . . . . . . . . . . . 19 (((𝑁 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
554552, 283, 553syl2anc 690 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
555551, 554mpbid 220 . . . . . . . . . . . . . . . . 17 (𝜑 → ((𝑁 + 1)...𝑁) = ∅)
556555xpeq1d 5048 . . . . . . . . . . . . . . . 16 (𝜑 → (((𝑁 + 1)...𝑁) × {0}) = (∅ × {0}))
557556, 86syl6eq 2655 . . . . . . . . . . . . . . 15 (𝜑 → (((𝑁 + 1)...𝑁) × {0}) = ∅)
558557uneq2d 3724 . . . . . . . . . . . . . 14 (𝜑 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ ∅))
559 un0 3914 . . . . . . . . . . . . . 14 (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ ∅) = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0})))
560558, 559syl6eq 2655 . . . . . . . . . . . . 13 (𝜑 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))))
561560csbeq1d 3501 . . . . . . . . . . . 12 (𝜑(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) / 𝑝𝐵)
562 ovex 6551 . . . . . . . . . . . . 13 ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∈ V
563 poimirlem28.1 . . . . . . . . . . . . 13 (𝑝 = ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) → 𝐵 = 𝐶)
564562, 563csbie 3520 . . . . . . . . . . . 12 ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) / 𝑝𝐵 = 𝐶
565561, 564syl6eq 2655 . . . . . . . . . . 11 (𝜑(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 = 𝐶)
566565eqeq2d 2615 . . . . . . . . . 10 (𝜑 → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = 𝐶))
567566rexbidv 3029 . . . . . . . . 9 (𝜑 → (∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶))
568567ralbidv 2964 . . . . . . . 8 (𝜑 → (∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶))
569568rabbidv 3159 . . . . . . 7 (𝜑 → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶})
570569fveq2d 6088 . . . . . 6 (𝜑 → (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶}))
571570breq2d 4585 . . . . 5 (𝜑 → (2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶})))
572550, 571syl5ibr 234 . . . 4 (𝜑 → ({𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} = ∅ → 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
573572necon3bd 2791 . . 3 (𝜑 → (¬ 2 ∥ (#‘{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}) → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} ≠ ∅))
574544, 573mpd 15 . 2 (𝜑 → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} ≠ ∅)
575 rabn0 3907 . 2 ({𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} ≠ ∅ ↔ ∃𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶)
576574, 575sylib 206 1 (𝜑 → ∃𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wo 381  wa 382  w3a 1030   = wceq 1474  wcel 1975  {cab 2591  wne 2775  wral 2891  wrex 2892  {crab 2895  Vcvv 3168  csb 3494  cdif 3532  cun 3533  cin 3534  wss 3535  c0 3869  {csn 4120  cop 4126   class class class wbr 4573  cmpt 4633   × cxp 5022  cima 5027   Fn wfn 5781  wf 5782  1-1-ontowf1o 5785  cfv 5786  (class class class)co 6523  𝑓 cof 6766  1st c1st 7030  2nd c2nd 7031  1𝑜c1o 7413  𝑚 cmap 7717  cen 7811  Fincfn 7814  cc 9786  cr 9787  0cc0 9788  1c1 9789   + caddc 9791   < clt 9926  cle 9927  cmin 10113  cn 10863  2c2 10913  0cn0 11135  cz 11206  cuz 11515  ...cfz 12148  ..^cfzo 12285  #chash 12930  cdvds 14763
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-8 1977  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-rep 4689  ax-sep 4699  ax-nul 4708  ax-pow 4760  ax-pr 4824  ax-un 6820  ax-inf2 8394  ax-cnex 9844  ax-resscn 9845  ax-1cn 9846  ax-icn 9847  ax-addcl 9848  ax-addrcl 9849  ax-mulcl 9850  ax-mulrcl 9851  ax-mulcom 9852  ax-addass 9853  ax-mulass 9854  ax-distr 9855  ax-i2m1 9856  ax-1ne0 9857  ax-1rid 9858  ax-rnegex 9859  ax-rrecex 9860  ax-cnre 9861  ax-pre-lttri 9862  ax-pre-lttrn 9863  ax-pre-ltadd 9864  ax-pre-mulgt0 9865  ax-pre-sup 9866
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-fal 1480  df-ex 1695  df-nf 1700  df-sb 1866  df-eu 2457  df-mo 2458  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ne 2777  df-nel 2778  df-ral 2896  df-rex 2897  df-reu 2898  df-rmo 2899  df-rab 2900  df-v 3170  df-sbc 3398  df-csb 3495  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-pss 3551  df-nul 3870  df-if 4032  df-pw 4105  df-sn 4121  df-pr 4123  df-tp 4125  df-op 4127  df-uni 4363  df-int 4401  df-iun 4447  df-disj 4544  df-br 4574  df-opab 4634  df-mpt 4635  df-tr 4671  df-eprel 4935  df-id 4939  df-po 4945  df-so 4946  df-fr 4983  df-se 4984  df-we 4985  df-xp 5030  df-rel 5031  df-cnv 5032  df-co 5033  df-dm 5034  df-rn 5035  df-res 5036  df-ima 5037  df-pred 5579  df-ord 5625  df-on 5626  df-lim 5627  df-suc 5628  df-iota 5750  df-fun 5788  df-fn 5789  df-f 5790  df-f1 5791  df-fo 5792  df-f1o 5793  df-fv 5794  df-isom 5795  df-riota 6485  df-ov 6526  df-oprab 6527  df-mpt2 6528  df-of 6768  df-om 6931  df-1st 7032  df-2nd 7033  df-wrecs 7267  df-recs 7328  df-rdg 7366  df-1o 7420  df-2o 7421  df-oadd 7424  df-er 7602  df-map 7719  df-pm 7720  df-en 7815  df-dom 7816  df-sdom 7817  df-fin 7818  df-sup 8204  df-oi 8271  df-card 8621  df-cda 8846  df-pnf 9928  df-mnf 9929  df-xr 9930  df-ltxr 9931  df-le 9932  df-sub 10115  df-neg 10116  df-div 10530  df-nn 10864  df-2 10922  df-3 10923  df-n0 11136  df-z 11207  df-uz 11516  df-rp 11661  df-fz 12149  df-fzo 12286  df-seq 12615  df-exp 12674  df-fac 12874  df-bc 12903  df-hash 12931  df-cj 13629  df-re 13630  df-im 13631  df-sqrt 13765  df-abs 13766  df-clim 14009  df-sum 14207  df-dvds 14764
This theorem is referenced by:  poimirlem32  32410
  Copyright terms: Public domain W3C validator