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 34039
Description: Lemma for poimir 34068 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..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
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 474 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑁 ∈ ℕ)
3 poimirlem4.1 . . . . . . . 8 (𝜑𝐾 ∈ ℕ)
43adantr 474 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝐾 ∈ ℕ)
5 poimirlem4.2 . . . . . . . 8 (𝜑𝑀 ∈ ℕ0)
65adantr 474 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑀 ∈ ℕ0)
7 poimirlem4.3 . . . . . . . 8 (𝜑𝑀 < 𝑁)
87adantr 474 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑀 < 𝑁)
9 xp1st 7477 . . . . . . . . 9 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑡) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)))
10 elmapi 8162 . . . . . . . . 9 ((1st𝑡) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
119, 10syl 17 . . . . . . . 8 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
1211adantl 475 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
13 xp2nd 7478 . . . . . . . . 9 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑡) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
14 fvex 6459 . . . . . . . . . 10 (2nd𝑡) ∈ V
15 f1oeq1 6380 . . . . . . . . . 10 (𝑓 = (2nd𝑡) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀)))
1614, 15elab 3558 . . . . . . . . 9 ((2nd𝑡) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
1713, 16sylib 210 . . . . . . . 8 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
1817adantl 475 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
192, 4, 6, 8, 12, 18poimirlem3 34038 . . . . . 6 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((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 6459 . . . . . . . . . . . . . . . 16 (1st𝑡) ∈ V
21 snex 5140 . . . . . . . . . . . . . . . 16 {⟨(𝑀 + 1), 0⟩} ∈ V
2220, 21unex 7233 . . . . . . . . . . . . . . 15 ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∈ V
23 snex 5140 . . . . . . . . . . . . . . . 16 {⟨(𝑀 + 1), (𝑀 + 1)⟩} ∈ V
2414, 23unex 7233 . . . . . . . . . . . . . . 15 ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∈ V
2522, 24op1std 7455 . . . . . . . . . . . . . 14 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (1st𝑠) = ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}))
2622, 24op2ndd 7456 . . . . . . . . . . . . . . . . 17 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (2nd𝑠) = ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
2726imaeq1d 5719 . . . . . . . . . . . . . . . 16 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠) “ (1...𝑗)) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)))
2827xpeq1d 5384 . . . . . . . . . . . . . . 15 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠) “ (1...𝑗)) × {1}) = ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}))
2926imaeq1d 5719 . . . . . . . . . . . . . . . 16 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))))
3029xpeq1d 5384 . . . . . . . . . . . . . . 15 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))
3128, 30uneq12d 3991 . . . . . . . . . . . . . 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 6940 . . . . . . . . . . . . 13 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))))
3332uneq1d 3989 . . . . . . . . . . . 12 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
3433csbeq1d 3758 . . . . . . . . . . 11 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
3534eqeq2d 2788 . . . . . . . . . 10 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3635rexbidv 3237 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3736ralbidv 3168 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3825fveq1d 6448 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((1st𝑠)‘(𝑀 + 1)) = (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)))
3938eqeq1d 2780 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠)‘(𝑀 + 1)) = 0 ↔ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0))
4026fveq1d 6448 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠)‘(𝑀 + 1)) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)))
4140eqeq1d 2780 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1) ↔ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1)))
4237, 39, 413anbi123d 1509 . . . . . . 7 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((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 3572 . . . . . 6 (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ↔ (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘𝑓 + (((((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 244 . . . . 5 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}))
4544ralrimiva 3148 . . . 4 (𝜑 → ∀𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}))
46 fveq2 6446 . . . . . . . . . . 11 (𝑠 = 𝑡 → (1st𝑠) = (1st𝑡))
47 fveq2 6446 . . . . . . . . . . . . . 14 (𝑠 = 𝑡 → (2nd𝑠) = (2nd𝑡))
4847imaeq1d 5719 . . . . . . . . . . . . 13 (𝑠 = 𝑡 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑡) “ (1...𝑗)))
4948xpeq1d 5384 . . . . . . . . . . . 12 (𝑠 = 𝑡 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (((2nd𝑡) “ (1...𝑗)) × {1}))
5047imaeq1d 5719 . . . . . . . . . . . . 13 (𝑠 = 𝑡 → ((2nd𝑠) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑡) “ ((𝑗 + 1)...𝑀)))
5150xpeq1d 5384 . . . . . . . . . . . 12 (𝑠 = 𝑡 → (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}) = (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))
5249, 51uneq12d 3991 . . . . . . . . . . 11 (𝑠 = 𝑡 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0})))
5346, 52oveq12d 6940 . . . . . . . . . 10 (𝑠 = 𝑡 → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) = ((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))))
5453uneq1d 3989 . . . . . . . . 9 (𝑠 = 𝑡 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
5554csbeq1d 3758 . . . . . . . 8 (𝑠 = 𝑡(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
5655eqeq2d 2788 . . . . . . 7 (𝑠 = 𝑡 → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5756rexbidv 3237 . . . . . 6 (𝑠 = 𝑡 → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5857ralbidv 3168 . . . . 5 (𝑠 = 𝑡 → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5958ralrab 3578 . . . 4 (∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ↔ ∀𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}))
6045, 59sylibr 226 . . 3 (𝜑 → ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
61 xp1st 7477 . . . . . . . . . . . . . . 15 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘) ∈ ((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))))
62 elmapi 8162 . . . . . . . . . . . . . . 15 ((1st𝑘) ∈ ((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) → (1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾))
6361, 62syl 17 . . . . . . . . . . . . . 14 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾))
64 fzssp1 12701 . . . . . . . . . . . . . 14 (1...𝑀) ⊆ (1...(𝑀 + 1))
65 fssres 6320 . . . . . . . . . . . . . 14 (((1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
6663, 64, 65sylancl 580 . . . . . . . . . . . . 13 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
67 ovex 6954 . . . . . . . . . . . . . 14 (0..^𝐾) ∈ V
68 ovex 6954 . . . . . . . . . . . . . 14 (1...𝑀) ∈ V
6967, 68elmap 8169 . . . . . . . . . . . . 13 (((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)) ↔ ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
7066, 69sylibr 226 . . . . . . . . . . . 12 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)))
7170ad2antlr 717 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)))
72 xp2nd 7478 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘) ∈ {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})
73 fvex 6459 . . . . . . . . . . . . . . . . . 18 (2nd𝑘) ∈ V
74 f1oeq1 6380 . . . . . . . . . . . . . . . . . 18 (𝑓 = (2nd𝑘) → (𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) ↔ (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))))
7573, 74elab 3558 . . . . . . . . . . . . . . . . 17 ((2nd𝑘) ∈ {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))} ↔ (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)))
7672, 75sylib 210 . . . . . . . . . . . . . . . 16 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)))
77 f1of1 6390 . . . . . . . . . . . . . . . 16 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)))
7876, 77syl 17 . . . . . . . . . . . . . . 15 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)))
79 f1ores 6405 . . . . . . . . . . . . . . 15 (((2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
8078, 64, 79sylancl 580 . . . . . . . . . . . . . 14 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
8180ad2antlr 717 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
82 dff1o3 6397 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) ↔ ((2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)) ∧ Fun (2nd𝑘)))
8382simprbi 492 . . . . . . . . . . . . . . . . . 18 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → Fun (2nd𝑘))
84 imadif 6218 . . . . . . . . . . . . . . . . . 18 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
8576, 83, 843syl 18 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
8685ad2antlr 717 . . . . . . . . . . . . . . . 16 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
87 f1ofo 6398 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)))
88 foima 6371 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
8976, 87, 883syl 18 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
9089ad2antlr 717 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
91 f1ofn 6392 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘) Fn (1...(𝑀 + 1)))
9276, 91syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘) Fn (1...(𝑀 + 1)))
93 nn0p1nn 11683 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℕ0 → (𝑀 + 1) ∈ ℕ)
945, 93syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝑀 + 1) ∈ ℕ)
95 elfz1end 12688 . . . . . . . . . . . . . . . . . . . 20 ((𝑀 + 1) ∈ ℕ ↔ (𝑀 + 1) ∈ (1...(𝑀 + 1)))
9694, 95sylib 210 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝑀 + 1) ∈ (1...(𝑀 + 1)))
97 fnsnfv 6518 . . . . . . . . . . . . . . . . . . 19 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → {((2nd𝑘)‘(𝑀 + 1))} = ((2nd𝑘) “ {(𝑀 + 1)}))
9892, 96, 97syl2anr 590 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → {((2nd𝑘)‘(𝑀 + 1))} = ((2nd𝑘) “ {(𝑀 + 1)}))
99 sneq 4408 . . . . . . . . . . . . . . . . . 18 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → {((2nd𝑘)‘(𝑀 + 1))} = {(𝑀 + 1)})
10098, 99sylan9req 2835 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ {(𝑀 + 1)}) = {(𝑀 + 1)})
10190, 100difeq12d 3952 . . . . . . . . . . . . . . . 16 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
10286, 101eqtrd 2814 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
103 1z 11759 . . . . . . . . . . . . . . . . . . . . 21 1 ∈ ℤ
104 nn0uz 12028 . . . . . . . . . . . . . . . . . . . . . . 23 0 = (ℤ‘0)
105 1m1e0 11447 . . . . . . . . . . . . . . . . . . . . . . . 24 (1 − 1) = 0
106105fveq2i 6449 . . . . . . . . . . . . . . . . . . . . . . 23 (ℤ‘(1 − 1)) = (ℤ‘0)
107104, 106eqtr4i 2805 . . . . . . . . . . . . . . . . . . . . . 22 0 = (ℤ‘(1 − 1))
1085, 107syl6eleq 2869 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝑀 ∈ (ℤ‘(1 − 1)))
109 fzsuc2 12716 . . . . . . . . . . . . . . . . . . . . 21 ((1 ∈ ℤ ∧ 𝑀 ∈ (ℤ‘(1 − 1))) → (1...(𝑀 + 1)) = ((1...𝑀) ∪ {(𝑀 + 1)}))
110103, 108, 109sylancr 581 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (1...(𝑀 + 1)) = ((1...𝑀) ∪ {(𝑀 + 1)}))
111110difeq1d 3950 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (((1...𝑀) ∪ {(𝑀 + 1)}) ∖ {(𝑀 + 1)}))
112 difun2 4272 . . . . . . . . . . . . . . . . . . 19 (((1...𝑀) ∪ {(𝑀 + 1)}) ∖ {(𝑀 + 1)}) = ((1...𝑀) ∖ {(𝑀 + 1)})
113111, 112syl6eq 2830 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = ((1...𝑀) ∖ {(𝑀 + 1)}))
1145nn0red 11703 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝑀 ∈ ℝ)
115 ltp1 11215 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℝ → 𝑀 < (𝑀 + 1))
116 peano2re 10549 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑀 ∈ ℝ → (𝑀 + 1) ∈ ℝ)
117 ltnle 10456 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑀 ∈ ℝ ∧ (𝑀 + 1) ∈ ℝ) → (𝑀 < (𝑀 + 1) ↔ ¬ (𝑀 + 1) ≤ 𝑀))
118116, 117mpdan 677 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℝ → (𝑀 < (𝑀 + 1) ↔ ¬ (𝑀 + 1) ≤ 𝑀))
119115, 118mpbid 224 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℝ → ¬ (𝑀 + 1) ≤ 𝑀)
120114, 119syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ¬ (𝑀 + 1) ≤ 𝑀)
121 elfzle2 12662 . . . . . . . . . . . . . . . . . . . 20 ((𝑀 + 1) ∈ (1...𝑀) → (𝑀 + 1) ≤ 𝑀)
122120, 121nsyl 138 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ¬ (𝑀 + 1) ∈ (1...𝑀))
123 difsn 4560 . . . . . . . . . . . . . . . . . . 19 (¬ (𝑀 + 1) ∈ (1...𝑀) → ((1...𝑀) ∖ {(𝑀 + 1)}) = (1...𝑀))
124122, 123syl 17 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((1...𝑀) ∖ {(𝑀 + 1)}) = (1...𝑀))
125113, 124eqtrd 2814 . . . . . . . . . . . . . . . . 17 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
126125imaeq2d 5720 . . . . . . . . . . . . . . . 16 (𝜑 → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ (1...𝑀)))
127126ad2antrr 716 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ (1...𝑀)))
128125ad2antrr 716 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
129102, 127, 1283eqtr3d 2822 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ (1...𝑀)) = (1...𝑀))
130 f1oeq3 6382 . . . . . . . . . . . . . 14 (((2nd𝑘) “ (1...𝑀)) = (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
131129, 130syl 17 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 224 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀))
13373resex 5693 . . . . . . . . . . . . 13 ((2nd𝑘) ↾ (1...𝑀)) ∈ V
134 f1oeq1 6380 . . . . . . . . . . . . 13 (𝑓 = ((2nd𝑘) ↾ (1...𝑀)) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
135133, 134elab 3558 . . . . . . . . . . . 12 (((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀))
136132, 135sylibr 226 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
137 opelxpi 5392 . . . . . . . . . . 11 ((((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)) ∧ ((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
13871, 136, 137syl2anc 579 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
1391383ad2antr3 1198 . . . . . . . . 9 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
140 3anass 1079 . . . . . . . . . . 11 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))))
141 ancom 454 . . . . . . . . . . 11 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((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𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
142140, 141bitri 267 . . . . . . . . . 10 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((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𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
14394nnzd 11833 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝑀 + 1) ∈ ℤ)
144 uzid 12007 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ ℤ → (𝑀 + 1) ∈ (ℤ‘(𝑀 + 1)))
145 peano2uz 12047 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ (ℤ‘(𝑀 + 1)) → ((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)))
146143, 144, 1453syl 18 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)))
1475nn0zd 11832 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝜑𝑀 ∈ ℤ)
1481nnzd 11833 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝜑𝑁 ∈ ℤ)
149 zltp1le 11779 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 < 𝑁 ↔ (𝑀 + 1) ≤ 𝑁))
150 peano2z 11770 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑀 ∈ ℤ → (𝑀 + 1) ∈ ℤ)
151 eluz 12006 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝑀 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑀 + 1)) ↔ (𝑀 + 1) ≤ 𝑁))
152150, 151sylan 575 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑀 + 1)) ↔ (𝑀 + 1) ≤ 𝑁))
153149, 152bitr4d 274 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 < 𝑁𝑁 ∈ (ℤ‘(𝑀 + 1))))
154147, 148, 153syl2anc 579 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝑀 < 𝑁𝑁 ∈ (ℤ‘(𝑀 + 1))))
1557, 154mpbid 224 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝑁 ∈ (ℤ‘(𝑀 + 1)))
156 fzsplit2 12683 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)) ∧ 𝑁 ∈ (ℤ‘(𝑀 + 1))) → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)))
157146, 155, 156syl2anc 579 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)))
158 fzsn 12700 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ ℤ → ((𝑀 + 1)...(𝑀 + 1)) = {(𝑀 + 1)})
159143, 158syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((𝑀 + 1)...(𝑀 + 1)) = {(𝑀 + 1)})
160159uneq1d 3989 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)) = ({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)))
161157, 160eqtrd 2814 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((𝑀 + 1)...𝑁) = ({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)))
162161xpeq1d 5384 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (((𝑀 + 1)...𝑁) × {0}) = (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}))
163162uneq2d 3990 . . . . . . . . . . . . . . . . . . . 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 5418 . . . . . . . . . . . . . . . . . . . . . . 23 (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}) = (({(𝑀 + 1)} × {0}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
165 ovex 6954 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑀 + 1) ∈ V
166 c0ex 10370 . . . . . . . . . . . . . . . . . . . . . . . . 25 0 ∈ V
167165, 166xpsn 6672 . . . . . . . . . . . . . . . . . . . . . . . 24 ({(𝑀 + 1)} × {0}) = {⟨(𝑀 + 1), 0⟩}
168167uneq1i 3986 . . . . . . . . . . . . . . . . . . . . . . 23 (({(𝑀 + 1)} × {0}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
169164, 168eqtri 2802 . . . . . . . . . . . . . . . . . . . . . 22 (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}) = ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
170169uneq2i 3987 . . . . . . . . . . . . . . . . . . . . 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 3993 . . . . . . . . . . . . . . . . . . . . 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 2805 . . . . . . . . . . . . . . . . . . . 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, 172syl6eq 2830 . . . . . . . . . . . . . . . . . . 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 720 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (𝑀 + 1) ∈ V)
176166a1i 11 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → 0 ∈ V)
177110eqcomd 2784 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → ((1...𝑀) ∪ {(𝑀 + 1)}) = (1...(𝑀 + 1)))
178177ad3antrrr 720 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((1...𝑀) ∪ {(𝑀 + 1)}) = (1...(𝑀 + 1)))
179 fveq2 6446 . . . . . . . . . . . . . . . . . . . . . 22 (𝑛 = (𝑀 + 1) → ((1st𝑘)‘𝑛) = ((1st𝑘)‘(𝑀 + 1)))
180 fveq2 6446 . . . . . . . . . . . . . . . . . . . . . 22 (𝑛 = (𝑀 + 1) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)))
181179, 180oveq12d 6940 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 = (𝑀 + 1) → (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛)) = (((1st𝑘)‘(𝑀 + 1)) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1))))
182 simplrl 767 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘)‘(𝑀 + 1)) = 0)
183 imain 6219 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
18476, 83, 1833syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
185184ad2antlr 717 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
186 elfznn0 12751 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℕ0)
187186nn0red 11703 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℝ)
188187ltp1d 11308 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → 𝑗 < (𝑗 + 1))
189 fzdisj 12685 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 < (𝑗 + 1) → ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1))) = ∅)
190188, 189syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1))) = ∅)
191190imaeq2d 5720 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = ((2nd𝑘) “ ∅))
192 ima0 5735 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((2nd𝑘) “ ∅) = ∅
193191, 192syl6eq 2830 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
194185, 193sylan9req 2835 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
195 simplr 759 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))
19692ad2antlr 717 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) Fn (1...(𝑀 + 1)))
197 nn0p1nn 11683 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ ℕ0 → (𝑗 + 1) ∈ ℕ)
198 nnuz 12029 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ℕ = (ℤ‘1)
199197, 198syl6eleq 2869 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ ℕ0 → (𝑗 + 1) ∈ (ℤ‘1))
200 fzss1 12697 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑗 + 1) ∈ (ℤ‘1) → ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)))
201186, 199, 2003syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)))
202 elfzuz3 12656 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → 𝑀 ∈ (ℤ𝑗))
203 eluzp1p1 12018 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑀 ∈ (ℤ𝑗) → (𝑀 + 1) ∈ (ℤ‘(𝑗 + 1)))
204 eluzfz2 12666 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑀 + 1) ∈ (ℤ‘(𝑗 + 1)) → (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))
205202, 203, 2043syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))
206201, 205jca 507 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → (((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1))))
207 fnfvima 6769 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1))) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
2082073expb 1110 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
209196, 206, 208syl2an 589 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
210195, 209eqeltrrd 2860 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
211 1ex 10372 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1 ∈ V
212 fnconstg 6343 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (1 ∈ V → (((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)))
213211, 212ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗))
214 fnconstg 6343 . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 6530 . . . . . . . . . . . . . . . . . . . . . . . . . . 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 1524 . . . . . . . . . . . . . . . . . . . . . . . . . 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 579 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 6741 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) → ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)) = 0)
220210, 219syl 17 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)) = 0)
221218, 220eqtrd 2814 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = 0)
222221adantlrl 710 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 6940 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 10551 . . . . . . . . . . . . . . . . . . . . . 22 (0 + 0) = 0
225223, 224syl6eq 2830 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 2836 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 6704 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 3989 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 2814 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 8163 . . . . . . . . . . . . . . . . . . . . . . 23 ((1st𝑘) ∈ ((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) → (1st𝑘) Fn (1...(𝑀 + 1)))
23161, 230syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘) Fn (1...(𝑀 + 1)))
232 fnssres 6250 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑘) Fn (1...(𝑀 + 1)) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
233231, 64, 232sylancl 580 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
234233ad3antlr 721 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
235 simplr 759 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → 𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}))
236 fnconstg 6343 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (0 ∈ V → (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
237166, 236ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀))
238213, 237pm3.2i 464 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
239 imain 6219 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
24076, 83, 2393syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
241 fzdisj 12685 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 < (𝑗 + 1) → ((1...𝑗) ∩ ((𝑗 + 1)...𝑀)) = ∅)
242188, 241syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((1...𝑗) ∩ ((𝑗 + 1)...𝑀)) = ∅)
243242imaeq2d 5720 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = ((2nd𝑘) “ ∅))
244243, 192syl6eq 2830 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = ∅)
245240, 244sylan9req 2835 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))) = ∅)
246 fnun 6243 . . . . . . . . . . . . . . . . . . . . . . . 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 581 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
248235, 247sylan 575 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 474 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
25085ad3antlr 721 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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, 198syl6eleq 2869 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ (ℤ‘1))
253 fzsplit2 12683 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((𝑗 + 1) ∈ (ℤ‘1) ∧ 𝑀 ∈ (ℤ𝑗)) → (1...𝑀) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
254252, 202, 253syl2anc 579 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → (1...𝑀) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
255128, 254sylan9eq 2834 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
256255imaeq2d 5720 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
257250, 256eqtr3d 2816 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
258125ad3antrrr 720 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
259249, 257, 2583eqtr3rd 2823 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
260 imaundi 5799 . . . . . . . . . . . . . . . . . . . . . . . 24 ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
261259, 260syl6eq 2830 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
262261fneq2d 6227 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 249 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀))
264 fzss2 12698 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑀 ∈ (ℤ𝑗) → (1...𝑗) ⊆ (1...𝑀))
265 resima2 5681 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((1...𝑗) ⊆ (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
266202, 264, 2653syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
267266xpeq1d 5384 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) = (((2nd𝑘) “ (1...𝑗)) × {1}))
268186, 199syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ (ℤ‘1))
269 fzss1 12697 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑗 + 1) ∈ (ℤ‘1) → ((𝑗 + 1)...𝑀) ⊆ (1...𝑀))
270 resima2 5681 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑗 + 1)...𝑀) ⊆ (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
271268, 269, 2703syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
272271xpeq1d 5384 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))
273267, 272uneq12d 3991 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 ∈ (0...𝑀) → (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})))
274273adantl 475 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 6226 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 249 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 13091 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) ∈ Fin)
278 inidm 4043 . . . . . . . . . . . . . . . . . . . 20 ((1...𝑀) ∩ (1...𝑀)) = (1...𝑀)
279 fvres 6465 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 ∈ (1...𝑀) → (((1st𝑘) ↾ (1...𝑀))‘𝑛) = ((1st𝑘)‘𝑛))
280279adantl 475 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → (((1st𝑘) ↾ (1...𝑀))‘𝑛) = ((1st𝑘)‘𝑛))
281 disjsn 4478 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((1...𝑀) ∩ {(𝑀 + 1)}) = ∅ ↔ ¬ (𝑀 + 1) ∈ (1...𝑀))
282122, 281sylibr 226 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅)
283282ad3antrrr 720 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅)
284263, 283jca 507 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 6343 . . . . . . . . . . . . . . . . . . . . . . . . 25 (0 ∈ V → ({(𝑀 + 1)} × {0}) Fn {(𝑀 + 1)})
286166, 285ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . 24 ({(𝑀 + 1)} × {0}) Fn {(𝑀 + 1)}
287 fvun1 6529 . . . . . . . . . . . . . . . . . . . . . . . 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 1522 . . . . . . . . . . . . . . . . . . . . . . 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 461 . . . . . . . . . . . . . . . . . . . . . 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 575 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 11833 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ ℤ)
292186nn0cnd 11704 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℂ)
293 pncan1 10799 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (𝑗 ∈ ℂ → ((𝑗 + 1) − 1) = 𝑗)
294292, 293syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1) − 1) = 𝑗)
295294fveq2d 6450 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 (𝑗 ∈ (0...𝑀) → (ℤ‘((𝑗 + 1) − 1)) = (ℤ𝑗))
296202, 295eleqtrrd 2862 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑗 ∈ (0...𝑀) → 𝑀 ∈ (ℤ‘((𝑗 + 1) − 1)))
297 fzsuc2 12716 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (((𝑗 + 1) ∈ ℤ ∧ 𝑀 ∈ (ℤ‘((𝑗 + 1) − 1))) → ((𝑗 + 1)...(𝑀 + 1)) = (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)}))
298291, 296, 297syl2anc 579 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1)...(𝑀 + 1)) = (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)}))
299298imaeq2d 5720 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) = ((2nd𝑘) “ (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)})))
300 imaundi 5799 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((2nd𝑘) “ (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)})) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)}))
301299, 300syl6eq 2830 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})))
302301xpeq1d 5384 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})) × {0}))
303 xpundir 5418 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))
304302, 303syl6eq 2830 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
305304uneq2d 3990 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))))
306 unass 3993 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
307305, 306syl6eqr 2832 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
308307adantl 475 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 5384 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ({((2nd𝑘)‘(𝑀 + 1))} × {0}) = (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))
310309uneq2d 3990 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 474 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 2817 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 5384 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → ({((2nd𝑘)‘(𝑀 + 1))} × {0}) = ({(𝑀 + 1)} × {0}))
314313uneq2d 3990 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0})))
315312, 314sylan9eq 2834 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 642 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 6448 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 474 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 6448 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 ∈ (0...𝑀) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
320319ad2antlr 717 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 2825 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 7181 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) = (𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
323322uneq1d 3989 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})))
324323adantlrl 710 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})))
325 simplr 759 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}))
326231adantr 474 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (1st𝑘) Fn (1...(𝑀 + 1)))
327213, 215pm3.2i 464 . . . . . . . . . . . . . . . . . . . . . 22 ((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
328184, 193sylan9req 2835 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
329 fnun 6243 . . . . . . . . . . . . . . . . . . . . . 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 581 . . . . . . . . . . . . . . . . . . . . 21 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 12047 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑀 ∈ (ℤ𝑗) → (𝑀 + 1) ∈ (ℤ𝑗))
332202, 331syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → (𝑀 + 1) ∈ (ℤ𝑗))
333 fzsplit2 12683 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑗 + 1) ∈ (ℤ‘1) ∧ (𝑀 + 1) ∈ (ℤ𝑗)) → (1...(𝑀 + 1)) = ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1))))
334268, 332, 333syl2anc 579 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (1...(𝑀 + 1)) = ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1))))
335334imaeq2d 5720 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ (1...(𝑀 + 1))) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1)))))
336 imaundi 5799 . . . . . . . . . . . . . . . . . . . . . . . 24 ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
337335, 336syl6req 2831 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ((2nd𝑘) “ (1...(𝑀 + 1))))
338337, 89sylan9eqr 2836 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = (1...(𝑀 + 1)))
339338fneq2d 6227 . . . . . . . . . . . . . . . . . . . . 21 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 224 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (1...(𝑀 + 1)))
341 fzfid 13091 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (1...(𝑀 + 1)) ∈ Fin)
342 inidm 4043 . . . . . . . . . . . . . . . . . . . 20 ((1...(𝑀 + 1)) ∩ (1...(𝑀 + 1))) = (1...(𝑀 + 1))
343 eqidd 2779 . . . . . . . . . . . . . . . . . . . 20 (((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...(𝑀 + 1))) → ((1st𝑘)‘𝑛) = ((1st𝑘)‘𝑛))
344 eqidd 2779 . . . . . . . . . . . . . . . . . . . 20 (((𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 7181 . . . . . . . . . . . . . . . . . . 19 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = (𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
346345uneq1d 3989 . . . . . . . . . . . . . . . . . 18 ((𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘𝑓 + ((((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 575 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘𝑓 + ((((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 2825 . . . . . . . . . . . . . . . 16 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
349348csbeq1d 3758 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
350349eqeq2d 2788 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
351350rexbidva 3234 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
352351ralbidv 3168 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
353352biimpd 221 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
354353impr 448 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)) → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
355142, 354sylan2b 587 . . . . . . . . 9 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
356 1st2nd2 7484 . . . . . . . . . . . 12 (𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → 𝑘 = ⟨(1st𝑘), (2nd𝑘)⟩)
357356ad2antlr 717 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(1st𝑘), (2nd𝑘)⟩)
358 fnsnsplit 6721 . . . . . . . . . . . . . . . 16 (((1st𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
359231, 96, 358syl2anr 590 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
360359adantr 474 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
361125reseq2d 5642 . . . . . . . . . . . . . . . 16 (𝜑 → ((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1st𝑘) ↾ (1...𝑀)))
362361adantr 474 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1st𝑘) ↾ (1...𝑀)))
363 opeq2 4637 . . . . . . . . . . . . . . . 16 (((1st𝑘)‘(𝑀 + 1)) = 0 → ⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩ = ⟨(𝑀 + 1), 0⟩)
364363sneqd 4410 . . . . . . . . . . . . . . 15 (((1st𝑘)‘(𝑀 + 1)) = 0 → {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), 0⟩})
365 uneq12 3985 . . . . . . . . . . . . . . 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 589 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 2814 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (1st𝑘) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
368367adantrr 707 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (1st𝑘) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
369 fnsnsplit 6721 . . . . . . . . . . . . . . . 16 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
37092, 96, 369syl2anr 590 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
371370adantr 474 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
372125reseq2d 5642 . . . . . . . . . . . . . . . 16 (𝜑 → ((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) ↾ (1...𝑀)))
373372adantr 474 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) ↾ (1...𝑀)))
374 opeq2 4637 . . . . . . . . . . . . . . . 16 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → ⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩ = ⟨(𝑀 + 1), (𝑀 + 1)⟩)
375374sneqd 4410 . . . . . . . . . . . . . . 15 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), (𝑀 + 1)⟩})
376 uneq12 3985 . . . . . . . . . . . . . . 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 589 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 2814 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
379378adantrl 706 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (2nd𝑘) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
380368, 379opeq12d 4644 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (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 2814 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
3823813adantr1 1171 . . . . . . . . 9 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
383 fvex 6459 . . . . . . . . . . . . . . . . . . 19 (1st𝑘) ∈ V
384383resex 5693 . . . . . . . . . . . . . . . . . 18 ((1st𝑘) ↾ (1...𝑀)) ∈ V
385384, 133op1std 7455 . . . . . . . . . . . . . . . . 17 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (1st𝑡) = ((1st𝑘) ↾ (1...𝑀)))
386384, 133op2ndd 7456 . . . . . . . . . . . . . . . . . . . 20 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (2nd𝑡) = ((2nd𝑘) ↾ (1...𝑀)))
387386imaeq1d 5719 . . . . . . . . . . . . . . . . . . 19 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) “ (1...𝑗)) = (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)))
388387xpeq1d 5384 . . . . . . . . . . . . . . . . . 18 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((2nd𝑡) “ (1...𝑗)) × {1}) = ((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}))
389386imaeq1d 5719 . . . . . . . . . . . . . . . . . . 19 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) “ ((𝑗 + 1)...𝑀)) = (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)))
390389xpeq1d 5384 . . . . . . . . . . . . . . . . . 18 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}) = ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))
391388, 390uneq12d 3991 . . . . . . . . . . . . . . . . 17 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0})) = (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})))
392385, 391oveq12d 6940 . . . . . . . . . . . . . . . 16 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) = (((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))))
393392uneq1d 3989 . . . . . . . . . . . . . . 15 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
394393csbeq1d 3758 . . . . . . . . . . . . . 14 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
395394eqeq2d 2788 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
396395rexbidv 3237 . . . . . . . . . . . 12 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
397396ralbidv 3168 . . . . . . . . . . 11 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
398385uneq1d 3989 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
399386uneq1d 3989 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
400398, 399opeq12d 4644 . . . . . . . . . . . 12 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
401400eqeq2d 2788 . . . . . . . . . . 11 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
402397, 401anbi12d 624 . . . . . . . . . 10 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)))
403402rspcev 3511 . . . . . . . . 9 ((⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘𝑓 + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)) → ∃𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
404139, 355, 382, 403syl12anc 827 . . . . . . . 8 (((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ∃𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
405404ex 403 . . . . . . 7 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)))
406 elrabi 3567 . . . . . . . . . . 11 (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} → 𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
407 elrabi 3567 . . . . . . . . . . 11 (𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} → 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
408406, 407anim12i 606 . . . . . . . . . 10 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ∧ 𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}) → (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})))
409 eqtr2 2800 . . . . . . . . . . . 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 5176 . . . . . . . . . . . . 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 3944 . . . . . . . . . . . . . . 15 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) → (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = (((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}))
412 difun2 4272 . . . . . . . . . . . . . . 15 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩})
413 difun2 4272 . . . . . . . . . . . . . . 15 (((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩})
414411, 412, 4133eqtr3g 2837 . . . . . . . . . . . . . 14 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}))
415 difeq1 3944 . . . . . . . . . . . . . . 15 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) → (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
416 difun2 4272 . . . . . . . . . . . . . . 15 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})
417 difun2 4272 . . . . . . . . . . . . . . 15 (((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})
418415, 416, 4173eqtr3g 2837 . . . . . . . . . . . . . 14 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
419414, 418anim12i 606 . . . . . . . . . . . . 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 209 . . . . . . . . . . . 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 8163 . . . . . . . . . . . . . . . . . . 19 ((1st𝑡) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)) → (1st𝑡) Fn (1...𝑀))
423 fnop 6240 . . . . . . . . . . . . . . . . . . . 20 (((1st𝑡) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡)) → (𝑀 + 1) ∈ (1...𝑀))
424423ex 403 . . . . . . . . . . . . . . . . . . 19 ((1st𝑡) Fn (1...𝑀) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
4259, 422, 4243syl 18 . . . . . . . . . . . . . . . . . 18 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
426425, 122nsyli 157 . . . . . . . . . . . . . . . . 17 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡)))
427426impcom 398 . . . . . . . . . . . . . . . 16 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡))
428 difsn 4560 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑡))
429427, 428syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑡))
430 xp1st 7477 . . . . . . . . . . . . . . . . . . 19 (𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑛) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)))
431 elmapfn 8163 . . . . . . . . . . . . . . . . . . 19 ((1st𝑛) ∈ ((0..^𝐾) ↑𝑚 (1...𝑀)) → (1st𝑛) Fn (1...𝑀))
432 fnop 6240 . . . . . . . . . . . . . . . . . . . 20 (((1st𝑛) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛)) → (𝑀 + 1) ∈ (1...𝑀))
433432ex 403 . . . . . . . . . . . . . . . . . . 19 ((1st𝑛) Fn (1...𝑀) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
434430, 431, 4333syl 18 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
435434, 122nsyli 157 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛)))
436435impcom 398 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛))
437 difsn 4560 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑛))
438436, 437syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑛))
439429, 438eqeqan12d 2794 . . . . . . . . . . . . . 14 (((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) ∧ (𝜑𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ↔ (1st𝑡) = (1st𝑛)))
440439anandis 668 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ↔ (1st𝑡) = (1st𝑛)))
441 f1ofn 6392 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀) → (2nd𝑡) Fn (1...𝑀))
442 fnop 6240 . . . . . . . . . . . . . . . . . . . 20 (((2nd𝑡) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡)) → (𝑀 + 1) ∈ (1...𝑀))
443442ex 403 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑡) Fn (1...𝑀) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
44417, 441, 4433syl 18 . . . . . . . . . . . . . . . . . 18 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
445444, 122nsyli 157 . . . . . . . . . . . . . . . . 17 (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡)))
446445impcom 398 . . . . . . . . . . . . . . . 16 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡))
447 difsn 4560 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑡))
448446, 447syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑡))
449 xp2nd 7478 . . . . . . . . . . . . . . . . . . . 20 (𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑛) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
450 fvex 6459 . . . . . . . . . . . . . . . . . . . . 21 (2nd𝑛) ∈ V
451 f1oeq1 6380 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = (2nd𝑛) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀)))
452450, 451elab 3558 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑛) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀))
453449, 452sylib 210 . . . . . . . . . . . . . . . . . . 19 (𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀))
454 f1ofn 6392 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀) → (2nd𝑛) Fn (1...𝑀))
455 fnop 6240 . . . . . . . . . . . . . . . . . . . 20 (((2nd𝑛) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛)) → (𝑀 + 1) ∈ (1...𝑀))
456455ex 403 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑛) Fn (1...𝑀) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
457453, 454, 4563syl 18 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
458457, 122nsyli 157 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛)))
459458impcom 398 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛))
460 difsn 4560 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑛))
461459, 460syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑛))
462448, 461eqeqan12d 2794 . . . . . . . . . . . . . 14 (((𝜑𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) ∧ (𝜑𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ↔ (2nd𝑡) = (2nd𝑛)))
463462anandis 668 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ↔ (2nd𝑡) = (2nd𝑛)))
464440, 463anbi12d 624 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})) ↔ ((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛))))
465 xpopth 7486 . . . . . . . . . . . . 13 ((𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛)) ↔ 𝑡 = 𝑛))
466465adantl 475 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛)) ↔ 𝑡 = 𝑛))
467464, 466bitrd 271 . . . . . . . . . . 11 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})) ↔ 𝑡 = 𝑛))
468421, 467syl5ib 236 . . . . . . . . . 10 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
469408, 468sylan2 586 . . . . . . . . 9 ((𝜑 ∧ (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ∧ 𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵})) → ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
470469ralrimivva 3153 . . . . . . . 8 (𝜑 → ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
471470adantr 474 . . . . . . 7 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
472405, 471jctird 522 . . . . . 6 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (∃𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))))
473 fveq2 6446 . . . . . . . . . . 11 (𝑡 = 𝑛 → (1st𝑡) = (1st𝑛))
474473uneq1d 3989 . . . . . . . . . 10 (𝑡 = 𝑛 → ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}))
475 fveq2 6446 . . . . . . . . . . 11 (𝑡 = 𝑛 → (2nd𝑡) = (2nd𝑛))
476475uneq1d 3989 . . . . . . . . . 10 (𝑡 = 𝑛 → ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
477474, 476opeq12d 4644 . . . . . . . . 9 (𝑡 = 𝑛 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
478477eqeq2d 2788 . . . . . . . 8 (𝑡 = 𝑛 → (𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
479478reu4 3612 . . . . . . 7 (∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ (∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
48058rexrab 3580 . . . . . . . 8 (∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ ∃𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
481480anbi1i 617 . . . . . . 7 ((∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)) ↔ (∃𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
482479, 481bitri 267 . . . . . 6 (∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ (∃𝑡 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘𝑓 + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
483472, 482syl6ibr 244 . . . . 5 ((𝜑𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
484483ralrimiva 3148 . . . 4 (𝜑 → ∀𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
485 fveq2 6446 . . . . . . . . . . . 12 (𝑠 = 𝑘 → (1st𝑠) = (1st𝑘))
486 fveq2 6446 . . . . . . . . . . . . . . 15 (𝑠 = 𝑘 → (2nd𝑠) = (2nd𝑘))
487486imaeq1d 5719 . . . . . . . . . . . . . 14 (𝑠 = 𝑘 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
488487xpeq1d 5384 . . . . . . . . . . . . 13 (𝑠 = 𝑘 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (((2nd𝑘) “ (1...𝑗)) × {1}))
489486imaeq1d 5719 . . . . . . . . . . . . . 14 (𝑠 = 𝑘 → ((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) = ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
490489xpeq1d 5384 . . . . . . . . . . . . 13 (𝑠 = 𝑘 → (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))
491488, 490uneq12d 3991 . . . . . . . . . . . 12 (𝑠 = 𝑘 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})))
492485, 491oveq12d 6940 . . . . . . . . . . 11 (𝑠 = 𝑘 → ((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = ((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))))
493492uneq1d 3989 . . . . . . . . . 10 (𝑠 = 𝑘 → (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
494493csbeq1d 3758 . . . . . . . . 9 (𝑠 = 𝑘(((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
495494eqeq2d 2788 . . . . . . . 8 (𝑠 = 𝑘 → (𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
496495rexbidv 3237 . . . . . . 7 (𝑠 = 𝑘 → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
497496ralbidv 3168 . . . . . 6 (𝑠 = 𝑘 → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
498485fveq1d 6448 . . . . . . 7 (𝑠 = 𝑘 → ((1st𝑠)‘(𝑀 + 1)) = ((1st𝑘)‘(𝑀 + 1)))
499498eqeq1d 2780 . . . . . 6 (𝑠 = 𝑘 → (((1st𝑠)‘(𝑀 + 1)) = 0 ↔ ((1st𝑘)‘(𝑀 + 1)) = 0))
500486fveq1d 6448 . . . . . . 7 (𝑠 = 𝑘 → ((2nd𝑠)‘(𝑀 + 1)) = ((2nd𝑘)‘(𝑀 + 1)))
501500eqeq1d 2780 . . . . . 6 (𝑠 = 𝑘 → (((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1) ↔ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)))
502497, 499, 5013anbi123d 1509 . . . . 5 (𝑠 = 𝑘 → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))))
503502ralrab 3578 . . . 4 (∀𝑘 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ ∀𝑘 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘𝑓 + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
504484, 503sylibr 226 . . 3 (𝜑 → ∀𝑘 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
505 eqid 2778 . . . 4 (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) = (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
506505f1ompt 6645 . . 3 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩):{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ↔ (∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ∧ ∀𝑘 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
50760, 504, 506sylanbrc 578 . 2 (𝜑 → (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩):{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
508 ovex 6954 . . . . 5 ((0..^𝐾) ↑𝑚 (1...𝑀)) ∈ V
509 ovex 6954 . . . . . 6 ((1...𝑀) ↑𝑚 (1...𝑀)) ∈ V
510 f1of 6391 . . . . . . . 8 (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) → 𝑓:(1...𝑀)⟶(1...𝑀))
511510ss2abi 3895 . . . . . . 7 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ⊆ {𝑓𝑓:(1...𝑀)⟶(1...𝑀)}
51268, 68mapval 8152 . . . . . . 7 ((1...𝑀) ↑𝑚 (1...𝑀)) = {𝑓𝑓:(1...𝑀)⟶(1...𝑀)}
513511, 512sseqtr4i 3857 . . . . . 6 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ⊆ ((1...𝑀) ↑𝑚 (1...𝑀))
514509, 513ssexi 5040 . . . . 5 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ∈ V
515508, 514xpex 7240 . . . 4 (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∈ V
516515rabex 5049 . . 3 {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ V
517516f1oen 8262 . 2 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩):{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
518507, 517syl 17 1 (𝜑 → {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑𝑚 (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘𝑓 + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 198  wa 386  w3a 1071   = wceq 1601  wcel 2107  {cab 2763  wral 3090  wrex 3091  ∃!wreu 3092  {crab 3094  Vcvv 3398  csb 3751  cdif 3789  cun 3790  cin 3791  wss 3792  c0 4141  {csn 4398  cop 4404   class class class wbr 4886  cmpt 4965   × cxp 5353  ccnv 5354  cres 5357  cima 5358  Fun wfun 6129   Fn wfn 6130  wf 6131  1-1wf1 6132  ontowfo 6133  1-1-ontowf1o 6134  cfv 6135  (class class class)co 6922  𝑓 cof 7172  1st c1st 7443  2nd c2nd 7444  𝑚 cmap 8140  cen 8238  Fincfn 8241  cc 10270  cr 10271  0cc0 10272  1c1 10273   + caddc 10275   < clt 10411  cle 10412  cmin 10606  cn 11374  0cn0 11642  cz 11728  cuz 11992  ...cfz 12643  ..^cfzo 12784
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1839  ax-4 1853  ax-5 1953  ax-6 2021  ax-7 2055  ax-8 2109  ax-9 2116  ax-10 2135  ax-11 2150  ax-12 2163  ax-13 2334  ax-ext 2754  ax-rep 5006  ax-sep 5017  ax-nul 5025  ax-pow 5077  ax-pr 5138  ax-un 7226  ax-cnex 10328  ax-resscn 10329  ax-1cn 10330  ax-icn 10331  ax-addcl 10332  ax-addrcl 10333  ax-mulcl 10334  ax-mulrcl 10335  ax-mulcom 10336  ax-addass 10337  ax-mulass 10338  ax-distr 10339  ax-i2m1 10340  ax-1ne0 10341  ax-1rid 10342  ax-rnegex 10343  ax-rrecex 10344  ax-cnre 10345  ax-pre-lttri 10346  ax-pre-lttrn 10347  ax-pre-ltadd 10348  ax-pre-mulgt0 10349
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 837  df-3or 1072  df-3an 1073  df-tru 1605  df-ex 1824  df-nf 1828  df-sb 2012  df-mo 2551  df-eu 2587  df-clab 2764  df-cleq 2770  df-clel 2774  df-nfc 2921  df-ne 2970  df-nel 3076  df-ral 3095  df-rex 3096  df-reu 3097  df-rmo 3098  df-rab 3099  df-v 3400  df-sbc 3653  df-csb 3752  df-dif 3795  df-un 3797  df-in 3799  df-ss 3806  df-pss 3808  df-nul 4142  df-if 4308  df-pw 4381  df-sn 4399  df-pr 4401  df-tp 4403  df-op 4405  df-uni 4672  df-iun 4755  df-br 4887  df-opab 4949  df-mpt 4966  df-tr 4988  df-id 5261  df-eprel 5266  df-po 5274  df-so 5275  df-fr 5314  df-we 5316  df-xp 5361  df-rel 5362  df-cnv 5363  df-co 5364  df-dm 5365  df-rn 5366  df-res 5367  df-ima 5368  df-pred 5933  df-ord 5979  df-on 5980  df-lim 5981  df-suc 5982  df-iota 6099  df-fun 6137  df-fn 6138  df-f 6139  df-f1 6140  df-fo 6141  df-f1o 6142  df-fv 6143  df-riota 6883  df-ov 6925  df-oprab 6926  df-mpt2 6927  df-of 7174  df-om 7344  df-1st 7445  df-2nd 7446  df-wrecs 7689  df-recs 7751  df-rdg 7789  df-1o 7843  df-er 8026  df-map 8142  df-en 8242  df-dom 8243  df-sdom 8244  df-fin 8245  df-pnf 10413  df-mnf 10414  df-xr 10415  df-ltxr 10416  df-le 10417  df-sub 10608  df-neg 10609  df-nn 11375  df-n0 11643  df-z 11729  df-uz 11993  df-fz 12644  df-fzo 12785
This theorem is referenced by:  poimirlem28  34063
  Copyright terms: Public domain W3C validator