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 35732
Description: Lemma for poimir 35737, a variant of Sperner's lemma. (Contributed by Brendan Leahy, 21-Aug-2020.)
Hypotheses
Ref Expression
poimir.0 (𝜑𝑁 ∈ ℕ)
poimirlem28.1 (𝑝 = ((1st𝑠) ∘f + ((((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..^𝐾) ↑m (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 12223 . . . . 5 (𝜑𝑁 ∈ ℕ0)
31nnred 11918 . . . . . 6 (𝜑𝑁 ∈ ℝ)
43leidd 11471 . . . . 5 (𝜑𝑁𝑁)
52, 2, 43jca 1126 . . . 4 (𝜑 → (𝑁 ∈ ℕ0𝑁 ∈ ℕ0𝑁𝑁))
6 oveq2 7263 . . . . . . . . . . . . . . . 16 (𝑘 = 0 → (1...𝑘) = (1...0))
7 fz10 13206 . . . . . . . . . . . . . . . 16 (1...0) = ∅
86, 7eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (1...𝑘) = ∅)
98oveq2d 7271 . . . . . . . . . . . . . 14 (𝑘 = 0 → ((0..^𝐾) ↑m (1...𝑘)) = ((0..^𝐾) ↑m ∅))
10 fzofi 13622 . . . . . . . . . . . . . . . 16 (0..^𝐾) ∈ Fin
11 map0e 8628 . . . . . . . . . . . . . . . 16 ((0..^𝐾) ∈ Fin → ((0..^𝐾) ↑m ∅) = 1o)
1210, 11ax-mp 5 . . . . . . . . . . . . . . 15 ((0..^𝐾) ↑m ∅) = 1o
13 df1o2 8279 . . . . . . . . . . . . . . 15 1o = {∅}
1412, 13eqtri 2766 . . . . . . . . . . . . . 14 ((0..^𝐾) ↑m ∅) = {∅}
159, 14eqtrdi 2795 . . . . . . . . . . . . 13 (𝑘 = 0 → ((0..^𝐾) ↑m (1...𝑘)) = {∅})
16 eqidd 2739 . . . . . . . . . . . . . . . . 17 (𝑘 = 0 → 𝑓 = 𝑓)
1716, 8, 8f1oeq123d 6694 . . . . . . . . . . . . . . . 16 (𝑘 = 0 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:∅–1-1-onto→∅))
18 eqid 2738 . . . . . . . . . . . . . . . . 17 ∅ = ∅
19 f1o00 6734 . . . . . . . . . . . . . . . . 17 (𝑓:∅–1-1-onto→∅ ↔ (𝑓 = ∅ ∧ ∅ = ∅))
2018, 19mpbiran2 706 . . . . . . . . . . . . . . . 16 (𝑓:∅–1-1-onto→∅ ↔ 𝑓 = ∅)
2117, 20bitrdi 286 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓 = ∅))
2221abbidv 2808 . . . . . . . . . . . . . 14 (𝑘 = 0 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓 = ∅})
23 df-sn 4559 . . . . . . . . . . . . . 14 {∅} = {𝑓𝑓 = ∅}
2422, 23eqtr4di 2797 . . . . . . . . . . . . 13 (𝑘 = 0 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {∅})
2515, 24xpeq12d 5611 . . . . . . . . . . . 12 (𝑘 = 0 → (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = ({∅} × {∅}))
26 0ex 5226 . . . . . . . . . . . . 13 ∅ ∈ V
2726, 26xpsn 6995 . . . . . . . . . . . 12 ({∅} × {∅}) = {⟨∅, ∅⟩}
2825, 27eqtr2di 2796 . . . . . . . . . . 11 (𝑘 = 0 → {⟨∅, ∅⟩} = (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}))
29 elsni 4575 . . . . . . . . . . . . . . . . . . 19 (𝑠 ∈ {⟨∅, ∅⟩} → 𝑠 = ⟨∅, ∅⟩)
3026, 26op1std 7814 . . . . . . . . . . . . . . . . . . 19 (𝑠 = ⟨∅, ∅⟩ → (1st𝑠) = ∅)
3129, 30syl 17 . . . . . . . . . . . . . . . . . 18 (𝑠 ∈ {⟨∅, ∅⟩} → (1st𝑠) = ∅)
3231oveq1d 7270 . . . . . . . . . . . . . . . . 17 (𝑠 ∈ {⟨∅, ∅⟩} → ((1st𝑠) ∘f + ∅) = (∅ ∘f + ∅))
33 f0 6639 . . . . . . . . . . . . . . . . . . . 20 ∅:∅⟶∅
34 ffn 6584 . . . . . . . . . . . . . . . . . . . 20 (∅:∅⟶∅ → ∅ Fn ∅)
3533, 34mp1i 13 . . . . . . . . . . . . . . . . . . 19 (𝑠 ∈ {⟨∅, ∅⟩} → ∅ Fn ∅)
3626a1i 11 . . . . . . . . . . . . . . . . . . 19 (𝑠 ∈ {⟨∅, ∅⟩} → ∅ ∈ V)
37 inidm 4149 . . . . . . . . . . . . . . . . . . 19 (∅ ∩ ∅) = ∅
38 0fv 6795 . . . . . . . . . . . . . . . . . . . 20 (∅‘𝑛) = ∅
3938a1i 11 . . . . . . . . . . . . . . . . . . 19 ((𝑠 ∈ {⟨∅, ∅⟩} ∧ 𝑛 ∈ ∅) → (∅‘𝑛) = ∅)
4035, 35, 36, 36, 37, 39, 39offval 7520 . . . . . . . . . . . . . . . . . 18 (𝑠 ∈ {⟨∅, ∅⟩} → (∅ ∘f + ∅) = (𝑛 ∈ ∅ ↦ (∅ + ∅)))
41 mpt0 6559 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ ∅ ↦ (∅ + ∅)) = ∅
4240, 41eqtrdi 2795 . . . . . . . . . . . . . . . . 17 (𝑠 ∈ {⟨∅, ∅⟩} → (∅ ∘f + ∅) = ∅)
4332, 42eqtrd 2778 . . . . . . . . . . . . . . . 16 (𝑠 ∈ {⟨∅, ∅⟩} → ((1st𝑠) ∘f + ∅) = ∅)
4443uneq1d 4092 . . . . . . . . . . . . . . 15 (𝑠 ∈ {⟨∅, ∅⟩} → (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) = (∅ ∪ ((1...𝑁) × {0})))
45 uncom 4083 . . . . . . . . . . . . . . . 16 (∅ ∪ ((1...𝑁) × {0})) = (((1...𝑁) × {0}) ∪ ∅)
46 un0 4321 . . . . . . . . . . . . . . . 16 (((1...𝑁) × {0}) ∪ ∅) = ((1...𝑁) × {0})
4745, 46eqtri 2766 . . . . . . . . . . . . . . 15 (∅ ∪ ((1...𝑁) × {0})) = ((1...𝑁) × {0})
4844, 47eqtr2di 2796 . . . . . . . . . . . . . 14 (𝑠 ∈ {⟨∅, ∅⟩} → ((1...𝑁) × {0}) = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})))
4948csbeq1d 3832 . . . . . . . . . . . . 13 (𝑠 ∈ {⟨∅, ∅⟩} → ((1...𝑁) × {0}) / 𝑝𝐵 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
5049eqeq2d 2749 . . . . . . . . . . . 12 (𝑠 ∈ {⟨∅, ∅⟩} → (0 = ((1...𝑁) × {0}) / 𝑝𝐵 ↔ 0 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
51 oveq2 7263 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (0...𝑘) = (0...0))
52 0z 12260 . . . . . . . . . . . . . . . 16 0 ∈ ℤ
53 fzsn 13227 . . . . . . . . . . . . . . . 16 (0 ∈ ℤ → (0...0) = {0})
5452, 53ax-mp 5 . . . . . . . . . . . . . . 15 (0...0) = {0}
5551, 54eqtrdi 2795 . . . . . . . . . . . . . 14 (𝑘 = 0 → (0...𝑘) = {0})
56 oveq2 7263 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑘 = 0 → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...0))
5756imaeq2d 5958 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 0 → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...0)))
5857xpeq1d 5609 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 0 → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))
5958uneq2d 4093 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 0 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0})))
6059oveq2d 7271 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 0 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))))
61 oveq1 7262 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 = 0 → (𝑘 + 1) = (0 + 1))
62 0p1e1 12025 . . . . . . . . . . . . . . . . . . . . . 22 (0 + 1) = 1
6361, 62eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 = 0 → (𝑘 + 1) = 1)
6463oveq1d 7270 . . . . . . . . . . . . . . . . . . . 20 (𝑘 = 0 → ((𝑘 + 1)...𝑁) = (1...𝑁))
6564xpeq1d 5609 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 0 → (((𝑘 + 1)...𝑁) × {0}) = ((1...𝑁) × {0}))
6660, 65uneq12d 4094 . . . . . . . . . . . . . . . . . 18 (𝑘 = 0 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})))
6766csbeq1d 3832 . . . . . . . . . . . . . . . . 17 (𝑘 = 0 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
6867eqeq2d 2749 . . . . . . . . . . . . . . . 16 (𝑘 = 0 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
6955, 68rexeqbidv 3328 . . . . . . . . . . . . . . 15 (𝑘 = 0 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ {0}𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
70 c0ex 10900 . . . . . . . . . . . . . . . 16 0 ∈ V
71 oveq2 7263 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 = 0 → (1...𝑗) = (1...0))
7271, 7eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 = 0 → (1...𝑗) = ∅)
7372imaeq2d 5958 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 = 0 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑠) “ ∅))
74 ima0 5974 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((2nd𝑠) “ ∅) = ∅
7573, 74eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 = 0 → ((2nd𝑠) “ (1...𝑗)) = ∅)
7675xpeq1d 5609 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 = 0 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (∅ × {1}))
77 0xp 5675 . . . . . . . . . . . . . . . . . . . . . . 23 (∅ × {1}) = ∅
7876, 77eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 = 0 → (((2nd𝑠) “ (1...𝑗)) × {1}) = ∅)
79 oveq1 7262 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 = 0 → (𝑗 + 1) = (0 + 1))
8079, 62eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 = 0 → (𝑗 + 1) = 1)
8180oveq1d 7270 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 = 0 → ((𝑗 + 1)...0) = (1...0))
8281, 7eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 = 0 → ((𝑗 + 1)...0) = ∅)
8382imaeq2d 5958 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 = 0 → ((2nd𝑠) “ ((𝑗 + 1)...0)) = ((2nd𝑠) “ ∅))
8483, 74eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 = 0 → ((2nd𝑠) “ ((𝑗 + 1)...0)) = ∅)
8584xpeq1d 5609 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 = 0 → (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}) = (∅ × {0}))
86 0xp 5675 . . . . . . . . . . . . . . . . . . . . . . 23 (∅ × {0}) = ∅
8785, 86eqtrdi 2795 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 = 0 → (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}) = ∅)
8878, 87uneq12d 4094 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 = 0 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0})) = (∅ ∪ ∅))
89 un0 4321 . . . . . . . . . . . . . . . . . . . . 21 (∅ ∪ ∅) = ∅
9088, 89eqtrdi 2795 . . . . . . . . . . . . . . . . . . . 20 (𝑗 = 0 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0})) = ∅)
9190oveq2d 7271 . . . . . . . . . . . . . . . . . . 19 (𝑗 = 0 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) = ((1st𝑠) ∘f + ∅))
9291uneq1d 4092 . . . . . . . . . . . . . . . . . 18 (𝑗 = 0 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})))
9392csbeq1d 3832 . . . . . . . . . . . . . . . . 17 (𝑗 = 0 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
9493eqeq2d 2749 . . . . . . . . . . . . . . . 16 (𝑗 = 0 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
9570, 94rexsn 4615 . . . . . . . . . . . . . . 15 (∃𝑗 ∈ {0}𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...0)) × {0}))) ∪ ((1...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
9669, 95bitrdi 286 . . . . . . . . . . . . . 14 (𝑘 = 0 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
9755, 96raleqbidv 3327 . . . . . . . . . . . . 13 (𝑘 = 0 → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ {0}𝑖 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
98 eqeq1 2742 . . . . . . . . . . . . . 14 (𝑖 = 0 → (𝑖 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 ↔ 0 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵))
9970, 98ralsn 4614 . . . . . . . . . . . . 13 (∀𝑖 ∈ {0}𝑖 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 ↔ 0 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵)
10097, 99bitr2di 287 . . . . . . . . . . . 12 (𝑘 = 0 → (0 = (((1st𝑠) ∘f + ∅) ∪ ((1...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵))
10150, 100sylan9bbr 510 . . . . . . . . . . 11 ((𝑘 = 0 ∧ 𝑠 ∈ {⟨∅, ∅⟩}) → (0 = ((1...𝑁) × {0}) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵))
10228, 101rabeqbidva 3411 . . . . . . . . . 10 (𝑘 = 0 → {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})
103102eqcomd 2744 . . . . . . . . 9 (𝑘 = 0 → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})
104103fveq2d 6760 . . . . . . . 8 (𝑘 = 0 → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
105104breq2d 5082 . . . . . . 7 (𝑘 = 0 → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
106105notbid 317 . . . . . 6 (𝑘 = 0 → (¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
107106imbi2d 340 . . . . 5 (𝑘 = 0 → ((𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))))
108 oveq2 7263 . . . . . . . . . . . 12 (𝑘 = 𝑚 → (1...𝑘) = (1...𝑚))
109108oveq2d 7271 . . . . . . . . . . 11 (𝑘 = 𝑚 → ((0..^𝐾) ↑m (1...𝑘)) = ((0..^𝐾) ↑m (1...𝑚)))
110 eqidd 2739 . . . . . . . . . . . . 13 (𝑘 = 𝑚𝑓 = 𝑓)
111110, 108, 108f1oeq123d 6694 . . . . . . . . . . . 12 (𝑘 = 𝑚 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:(1...𝑚)–1-1-onto→(1...𝑚)))
112111abbidv 2808 . . . . . . . . . . 11 (𝑘 = 𝑚 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)})
113109, 112xpeq12d 5611 . . . . . . . . . 10 (𝑘 = 𝑚 → (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}))
114 oveq2 7263 . . . . . . . . . . 11 (𝑘 = 𝑚 → (0...𝑘) = (0...𝑚))
115 oveq2 7263 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑚 → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...𝑚))
116115imaeq2d 5958 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑚 → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...𝑚)))
117116xpeq1d 5609 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑚 → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))
118117uneq2d 4093 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑚 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0})))
119118oveq2d 7271 . . . . . . . . . . . . . . 15 (𝑘 = 𝑚 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))))
120 oveq1 7262 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑚 → (𝑘 + 1) = (𝑚 + 1))
121120oveq1d 7270 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑚 → ((𝑘 + 1)...𝑁) = ((𝑚 + 1)...𝑁))
122121xpeq1d 5609 . . . . . . . . . . . . . . 15 (𝑘 = 𝑚 → (((𝑘 + 1)...𝑁) × {0}) = (((𝑚 + 1)...𝑁) × {0}))
123119, 122uneq12d 4094 . . . . . . . . . . . . . 14 (𝑘 = 𝑚 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})))
124123csbeq1d 3832 . . . . . . . . . . . . 13 (𝑘 = 𝑚(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵)
125124eqeq2d 2749 . . . . . . . . . . . 12 (𝑘 = 𝑚 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵))
126114, 125rexeqbidv 3328 . . . . . . . . . . 11 (𝑘 = 𝑚 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵))
127114, 126raleqbidv 3327 . . . . . . . . . 10 (𝑘 = 𝑚 → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵))
128113, 127rabeqbidv 3410 . . . . . . . . 9 (𝑘 = 𝑚 → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})
129128fveq2d 6760 . . . . . . . 8 (𝑘 = 𝑚 → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}))
130129breq2d 5082 . . . . . . 7 (𝑘 = 𝑚 → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
131130notbid 317 . . . . . 6 (𝑘 = 𝑚 → (¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
132131imbi2d 340 . . . . 5 (𝑘 = 𝑚 → ((𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}))))
133 oveq2 7263 . . . . . . . . . . . 12 (𝑘 = (𝑚 + 1) → (1...𝑘) = (1...(𝑚 + 1)))
134133oveq2d 7271 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → ((0..^𝐾) ↑m (1...𝑘)) = ((0..^𝐾) ↑m (1...(𝑚 + 1))))
135 eqidd 2739 . . . . . . . . . . . . 13 (𝑘 = (𝑚 + 1) → 𝑓 = 𝑓)
136135, 133, 133f1oeq123d 6694 . . . . . . . . . . . 12 (𝑘 = (𝑚 + 1) → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))))
137136abbidv 2808 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))})
138134, 137xpeq12d 5611 . . . . . . . . . 10 (𝑘 = (𝑚 + 1) → (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}))
139 oveq2 7263 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → (0...𝑘) = (0...(𝑚 + 1)))
140 oveq2 7263 . . . . . . . . . . . . . . . . . . 19 (𝑘 = (𝑚 + 1) → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...(𝑚 + 1)))
141140imaeq2d 5958 . . . . . . . . . . . . . . . . . 18 (𝑘 = (𝑚 + 1) → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))))
142141xpeq1d 5609 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝑚 + 1) → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))
143142uneq2d 4093 . . . . . . . . . . . . . . . 16 (𝑘 = (𝑚 + 1) → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0})))
144143oveq2d 7271 . . . . . . . . . . . . . . 15 (𝑘 = (𝑚 + 1) → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))))
145 oveq1 7262 . . . . . . . . . . . . . . . . 17 (𝑘 = (𝑚 + 1) → (𝑘 + 1) = ((𝑚 + 1) + 1))
146145oveq1d 7270 . . . . . . . . . . . . . . . 16 (𝑘 = (𝑚 + 1) → ((𝑘 + 1)...𝑁) = (((𝑚 + 1) + 1)...𝑁))
147146xpeq1d 5609 . . . . . . . . . . . . . . 15 (𝑘 = (𝑚 + 1) → (((𝑘 + 1)...𝑁) × {0}) = ((((𝑚 + 1) + 1)...𝑁) × {0}))
148144, 147uneq12d 4094 . . . . . . . . . . . . . 14 (𝑘 = (𝑚 + 1) → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})))
149148csbeq1d 3832 . . . . . . . . . . . . 13 (𝑘 = (𝑚 + 1) → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
150149eqeq2d 2749 . . . . . . . . . . . 12 (𝑘 = (𝑚 + 1) → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
151139, 150rexeqbidv 3328 . . . . . . . . . . 11 (𝑘 = (𝑚 + 1) → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
152139, 151raleqbidv 3327 . . . . . . . . . 10 (𝑘 = (𝑚 + 1) → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
153138, 152rabeqbidv 3410 . . . . . . . . 9 (𝑘 = (𝑚 + 1) → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})
154153fveq2d 6760 . . . . . . . 8 (𝑘 = (𝑚 + 1) → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))
155154breq2d 5082 . . . . . . 7 (𝑘 = (𝑚 + 1) → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
156155notbid 317 . . . . . 6 (𝑘 = (𝑚 + 1) → (¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
157156imbi2d 340 . . . . 5 (𝑘 = (𝑚 + 1) → ((𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
158 oveq2 7263 . . . . . . . . . . . 12 (𝑘 = 𝑁 → (1...𝑘) = (1...𝑁))
159158oveq2d 7271 . . . . . . . . . . 11 (𝑘 = 𝑁 → ((0..^𝐾) ↑m (1...𝑘)) = ((0..^𝐾) ↑m (1...𝑁)))
160 eqidd 2739 . . . . . . . . . . . . 13 (𝑘 = 𝑁𝑓 = 𝑓)
161160, 158, 158f1oeq123d 6694 . . . . . . . . . . . 12 (𝑘 = 𝑁 → (𝑓:(1...𝑘)–1-1-onto→(1...𝑘) ↔ 𝑓:(1...𝑁)–1-1-onto→(1...𝑁)))
162161abbidv 2808 . . . . . . . . . . 11 (𝑘 = 𝑁 → {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)} = {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})
163159, 162xpeq12d 5611 . . . . . . . . . 10 (𝑘 = 𝑁 → (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) = (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}))
164 oveq2 7263 . . . . . . . . . . 11 (𝑘 = 𝑁 → (0...𝑘) = (0...𝑁))
165 oveq2 7263 . . . . . . . . . . . . . . . . . . 19 (𝑘 = 𝑁 → ((𝑗 + 1)...𝑘) = ((𝑗 + 1)...𝑁))
166165imaeq2d 5958 . . . . . . . . . . . . . . . . . 18 (𝑘 = 𝑁 → ((2nd𝑠) “ ((𝑗 + 1)...𝑘)) = ((2nd𝑠) “ ((𝑗 + 1)...𝑁)))
167166xpeq1d 5609 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑁 → (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}) = (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))
168167uneq2d 4093 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑁 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0})) = ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0})))
169168oveq2d 7271 . . . . . . . . . . . . . . 15 (𝑘 = 𝑁 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))))
170 oveq1 7262 . . . . . . . . . . . . . . . . 17 (𝑘 = 𝑁 → (𝑘 + 1) = (𝑁 + 1))
171170oveq1d 7270 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑁 → ((𝑘 + 1)...𝑁) = ((𝑁 + 1)...𝑁))
172171xpeq1d 5609 . . . . . . . . . . . . . . 15 (𝑘 = 𝑁 → (((𝑘 + 1)...𝑁) × {0}) = (((𝑁 + 1)...𝑁) × {0}))
173169, 172uneq12d 4094 . . . . . . . . . . . . . 14 (𝑘 = 𝑁 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})))
174173csbeq1d 3832 . . . . . . . . . . . . 13 (𝑘 = 𝑁(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵)
175174eqeq2d 2749 . . . . . . . . . . . 12 (𝑘 = 𝑁 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵))
176164, 175rexeqbidv 3328 . . . . . . . . . . 11 (𝑘 = 𝑁 → (∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵))
177164, 176raleqbidv 3327 . . . . . . . . . 10 (𝑘 = 𝑁 → (∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵))
178163, 177rabeqbidv 3410 . . . . . . . . 9 (𝑘 = 𝑁 → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})
179178fveq2d 6760 . . . . . . . 8 (𝑘 = 𝑁 → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}))
180179breq2d 5082 . . . . . . 7 (𝑘 = 𝑁 → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
181180notbid 317 . . . . . 6 (𝑘 = 𝑁 → (¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
182181imbi2d 340 . . . . 5 (𝑘 = 𝑁 → ((𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑘)) × {𝑓𝑓:(1...𝑘)–1-1-onto→(1...𝑘)}) ∣ ∀𝑖 ∈ (0...𝑘)∃𝑗 ∈ (0...𝑘)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑘)) × {0}))) ∪ (((𝑘 + 1)...𝑁) × {0})) / 𝑝𝐵})) ↔ (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}))))
183 n2dvds1 16005 . . . . . . 7 ¬ 2 ∥ 1
184 opex 5373 . . . . . . . . . 10 ⟨∅, ∅⟩ ∈ V
185 hashsng 14012 . . . . . . . . . 10 (⟨∅, ∅⟩ ∈ V → (♯‘{⟨∅, ∅⟩}) = 1)
186184, 185ax-mp 5 . . . . . . . . 9 (♯‘{⟨∅, ∅⟩}) = 1
187 nnuz 12550 . . . . . . . . . . . . . . . . 17 ℕ = (ℤ‘1)
1881, 187eleqtrdi 2849 . . . . . . . . . . . . . . . 16 (𝜑𝑁 ∈ (ℤ‘1))
189 eluzfz1 13192 . . . . . . . . . . . . . . . 16 (𝑁 ∈ (ℤ‘1) → 1 ∈ (1...𝑁))
190188, 189syl 17 . . . . . . . . . . . . . . 15 (𝜑 → 1 ∈ (1...𝑁))
191 poimirlem28.5 . . . . . . . . . . . . . . . . 17 (𝜑𝐾 ∈ ℕ)
192191nnnn0d 12223 . . . . . . . . . . . . . . . 16 (𝜑𝐾 ∈ ℕ0)
193 0elfz 13282 . . . . . . . . . . . . . . . 16 (𝐾 ∈ ℕ0 → 0 ∈ (0...𝐾))
194 fconst6g 6647 . . . . . . . . . . . . . . . 16 (0 ∈ (0...𝐾) → ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾))
195192, 193, 1943syl 18 . . . . . . . . . . . . . . 15 (𝜑 → ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾))
19670fvconst2 7061 . . . . . . . . . . . . . . . 16 (1 ∈ (1...𝑁) → (((1...𝑁) × {0})‘1) = 0)
197190, 196syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (((1...𝑁) × {0})‘1) = 0)
198190, 195, 1973jca 1126 . . . . . . . . . . . . . 14 (𝜑 → (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0))
199 nfv 1918 . . . . . . . . . . . . . . . 16 𝑝(𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0))
200 nfcsb1v 3853 . . . . . . . . . . . . . . . . 17 𝑝((1...𝑁) × {0}) / 𝑝𝐵
201200nfeq1 2921 . . . . . . . . . . . . . . . 16 𝑝((1...𝑁) × {0}) / 𝑝𝐵 = 0
202199, 201nfim 1900 . . . . . . . . . . . . . . 15 𝑝((𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0)) → ((1...𝑁) × {0}) / 𝑝𝐵 = 0)
203 ovex 7288 . . . . . . . . . . . . . . . 16 (1...𝑁) ∈ V
204 snex 5349 . . . . . . . . . . . . . . . 16 {0} ∈ V
205203, 204xpex 7581 . . . . . . . . . . . . . . 15 ((1...𝑁) × {0}) ∈ V
206 feq1 6565 . . . . . . . . . . . . . . . . . 18 (𝑝 = ((1...𝑁) × {0}) → (𝑝:(1...𝑁)⟶(0...𝐾) ↔ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾)))
207 fveq1 6755 . . . . . . . . . . . . . . . . . . 19 (𝑝 = ((1...𝑁) × {0}) → (𝑝‘1) = (((1...𝑁) × {0})‘1))
208207eqeq1d 2740 . . . . . . . . . . . . . . . . . 18 (𝑝 = ((1...𝑁) × {0}) → ((𝑝‘1) = 0 ↔ (((1...𝑁) × {0})‘1) = 0))
209206, 2083anbi23d 1437 . . . . . . . . . . . . . . . . 17 (𝑝 = ((1...𝑁) × {0}) → ((1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0) ↔ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0)))
210209anbi2d 628 . . . . . . . . . . . . . . . 16 (𝑝 = ((1...𝑁) × {0}) → ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) ↔ (𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0))))
211 csbeq1a 3842 . . . . . . . . . . . . . . . . 17 (𝑝 = ((1...𝑁) × {0}) → 𝐵 = ((1...𝑁) × {0}) / 𝑝𝐵)
212211eqeq1d 2740 . . . . . . . . . . . . . . . 16 (𝑝 = ((1...𝑁) × {0}) → (𝐵 = 0 ↔ ((1...𝑁) × {0}) / 𝑝𝐵 = 0))
213210, 212imbi12d 344 . . . . . . . . . . . . . . 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 10902 . . . . . . . . . . . . . . . . 17 1 ∈ V
215 eleq1 2826 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 1 → (𝑛 ∈ (1...𝑁) ↔ 1 ∈ (1...𝑁)))
216 fveqeq2 6765 . . . . . . . . . . . . . . . . . . . 20 (𝑛 = 1 → ((𝑝𝑛) = 0 ↔ (𝑝‘1) = 0))
217215, 2163anbi13d 1436 . . . . . . . . . . . . . . . . . . 19 (𝑛 = 1 → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0) ↔ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)))
218217anbi2d 628 . . . . . . . . . . . . . . . . . 18 (𝑛 = 1 → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) ↔ (𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0))))
219 breq2 5074 . . . . . . . . . . . . . . . . . 18 (𝑛 = 1 → (𝐵 < 𝑛𝐵 < 1))
220218, 219imbi12d 344 . . . . . . . . . . . . . . . . 17 (𝑛 = 1 → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛) ↔ ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → 𝐵 < 1)))
221 poimirlem28.3 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛)
222214, 220, 221vtocl 3488 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → 𝐵 < 1)
223 poimirlem28.2 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁))
224 elfznn0 13278 . . . . . . . . . . . . . . . . . 18 (𝐵 ∈ (0...𝑁) → 𝐵 ∈ ℕ0)
225 nn0lt10b 12312 . . . . . . . . . . . . . . . . . 18 (𝐵 ∈ ℕ0 → (𝐵 < 1 ↔ 𝐵 = 0))
226223, 224, 2253syl 18 . . . . . . . . . . . . . . . . 17 ((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) → (𝐵 < 1 ↔ 𝐵 = 0))
2272263ad2antr2 1187 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → (𝐵 < 1 ↔ 𝐵 = 0))
228222, 227mpbid 231 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘1) = 0)) → 𝐵 = 0)
229202, 205, 213, 228vtoclf 3487 . . . . . . . . . . . . . 14 ((𝜑 ∧ (1 ∈ (1...𝑁) ∧ ((1...𝑁) × {0}):(1...𝑁)⟶(0...𝐾) ∧ (((1...𝑁) × {0})‘1) = 0)) → ((1...𝑁) × {0}) / 𝑝𝐵 = 0)
230198, 229mpdan 683 . . . . . . . . . . . . 13 (𝜑((1...𝑁) × {0}) / 𝑝𝐵 = 0)
231230eqcomd 2744 . . . . . . . . . . . 12 (𝜑 → 0 = ((1...𝑁) × {0}) / 𝑝𝐵)
232231ralrimivw 3108 . . . . . . . . . . 11 (𝜑 → ∀𝑠 ∈ {⟨∅, ∅⟩}0 = ((1...𝑁) × {0}) / 𝑝𝐵)
233 rabid2 3307 . . . . . . . . . . 11 ({⟨∅, ∅⟩} = {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵} ↔ ∀𝑠 ∈ {⟨∅, ∅⟩}0 = ((1...𝑁) × {0}) / 𝑝𝐵)
234232, 233sylibr 233 . . . . . . . . . 10 (𝜑 → {⟨∅, ∅⟩} = {𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})
235234fveq2d 6760 . . . . . . . . 9 (𝜑 → (♯‘{⟨∅, ∅⟩}) = (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
236186, 235eqtr3id 2793 . . . . . . . 8 (𝜑 → 1 = (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
237236breq2d 5082 . . . . . . 7 (𝜑 → (2 ∥ 1 ↔ 2 ∥ (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
238183, 237mtbii 325 . . . . . 6 (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵}))
239238a1i 11 . . . . 5 (𝑁 ∈ ℕ0 → (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ {⟨∅, ∅⟩} ∣ 0 = ((1...𝑁) × {0}) / 𝑝𝐵})))
240 2z 12282 . . . . . . . . . . . . 13 2 ∈ ℤ
241 fzfi 13620 . . . . . . . . . . . . . . . . 17 (1...(𝑚 + 1)) ∈ Fin
242 mapfi 9045 . . . . . . . . . . . . . . . . 17 (((0..^𝐾) ∈ Fin ∧ (1...(𝑚 + 1)) ∈ Fin) → ((0..^𝐾) ↑m (1...(𝑚 + 1))) ∈ Fin)
24310, 241, 242mp2an 688 . . . . . . . . . . . . . . . 16 ((0..^𝐾) ↑m (1...(𝑚 + 1))) ∈ Fin
244 ovex 7288 . . . . . . . . . . . . . . . . . . 19 (1...(𝑚 + 1)) ∈ V
245244, 244mapval 8585 . . . . . . . . . . . . . . . . . 18 ((1...(𝑚 + 1)) ↑m (1...(𝑚 + 1))) = {𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))}
246 mapfi 9045 . . . . . . . . . . . . . . . . . . 19 (((1...(𝑚 + 1)) ∈ Fin ∧ (1...(𝑚 + 1)) ∈ Fin) → ((1...(𝑚 + 1)) ↑m (1...(𝑚 + 1))) ∈ Fin)
247241, 241, 246mp2an 688 . . . . . . . . . . . . . . . . . 18 ((1...(𝑚 + 1)) ↑m (1...(𝑚 + 1))) ∈ Fin
248245, 247eqeltrri 2836 . . . . . . . . . . . . . . . . 17 {𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))} ∈ Fin
249 f1of 6700 . . . . . . . . . . . . . . . . . 18 (𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1)) → 𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1)))
250249ss2abi 3996 . . . . . . . . . . . . . . . . 17 {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ⊆ {𝑓𝑓:(1...(𝑚 + 1))⟶(1...(𝑚 + 1))}
251 ssfi 8918 . . . . . . . . . . . . . . . . 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)
252248, 250, 251mp2an 688 . . . . . . . . . . . . . . . 16 {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ∈ Fin
253 xpfi 9015 . . . . . . . . . . . . . . . 16 ((((0..^𝐾) ↑m (1...(𝑚 + 1))) ∈ Fin ∧ {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))} ∈ Fin) → (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin)
254243, 252, 253mp2an 688 . . . . . . . . . . . . . . 15 (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin
255 rabfi 8973 . . . . . . . . . . . . . . 15 ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin)
256 hashcl 13999 . . . . . . . . . . . . . . 15 ({𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0)
257254, 255, 256mp2b 10 . . . . . . . . . . . . . 14 (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0
258257nn0zi 12275 . . . . . . . . . . . . 13 (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ
259 rabfi 8973 . . . . . . . . . . . . . . 15 ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin)
260 hashcl 13999 . . . . . . . . . . . . . . 15 ({𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℕ0)
261254, 259, 260mp2b 10 . . . . . . . . . . . . . 14 (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℕ0
262261nn0zi 12275 . . . . . . . . . . . . 13 (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ
263240, 258, 2623pm3.2i 1337 . . . . . . . . . . . 12 (2 ∈ ℤ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ)
264 nn0p1nn 12202 . . . . . . . . . . . . . . . 16 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℕ)
265264ad2antrl 724 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (𝑚 + 1) ∈ ℕ)
266 uneq1 4086 . . . . . . . . . . . . . . . 16 (𝑞 = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})))
267266csbeq1d 3832 . . . . . . . . . . . . . . 15 (𝑞 = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
26870fconst 6644 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑚 + 1) + 1)...𝑁) × {0}):(((𝑚 + 1) + 1)...𝑁)⟶{0}
269268jctr 524 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑞:(1...(𝑚 + 1))⟶(0...𝐾) → (𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ ((((𝑚 + 1) + 1)...𝑁) × {0}):(((𝑚 + 1) + 1)...𝑁)⟶{0}))
270264nnred 11918 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℝ)
271270ltp1d 11835 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ0 → (𝑚 + 1) < ((𝑚 + 1) + 1))
272 fzdisj 13212 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑚 + 1) < ((𝑚 + 1) + 1) → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
273271, 272syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑚 ∈ ℕ0 → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
274 fun 6620 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ ((((𝑚 + 1) + 1)...𝑁) × {0}):(((𝑚 + 1) + 1)...𝑁)⟶{0}) ∧ ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
275269, 273, 274syl2anr 596 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 ∈ ℕ0𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
276275adantlr 711 . . . . . . . . . . . . . . . . . . . . 21 (((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
277276adantl 481 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}))
278264peano2nnd 11920 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑚 ∈ ℕ0 → ((𝑚 + 1) + 1) ∈ ℕ)
279278, 187eleqtrdi 2849 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0 → ((𝑚 + 1) + 1) ∈ (ℤ‘1))
280279ad2antrl 724 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((𝑚 + 1) + 1) ∈ (ℤ‘1))
281 nn0z 12273 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑚 ∈ ℕ0𝑚 ∈ ℤ)
2821nnzd 12354 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝜑𝑁 ∈ ℤ)
283 zltp1le 12300 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝑚 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑚 < 𝑁 ↔ (𝑚 + 1) ≤ 𝑁))
284281, 282, 283syl2anr 596 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑𝑚 ∈ ℕ0) → (𝑚 < 𝑁 ↔ (𝑚 + 1) ≤ 𝑁))
285284biimpa 476 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) → (𝑚 + 1) ≤ 𝑁)
286285anasss 466 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (𝑚 + 1) ≤ 𝑁)
287281peano2zd 12358 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℤ)
288287adantr 480 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → (𝑚 + 1) ∈ ℤ)
289 eluz 12525 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑚 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑚 + 1)) ↔ (𝑚 + 1) ≤ 𝑁))
290288, 282, 289syl2anr 596 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (𝑁 ∈ (ℤ‘(𝑚 + 1)) ↔ (𝑚 + 1) ≤ 𝑁))
291286, 290mpbird 256 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑁 ∈ (ℤ‘(𝑚 + 1)))
292 fzsplit2 13210 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑚 + 1) + 1) ∈ (ℤ‘1) ∧ 𝑁 ∈ (ℤ‘(𝑚 + 1))) → (1...𝑁) = ((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁)))
293280, 291, 292syl2anc 583 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (1...𝑁) = ((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁)))
294293eqcomd 2744 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁)) = (1...𝑁))
295192, 193syl 17 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → 0 ∈ (0...𝐾))
296295snssd 4739 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → {0} ⊆ (0...𝐾))
297 ssequn2 4113 . . . . . . . . . . . . . . . . . . . . . . . 24 ({0} ⊆ (0...𝐾) ↔ ((0...𝐾) ∪ {0}) = (0...𝐾))
298296, 297sylib 217 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → ((0...𝐾) ∪ {0}) = (0...𝐾))
299298adantr 480 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((0...𝐾) ∪ {0}) = (0...𝐾))
300294, 299feq23d 6579 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)))
301300adantrr 713 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):((1...(𝑚 + 1)) ∪ (((𝑚 + 1) + 1)...𝑁))⟶((0...𝐾) ∪ {0}) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)))
302277, 301mpbid 231 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
303 nfv 1918 . . . . . . . . . . . . . . . . . . . . 21 𝑝(𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
304 nfcsb1v 3853 . . . . . . . . . . . . . . . . . . . . . 22 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵
305304nfel1 2922 . . . . . . . . . . . . . . . . . . . . 21 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁)
306303, 305nfim 1900 . . . . . . . . . . . . . . . . . . . 20 𝑝((𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
307 vex 3426 . . . . . . . . . . . . . . . . . . . . 21 𝑞 ∈ V
308 ovex 7288 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑚 + 1) + 1)...𝑁) ∈ V
309308, 204xpex 7581 . . . . . . . . . . . . . . . . . . . . 21 ((((𝑚 + 1) + 1)...𝑁) × {0}) ∈ V
310307, 309unex 7574 . . . . . . . . . . . . . . . . . . . 20 (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) ∈ V
311 feq1 6565 . . . . . . . . . . . . . . . . . . . . . 22 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝑝:(1...𝑁)⟶(0...𝐾) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)))
312311anbi2d 628 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) ↔ (𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))))
313 csbeq1a 3842 . . . . . . . . . . . . . . . . . . . . . 22 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → 𝐵 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
314313eleq1d 2823 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 ∈ (0...𝑁) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁)))
315312, 314imbi12d 344 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (((𝜑𝑝:(1...𝑁)⟶(0...𝐾)) → 𝐵 ∈ (0...𝑁)) ↔ ((𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))))
316306, 310, 315, 223vtoclf 3487 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
317302, 316syldan 590 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
318317anassrs 467 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
319 elfznn0 13278 . . . . . . . . . . . . . . . . 17 ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℕ0)
320318, 319syl 17 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℕ0)
321264nnnn0d 12223 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0 → (𝑚 + 1) ∈ ℕ0)
322321adantr 480 . . . . . . . . . . . . . . . . 17 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → (𝑚 + 1) ∈ ℕ0)
323322ad2antlr 723 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑚 + 1) ∈ ℕ0)
324 leloe 10992 . . . . . . . . . . . . . . . . . . . . . 22 (((𝑚 + 1) ∈ ℝ ∧ 𝑁 ∈ ℝ) → ((𝑚 + 1) ≤ 𝑁 ↔ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
325270, 3, 324syl2anr 596 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑚 ∈ ℕ0) → ((𝑚 + 1) ≤ 𝑁 ↔ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
326284, 325bitrd 278 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑚 ∈ ℕ0) → (𝑚 < 𝑁 ↔ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
327326biimpd 228 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑚 ∈ ℕ0) → (𝑚 < 𝑁 → ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
328327imdistani 568 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) → ((𝜑𝑚 ∈ ℕ0) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
329328anasss 466 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → ((𝜑𝑚 ∈ ℕ0) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)))
330 simplll 771 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → 𝜑)
331278nnge1d 11951 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑚 ∈ ℕ0 → 1 ≤ ((𝑚 + 1) + 1))
332331ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 1 ≤ ((𝑚 + 1) + 1))
333 zltp1le 12300 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝑚 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑚 + 1) < 𝑁 ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
334287, 282, 333syl2anr 596 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑𝑚 ∈ ℕ0) → ((𝑚 + 1) < 𝑁 ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
335334biimpa 476 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ≤ 𝑁)
336287peano2zd 12358 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0 → ((𝑚 + 1) + 1) ∈ ℤ)
337 1z 12280 . . . . . . . . . . . . . . . . . . . . . . . . . 26 1 ∈ ℤ
338 elfz 13174 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝑚 + 1) + 1) ∈ ℤ ∧ 1 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
339337, 338mp3an2 1447 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝑚 + 1) + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
340336, 282, 339syl2anr 596 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝜑𝑚 ∈ ℕ0) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
341340adantr 480 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (((𝑚 + 1) + 1) ∈ (1...𝑁) ↔ (1 ≤ ((𝑚 + 1) + 1) ∧ ((𝑚 + 1) + 1) ≤ 𝑁)))
342332, 335, 341mpbir2and 709 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (1...𝑁))
343342adantlr 711 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (1...𝑁))
344 nn0re 12172 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0𝑚 ∈ ℝ)
345344ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑚 ∈ ℝ)
346270ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (𝑚 + 1) ∈ ℝ)
3473ad2antrr 722 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑁 ∈ ℝ)
348344ltp1d 11835 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑚 ∈ ℕ0𝑚 < (𝑚 + 1))
349348ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑚 < (𝑚 + 1))
350 simpr 484 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (𝑚 + 1) < 𝑁)
351345, 346, 347, 349, 350lttrd 11066 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑚 < 𝑁)
352351adantlr 711 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → 𝑚 < 𝑁)
353 anass 468 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) ↔ (𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)))
354302anassrs 467 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
355353, 354sylanb 580 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
356355an32s 648 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
357352, 356syldan 590 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
358 ffn 6584 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑞:(1...(𝑚 + 1))⟶(0...𝐾) → 𝑞 Fn (1...(𝑚 + 1)))
359358ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → 𝑞 Fn (1...(𝑚 + 1)))
360273ad3antlr 727 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
361 eluz 12525 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((((𝑚 + 1) + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
362336, 282, 361syl2anr 596 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑𝑚 ∈ ℕ0) → (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
363362adantr 480 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) ↔ ((𝑚 + 1) + 1) ≤ 𝑁))
364335, 363mpbird 256 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → 𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)))
365 eluzfz1 13192 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑁 ∈ (ℤ‘((𝑚 + 1) + 1)) → ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))
366364, 365syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))
367366adantlr 711 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))
368 fnconstg 6646 . . . . . . . . . . . . . . . . . . . . . . . . 25 (0 ∈ V → ((((𝑚 + 1) + 1)...𝑁) × {0}) Fn (((𝑚 + 1) + 1)...𝑁))
36970, 368ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑚 + 1) + 1)...𝑁) × {0}) Fn (((𝑚 + 1) + 1)...𝑁)
370 fvun2 6842 . . . . . . . . . . . . . . . . . . . . . . . 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)))
371369, 370mp3an2 1447 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑞 Fn (1...(𝑚 + 1)) ∧ (((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅ ∧ ((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)))
372359, 360, 367, 371syl12anc 833 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)))
37370fvconst2 7061 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝑚 + 1) + 1) ∈ (((𝑚 + 1) + 1)...𝑁) → (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)) = 0)
374367, 373syl 17 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (((((𝑚 + 1) + 1)...𝑁) × {0})‘((𝑚 + 1) + 1)) = 0)
375372, 374eqtrd 2778 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)
376 nfv 1918 . . . . . . . . . . . . . . . . . . . . . . 23 𝑝(𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0))
377 nfcv 2906 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑝 <
378 nfcv 2906 . . . . . . . . . . . . . . . . . . . . . . . 24 𝑝((𝑚 + 1) + 1)
379304, 377, 378nfbr 5117 . . . . . . . . . . . . . . . . . . . . . . 23 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)
380376, 379nfim 1900 . . . . . . . . . . . . . . . . . . . . . 22 𝑝((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1))
381 fveq1 6755 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝑝‘((𝑚 + 1) + 1)) = ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)))
382381eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑝‘((𝑚 + 1) + 1)) = 0 ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0))
383311, 3823anbi23d 1437 . . . . . . . . . . . . . . . . . . . . . . . 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)))
384383anbi2d 628 . . . . . . . . . . . . . . . . . . . . . . 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))))
385313breq1d 5080 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 < ((𝑚 + 1) + 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)))
386384, 385imbi12d 344 . . . . . . . . . . . . . . . . . . . . . 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))))
387 ovex 7288 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑚 + 1) + 1) ∈ V
388 eleq1 2826 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = ((𝑚 + 1) + 1) → (𝑛 ∈ (1...𝑁) ↔ ((𝑚 + 1) + 1) ∈ (1...𝑁)))
389 fveqeq2 6765 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = ((𝑚 + 1) + 1) → ((𝑝𝑛) = 0 ↔ (𝑝‘((𝑚 + 1) + 1)) = 0))
390388, 3893anbi13d 1436 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑛 = ((𝑚 + 1) + 1) → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0) ↔ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)))
391390anbi2d 628 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑛 = ((𝑚 + 1) + 1) → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) ↔ (𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0))))
392 breq2 5074 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑛 = ((𝑚 + 1) + 1) → (𝐵 < 𝑛𝐵 < ((𝑚 + 1) + 1)))
393391, 392imbi12d 344 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑛 = ((𝑚 + 1) + 1) → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛) ↔ ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)) → 𝐵 < ((𝑚 + 1) + 1))))
394387, 393, 221vtocl 3488 . . . . . . . . . . . . . . . . . . . . . 22 ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝‘((𝑚 + 1) + 1)) = 0)) → 𝐵 < ((𝑚 + 1) + 1))
395380, 310, 386, 394vtoclf 3487 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ (((𝑚 + 1) + 1) ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘((𝑚 + 1) + 1)) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1))
396330, 343, 357, 375, 395syl13anc 1370 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1))
397353, 318sylanb 580 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑚 < 𝑁) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
398397an32s 648 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁))
399398elfzelzd 13186 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℤ)
400352, 399syldan 590 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℤ)
401287ad3antlr 727 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑚 + 1) ∈ ℤ)
402 zleltp1 12301 . . . . . . . . . . . . . . . . . . . . 21 (((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℤ ∧ (𝑚 + 1) ∈ ℤ) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)))
403400, 401, 402syl2anc 583 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < ((𝑚 + 1) + 1)))
404396, 403mpbird 256 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
405348ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → 𝑚 < (𝑚 + 1))
406 breq2 5074 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑚 + 1) = 𝑁 → (𝑚 < (𝑚 + 1) ↔ 𝑚 < 𝑁))
407406biimpac 478 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑚 < (𝑚 + 1) ∧ (𝑚 + 1) = 𝑁) → 𝑚 < 𝑁)
408405, 407sylan 579 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → 𝑚 < 𝑁)
409 elfzle2 13189 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑁)
410398, 409syl 17 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ 𝑚 < 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑁)
411408, 410syldan 590 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑁)
412 simpr 484 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → (𝑚 + 1) = 𝑁)
413411, 412breqtrrd 5098 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ (𝑚 + 1) = 𝑁) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
414404, 413jaodan 954 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑚 ∈ ℕ0) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
415414an32s 648 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑚 ∈ ℕ0) ∧ ((𝑚 + 1) < 𝑁 ∨ (𝑚 + 1) = 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
416329, 415sylan 579 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1))
417 elfz2nn0 13276 . . . . . . . . . . . . . . . 16 ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...(𝑚 + 1)) ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ ℕ0 ∧ (𝑚 + 1) ∈ ℕ0(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≤ (𝑚 + 1)))
418320, 323, 416, 417syl3anbrc 1341 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∈ (0...(𝑚 + 1)))
419 fzss2 13225 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ (ℤ‘(𝑚 + 1)) → (1...(𝑚 + 1)) ⊆ (1...𝑁))
420291, 419syl 17 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (1...(𝑚 + 1)) ⊆ (1...𝑁))
421420sselda 3917 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ 𝑛 ∈ (1...(𝑚 + 1))) → 𝑛 ∈ (1...𝑁))
4224213ad2antr1 1186 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → 𝑛 ∈ (1...𝑁))
4233543ad2antr2 1187 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
424358ad2antll 725 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → 𝑞 Fn (1...(𝑚 + 1)))
425273ad2antlr 723 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅)
426 simprl 767 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → 𝑛 ∈ (1...(𝑚 + 1)))
427 fvun1 6841 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑞 Fn (1...(𝑚 + 1)) ∧ ((((𝑚 + 1) + 1)...𝑁) × {0}) Fn (((𝑚 + 1) + 1)...𝑁) ∧ (((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅ ∧ 𝑛 ∈ (1...(𝑚 + 1)))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
428369, 427mp3an2 1447 . . . . . . . . . . . . . . . . . . . . 21 ((𝑞 Fn (1...(𝑚 + 1)) ∧ (((1...(𝑚 + 1)) ∩ (((𝑚 + 1) + 1)...𝑁)) = ∅ ∧ 𝑛 ∈ (1...(𝑚 + 1)))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
429424, 425, 426, 428syl12anc 833 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
430429adantlrr 717 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
4314303adantr3 1169 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
432 simpr3 1194 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑞𝑛) = 0)
433431, 432eqtrd 2778 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)
434422, 423, 4333jca 1126 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))
435 nfv 1918 . . . . . . . . . . . . . . . . . . 19 𝑝(𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))
436 nfcv 2906 . . . . . . . . . . . . . . . . . . . 20 𝑝𝑛
437304, 377, 436nfbr 5117 . . . . . . . . . . . . . . . . . . 19 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛
438435, 437nfim 1900 . . . . . . . . . . . . . . . . . 18 𝑝((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
439 fveq1 6755 . . . . . . . . . . . . . . . . . . . . . 22 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝑝𝑛) = ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛))
440439eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑝𝑛) = 0 ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))
441311, 4403anbi23d 1437 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0) ↔ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)))
442441anbi2d 628 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) ↔ (𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0))))
443313breq1d 5080 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 < 𝑛(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛))
444442, 443imbi12d 344 . . . . . . . . . . . . . . . . . 18 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 0)) → 𝐵 < 𝑛) ↔ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)))
445438, 310, 444, 221vtoclf 3487 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
446445adantlr 711 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
447434, 446syldan 590 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 0)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 < 𝑛)
448 simp1 1134 . . . . . . . . . . . . . . . . . . 19 ((𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾) → 𝑛 ∈ (1...(𝑚 + 1)))
449421anasss 466 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ 𝑛 ∈ (1...(𝑚 + 1)))) → 𝑛 ∈ (1...𝑁))
450448, 449sylanr2 679 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → 𝑛 ∈ (1...𝑁))
451 simp2 1135 . . . . . . . . . . . . . . . . . . 19 ((𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾) → 𝑞:(1...(𝑚 + 1))⟶(0...𝐾))
452451, 302sylanr2 679 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾))
4534293adantr3 1169 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = (𝑞𝑛))
454 simpr3 1194 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → (𝑞𝑛) = 𝐾)
455453, 454eqtrd 2778 . . . . . . . . . . . . . . . . . . . 20 (((𝜑𝑚 ∈ ℕ0) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)
456455anasss 466 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (𝑚 ∈ ℕ0 ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)
457456adantrlr 719 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)
458450, 452, 4573jca 1126 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))
459 nfv 1918 . . . . . . . . . . . . . . . . . . 19 𝑝(𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))
460 nfcv 2906 . . . . . . . . . . . . . . . . . . . 20 𝑝(𝑛 − 1)
461304, 460nfne 3044 . . . . . . . . . . . . . . . . . . 19 𝑝(𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1)
462459, 461nfim 1900 . . . . . . . . . . . . . . . . . 18 𝑝((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
463439eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . 21 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑝𝑛) = 𝐾 ↔ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))
464311, 4633anbi23d 1437 . . . . . . . . . . . . . . . . . . . 20 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾) ↔ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)))
465464anbi2d 628 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾)) ↔ (𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾))))
466313neeq1d 3002 . . . . . . . . . . . . . . . . . . 19 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (𝐵 ≠ (𝑛 − 1) ↔ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1)))
467465, 466imbi12d 344 . . . . . . . . . . . . . . . . . 18 (𝑝 = (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) → (((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾)) → 𝐵 ≠ (𝑛 − 1)) ↔ ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))))
468 poimirlem28.4 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ 𝑝:(1...𝑁)⟶(0...𝐾) ∧ (𝑝𝑛) = 𝐾)) → 𝐵 ≠ (𝑛 − 1))
469462, 310, 467, 468vtoclf 3487 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (𝑛 ∈ (1...𝑁) ∧ (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})):(1...𝑁)⟶(0...𝐾) ∧ ((𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0}))‘𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
470458, 469syldan 590 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ((𝑚 ∈ ℕ0𝑚 < 𝑁) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾))) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
471470anassrs 467 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) ∧ (𝑛 ∈ (1...(𝑚 + 1)) ∧ 𝑞:(1...(𝑚 + 1))⟶(0...𝐾) ∧ (𝑞𝑛) = 𝐾)) → (𝑞 ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ≠ (𝑛 − 1))
472265, 267, 418, 447, 471poimirlem27 35731 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
473265, 267, 418poimirlem26 35730 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
474 fzfi 13620 . . . . . . . . . . . . . . . . . . 19 (0...(𝑚 + 1)) ∈ Fin
475 xpfi 9015 . . . . . . . . . . . . . . . . . . 19 (((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin ∧ (0...(𝑚 + 1)) ∈ Fin) → ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∈ Fin)
476254, 474, 475mp2an 688 . . . . . . . . . . . . . . . . . 18 ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∈ Fin
477 rabfi 8973 . . . . . . . . . . . . . . . . . 18 (((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∈ Fin → {𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin)
478 hashcl 13999 . . . . . . . . . . . . . . . . . 18 ({𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin → (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0)
479476, 477, 478mp2b 10 . . . . . . . . . . . . . . . . 17 (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℕ0
480479nn0zi 12275 . . . . . . . . . . . . . . . 16 (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ
481 zsubcl 12292 . . . . . . . . . . . . . . . 16 (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ) → ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∈ ℤ)
482480, 262, 481mp2an 688 . . . . . . . . . . . . . . 15 ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∈ ℤ
483 zsubcl 12292 . . . . . . . . . . . . . . . 16 (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ) → ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})) ∈ ℤ)
484480, 258, 483mp2an 688 . . . . . . . . . . . . . . 15 ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})) ∈ ℤ
485 dvds2sub 15928 . . . . . . . . . . . . . . 15 ((2 ∈ ℤ ∧ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∈ ℤ ∧ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})) ∈ ℤ) → ((2 ∥ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∧ 2 ∥ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) → 2 ∥ (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))))
486240, 482, 484, 485mp3an 1459 . . . . . . . . . . . . . 14 ((2 ∥ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) ∧ 2 ∥ ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) → 2 ∥ (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
487472, 473, 486syl2anc 583 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
488479nn0cni 12175 . . . . . . . . . . . . . 14 (♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ
489261nn0cni 12175 . . . . . . . . . . . . . 14 (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℂ
490257nn0cni 12175 . . . . . . . . . . . . . 14 (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ
491 nnncan1 11187 . . . . . . . . . . . . . 14 (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℂ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℂ) → (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) = ((♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
492488, 489, 490, 491mp3an 1459 . . . . . . . . . . . . 13 (((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})) − ((♯‘{𝑡 ∈ ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) × (0...(𝑚 + 1))) ∣ ∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ ((0...(𝑚 + 1)) ∖ {(2nd𝑡)})𝑖 = (1st𝑡) / 𝑠(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))) = ((♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
493487, 492breqtrdi 5111 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 2 ∥ ((♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
494 dvdssub2 15938 . . . . . . . . . . . 12 (((2 ∈ ℤ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ∈ ℤ ∧ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ∈ ℤ) ∧ 2 ∥ ((♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) − (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))) → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
495263, 493, 494sylancr 586 . . . . . . . . . . 11 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})))
496 nn0cn 12173 . . . . . . . . . . . . . . . . . . . 20 (𝑚 ∈ ℕ0𝑚 ∈ ℂ)
497 pncan1 11329 . . . . . . . . . . . . . . . . . . . 20 (𝑚 ∈ ℂ → ((𝑚 + 1) − 1) = 𝑚)
498496, 497syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑚 ∈ ℕ0 → ((𝑚 + 1) − 1) = 𝑚)
499498oveq2d 7271 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0 → (0...((𝑚 + 1) − 1)) = (0...𝑚))
500499rexeqdv 3340 . . . . . . . . . . . . . . . . . 18 (𝑚 ∈ ℕ0 → (∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
501499, 500raleqbidv 3327 . . . . . . . . . . . . . . . . 17 (𝑚 ∈ ℕ0 → (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
5025013anbi1d 1438 . . . . . . . . . . . . . . . 16 (𝑚 ∈ ℕ0 → ((∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1)) ↔ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))))
503502rabbidv 3404 . . . . . . . . . . . . . . 15 (𝑚 ∈ ℕ0 → {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} = {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})
504503fveq2d 6760 . . . . . . . . . . . . . 14 (𝑚 ∈ ℕ0 → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
505504ad2antrl 724 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
5061adantr 480 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑁 ∈ ℕ)
507191adantr 480 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝐾 ∈ ℕ)
508 simprl 767 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑚 ∈ ℕ0)
509 simprr 769 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → 𝑚 < 𝑁)
510506, 507, 508, 509poimirlem4 35708 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})
511 fzfi 13620 . . . . . . . . . . . . . . . . . 18 (1...𝑚) ∈ Fin
512 mapfi 9045 . . . . . . . . . . . . . . . . . 18 (((0..^𝐾) ∈ Fin ∧ (1...𝑚) ∈ Fin) → ((0..^𝐾) ↑m (1...𝑚)) ∈ Fin)
51310, 511, 512mp2an 688 . . . . . . . . . . . . . . . . 17 ((0..^𝐾) ↑m (1...𝑚)) ∈ Fin
514 ovex 7288 . . . . . . . . . . . . . . . . . . . 20 (1...𝑚) ∈ V
515514, 514mapval 8585 . . . . . . . . . . . . . . . . . . 19 ((1...𝑚) ↑m (1...𝑚)) = {𝑓𝑓:(1...𝑚)⟶(1...𝑚)}
516 mapfi 9045 . . . . . . . . . . . . . . . . . . . 20 (((1...𝑚) ∈ Fin ∧ (1...𝑚) ∈ Fin) → ((1...𝑚) ↑m (1...𝑚)) ∈ Fin)
517511, 511, 516mp2an 688 . . . . . . . . . . . . . . . . . . 19 ((1...𝑚) ↑m (1...𝑚)) ∈ Fin
518515, 517eqeltrri 2836 . . . . . . . . . . . . . . . . . 18 {𝑓𝑓:(1...𝑚)⟶(1...𝑚)} ∈ Fin
519 f1of 6700 . . . . . . . . . . . . . . . . . . 19 (𝑓:(1...𝑚)–1-1-onto→(1...𝑚) → 𝑓:(1...𝑚)⟶(1...𝑚))
520519ss2abi 3996 . . . . . . . . . . . . . . . . . 18 {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ⊆ {𝑓𝑓:(1...𝑚)⟶(1...𝑚)}
521 ssfi 8918 . . . . . . . . . . . . . . . . . 18 (({𝑓𝑓:(1...𝑚)⟶(1...𝑚)} ∈ Fin ∧ {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ⊆ {𝑓𝑓:(1...𝑚)⟶(1...𝑚)}) → {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ∈ Fin)
522518, 520, 521mp2an 688 . . . . . . . . . . . . . . . . 17 {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ∈ Fin
523 xpfi 9015 . . . . . . . . . . . . . . . . 17 ((((0..^𝐾) ↑m (1...𝑚)) ∈ Fin ∧ {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)} ∈ Fin) → (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∈ Fin)
524513, 522, 523mp2an 688 . . . . . . . . . . . . . . . 16 (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∈ Fin
525 rabfi 8973 . . . . . . . . . . . . . . . 16 ((((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin)
526524, 525ax-mp 5 . . . . . . . . . . . . . . 15 {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin
527 rabfi 8973 . . . . . . . . . . . . . . . 16 ((((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∈ Fin → {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin)
528254, 527ax-mp 5 . . . . . . . . . . . . . . 15 {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin
529 hashen 13989 . . . . . . . . . . . . . . 15 (({𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ Fin ∧ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))} ∈ Fin) → ((♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ↔ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
530526, 528, 529mp2an 688 . . . . . . . . . . . . . 14 ((♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ↔ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))})
531510, 530sylibr 233 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}))
532505, 531eqtr4d 2781 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}))
533532breq2d 5082 . . . . . . . . . . 11 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ (∀𝑖 ∈ (0...((𝑚 + 1) − 1))∃𝑗 ∈ (0...((𝑚 + 1) − 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑚 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑚 + 1)) = (𝑚 + 1))}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
534495, 533bitrd 278 . . . . . . . . . 10 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
535534biimpd 228 . . . . . . . . 9 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}) → 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})))
536535con3d 152 . . . . . . . 8 ((𝜑 ∧ (𝑚 ∈ ℕ0𝑚 < 𝑁)) → (¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵})))
537536expcom 413 . . . . . . 7 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → (𝜑 → (¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵}) → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
538537a2d 29 . . . . . 6 ((𝑚 ∈ ℕ0𝑚 < 𝑁) → ((𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})) → (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
5395383adant1 1128 . . . . 5 ((𝑁 ∈ ℕ0𝑚 ∈ ℕ0𝑚 < 𝑁) → ((𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑚)) × {𝑓𝑓:(1...𝑚)–1-1-onto→(1...𝑚)}) ∣ ∀𝑖 ∈ (0...𝑚)∃𝑗 ∈ (0...𝑚)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑚)) × {0}))) ∪ (((𝑚 + 1)...𝑁) × {0})) / 𝑝𝐵})) → (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑚 + 1))) × {𝑓𝑓:(1...(𝑚 + 1))–1-1-onto→(1...(𝑚 + 1))}) ∣ ∀𝑖 ∈ (0...(𝑚 + 1))∃𝑗 ∈ (0...(𝑚 + 1))𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑚 + 1))) × {0}))) ∪ ((((𝑚 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵}))))
540107, 132, 157, 182, 239, 539fnn0ind 12349 . . . 4 ((𝑁 ∈ ℕ0𝑁 ∈ ℕ0𝑁𝑁) → (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
5415, 540mpcom 38 . . 3 (𝜑 → ¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}))
542 dvds0 15909 . . . . . . . 8 (2 ∈ ℤ → 2 ∥ 0)
543240, 542ax-mp 5 . . . . . . 7 2 ∥ 0
544 hash0 14010 . . . . . . 7 (♯‘∅) = 0
545543, 544breqtrri 5097 . . . . . 6 2 ∥ (♯‘∅)
546 fveq2 6756 . . . . . 6 ({𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} = ∅ → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶}) = (♯‘∅))
547545, 546breqtrrid 5108 . . . . 5 ({𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} = ∅ → 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶}))
5483ltp1d 11835 . . . . . . . . . . . . . . . . . 18 (𝜑𝑁 < (𝑁 + 1))
549282peano2zd 12358 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝑁 + 1) ∈ ℤ)
550 fzn 13201 . . . . . . . . . . . . . . . . . . 19 (((𝑁 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
551549, 282, 550syl2anc 583 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝑁 < (𝑁 + 1) ↔ ((𝑁 + 1)...𝑁) = ∅))
552548, 551mpbid 231 . . . . . . . . . . . . . . . . 17 (𝜑 → ((𝑁 + 1)...𝑁) = ∅)
553552xpeq1d 5609 . . . . . . . . . . . . . . . 16 (𝜑 → (((𝑁 + 1)...𝑁) × {0}) = (∅ × {0}))
554553, 86eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝜑 → (((𝑁 + 1)...𝑁) × {0}) = ∅)
555554uneq2d 4093 . . . . . . . . . . . . . 14 (𝜑 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ ∅))
556 un0 4321 . . . . . . . . . . . . . 14 (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ ∅) = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0})))
557555, 556eqtrdi 2795 . . . . . . . . . . . . 13 (𝜑 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))))
558557csbeq1d 3832 . . . . . . . . . . . 12 (𝜑(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) / 𝑝𝐵)
559 ovex 7288 . . . . . . . . . . . . 13 ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∈ V
560 poimirlem28.1 . . . . . . . . . . . . 13 (𝑝 = ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) → 𝐵 = 𝐶)
561559, 560csbie 3864 . . . . . . . . . . . 12 ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) / 𝑝𝐵 = 𝐶
562558, 561eqtrdi 2795 . . . . . . . . . . 11 (𝜑(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 = 𝐶)
563562eqeq2d 2749 . . . . . . . . . 10 (𝜑 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = 𝐶))
564563rexbidv 3225 . . . . . . . . 9 (𝜑 → (∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶))
565564ralbidv 3120 . . . . . . . 8 (𝜑 → (∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶))
566565rabbidv 3404 . . . . . . 7 (𝜑 → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵} = {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶})
567566fveq2d 6760 . . . . . 6 (𝜑 → (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}) = (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶}))
568567breq2d 5082 . . . . 5 (𝜑 → (2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}) ↔ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶})))
569547, 568syl5ibr 245 . . . 4 (𝜑 → ({𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} = ∅ → 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵})))
570569necon3bd 2956 . . 3 (𝜑 → (¬ 2 ∥ (♯‘{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑁)) × {0}))) ∪ (((𝑁 + 1)...𝑁) × {0})) / 𝑝𝐵}) → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} ≠ ∅))
571541, 570mpd 15 . 2 (𝜑 → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} ≠ ∅)
572 rabn0 4316 . 2 ({𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)}) ∣ ∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶} ≠ ∅ ↔ ∃𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶)
573571, 572sylib 217 1 (𝜑 → ∃𝑠 ∈ (((0..^𝐾) ↑m (1...𝑁)) × {𝑓𝑓:(1...𝑁)–1-1-onto→(1...𝑁)})∀𝑖 ∈ (0...𝑁)∃𝑗 ∈ (0...𝑁)𝑖 = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  {cab 2715  wne 2942  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  csb 3828  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253  {csn 4558  cop 4564   class class class wbr 5070  cmpt 5153   × cxp 5578  cima 5583   Fn wfn 6413  wf 6414  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  f cof 7509  1st c1st 7802  2nd c2nd 7803  1oc1o 8260  m cmap 8573  cen 8688  Fincfn 8691  cc 10800  cr 10801  0cc0 10802  1c1 10803   + caddc 10805   < clt 10940  cle 10941  cmin 11135  cn 11903  2c2 11958  0cn0 12163  cz 12249  cuz 12511  ...cfz 13168  ..^cfzo 13311  chash 13972  cdvds 15891
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-disj 5036  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-oadd 8271  df-er 8456  df-map 8575  df-pm 8576  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-oi 9199  df-dju 9590  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-xnn0 12236  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-seq 13650  df-exp 13711  df-fac 13916  df-bc 13945  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-clim 15125  df-sum 15326  df-dvds 15892
This theorem is referenced by:  poimirlem32  35736
  Copyright terms: Public domain W3C validator