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

Theorem poimirlem4 35061
Description: Lemma for poimir 35090 connecting the admissible faces on the back face of the (𝑀 + 1)-cube to admissible simplices in the 𝑀-cube. (Contributed by Brendan Leahy, 21-Aug-2020.)
Hypotheses
Ref Expression
poimir.0 (𝜑𝑁 ∈ ℕ)
poimirlem4.1 (𝜑𝐾 ∈ ℕ)
poimirlem4.2 (𝜑𝑀 ∈ ℕ0)
poimirlem4.3 (𝜑𝑀 < 𝑁)
Assertion
Ref Expression
poimirlem4 (𝜑 → {𝑠 ∈ (((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))})
Distinct variable groups:   𝑓,𝑖,𝑗,𝑝,𝑠   𝜑,𝑗   𝑗,𝑀   𝑗,𝑁   𝜑,𝑖,𝑝,𝑠   𝐵,𝑓,𝑖,𝑗,𝑠   𝑓,𝐾,𝑖,𝑗,𝑝,𝑠   𝑓,𝑀,𝑖,𝑝,𝑠   𝑓,𝑁,𝑖,𝑝,𝑠
Allowed substitution hints:   𝜑(𝑓)   𝐵(𝑝)

Proof of Theorem poimirlem4
Dummy variables 𝑘 𝑛 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 poimir.0 . . . . . . . 8 (𝜑𝑁 ∈ ℕ)
21adantr 484 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑁 ∈ ℕ)
3 poimirlem4.1 . . . . . . . 8 (𝜑𝐾 ∈ ℕ)
43adantr 484 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝐾 ∈ ℕ)
5 poimirlem4.2 . . . . . . . 8 (𝜑𝑀 ∈ ℕ0)
65adantr 484 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑀 ∈ ℕ0)
7 poimirlem4.3 . . . . . . . 8 (𝜑𝑀 < 𝑁)
87adantr 484 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑀 < 𝑁)
9 xp1st 7703 . . . . . . . . 9 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑡) ∈ ((0..^𝐾) ↑m (1...𝑀)))
10 elmapi 8411 . . . . . . . . 9 ((1st𝑡) ∈ ((0..^𝐾) ↑m (1...𝑀)) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
119, 10syl 17 . . . . . . . 8 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
1211adantl 485 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
13 xp2nd 7704 . . . . . . . . 9 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑡) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
14 fvex 6658 . . . . . . . . . 10 (2nd𝑡) ∈ V
15 f1oeq1 6579 . . . . . . . . . 10 (𝑓 = (2nd𝑡) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀)))
1614, 15elab 3615 . . . . . . . . 9 ((2nd𝑡) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
1713, 16sylib 221 . . . . . . . 8 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
1817adantl 485 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
192, 4, 6, 8, 12, 18poimirlem3 35060 . . . . . 6 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0 ∧ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1)))))
20 fvex 6658 . . . . . . . . . . . . . . . 16 (1st𝑡) ∈ V
21 snex 5297 . . . . . . . . . . . . . . . 16 {⟨(𝑀 + 1), 0⟩} ∈ V
2220, 21unex 7449 . . . . . . . . . . . . . . 15 ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∈ V
23 snex 5297 . . . . . . . . . . . . . . . 16 {⟨(𝑀 + 1), (𝑀 + 1)⟩} ∈ V
2414, 23unex 7449 . . . . . . . . . . . . . . 15 ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∈ V
2522, 24op1std 7681 . . . . . . . . . . . . . 14 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (1st𝑠) = ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}))
2622, 24op2ndd 7682 . . . . . . . . . . . . . . . . 17 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (2nd𝑠) = ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
2726imaeq1d 5895 . . . . . . . . . . . . . . . 16 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠) “ (1...𝑗)) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)))
2827xpeq1d 5548 . . . . . . . . . . . . . . 15 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠) “ (1...𝑗)) × {1}) = ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}))
2926imaeq1d 5895 . . . . . . . . . . . . . . . 16 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))))
3029xpeq1d 5548 . . . . . . . . . . . . . . 15 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))
3128, 30uneq12d 4091 . . . . . . . . . . . . . 14 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})))
3225, 31oveq12d 7153 . . . . . . . . . . . . 13 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))))
3332uneq1d 4089 . . . . . . . . . . . 12 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
3433csbeq1d 3832 . . . . . . . . . . 11 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
3534eqeq2d 2809 . . . . . . . . . 10 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3635rexbidv 3256 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3736ralbidv 3162 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3825fveq1d 6647 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((1st𝑠)‘(𝑀 + 1)) = (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)))
3938eqeq1d 2800 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠)‘(𝑀 + 1)) = 0 ↔ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0))
4026fveq1d 6647 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠)‘(𝑀 + 1)) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)))
4140eqeq1d 2800 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1) ↔ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1)))
4237, 39, 413anbi123d 1433 . . . . . . 7 (𝑠 = ⟨((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)) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0 ∧ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1))))
4342elrab 3628 . . . . . 6 (⟨((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))} ↔ (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0 ∧ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1))))
4419, 43syl6ibr 255 . . . . 5 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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))}))
4544ralrimiva 3149 . . . 4 (𝜑 → ∀𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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))}))
46 fveq2 6645 . . . . . . . . . . 11 (𝑠 = 𝑡 → (1st𝑠) = (1st𝑡))
47 fveq2 6645 . . . . . . . . . . . . . 14 (𝑠 = 𝑡 → (2nd𝑠) = (2nd𝑡))
4847imaeq1d 5895 . . . . . . . . . . . . 13 (𝑠 = 𝑡 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑡) “ (1...𝑗)))
4948xpeq1d 5548 . . . . . . . . . . . 12 (𝑠 = 𝑡 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (((2nd𝑡) “ (1...𝑗)) × {1}))
5047imaeq1d 5895 . . . . . . . . . . . . 13 (𝑠 = 𝑡 → ((2nd𝑠) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑡) “ ((𝑗 + 1)...𝑀)))
5150xpeq1d 5548 . . . . . . . . . . . 12 (𝑠 = 𝑡 → (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}) = (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))
5249, 51uneq12d 4091 . . . . . . . . . . 11 (𝑠 = 𝑡 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0})))
5346, 52oveq12d 7153 . . . . . . . . . 10 (𝑠 = 𝑡 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) = ((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))))
5453uneq1d 4089 . . . . . . . . 9 (𝑠 = 𝑡 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
5554csbeq1d 3832 . . . . . . . 8 (𝑠 = 𝑡(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
5655eqeq2d 2809 . . . . . . 7 (𝑠 = 𝑡 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5756rexbidv 3256 . . . . . 6 (𝑠 = 𝑡 → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5857ralbidv 3162 . . . . 5 (𝑠 = 𝑡 → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5958ralrab 3633 . . . 4 (∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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))} ↔ ∀𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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))}))
6045, 59sylibr 237 . . 3 (𝜑 → ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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))})
61 xp1st 7703 . . . . . . . . . . . . . . 15 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘) ∈ ((0..^𝐾) ↑m (1...(𝑀 + 1))))
62 elmapi 8411 . . . . . . . . . . . . . . 15 ((1st𝑘) ∈ ((0..^𝐾) ↑m (1...(𝑀 + 1))) → (1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾))
6361, 62syl 17 . . . . . . . . . . . . . 14 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾))
64 fzssp1 12945 . . . . . . . . . . . . . 14 (1...𝑀) ⊆ (1...(𝑀 + 1))
65 fssres 6518 . . . . . . . . . . . . . 14 (((1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
6663, 64, 65sylancl 589 . . . . . . . . . . . . 13 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
67 ovex 7168 . . . . . . . . . . . . . 14 (0..^𝐾) ∈ V
68 ovex 7168 . . . . . . . . . . . . . 14 (1...𝑀) ∈ V
6967, 68elmap 8418 . . . . . . . . . . . . 13 (((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)) ↔ ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
7066, 69sylibr 237 . . . . . . . . . . . 12 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)))
7170ad2antlr 726 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)))
72 xp2nd 7704 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘) ∈ {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})
73 fvex 6658 . . . . . . . . . . . . . . . . . 18 (2nd𝑘) ∈ V
74 f1oeq1 6579 . . . . . . . . . . . . . . . . . 18 (𝑓 = (2nd𝑘) → (𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) ↔ (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))))
7573, 74elab 3615 . . . . . . . . . . . . . . . . 17 ((2nd𝑘) ∈ {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))} ↔ (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)))
7672, 75sylib 221 . . . . . . . . . . . . . . . 16 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)))
77 f1of1 6589 . . . . . . . . . . . . . . . 16 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)))
7876, 77syl 17 . . . . . . . . . . . . . . 15 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)))
79 f1ores 6604 . . . . . . . . . . . . . . 15 (((2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
8078, 64, 79sylancl 589 . . . . . . . . . . . . . 14 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
8180ad2antlr 726 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
82 dff1o3 6596 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) ↔ ((2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)) ∧ Fun (2nd𝑘)))
8382simprbi 500 . . . . . . . . . . . . . . . . . 18 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → Fun (2nd𝑘))
84 imadif 6408 . . . . . . . . . . . . . . . . . 18 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
8576, 83, 843syl 18 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
8685ad2antlr 726 . . . . . . . . . . . . . . . 16 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
87 f1ofo 6597 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)))
88 foima 6570 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
8976, 87, 883syl 18 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
9089ad2antlr 726 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
91 f1ofn 6591 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘) Fn (1...(𝑀 + 1)))
9276, 91syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘) Fn (1...(𝑀 + 1)))
93 nn0p1nn 11924 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℕ0 → (𝑀 + 1) ∈ ℕ)
945, 93syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝑀 + 1) ∈ ℕ)
95 elfz1end 12932 . . . . . . . . . . . . . . . . . . . 20 ((𝑀 + 1) ∈ ℕ ↔ (𝑀 + 1) ∈ (1...(𝑀 + 1)))
9694, 95sylib 221 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝑀 + 1) ∈ (1...(𝑀 + 1)))
97 fnsnfv 6718 . . . . . . . . . . . . . . . . . . 19 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → {((2nd𝑘)‘(𝑀 + 1))} = ((2nd𝑘) “ {(𝑀 + 1)}))
9892, 96, 97syl2anr 599 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → {((2nd𝑘)‘(𝑀 + 1))} = ((2nd𝑘) “ {(𝑀 + 1)}))
99 sneq 4535 . . . . . . . . . . . . . . . . . 18 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → {((2nd𝑘)‘(𝑀 + 1))} = {(𝑀 + 1)})
10098, 99sylan9req 2854 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ {(𝑀 + 1)}) = {(𝑀 + 1)})
10190, 100difeq12d 4051 . . . . . . . . . . . . . . . 16 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
10286, 101eqtrd 2833 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
103 1z 12000 . . . . . . . . . . . . . . . . . . . . 21 1 ∈ ℤ
104 nn0uz 12268 . . . . . . . . . . . . . . . . . . . . . . 23 0 = (ℤ‘0)
105 1m1e0 11697 . . . . . . . . . . . . . . . . . . . . . . . 24 (1 − 1) = 0
106105fveq2i 6648 . . . . . . . . . . . . . . . . . . . . . . 23 (ℤ‘(1 − 1)) = (ℤ‘0)
107104, 106eqtr4i 2824 . . . . . . . . . . . . . . . . . . . . . 22 0 = (ℤ‘(1 − 1))
1085, 107eleqtrdi 2900 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝑀 ∈ (ℤ‘(1 − 1)))
109 fzsuc2 12960 . . . . . . . . . . . . . . . . . . . . 21 ((1 ∈ ℤ ∧ 𝑀 ∈ (ℤ‘(1 − 1))) → (1...(𝑀 + 1)) = ((1...𝑀) ∪ {(𝑀 + 1)}))
110103, 108, 109sylancr 590 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (1...(𝑀 + 1)) = ((1...𝑀) ∪ {(𝑀 + 1)}))
111110difeq1d 4049 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (((1...𝑀) ∪ {(𝑀 + 1)}) ∖ {(𝑀 + 1)}))
112 difun2 4387 . . . . . . . . . . . . . . . . . . 19 (((1...𝑀) ∪ {(𝑀 + 1)}) ∖ {(𝑀 + 1)}) = ((1...𝑀) ∖ {(𝑀 + 1)})
113111, 112eqtrdi 2849 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = ((1...𝑀) ∖ {(𝑀 + 1)}))
1145nn0red 11944 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝑀 ∈ ℝ)
115 ltp1 11469 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℝ → 𝑀 < (𝑀 + 1))
116 peano2re 10802 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑀 ∈ ℝ → (𝑀 + 1) ∈ ℝ)
117 ltnle 10709 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑀 ∈ ℝ ∧ (𝑀 + 1) ∈ ℝ) → (𝑀 < (𝑀 + 1) ↔ ¬ (𝑀 + 1) ≤ 𝑀))
118116, 117mpdan 686 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℝ → (𝑀 < (𝑀 + 1) ↔ ¬ (𝑀 + 1) ≤ 𝑀))
119115, 118mpbid 235 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℝ → ¬ (𝑀 + 1) ≤ 𝑀)
120114, 119syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ¬ (𝑀 + 1) ≤ 𝑀)
121 elfzle2 12906 . . . . . . . . . . . . . . . . . . . 20 ((𝑀 + 1) ∈ (1...𝑀) → (𝑀 + 1) ≤ 𝑀)
122120, 121nsyl 142 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ¬ (𝑀 + 1) ∈ (1...𝑀))
123 difsn 4691 . . . . . . . . . . . . . . . . . . 19 (¬ (𝑀 + 1) ∈ (1...𝑀) → ((1...𝑀) ∖ {(𝑀 + 1)}) = (1...𝑀))
124122, 123syl 17 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((1...𝑀) ∖ {(𝑀 + 1)}) = (1...𝑀))
125113, 124eqtrd 2833 . . . . . . . . . . . . . . . . 17 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
126125imaeq2d 5896 . . . . . . . . . . . . . . . 16 (𝜑 → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ (1...𝑀)))
127126ad2antrr 725 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ (1...𝑀)))
128125ad2antrr 725 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
129102, 127, 1283eqtr3d 2841 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ (1...𝑀)) = (1...𝑀))
130 f1oeq3 6581 . . . . . . . . . . . . . 14 (((2nd𝑘) “ (1...𝑀)) = (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
131129, 130syl 17 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
13281, 131mpbid 235 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀))
13373resex 5866 . . . . . . . . . . . . 13 ((2nd𝑘) ↾ (1...𝑀)) ∈ V
134 f1oeq1 6579 . . . . . . . . . . . . 13 (𝑓 = ((2nd𝑘) ↾ (1...𝑀)) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
135133, 134elab 3615 . . . . . . . . . . . 12 (((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀))
136132, 135sylibr 237 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
137 opelxpi 5556 . . . . . . . . . . 11 ((((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)) ∧ ((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
13871, 136, 137syl2anc 587 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
1391383ad2antr3 1187 . . . . . . . . 9 (((𝜑𝑘 ∈ (((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))) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
140 3anass 1092 . . . . . . . . . . 11 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((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))))
141 ancom 464 . . . . . . . . . . 11 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ↔ ((((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
142140, 141bitri 278 . . . . . . . . . 10 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ ((((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
14394nnzd 12074 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝑀 + 1) ∈ ℤ)
144 uzid 12246 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ ℤ → (𝑀 + 1) ∈ (ℤ‘(𝑀 + 1)))
145 peano2uz 12289 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ (ℤ‘(𝑀 + 1)) → ((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)))
146143, 144, 1453syl 18 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)))
1475nn0zd 12073 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝜑𝑀 ∈ ℤ)
1481nnzd 12074 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝜑𝑁 ∈ ℤ)
149 zltp1le 12020 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 < 𝑁 ↔ (𝑀 + 1) ≤ 𝑁))
150 peano2z 12011 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑀 ∈ ℤ → (𝑀 + 1) ∈ ℤ)
151 eluz 12245 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝑀 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑀 + 1)) ↔ (𝑀 + 1) ≤ 𝑁))
152150, 151sylan 583 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑀 + 1)) ↔ (𝑀 + 1) ≤ 𝑁))
153149, 152bitr4d 285 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 < 𝑁𝑁 ∈ (ℤ‘(𝑀 + 1))))
154147, 148, 153syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝑀 < 𝑁𝑁 ∈ (ℤ‘(𝑀 + 1))))
1557, 154mpbid 235 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝑁 ∈ (ℤ‘(𝑀 + 1)))
156 fzsplit2 12927 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)) ∧ 𝑁 ∈ (ℤ‘(𝑀 + 1))) → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)))
157146, 155, 156syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)))
158 fzsn 12944 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ ℤ → ((𝑀 + 1)...(𝑀 + 1)) = {(𝑀 + 1)})
159143, 158syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((𝑀 + 1)...(𝑀 + 1)) = {(𝑀 + 1)})
160159uneq1d 4089 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)) = ({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)))
161157, 160eqtrd 2833 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((𝑀 + 1)...𝑁) = ({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)))
162161xpeq1d 5548 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (((𝑀 + 1)...𝑁) × {0}) = (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}))
163162uneq2d 4090 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0})))
164 xpundir 5585 . . . . . . . . . . . . . . . . . . . . . . 23 (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}) = (({(𝑀 + 1)} × {0}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
165 ovex 7168 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑀 + 1) ∈ V
166 c0ex 10624 . . . . . . . . . . . . . . . . . . . . . . . . 25 0 ∈ V
167165, 166xpsn 6880 . . . . . . . . . . . . . . . . . . . . . . . 24 ({(𝑀 + 1)} × {0}) = {⟨(𝑀 + 1), 0⟩}
168167uneq1i 4086 . . . . . . . . . . . . . . . . . . . . . . 23 (({(𝑀 + 1)} × {0}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
169164, 168eqtri 2821 . . . . . . . . . . . . . . . . . . . . . 22 (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}) = ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
170169uneq2i 4087 . . . . . . . . . . . . . . . . . . . . 21 ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
171 unass 4093 . . . . . . . . . . . . . . . . . . . . 21 (((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
172170, 171eqtr4i 2824 . . . . . . . . . . . . . . . . . . . 20 ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0})) = (((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
173163, 172eqtrdi 2849 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})) = (((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
174173ad3antrrr 729 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})) = (((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
175165a1i 11 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (𝑀 + 1) ∈ V)
176166a1i 11 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → 0 ∈ V)
177110eqcomd 2804 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → ((1...𝑀) ∪ {(𝑀 + 1)}) = (1...(𝑀 + 1)))
178177ad3antrrr 729 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((1...𝑀) ∪ {(𝑀 + 1)}) = (1...(𝑀 + 1)))
179 fveq2 6645 . . . . . . . . . . . . . . . . . . . . . 22 (𝑛 = (𝑀 + 1) → ((1st𝑘)‘𝑛) = ((1st𝑘)‘(𝑀 + 1)))
180 fveq2 6645 . . . . . . . . . . . . . . . . . . . . . 22 (𝑛 = (𝑀 + 1) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)))
181179, 180oveq12d 7153 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 = (𝑀 + 1) → (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛)) = (((1st𝑘)‘(𝑀 + 1)) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1))))
182 simplrl 776 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘)‘(𝑀 + 1)) = 0)
183 imain 6409 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
18476, 83, 1833syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
185184ad2antlr 726 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
186 elfznn0 12995 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℕ0)
187186nn0red 11944 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℝ)
188187ltp1d 11559 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → 𝑗 < (𝑗 + 1))
189 fzdisj 12929 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 < (𝑗 + 1) → ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1))) = ∅)
190188, 189syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1))) = ∅)
191190imaeq2d 5896 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = ((2nd𝑘) “ ∅))
192 ima0 5912 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((2nd𝑘) “ ∅) = ∅
193191, 192eqtrdi 2849 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
194185, 193sylan9req 2854 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
195 simplr 768 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))
19692ad2antlr 726 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) Fn (1...(𝑀 + 1)))
197 nn0p1nn 11924 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ ℕ0 → (𝑗 + 1) ∈ ℕ)
198 nnuz 12269 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ℕ = (ℤ‘1)
199197, 198eleqtrdi 2900 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ ℕ0 → (𝑗 + 1) ∈ (ℤ‘1))
200 fzss1 12941 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑗 + 1) ∈ (ℤ‘1) → ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)))
201186, 199, 2003syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)))
202 elfzuz3 12899 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → 𝑀 ∈ (ℤ𝑗))
203 eluzp1p1 12258 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑀 ∈ (ℤ𝑗) → (𝑀 + 1) ∈ (ℤ‘(𝑗 + 1)))
204 eluzfz2 12910 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑀 + 1) ∈ (ℤ‘(𝑗 + 1)) → (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))
205202, 203, 2043syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))
206201, 205jca 515 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → (((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1))))
207 fnfvima 6973 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1))) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
2082073expb 1117 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
209196, 206, 208syl2an 598 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
210195, 209eqeltrrd 2891 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
211 1ex 10626 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1 ∈ V
212 fnconstg 6541 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (1 ∈ V → (((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)))
213211, 212ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗))
214 fnconstg 6541 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (0 ∈ V → (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
215166, 214ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))
216 fvun2 6730 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) ∧ ((((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅ ∧ (𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)))
217213, 215, 216mp3an12 1448 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅ ∧ (𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)))
218194, 210, 217syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)))
219166fvconst2 6943 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) → ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)) = 0)
220210, 219syl 17 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)) = 0)
221218, 220eqtrd 2833 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = 0)
222221adantlrl 719 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = 0)
223182, 222oveq12d 7153 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘)‘(𝑀 + 1)) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1))) = (0 + 0))
224 00id 10804 . . . . . . . . . . . . . . . . . . . . . 22 (0 + 0) = 0
225223, 224eqtrdi 2849 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘)‘(𝑀 + 1)) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1))) = 0)
226181, 225sylan9eqr 2855 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 = (𝑀 + 1)) → (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛)) = 0)
227175, 176, 178, 226fmptapd 6910 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) = (𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
228227uneq1d 4089 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
229174, 228eqtrd 2833 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
230 elmapfn 8412 . . . . . . . . . . . . . . . . . . . . . . 23 ((1st𝑘) ∈ ((0..^𝐾) ↑m (1...(𝑀 + 1))) → (1st𝑘) Fn (1...(𝑀 + 1)))
23161, 230syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘) Fn (1...(𝑀 + 1)))
232 fnssres 6442 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑘) Fn (1...(𝑀 + 1)) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
233231, 64, 232sylancl 589 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
234233ad3antlr 730 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
235 simplr 768 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → 𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}))
236 fnconstg 6541 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (0 ∈ V → (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
237166, 236ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀))
238213, 237pm3.2i 474 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
239 imain 6409 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
24076, 83, 2393syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
241 fzdisj 12929 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 < (𝑗 + 1) → ((1...𝑗) ∩ ((𝑗 + 1)...𝑀)) = ∅)
242188, 241syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((1...𝑗) ∩ ((𝑗 + 1)...𝑀)) = ∅)
243242imaeq2d 5896 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = ((2nd𝑘) “ ∅))
244243, 192eqtrdi 2849 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = ∅)
245240, 244sylan9req 2854 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))) = ∅)
246 fnun 6434 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀))) ∧ (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))) = ∅) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
247238, 245, 246sylancr 590 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
248235, 247sylan 583 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
249101adantr 484 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
25085ad3antlr 730 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
251186, 197syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ ℕ)
252251, 198eleqtrdi 2900 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ (ℤ‘1))
253 fzsplit2 12927 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((𝑗 + 1) ∈ (ℤ‘1) ∧ 𝑀 ∈ (ℤ𝑗)) → (1...𝑀) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
254252, 202, 253syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → (1...𝑀) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
255128, 254sylan9eq 2853 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
256255imaeq2d 5896 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
257250, 256eqtr3d 2835 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
258125ad3antrrr 729 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
259249, 257, 2583eqtr3rd 2842 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
260 imaundi 5975 . . . . . . . . . . . . . . . . . . . . . . . 24 ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
261259, 260eqtrdi 2849 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
262261fneq2d 6417 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ↔ ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))))
263248, 262mpbird 260 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀))
264 fzss2 12942 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑀 ∈ (ℤ𝑗) → (1...𝑗) ⊆ (1...𝑀))
265 resima2 5853 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((1...𝑗) ⊆ (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
266202, 264, 2653syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
267266xpeq1d 5548 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) = (((2nd𝑘) “ (1...𝑗)) × {1}))
268186, 199syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ (ℤ‘1))
269 fzss1 12941 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑗 + 1) ∈ (ℤ‘1) → ((𝑗 + 1)...𝑀) ⊆ (1...𝑀))
270 resima2 5853 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑗 + 1)...𝑀) ⊆ (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
271268, 269, 2703syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
272271xpeq1d 5548 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))
273267, 272uneq12d 4091 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 ∈ (0...𝑀) → (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})))
274273adantl 485 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})))
275274fneq1d 6416 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ↔ ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀)))
276263, 275mpbird 260 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀))
277 fzfid 13336 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) ∈ Fin)
278 inidm 4145 . . . . . . . . . . . . . . . . . . . 20 ((1...𝑀) ∩ (1...𝑀)) = (1...𝑀)
279 fvres 6664 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 ∈ (1...𝑀) → (((1st𝑘) ↾ (1...𝑀))‘𝑛) = ((1st𝑘)‘𝑛))
280279adantl 485 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → (((1st𝑘) ↾ (1...𝑀))‘𝑛) = ((1st𝑘)‘𝑛))
281 disjsn 4607 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((1...𝑀) ∩ {(𝑀 + 1)}) = ∅ ↔ ¬ (𝑀 + 1) ∈ (1...𝑀))
282122, 281sylibr 237 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅)
283282ad3antrrr 729 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅)
284263, 283jca 515 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ∧ ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅))
285 fnconstg 6541 . . . . . . . . . . . . . . . . . . . . . . . . 25 (0 ∈ V → ({(𝑀 + 1)} × {0}) Fn {(𝑀 + 1)})
286166, 285ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . 24 ({(𝑀 + 1)} × {0}) Fn {(𝑀 + 1)}
287 fvun1 6729 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ∧ ({(𝑀 + 1)} × {0}) Fn {(𝑀 + 1)} ∧ (((1...𝑀) ∩ {(𝑀 + 1)}) = ∅ ∧ 𝑛 ∈ (1...𝑀))) → ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
288286, 287mp3an2 1446 . . . . . . . . . . . . . . . . . . . . . . 23 ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ∧ (((1...𝑀) ∩ {(𝑀 + 1)}) = ∅ ∧ 𝑛 ∈ (1...𝑀))) → ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
289288anassrs 471 . . . . . . . . . . . . . . . . . . . . . 22 (((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ∧ ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅) ∧ 𝑛 ∈ (1...𝑀)) → ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
290284, 289sylan 583 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
291251nnzd 12074 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ ℤ)
292186nn0cnd 11945 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℂ)
293 pncan1 11053 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (𝑗 ∈ ℂ → ((𝑗 + 1) − 1) = 𝑗)
294292, 293syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1) − 1) = 𝑗)
295294fveq2d 6649 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 (𝑗 ∈ (0...𝑀) → (ℤ‘((𝑗 + 1) − 1)) = (ℤ𝑗))
296202, 295eleqtrrd 2893 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑗 ∈ (0...𝑀) → 𝑀 ∈ (ℤ‘((𝑗 + 1) − 1)))
297 fzsuc2 12960 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (((𝑗 + 1) ∈ ℤ ∧ 𝑀 ∈ (ℤ‘((𝑗 + 1) − 1))) → ((𝑗 + 1)...(𝑀 + 1)) = (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)}))
298291, 296, 297syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1)...(𝑀 + 1)) = (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)}))
299298imaeq2d 5896 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) = ((2nd𝑘) “ (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)})))
300 imaundi 5975 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((2nd𝑘) “ (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)})) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)}))
301299, 300eqtrdi 2849 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})))
302301xpeq1d 5548 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})) × {0}))
303 xpundir 5585 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))
304302, 303eqtrdi 2849 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
305304uneq2d 4090 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))))
306 unass 4093 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
307305, 306eqtr4di 2851 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
308307adantl 485 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
30998xpeq1d 5548 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ({((2nd𝑘)‘(𝑀 + 1))} × {0}) = (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))
310309uneq2d 4090 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
311310adantr 484 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
312308, 311eqtr4d 2836 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})))
31399xpeq1d 5548 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → ({((2nd𝑘)‘(𝑀 + 1))} × {0}) = ({(𝑀 + 1)} × {0}))
314313uneq2d 4090 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0})))
315312, 314sylan9eq 2853 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0})))
316315an32s 651 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0})))
317316fveq1d 6647 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛))
318317adantr 484 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛))
319273fveq1d 6647 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 ∈ (0...𝑀) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
320319ad2antlr 726 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
321290, 318, 3203eqtr4rd 2844 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))
322234, 276, 277, 277, 278, 280, 321offval 7396 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) = (𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
323322uneq1d 4089 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})))
324323adantlrl 719 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})))
325 simplr 768 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}))
326231adantr 484 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (1st𝑘) Fn (1...(𝑀 + 1)))
327213, 215pm3.2i 474 . . . . . . . . . . . . . . . . . . . . . 22 ((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
328184, 193sylan9req 2854 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
329 fnun 6434 . . . . . . . . . . . . . . . . . . . . . 22 ((((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) ∧ (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
330327, 328, 329sylancr 590 . . . . . . . . . . . . . . . . . . . . 21 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
331 peano2uz 12289 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑀 ∈ (ℤ𝑗) → (𝑀 + 1) ∈ (ℤ𝑗))
332202, 331syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → (𝑀 + 1) ∈ (ℤ𝑗))
333 fzsplit2 12927 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑗 + 1) ∈ (ℤ‘1) ∧ (𝑀 + 1) ∈ (ℤ𝑗)) → (1...(𝑀 + 1)) = ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1))))
334268, 332, 333syl2anc 587 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (1...(𝑀 + 1)) = ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1))))
335334imaeq2d 5896 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ (1...(𝑀 + 1))) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1)))))
336 imaundi 5975 . . . . . . . . . . . . . . . . . . . . . . . 24 ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
337335, 336eqtr2di 2850 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ((2nd𝑘) “ (1...(𝑀 + 1))))
338337, 89sylan9eqr 2855 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = (1...(𝑀 + 1)))
339338fneq2d 6417 . . . . . . . . . . . . . . . . . . . . 21 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) ↔ ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (1...(𝑀 + 1))))
340330, 339mpbid 235 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (1...(𝑀 + 1)))
341 fzfid 13336 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (1...(𝑀 + 1)) ∈ Fin)
342 inidm 4145 . . . . . . . . . . . . . . . . . . . 20 ((1...(𝑀 + 1)) ∩ (1...(𝑀 + 1))) = (1...(𝑀 + 1))
343 eqidd 2799 . . . . . . . . . . . . . . . . . . . 20 (((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...(𝑀 + 1))) → ((1st𝑘)‘𝑛) = ((1st𝑘)‘𝑛))
344 eqidd 2799 . . . . . . . . . . . . . . . . . . . 20 (((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...(𝑀 + 1))) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))
345326, 340, 341, 341, 342, 343, 344offval 7396 . . . . . . . . . . . . . . . . . . 19 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = (𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
346345uneq1d 4089 . . . . . . . . . . . . . . . . . 18 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
347325, 346sylan 583 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
348229, 324, 3473eqtr4rd 2844 . . . . . . . . . . . . . . . 16 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
349348csbeq1d 3832 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
350349eqeq2d 2809 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
351350rexbidva 3255 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
352351ralbidv 3162 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
353352biimpd 232 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
354353impr 458 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)) → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
355142, 354sylan2b 596 . . . . . . . . 9 (((𝜑𝑘 ∈ (((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...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
356 1st2nd2 7710 . . . . . . . . . . . 12 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → 𝑘 = ⟨(1st𝑘), (2nd𝑘)⟩)
357356ad2antlr 726 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(1st𝑘), (2nd𝑘)⟩)
358 fnsnsplit 6923 . . . . . . . . . . . . . . . 16 (((1st𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
359231, 96, 358syl2anr 599 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
360359adantr 484 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
361125reseq2d 5818 . . . . . . . . . . . . . . . 16 (𝜑 → ((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1st𝑘) ↾ (1...𝑀)))
362361adantr 484 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1st𝑘) ↾ (1...𝑀)))
363 opeq2 4765 . . . . . . . . . . . . . . . 16 (((1st𝑘)‘(𝑀 + 1)) = 0 → ⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩ = ⟨(𝑀 + 1), 0⟩)
364363sneqd 4537 . . . . . . . . . . . . . . 15 (((1st𝑘)‘(𝑀 + 1)) = 0 → {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), 0⟩})
365 uneq12 4085 . . . . . . . . . . . . . . 15 ((((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1st𝑘) ↾ (1...𝑀)) ∧ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), 0⟩}) → (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
366362, 364, 365syl2an 598 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
367360, 366eqtrd 2833 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (1st𝑘) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
368367adantrr 716 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (1st𝑘) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
369 fnsnsplit 6923 . . . . . . . . . . . . . . . 16 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
37092, 96, 369syl2anr 599 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
371370adantr 484 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
372125reseq2d 5818 . . . . . . . . . . . . . . . 16 (𝜑 → ((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) ↾ (1...𝑀)))
373372adantr 484 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) ↾ (1...𝑀)))
374 opeq2 4765 . . . . . . . . . . . . . . . 16 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → ⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩ = ⟨(𝑀 + 1), (𝑀 + 1)⟩)
375374sneqd 4537 . . . . . . . . . . . . . . 15 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), (𝑀 + 1)⟩})
376 uneq12 4085 . . . . . . . . . . . . . . 15 ((((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) ↾ (1...𝑀)) ∧ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), (𝑀 + 1)⟩}) → (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
377373, 375, 376syl2an 598 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
378371, 377eqtrd 2833 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
379378adantrl 715 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (2nd𝑘) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
380368, 379opeq12d 4773 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ⟨(1st𝑘), (2nd𝑘)⟩ = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
381357, 380eqtrd 2833 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
3823813adantr1 1166 . . . . . . . . 9 (((𝜑𝑘 ∈ (((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))) → 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
383 fvex 6658 . . . . . . . . . . . . . . . . . . 19 (1st𝑘) ∈ V
384383resex 5866 . . . . . . . . . . . . . . . . . 18 ((1st𝑘) ↾ (1...𝑀)) ∈ V
385384, 133op1std 7681 . . . . . . . . . . . . . . . . 17 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (1st𝑡) = ((1st𝑘) ↾ (1...𝑀)))
386384, 133op2ndd 7682 . . . . . . . . . . . . . . . . . . . 20 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (2nd𝑡) = ((2nd𝑘) ↾ (1...𝑀)))
387386imaeq1d 5895 . . . . . . . . . . . . . . . . . . 19 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) “ (1...𝑗)) = (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)))
388387xpeq1d 5548 . . . . . . . . . . . . . . . . . 18 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((2nd𝑡) “ (1...𝑗)) × {1}) = ((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}))
389386imaeq1d 5895 . . . . . . . . . . . . . . . . . . 19 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) “ ((𝑗 + 1)...𝑀)) = (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)))
390389xpeq1d 5548 . . . . . . . . . . . . . . . . . 18 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}) = ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))
391388, 390uneq12d 4091 . . . . . . . . . . . . . . . . 17 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0})) = (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})))
392385, 391oveq12d 7153 . . . . . . . . . . . . . . . 16 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) = (((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))))
393392uneq1d 4089 . . . . . . . . . . . . . . 15 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
394393csbeq1d 3832 . . . . . . . . . . . . . 14 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
395394eqeq2d 2809 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
396395rexbidv 3256 . . . . . . . . . . . 12 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
397396ralbidv 3162 . . . . . . . . . . 11 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
398385uneq1d 4089 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
399386uneq1d 4089 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
400398, 399opeq12d 4773 . . . . . . . . . . . 12 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
401400eqeq2d 2809 . . . . . . . . . . 11 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
402397, 401anbi12d 633 . . . . . . . . . 10 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)))
403402rspcev 3571 . . . . . . . . 9 ((⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)) → ∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
404139, 355, 382, 403syl12anc 835 . . . . . . . 8 (((𝜑𝑘 ∈ (((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})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
405404ex 416 . . . . . . 7 ((𝜑𝑘 ∈ (((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})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)))
406 elrabi 3623 . . . . . . . . . . 11 (𝑡 ∈ {𝑠 ∈ (((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...𝑀)}))
407 elrabi 3623 . . . . . . . . . . 11 (𝑛 ∈ {𝑠 ∈ (((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...𝑀)}))
408406, 407anim12i 615 . . . . . . . . . 10 ((𝑡 ∈ {𝑠 ∈ (((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})) / 𝑝𝐵}) → (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})))
409 eqtr2 2819 . . . . . . . . . . . 12 ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
41022, 24opth 5333 . . . . . . . . . . . . 13 (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})))
411 difeq1 4043 . . . . . . . . . . . . . . 15 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) → (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = (((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}))
412 difun2 4387 . . . . . . . . . . . . . . 15 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩})
413 difun2 4387 . . . . . . . . . . . . . . 15 (((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩})
414411, 412, 4133eqtr3g 2856 . . . . . . . . . . . . . 14 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}))
415 difeq1 4043 . . . . . . . . . . . . . . 15 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) → (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
416 difun2 4387 . . . . . . . . . . . . . . 15 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})
417 difun2 4387 . . . . . . . . . . . . . . 15 (((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})
418415, 416, 4173eqtr3g 2856 . . . . . . . . . . . . . 14 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
419414, 418anim12i 615 . . . . . . . . . . . . 13 ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})))
420410, 419sylbi 220 . . . . . . . . . . . 12 (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})))
421409, 420syl 17 . . . . . . . . . . 11 ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})))
422 elmapfn 8412 . . . . . . . . . . . . . . . . . . 19 ((1st𝑡) ∈ ((0..^𝐾) ↑m (1...𝑀)) → (1st𝑡) Fn (1...𝑀))
423 fnop 6431 . . . . . . . . . . . . . . . . . . . 20 (((1st𝑡) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡)) → (𝑀 + 1) ∈ (1...𝑀))
424423ex 416 . . . . . . . . . . . . . . . . . . 19 ((1st𝑡) Fn (1...𝑀) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
4259, 422, 4243syl 18 . . . . . . . . . . . . . . . . . 18 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
426425, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡)))
427426impcom 411 . . . . . . . . . . . . . . . 16 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡))
428 difsn 4691 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑡))
429427, 428syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑡))
430 xp1st 7703 . . . . . . . . . . . . . . . . . . 19 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑛) ∈ ((0..^𝐾) ↑m (1...𝑀)))
431 elmapfn 8412 . . . . . . . . . . . . . . . . . . 19 ((1st𝑛) ∈ ((0..^𝐾) ↑m (1...𝑀)) → (1st𝑛) Fn (1...𝑀))
432 fnop 6431 . . . . . . . . . . . . . . . . . . . 20 (((1st𝑛) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛)) → (𝑀 + 1) ∈ (1...𝑀))
433432ex 416 . . . . . . . . . . . . . . . . . . 19 ((1st𝑛) Fn (1...𝑀) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
434430, 431, 4333syl 18 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
435434, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛)))
436435impcom 411 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛))
437 difsn 4691 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑛))
438436, 437syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑛))
439429, 438eqeqan12d 2815 . . . . . . . . . . . . . 14 (((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) ∧ (𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ↔ (1st𝑡) = (1st𝑛)))
440439anandis 677 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ↔ (1st𝑡) = (1st𝑛)))
441 f1ofn 6591 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀) → (2nd𝑡) Fn (1...𝑀))
442 fnop 6431 . . . . . . . . . . . . . . . . . . . 20 (((2nd𝑡) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡)) → (𝑀 + 1) ∈ (1...𝑀))
443442ex 416 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑡) Fn (1...𝑀) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
44417, 441, 4433syl 18 . . . . . . . . . . . . . . . . . 18 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
445444, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡)))
446445impcom 411 . . . . . . . . . . . . . . . 16 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡))
447 difsn 4691 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑡))
448446, 447syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑡))
449 xp2nd 7704 . . . . . . . . . . . . . . . . . . . 20 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑛) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
450 fvex 6658 . . . . . . . . . . . . . . . . . . . . 21 (2nd𝑛) ∈ V
451 f1oeq1 6579 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = (2nd𝑛) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀)))
452450, 451elab 3615 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑛) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀))
453449, 452sylib 221 . . . . . . . . . . . . . . . . . . 19 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀))
454 f1ofn 6591 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀) → (2nd𝑛) Fn (1...𝑀))
455 fnop 6431 . . . . . . . . . . . . . . . . . . . 20 (((2nd𝑛) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛)) → (𝑀 + 1) ∈ (1...𝑀))
456455ex 416 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑛) Fn (1...𝑀) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
457453, 454, 4563syl 18 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
458457, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛)))
459458impcom 411 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛))
460 difsn 4691 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑛))
461459, 460syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑛))
462448, 461eqeqan12d 2815 . . . . . . . . . . . . . 14 (((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) ∧ (𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ↔ (2nd𝑡) = (2nd𝑛)))
463462anandis 677 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ↔ (2nd𝑡) = (2nd𝑛)))
464440, 463anbi12d 633 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})) ↔ ((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛))))
465 xpopth 7712 . . . . . . . . . . . . 13 ((𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛)) ↔ 𝑡 = 𝑛))
466465adantl 485 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛)) ↔ 𝑡 = 𝑛))
467464, 466bitrd 282 . . . . . . . . . . 11 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})) ↔ 𝑡 = 𝑛))
468421, 467syl5ib 247 . . . . . . . . . 10 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
469408, 468sylan2 595 . . . . . . . . 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})) / 𝑝𝐵})) → ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
470469ralrimivva 3156 . . . . . . . 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})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
471470adantr 484 . . . . . . 7 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(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-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
472405, 471jctird 530 . . . . . 6 ((𝜑𝑘 ∈ (((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})) / 𝑝𝐵𝑘 = ⟨((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-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))))
473 fveq2 6645 . . . . . . . . . . 11 (𝑡 = 𝑛 → (1st𝑡) = (1st𝑛))
474473uneq1d 4089 . . . . . . . . . 10 (𝑡 = 𝑛 → ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}))
475 fveq2 6645 . . . . . . . . . . 11 (𝑡 = 𝑛 → (2nd𝑡) = (2nd𝑛))
476475uneq1d 4089 . . . . . . . . . 10 (𝑡 = 𝑛 → ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
477474, 476opeq12d 4773 . . . . . . . . 9 (𝑡 = 𝑛 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
478477eqeq2d 2809 . . . . . . . 8 (𝑡 = 𝑛 → (𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
479478reu4 3670 . . . . . . 7 (∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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})) / 𝑝𝐵}𝑘 = ⟨((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-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
48058rexrab 3635 . . . . . . . 8 (∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
481480anbi1i 626 . . . . . . 7 ((∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((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})) / 𝑝𝐵𝑘 = ⟨((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-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
482479, 481bitri 278 . . . . . 6 (∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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})) / 𝑝𝐵𝑘 = ⟨((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-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
483472, 482syl6ibr 255 . . . . 5 ((𝜑𝑘 ∈ (((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})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
484483ralrimiva 3149 . . . 4 (𝜑 → ∀𝑘 ∈ (((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})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
485 fveq2 6645 . . . . . . . . . . . 12 (𝑠 = 𝑘 → (1st𝑠) = (1st𝑘))
486 fveq2 6645 . . . . . . . . . . . . . . 15 (𝑠 = 𝑘 → (2nd𝑠) = (2nd𝑘))
487486imaeq1d 5895 . . . . . . . . . . . . . 14 (𝑠 = 𝑘 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
488487xpeq1d 5548 . . . . . . . . . . . . 13 (𝑠 = 𝑘 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (((2nd𝑘) “ (1...𝑗)) × {1}))
489486imaeq1d 5895 . . . . . . . . . . . . . 14 (𝑠 = 𝑘 → ((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) = ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
490489xpeq1d 5548 . . . . . . . . . . . . 13 (𝑠 = 𝑘 → (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))
491488, 490uneq12d 4091 . . . . . . . . . . . 12 (𝑠 = 𝑘 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})))
492485, 491oveq12d 7153 . . . . . . . . . . 11 (𝑠 = 𝑘 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = ((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))))
493492uneq1d 4089 . . . . . . . . . 10 (𝑠 = 𝑘 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
494493csbeq1d 3832 . . . . . . . . 9 (𝑠 = 𝑘(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
495494eqeq2d 2809 . . . . . . . 8 (𝑠 = 𝑘 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
496495rexbidv 3256 . . . . . . 7 (𝑠 = 𝑘 → (∃𝑗 ∈ (0...𝑀)𝑖 = (((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})) / 𝑝𝐵))
497496ralbidv 3162 . . . . . 6 (𝑠 = 𝑘 → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((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})) / 𝑝𝐵))
498485fveq1d 6647 . . . . . . 7 (𝑠 = 𝑘 → ((1st𝑠)‘(𝑀 + 1)) = ((1st𝑘)‘(𝑀 + 1)))
499498eqeq1d 2800 . . . . . 6 (𝑠 = 𝑘 → (((1st𝑠)‘(𝑀 + 1)) = 0 ↔ ((1st𝑘)‘(𝑀 + 1)) = 0))
500486fveq1d 6647 . . . . . . 7 (𝑠 = 𝑘 → ((2nd𝑠)‘(𝑀 + 1)) = ((2nd𝑘)‘(𝑀 + 1)))
501500eqeq1d 2800 . . . . . 6 (𝑠 = 𝑘 → (((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1) ↔ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)))
502497, 499, 5013anbi123d 1433 . . . . 5 (𝑠 = 𝑘 → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((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))))
503502ralrab 3633 . . . 4 (∀𝑘 ∈ {𝑠 ∈ (((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})) / 𝑝𝐵}𝑘 = ⟨((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)) → ∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
504484, 503sylibr 237 . . 3 (𝜑 → ∀𝑘 ∈ {𝑠 ∈ (((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})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
505 eqid 2798 . . . 4 (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
506505f1ompt 6852 . . 3 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((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})) / 𝑝𝐵}⟨((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))} ∧ ∀𝑘 ∈ {𝑠 ∈ (((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})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
50760, 504, 506sylanbrc 586 . 2 (𝜑 → (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((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))})
508 ovex 7168 . . . . 5 ((0..^𝐾) ↑m (1...𝑀)) ∈ V
509 ovex 7168 . . . . . 6 ((1...𝑀) ↑m (1...𝑀)) ∈ V
510 f1of 6590 . . . . . . . 8 (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) → 𝑓:(1...𝑀)⟶(1...𝑀))
511510ss2abi 3994 . . . . . . 7 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ⊆ {𝑓𝑓:(1...𝑀)⟶(1...𝑀)}
51268, 68mapval 8401 . . . . . . 7 ((1...𝑀) ↑m (1...𝑀)) = {𝑓𝑓:(1...𝑀)⟶(1...𝑀)}
513511, 512sseqtrri 3952 . . . . . 6 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ⊆ ((1...𝑀) ↑m (1...𝑀))
514509, 513ssexi 5190 . . . . 5 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ∈ V
515508, 514xpex 7456 . . . 4 (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∈ V
516515rabex 5199 . . 3 {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ V
517516f1oen 8513 . 2 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 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})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((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))})
518507, 517syl 17 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))})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111  {cab 2776  wral 3106  wrex 3107  ∃!wreu 3108  {crab 3110  Vcvv 3441  csb 3828  cdif 3878  cun 3879  cin 3880  wss 3881  c0 4243  {csn 4525  cop 4531   class class class wbr 5030  cmpt 5110   × cxp 5517  ccnv 5518  cres 5521  cima 5522  Fun wfun 6318   Fn wfn 6319  wf 6320  1-1wf1 6321  ontowfo 6322  1-1-ontowf1o 6323  cfv 6324  (class class class)co 7135  f cof 7387  1st c1st 7669  2nd c2nd 7670  m cmap 8389  cen 8489  Fincfn 8492  cc 10524  cr 10525  0cc0 10526  1c1 10527   + caddc 10529   < clt 10664  cle 10665  cmin 10859  cn 11625  0cn0 11885  cz 11969  cuz 12231  ...cfz 12885  ..^cfzo 13028
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-of 7389  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-er 8272  df-map 8391  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-n0 11886  df-z 11970  df-uz 12232  df-fz 12886  df-fzo 13029
This theorem is referenced by:  poimirlem28  35085
  Copyright terms: Public domain W3C validator