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 34911
Description: Lemma for poimir 34940 connecting the admissible faces on the back face of the (𝑀 + 1)-cube to admissible simplices in the 𝑀-cube. (Contributed by Brendan Leahy, 21-Aug-2020.)
Hypotheses
Ref Expression
poimir.0 (𝜑𝑁 ∈ ℕ)
poimirlem4.1 (𝜑𝐾 ∈ ℕ)
poimirlem4.2 (𝜑𝑀 ∈ ℕ0)
poimirlem4.3 (𝜑𝑀 < 𝑁)
Assertion
Ref Expression
poimirlem4 (𝜑 → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
Distinct variable groups:   𝑓,𝑖,𝑗,𝑝,𝑠   𝜑,𝑗   𝑗,𝑀   𝑗,𝑁   𝜑,𝑖,𝑝,𝑠   𝐵,𝑓,𝑖,𝑗,𝑠   𝑓,𝐾,𝑖,𝑗,𝑝,𝑠   𝑓,𝑀,𝑖,𝑝,𝑠   𝑓,𝑁,𝑖,𝑝,𝑠
Allowed substitution hints:   𝜑(𝑓)   𝐵(𝑝)

Proof of Theorem poimirlem4
Dummy variables 𝑘 𝑛 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 poimir.0 . . . . . . . 8 (𝜑𝑁 ∈ ℕ)
21adantr 483 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑁 ∈ ℕ)
3 poimirlem4.1 . . . . . . . 8 (𝜑𝐾 ∈ ℕ)
43adantr 483 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝐾 ∈ ℕ)
5 poimirlem4.2 . . . . . . . 8 (𝜑𝑀 ∈ ℕ0)
65adantr 483 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑀 ∈ ℕ0)
7 poimirlem4.3 . . . . . . . 8 (𝜑𝑀 < 𝑁)
87adantr 483 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → 𝑀 < 𝑁)
9 xp1st 7721 . . . . . . . . 9 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑡) ∈ ((0..^𝐾) ↑m (1...𝑀)))
10 elmapi 8428 . . . . . . . . 9 ((1st𝑡) ∈ ((0..^𝐾) ↑m (1...𝑀)) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
119, 10syl 17 . . . . . . . 8 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
1211adantl 484 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (1st𝑡):(1...𝑀)⟶(0..^𝐾))
13 xp2nd 7722 . . . . . . . . 9 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑡) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
14 fvex 6683 . . . . . . . . . 10 (2nd𝑡) ∈ V
15 f1oeq1 6604 . . . . . . . . . 10 (𝑓 = (2nd𝑡) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀)))
1614, 15elab 3667 . . . . . . . . 9 ((2nd𝑡) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
1713, 16sylib 220 . . . . . . . 8 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
1817adantl 484 . . . . . . 7 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀))
192, 4, 6, 8, 12, 18poimirlem3 34910 . . . . . 6 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0 ∧ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1)))))
20 fvex 6683 . . . . . . . . . . . . . . . 16 (1st𝑡) ∈ V
21 snex 5332 . . . . . . . . . . . . . . . 16 {⟨(𝑀 + 1), 0⟩} ∈ V
2220, 21unex 7469 . . . . . . . . . . . . . . 15 ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∈ V
23 snex 5332 . . . . . . . . . . . . . . . 16 {⟨(𝑀 + 1), (𝑀 + 1)⟩} ∈ V
2414, 23unex 7469 . . . . . . . . . . . . . . 15 ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∈ V
2522, 24op1std 7699 . . . . . . . . . . . . . 14 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (1st𝑠) = ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}))
2622, 24op2ndd 7700 . . . . . . . . . . . . . . . . 17 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (2nd𝑠) = ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
2726imaeq1d 5928 . . . . . . . . . . . . . . . 16 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠) “ (1...𝑗)) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)))
2827xpeq1d 5584 . . . . . . . . . . . . . . 15 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠) “ (1...𝑗)) × {1}) = ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}))
2926imaeq1d 5928 . . . . . . . . . . . . . . . 16 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))))
3029xpeq1d 5584 . . . . . . . . . . . . . . 15 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))
3128, 30uneq12d 4140 . . . . . . . . . . . . . 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 7174 . . . . . . . . . . . . 13 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))))
3332uneq1d 4138 . . . . . . . . . . . 12 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
3433csbeq1d 3887 . . . . . . . . . . 11 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
3534eqeq2d 2832 . . . . . . . . . 10 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3635rexbidv 3297 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3736ralbidv 3197 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
3825fveq1d 6672 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((1st𝑠)‘(𝑀 + 1)) = (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)))
3938eqeq1d 2823 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((1st𝑠)‘(𝑀 + 1)) = 0 ↔ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0))
4026fveq1d 6672 . . . . . . . . 9 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((2nd𝑠)‘(𝑀 + 1)) = (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)))
4140eqeq1d 2823 . . . . . . . 8 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → (((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1) ↔ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1)))
4237, 39, 413anbi123d 1432 . . . . . . 7 (𝑠 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0 ∧ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1))))
4342elrab 3680 . . . . . 6 (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ↔ (⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∘f + (((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩})‘(𝑀 + 1)) = 0 ∧ (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})‘(𝑀 + 1)) = (𝑀 + 1))))
4419, 43syl6ibr 254 . . . . 5 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}))
4544ralrimiva 3182 . . . 4 (𝜑 → ∀𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}))
46 fveq2 6670 . . . . . . . . . . 11 (𝑠 = 𝑡 → (1st𝑠) = (1st𝑡))
47 fveq2 6670 . . . . . . . . . . . . . 14 (𝑠 = 𝑡 → (2nd𝑠) = (2nd𝑡))
4847imaeq1d 5928 . . . . . . . . . . . . 13 (𝑠 = 𝑡 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑡) “ (1...𝑗)))
4948xpeq1d 5584 . . . . . . . . . . . 12 (𝑠 = 𝑡 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (((2nd𝑡) “ (1...𝑗)) × {1}))
5047imaeq1d 5928 . . . . . . . . . . . . 13 (𝑠 = 𝑡 → ((2nd𝑠) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑡) “ ((𝑗 + 1)...𝑀)))
5150xpeq1d 5584 . . . . . . . . . . . 12 (𝑠 = 𝑡 → (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}) = (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))
5249, 51uneq12d 4140 . . . . . . . . . . 11 (𝑠 = 𝑡 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0})))
5346, 52oveq12d 7174 . . . . . . . . . 10 (𝑠 = 𝑡 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) = ((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))))
5453uneq1d 4138 . . . . . . . . 9 (𝑠 = 𝑡 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
5554csbeq1d 3887 . . . . . . . 8 (𝑠 = 𝑡(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
5655eqeq2d 2832 . . . . . . 7 (𝑠 = 𝑡 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5756rexbidv 3297 . . . . . 6 (𝑠 = 𝑡 → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5857ralbidv 3197 . . . . 5 (𝑠 = 𝑡 → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
5958ralrab 3685 . . . 4 (∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ↔ ∀𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}))
6045, 59sylibr 236 . . 3 (𝜑 → ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
61 xp1st 7721 . . . . . . . . . . . . . . 15 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘) ∈ ((0..^𝐾) ↑m (1...(𝑀 + 1))))
62 elmapi 8428 . . . . . . . . . . . . . . 15 ((1st𝑘) ∈ ((0..^𝐾) ↑m (1...(𝑀 + 1))) → (1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾))
6361, 62syl 17 . . . . . . . . . . . . . 14 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾))
64 fzssp1 12951 . . . . . . . . . . . . . 14 (1...𝑀) ⊆ (1...(𝑀 + 1))
65 fssres 6544 . . . . . . . . . . . . . 14 (((1st𝑘):(1...(𝑀 + 1))⟶(0..^𝐾) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
6663, 64, 65sylancl 588 . . . . . . . . . . . . 13 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
67 ovex 7189 . . . . . . . . . . . . . 14 (0..^𝐾) ∈ V
68 ovex 7189 . . . . . . . . . . . . . 14 (1...𝑀) ∈ V
6967, 68elmap 8435 . . . . . . . . . . . . 13 (((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)) ↔ ((1st𝑘) ↾ (1...𝑀)):(1...𝑀)⟶(0..^𝐾))
7066, 69sylibr 236 . . . . . . . . . . . 12 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)))
7170ad2antlr 725 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)))
72 xp2nd 7722 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘) ∈ {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})
73 fvex 6683 . . . . . . . . . . . . . . . . . 18 (2nd𝑘) ∈ V
74 f1oeq1 6604 . . . . . . . . . . . . . . . . . 18 (𝑓 = (2nd𝑘) → (𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) ↔ (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))))
7573, 74elab 3667 . . . . . . . . . . . . . . . . 17 ((2nd𝑘) ∈ {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))} ↔ (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)))
7672, 75sylib 220 . . . . . . . . . . . . . . . 16 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)))
77 f1of1 6614 . . . . . . . . . . . . . . . 16 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)))
7876, 77syl 17 . . . . . . . . . . . . . . 15 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)))
79 f1ores 6629 . . . . . . . . . . . . . . 15 (((2nd𝑘):(1...(𝑀 + 1))–1-1→(1...(𝑀 + 1)) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
8078, 64, 79sylancl 588 . . . . . . . . . . . . . 14 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
8180ad2antlr 725 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)))
82 dff1o3 6621 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) ↔ ((2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)) ∧ Fun (2nd𝑘)))
8382simprbi 499 . . . . . . . . . . . . . . . . . 18 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → Fun (2nd𝑘))
84 imadif 6438 . . . . . . . . . . . . . . . . . 18 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
8576, 83, 843syl 18 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
8685ad2antlr 725 . . . . . . . . . . . . . . . 16 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
87 f1ofo 6622 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)))
88 foima 6595 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑘):(1...(𝑀 + 1))–onto→(1...(𝑀 + 1)) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
8976, 87, 883syl 18 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
9089ad2antlr 725 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ (1...(𝑀 + 1))) = (1...(𝑀 + 1)))
91 f1ofn 6616 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑘):(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1)) → (2nd𝑘) Fn (1...(𝑀 + 1)))
9276, 91syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (2nd𝑘) Fn (1...(𝑀 + 1)))
93 nn0p1nn 11937 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℕ0 → (𝑀 + 1) ∈ ℕ)
945, 93syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝑀 + 1) ∈ ℕ)
95 elfz1end 12938 . . . . . . . . . . . . . . . . . . . 20 ((𝑀 + 1) ∈ ℕ ↔ (𝑀 + 1) ∈ (1...(𝑀 + 1)))
9694, 95sylib 220 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝑀 + 1) ∈ (1...(𝑀 + 1)))
97 fnsnfv 6743 . . . . . . . . . . . . . . . . . . 19 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → {((2nd𝑘)‘(𝑀 + 1))} = ((2nd𝑘) “ {(𝑀 + 1)}))
9892, 96, 97syl2anr 598 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → {((2nd𝑘)‘(𝑀 + 1))} = ((2nd𝑘) “ {(𝑀 + 1)}))
99 sneq 4577 . . . . . . . . . . . . . . . . . 18 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → {((2nd𝑘)‘(𝑀 + 1))} = {(𝑀 + 1)})
10098, 99sylan9req 2877 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ {(𝑀 + 1)}) = {(𝑀 + 1)})
10190, 100difeq12d 4100 . . . . . . . . . . . . . . . 16 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
10286, 101eqtrd 2856 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
103 1z 12013 . . . . . . . . . . . . . . . . . . . . 21 1 ∈ ℤ
104 nn0uz 12281 . . . . . . . . . . . . . . . . . . . . . . 23 0 = (ℤ‘0)
105 1m1e0 11710 . . . . . . . . . . . . . . . . . . . . . . . 24 (1 − 1) = 0
106105fveq2i 6673 . . . . . . . . . . . . . . . . . . . . . . 23 (ℤ‘(1 − 1)) = (ℤ‘0)
107104, 106eqtr4i 2847 . . . . . . . . . . . . . . . . . . . . . 22 0 = (ℤ‘(1 − 1))
1085, 107eleqtrdi 2923 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝑀 ∈ (ℤ‘(1 − 1)))
109 fzsuc2 12966 . . . . . . . . . . . . . . . . . . . . 21 ((1 ∈ ℤ ∧ 𝑀 ∈ (ℤ‘(1 − 1))) → (1...(𝑀 + 1)) = ((1...𝑀) ∪ {(𝑀 + 1)}))
110103, 108, 109sylancr 589 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (1...(𝑀 + 1)) = ((1...𝑀) ∪ {(𝑀 + 1)}))
111110difeq1d 4098 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (((1...𝑀) ∪ {(𝑀 + 1)}) ∖ {(𝑀 + 1)}))
112 difun2 4429 . . . . . . . . . . . . . . . . . . 19 (((1...𝑀) ∪ {(𝑀 + 1)}) ∖ {(𝑀 + 1)}) = ((1...𝑀) ∖ {(𝑀 + 1)})
113111, 112syl6eq 2872 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = ((1...𝑀) ∖ {(𝑀 + 1)}))
1145nn0red 11957 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝑀 ∈ ℝ)
115 ltp1 11480 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℝ → 𝑀 < (𝑀 + 1))
116 peano2re 10813 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑀 ∈ ℝ → (𝑀 + 1) ∈ ℝ)
117 ltnle 10720 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑀 ∈ ℝ ∧ (𝑀 + 1) ∈ ℝ) → (𝑀 < (𝑀 + 1) ↔ ¬ (𝑀 + 1) ≤ 𝑀))
118116, 117mpdan 685 . . . . . . . . . . . . . . . . . . . . . 22 (𝑀 ∈ ℝ → (𝑀 < (𝑀 + 1) ↔ ¬ (𝑀 + 1) ≤ 𝑀))
119115, 118mpbid 234 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℝ → ¬ (𝑀 + 1) ≤ 𝑀)
120114, 119syl 17 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → ¬ (𝑀 + 1) ≤ 𝑀)
121 elfzle2 12912 . . . . . . . . . . . . . . . . . . . 20 ((𝑀 + 1) ∈ (1...𝑀) → (𝑀 + 1) ≤ 𝑀)
122120, 121nsyl 142 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ¬ (𝑀 + 1) ∈ (1...𝑀))
123 difsn 4731 . . . . . . . . . . . . . . . . . . 19 (¬ (𝑀 + 1) ∈ (1...𝑀) → ((1...𝑀) ∖ {(𝑀 + 1)}) = (1...𝑀))
124122, 123syl 17 . . . . . . . . . . . . . . . . . 18 (𝜑 → ((1...𝑀) ∖ {(𝑀 + 1)}) = (1...𝑀))
125113, 124eqtrd 2856 . . . . . . . . . . . . . . . . 17 (𝜑 → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
126125imaeq2d 5929 . . . . . . . . . . . . . . . 16 (𝜑 → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ (1...𝑀)))
127126ad2antrr 724 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ (1...𝑀)))
128125ad2antrr 724 . . . . . . . . . . . . . . 15 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
129102, 127, 1283eqtr3d 2864 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ (1...𝑀)) = (1...𝑀))
130 f1oeq3 6606 . . . . . . . . . . . . . 14 (((2nd𝑘) “ (1...𝑀)) = (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
131129, 130syl 17 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→((2nd𝑘) “ (1...𝑀)) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
13281, 131mpbid 234 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀))
13373resex 5899 . . . . . . . . . . . . 13 ((2nd𝑘) ↾ (1...𝑀)) ∈ V
134 f1oeq1 6604 . . . . . . . . . . . . 13 (𝑓 = ((2nd𝑘) ↾ (1...𝑀)) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀)))
135133, 134elab 3667 . . . . . . . . . . . 12 (((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ ((2nd𝑘) ↾ (1...𝑀)):(1...𝑀)–1-1-onto→(1...𝑀))
136132, 135sylibr 236 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
137 opelxpi 5592 . . . . . . . . . . 11 ((((1st𝑘) ↾ (1...𝑀)) ∈ ((0..^𝐾) ↑m (1...𝑀)) ∧ ((2nd𝑘) ↾ (1...𝑀)) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
13871, 136, 137syl2anc 586 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
1391383ad2antr3 1186 . . . . . . . . 9 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
140 3anass 1091 . . . . . . . . . . 11 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))))
141 ancom 463 . . . . . . . . . . 11 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ↔ ((((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
142140, 141bitri 277 . . . . . . . . . 10 ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ ((((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
14394nnzd 12087 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝑀 + 1) ∈ ℤ)
144 uzid 12259 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ ℤ → (𝑀 + 1) ∈ (ℤ‘(𝑀 + 1)))
145 peano2uz 12302 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ (ℤ‘(𝑀 + 1)) → ((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)))
146143, 144, 1453syl 18 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)))
1475nn0zd 12086 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝜑𝑀 ∈ ℤ)
1481nnzd 12087 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝜑𝑁 ∈ ℤ)
149 zltp1le 12033 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 < 𝑁 ↔ (𝑀 + 1) ≤ 𝑁))
150 peano2z 12024 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑀 ∈ ℤ → (𝑀 + 1) ∈ ℤ)
151 eluz 12258 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝑀 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑀 + 1)) ↔ (𝑀 + 1) ≤ 𝑁))
152150, 151sylan 582 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ‘(𝑀 + 1)) ↔ (𝑀 + 1) ≤ 𝑁))
153149, 152bitr4d 284 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 < 𝑁𝑁 ∈ (ℤ‘(𝑀 + 1))))
154147, 148, 153syl2anc 586 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝜑 → (𝑀 < 𝑁𝑁 ∈ (ℤ‘(𝑀 + 1))))
1557, 154mpbid 234 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑𝑁 ∈ (ℤ‘(𝑀 + 1)))
156 fzsplit2 12933 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑀 + 1) + 1) ∈ (ℤ‘(𝑀 + 1)) ∧ 𝑁 ∈ (ℤ‘(𝑀 + 1))) → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)))
157146, 155, 156syl2anc 586 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → ((𝑀 + 1)...𝑁) = (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)))
158 fzsn 12950 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑀 + 1) ∈ ℤ → ((𝑀 + 1)...(𝑀 + 1)) = {(𝑀 + 1)})
159143, 158syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((𝑀 + 1)...(𝑀 + 1)) = {(𝑀 + 1)})
160159uneq1d 4138 . . . . . . . . . . . . . . . . . . . . . . 23 (𝜑 → (((𝑀 + 1)...(𝑀 + 1)) ∪ (((𝑀 + 1) + 1)...𝑁)) = ({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)))
161157, 160eqtrd 2856 . . . . . . . . . . . . . . . . . . . . . 22 (𝜑 → ((𝑀 + 1)...𝑁) = ({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)))
162161xpeq1d 5584 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (((𝑀 + 1)...𝑁) × {0}) = (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}))
163162uneq2d 4139 . . . . . . . . . . . . . . . . . . . 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 5621 . . . . . . . . . . . . . . . . . . . . . . 23 (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}) = (({(𝑀 + 1)} × {0}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
165 ovex 7189 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑀 + 1) ∈ V
166 c0ex 10635 . . . . . . . . . . . . . . . . . . . . . . . . 25 0 ∈ V
167165, 166xpsn 6903 . . . . . . . . . . . . . . . . . . . . . . . 24 ({(𝑀 + 1)} × {0}) = {⟨(𝑀 + 1), 0⟩}
168167uneq1i 4135 . . . . . . . . . . . . . . . . . . . . . . 23 (({(𝑀 + 1)} × {0}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
169164, 168eqtri 2844 . . . . . . . . . . . . . . . . . . . . . 22 (({(𝑀 + 1)} ∪ (((𝑀 + 1) + 1)...𝑁)) × {0}) = ({⟨(𝑀 + 1), 0⟩} ∪ ((((𝑀 + 1) + 1)...𝑁) × {0}))
170169uneq2i 4136 . . . . . . . . . . . . . . . . . . . . 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 4142 . . . . . . . . . . . . . . . . . . . . 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 2847 . . . . . . . . . . . . . . . . . . . 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 2872 . . . . . . . . . . . . . . . . . . 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 728 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})) = (((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
175165a1i 11 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (𝑀 + 1) ∈ V)
176166a1i 11 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → 0 ∈ V)
177110eqcomd 2827 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → ((1...𝑀) ∪ {(𝑀 + 1)}) = (1...(𝑀 + 1)))
178177ad3antrrr 728 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((1...𝑀) ∪ {(𝑀 + 1)}) = (1...(𝑀 + 1)))
179 fveq2 6670 . . . . . . . . . . . . . . . . . . . . . 22 (𝑛 = (𝑀 + 1) → ((1st𝑘)‘𝑛) = ((1st𝑘)‘(𝑀 + 1)))
180 fveq2 6670 . . . . . . . . . . . . . . . . . . . . . 22 (𝑛 = (𝑀 + 1) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)))
181179, 180oveq12d 7174 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 = (𝑀 + 1) → (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛)) = (((1st𝑘)‘(𝑀 + 1)) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1))))
182 simplrl 775 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘)‘(𝑀 + 1)) = 0)
183 imain 6439 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
18476, 83, 1833syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
185184ad2antlr 725 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
186 elfznn0 13001 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℕ0)
187186nn0red 11957 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℝ)
188187ltp1d 11570 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → 𝑗 < (𝑗 + 1))
189 fzdisj 12935 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 < (𝑗 + 1) → ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1))) = ∅)
190188, 189syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1))) = ∅)
191190imaeq2d 5929 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = ((2nd𝑘) “ ∅))
192 ima0 5945 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((2nd𝑘) “ ∅) = ∅
193191, 192syl6eq 2872 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
194185, 193sylan9req 2877 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
195 simplr 767 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))
19692ad2antlr 725 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) Fn (1...(𝑀 + 1)))
197 nn0p1nn 11937 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ ℕ0 → (𝑗 + 1) ∈ ℕ)
198 nnuz 12282 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ℕ = (ℤ‘1)
199197, 198eleqtrdi 2923 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ ℕ0 → (𝑗 + 1) ∈ (ℤ‘1))
200 fzss1 12947 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑗 + 1) ∈ (ℤ‘1) → ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)))
201186, 199, 2003syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)))
202 elfzuz3 12906 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → 𝑀 ∈ (ℤ𝑗))
203 eluzp1p1 12271 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑀 ∈ (ℤ𝑗) → (𝑀 + 1) ∈ (ℤ‘(𝑗 + 1)))
204 eluzfz2 12916 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((𝑀 + 1) ∈ (ℤ‘(𝑗 + 1)) → (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))
205202, 203, 2043syl 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))
206201, 205jca 514 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → (((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1))))
207 fnfvima 6995 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ ((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1))) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
2082073expb 1116 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (((𝑗 + 1)...(𝑀 + 1)) ⊆ (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ ((𝑗 + 1)...(𝑀 + 1)))) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
209196, 206, 208syl2an 597 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘)‘(𝑀 + 1)) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
210195, 209eqeltrrd 2914 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
211 1ex 10637 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1 ∈ V
212 fnconstg 6567 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (1 ∈ V → (((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)))
213211, 212ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗))
214 fnconstg 6567 . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 6755 . . . . . . . . . . . . . . . . . . . . . . . . . . 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 1447 . . . . . . . . . . . . . . . . . . . . . . . . . 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 586 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)))
219166fvconst2 6966 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑀 + 1) ∈ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) → ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)) = 0)
220210, 219syl 17 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})‘(𝑀 + 1)) = 0)
221218, 220eqtrd 2856 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = 0)
222221adantlrl 718 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1)) = 0)
223182, 222oveq12d 7174 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘)‘(𝑀 + 1)) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1))) = (0 + 0))
224 00id 10815 . . . . . . . . . . . . . . . . . . . . . 22 (0 + 0) = 0
225223, 224syl6eq 2872 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘)‘(𝑀 + 1)) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘(𝑀 + 1))) = 0)
226181, 225sylan9eqr 2878 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 = (𝑀 + 1)) → (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛)) = 0)
227175, 176, 178, 226fmptapd 6933 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) = (𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
228227uneq1d 4138 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ {⟨(𝑀 + 1), 0⟩}) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
229174, 228eqtrd 2856 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
230 elmapfn 8429 . . . . . . . . . . . . . . . . . . . . . . 23 ((1st𝑘) ∈ ((0..^𝐾) ↑m (1...(𝑀 + 1))) → (1st𝑘) Fn (1...(𝑀 + 1)))
23161, 230syl 17 . . . . . . . . . . . . . . . . . . . . . 22 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → (1st𝑘) Fn (1...(𝑀 + 1)))
232 fnssres 6470 . . . . . . . . . . . . . . . . . . . . . 22 (((1st𝑘) Fn (1...(𝑀 + 1)) ∧ (1...𝑀) ⊆ (1...(𝑀 + 1))) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
233231, 64, 232sylancl 588 . . . . . . . . . . . . . . . . . . . . 21 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
234233ad3antlr 729 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘) ↾ (1...𝑀)) Fn (1...𝑀))
235 simplr 767 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → 𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}))
236 fnconstg 6567 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (0 ∈ V → (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
237166, 236ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀))
238213, 237pm3.2i 473 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
239 imain 6439 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (Fun (2nd𝑘) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
24076, 83, 2393syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
241 fzdisj 12935 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 < (𝑗 + 1) → ((1...𝑗) ∩ ((𝑗 + 1)...𝑀)) = ∅)
242188, 241syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((1...𝑗) ∩ ((𝑗 + 1)...𝑀)) = ∅)
243242imaeq2d 5929 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = ((2nd𝑘) “ ∅))
244243, 192syl6eq 2872 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((1...𝑗) ∩ ((𝑗 + 1)...𝑀))) = ∅)
245240, 244sylan9req 2877 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))) = ∅)
246 fnun 6463 . . . . . . . . . . . . . . . . . . . . . . . 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 589 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
248235, 247sylan 582 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
249101adantr 483 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}))
25085ad3antlr 729 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})))
251186, 197syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ ℕ)
252251, 198eleqtrdi 2923 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ (ℤ‘1))
253 fzsplit2 12933 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (((𝑗 + 1) ∈ (ℤ‘1) ∧ 𝑀 ∈ (ℤ𝑗)) → (1...𝑀) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
254252, 202, 253syl2anc 586 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → (1...𝑀) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
255128, 254sylan9eq 2876 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = ((1...𝑗) ∪ ((𝑗 + 1)...𝑀)))
256255imaeq2d 5929 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((2nd𝑘) “ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
257250, 256eqtr3d 2858 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...(𝑀 + 1))) ∖ ((2nd𝑘) “ {(𝑀 + 1)})) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
258125ad3antrrr 728 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)}) = (1...𝑀))
259249, 257, 2583eqtr3rd 2865 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))))
260 imaundi 6008 . . . . . . . . . . . . . . . . . . . . . . . 24 ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...𝑀))) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
261259, 260syl6eq 2872 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀))))
262261fneq2d 6447 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ↔ ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))))
263248, 262mpbird 259 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀))
264 fzss2 12948 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑀 ∈ (ℤ𝑗) → (1...𝑗) ⊆ (1...𝑀))
265 resima2 5888 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((1...𝑗) ⊆ (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
266202, 264, 2653syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
267266xpeq1d 5584 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) = (((2nd𝑘) “ (1...𝑗)) × {1}))
268186, 199syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ (ℤ‘1))
269 fzss1 12947 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑗 + 1) ∈ (ℤ‘1) → ((𝑗 + 1)...𝑀) ⊆ (1...𝑀))
270 resima2 5888 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑗 + 1)...𝑀) ⊆ (1...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
271268, 269, 2703syl 18 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) = ((2nd𝑘) “ ((𝑗 + 1)...𝑀)))
272271xpeq1d 5584 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))
273267, 272uneq12d 4140 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 ∈ (0...𝑀) → (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})))
274273adantl 484 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})))
275274fneq1d 6446 . . . . . . . . . . . . . . . . . . . . 21 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ↔ ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀)))
276263, 275mpbird 259 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀))
277 fzfid 13342 . . . . . . . . . . . . . . . . . . . 20 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (1...𝑀) ∈ Fin)
278 inidm 4195 . . . . . . . . . . . . . . . . . . . 20 ((1...𝑀) ∩ (1...𝑀)) = (1...𝑀)
279 fvres 6689 . . . . . . . . . . . . . . . . . . . . 21 (𝑛 ∈ (1...𝑀) → (((1st𝑘) ↾ (1...𝑀))‘𝑛) = ((1st𝑘)‘𝑛))
280279adantl 484 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → (((1st𝑘) ↾ (1...𝑀))‘𝑛) = ((1st𝑘)‘𝑛))
281 disjsn 4647 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((1...𝑀) ∩ {(𝑀 + 1)}) = ∅ ↔ ¬ (𝑀 + 1) ∈ (1...𝑀))
282122, 281sylibr 236 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝜑 → ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅)
283282ad3antrrr 728 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅)
284263, 283jca 514 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) Fn (1...𝑀) ∧ ((1...𝑀) ∩ {(𝑀 + 1)}) = ∅))
285 fnconstg 6567 . . . . . . . . . . . . . . . . . . . . . . . . 25 (0 ∈ V → ({(𝑀 + 1)} × {0}) Fn {(𝑀 + 1)})
286166, 285ax-mp 5 . . . . . . . . . . . . . . . . . . . . . . . 24 ({(𝑀 + 1)} × {0}) Fn {(𝑀 + 1)}
287 fvun1 6754 . . . . . . . . . . . . . . . . . . . . . . . 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 1445 . . . . . . . . . . . . . . . . . . . . . . 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 470 . . . . . . . . . . . . . . . . . . . . . 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 582 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
291251nnzd 12087 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑗 ∈ (0...𝑀) → (𝑗 + 1) ∈ ℤ)
292186nn0cnd 11958 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (𝑗 ∈ (0...𝑀) → 𝑗 ∈ ℂ)
293 pncan1 11064 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 (𝑗 ∈ ℂ → ((𝑗 + 1) − 1) = 𝑗)
294292, 293syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1) − 1) = 𝑗)
295294fveq2d 6674 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 (𝑗 ∈ (0...𝑀) → (ℤ‘((𝑗 + 1) − 1)) = (ℤ𝑗))
296202, 295eleqtrrd 2916 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (𝑗 ∈ (0...𝑀) → 𝑀 ∈ (ℤ‘((𝑗 + 1) − 1)))
297 fzsuc2 12966 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (((𝑗 + 1) ∈ ℤ ∧ 𝑀 ∈ (ℤ‘((𝑗 + 1) − 1))) → ((𝑗 + 1)...(𝑀 + 1)) = (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)}))
298291, 296, 297syl2anc 586 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 (𝑗 ∈ (0...𝑀) → ((𝑗 + 1)...(𝑀 + 1)) = (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)}))
299298imaeq2d 5929 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) = ((2nd𝑘) “ (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)})))
300 imaundi 6008 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ((2nd𝑘) “ (((𝑗 + 1)...𝑀) ∪ {(𝑀 + 1)})) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)}))
301299, 300syl6eq 2872 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) = (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})))
302301xpeq1d 5584 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})) × {0}))
303 xpundir 5621 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) ∪ ((2nd𝑘) “ {(𝑀 + 1)})) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))
304302, 303syl6eq 2872 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
305304uneq2d 4139 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))))
306 unass 4142 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
307305, 306syl6eqr 2874 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑗 ∈ (0...𝑀) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
308307adantl 484 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
30998xpeq1d 5584 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ({((2nd𝑘)‘(𝑀 + 1))} × {0}) = (((2nd𝑘) “ {(𝑀 + 1)}) × {0}))
310309uneq2d 4139 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
311310adantr 483 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ (((2nd𝑘) “ {(𝑀 + 1)}) × {0})))
312308, 311eqtr4d 2859 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})))
31399xpeq1d 5584 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → ({((2nd𝑘)‘(𝑀 + 1))} × {0}) = ({(𝑀 + 1)} × {0}))
314313uneq2d 4139 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({((2nd𝑘)‘(𝑀 + 1))} × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0})))
315312, 314sylan9eq 2876 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ 𝑗 ∈ (0...𝑀)) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0})))
316315an32s 650 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0})))
317316fveq1d 6672 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛))
318317adantr 483 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = ((((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0})) ∪ ({(𝑀 + 1)} × {0}))‘𝑛))
319273fveq1d 6672 . . . . . . . . . . . . . . . . . . . . . 22 (𝑗 ∈ (0...𝑀) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
320319ad2antlr 725 . . . . . . . . . . . . . . . . . . . . 21 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛))
321290, 318, 3203eqtr4rd 2867 . . . . . . . . . . . . . . . . . . . 20 (((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...𝑀)) → ((((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))
322234, 276, 277, 277, 278, 280, 321offval 7416 . . . . . . . . . . . . . . . . . . 19 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) = (𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
323322uneq1d 4138 . . . . . . . . . . . . . . . . . 18 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ 𝑗 ∈ (0...𝑀)) → ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})))
324323adantlrl 718 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...𝑀) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ (((𝑀 + 1)...𝑁) × {0})))
325 simplr 767 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}))
326231adantr 483 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (1st𝑘) Fn (1...(𝑀 + 1)))
327213, 215pm3.2i 473 . . . . . . . . . . . . . . . . . . . . . 22 ((((2nd𝑘) “ (1...𝑗)) × {1}) Fn ((2nd𝑘) “ (1...𝑗)) ∧ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) Fn ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
328184, 193sylan9req 2877 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∩ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ∅)
329 fnun 6463 . . . . . . . . . . . . . . . . . . . . . 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 589 . . . . . . . . . . . . . . . . . . . . 21 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))))
331 peano2uz 12302 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑀 ∈ (ℤ𝑗) → (𝑀 + 1) ∈ (ℤ𝑗))
332202, 331syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑗 ∈ (0...𝑀) → (𝑀 + 1) ∈ (ℤ𝑗))
333 fzsplit2 12933 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((𝑗 + 1) ∈ (ℤ‘1) ∧ (𝑀 + 1) ∈ (ℤ𝑗)) → (1...(𝑀 + 1)) = ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1))))
334268, 332, 333syl2anc 586 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑗 ∈ (0...𝑀) → (1...(𝑀 + 1)) = ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1))))
335334imaeq2d 5929 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑗 ∈ (0...𝑀) → ((2nd𝑘) “ (1...(𝑀 + 1))) = ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1)))))
336 imaundi 6008 . . . . . . . . . . . . . . . . . . . . . . . 24 ((2nd𝑘) “ ((1...𝑗) ∪ ((𝑗 + 1)...(𝑀 + 1)))) = (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
337335, 336syl6req 2873 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑗 ∈ (0...𝑀) → (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = ((2nd𝑘) “ (1...(𝑀 + 1))))
338337, 89sylan9eqr 2878 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) = (1...(𝑀 + 1)))
339338fneq2d 6447 . . . . . . . . . . . . . . . . . . . . 21 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (((2nd𝑘) “ (1...𝑗)) ∪ ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1)))) ↔ ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (1...(𝑀 + 1))))
340330, 339mpbid 234 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) Fn (1...(𝑀 + 1)))
341 fzfid 13342 . . . . . . . . . . . . . . . . . . . 20 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (1...(𝑀 + 1)) ∈ Fin)
342 inidm 4195 . . . . . . . . . . . . . . . . . . . 20 ((1...(𝑀 + 1)) ∩ (1...(𝑀 + 1))) = (1...(𝑀 + 1))
343 eqidd 2822 . . . . . . . . . . . . . . . . . . . 20 (((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...(𝑀 + 1))) → ((1st𝑘)‘𝑛) = ((1st𝑘)‘𝑛))
344 eqidd 2822 . . . . . . . . . . . . . . . . . . . 20 (((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) ∧ 𝑛 ∈ (1...(𝑀 + 1))) → (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛) = (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))
345326, 340, 341, 341, 342, 343, 344offval 7416 . . . . . . . . . . . . . . . . . . 19 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → ((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = (𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))))
346345uneq1d 4138 . . . . . . . . . . . . . . . . . 18 ((𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
347325, 346sylan 582 . . . . . . . . . . . . . . . . 17 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((𝑛 ∈ (1...(𝑀 + 1)) ↦ (((1st𝑘)‘𝑛) + (((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))‘𝑛))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
348229, 324, 3473eqtr4rd 2867 . . . . . . . . . . . . . . . 16 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
349348csbeq1d 3887 . . . . . . . . . . . . . . 15 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
350349eqeq2d 2832 . . . . . . . . . . . . . 14 ((((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) ∧ 𝑗 ∈ (0...𝑀)) → (𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
351350rexbidva 3296 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
352351ralbidv 3197 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
353352biimpd 231 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
354353impr 457 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) ∧ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)) → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
355142, 354sylan2b 595 . . . . . . . . 9 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
356 1st2nd2 7728 . . . . . . . . . . . 12 (𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) → 𝑘 = ⟨(1st𝑘), (2nd𝑘)⟩)
357356ad2antlr 725 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(1st𝑘), (2nd𝑘)⟩)
358 fnsnsplit 6946 . . . . . . . . . . . . . . . 16 (((1st𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
359231, 96, 358syl2anr 598 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
360359adantr 483 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (1st𝑘) = (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}))
361125reseq2d 5853 . . . . . . . . . . . . . . . 16 (𝜑 → ((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1st𝑘) ↾ (1...𝑀)))
362361adantr 483 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((1st𝑘) ↾ (1...𝑀)))
363 opeq2 4804 . . . . . . . . . . . . . . . 16 (((1st𝑘)‘(𝑀 + 1)) = 0 → ⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩ = ⟨(𝑀 + 1), 0⟩)
364363sneqd 4579 . . . . . . . . . . . . . . 15 (((1st𝑘)‘(𝑀 + 1)) = 0 → {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), 0⟩})
365 uneq12 4134 . . . . . . . . . . . . . . 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 597 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (((1st𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((1st𝑘)‘(𝑀 + 1))⟩}) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
367360, 366eqtrd 2856 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((1st𝑘)‘(𝑀 + 1)) = 0) → (1st𝑘) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
368367adantrr 715 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (1st𝑘) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
369 fnsnsplit 6946 . . . . . . . . . . . . . . . 16 (((2nd𝑘) Fn (1...(𝑀 + 1)) ∧ (𝑀 + 1) ∈ (1...(𝑀 + 1))) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
37092, 96, 369syl2anr 598 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
371370adantr 483 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) = (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}))
372125reseq2d 5853 . . . . . . . . . . . . . . . 16 (𝜑 → ((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) ↾ (1...𝑀)))
373372adantr 483 . . . . . . . . . . . . . . 15 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) = ((2nd𝑘) ↾ (1...𝑀)))
374 opeq2 4804 . . . . . . . . . . . . . . . 16 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → ⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩ = ⟨(𝑀 + 1), (𝑀 + 1)⟩)
375374sneqd 4579 . . . . . . . . . . . . . . 15 (((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1) → {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩} = {⟨(𝑀 + 1), (𝑀 + 1)⟩})
376 uneq12 4134 . . . . . . . . . . . . . . 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 597 . . . . . . . . . . . . . 14 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (((2nd𝑘) ↾ ((1...(𝑀 + 1)) ∖ {(𝑀 + 1)})) ∪ {⟨(𝑀 + 1), ((2nd𝑘)‘(𝑀 + 1))⟩}) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
378371, 377eqtrd 2856 . . . . . . . . . . . . 13 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (2nd𝑘) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
379378adantrl 714 . . . . . . . . . . . 12 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → (2nd𝑘) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
380368, 379opeq12d 4811 . . . . . . . . . . 11 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ⟨(1st𝑘), (2nd𝑘)⟩ = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
381357, 380eqtrd 2856 . . . . . . . . . 10 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
3823813adantr1 1165 . . . . . . . . 9 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
383 fvex 6683 . . . . . . . . . . . . . . . . . . 19 (1st𝑘) ∈ V
384383resex 5899 . . . . . . . . . . . . . . . . . 18 ((1st𝑘) ↾ (1...𝑀)) ∈ V
385384, 133op1std 7699 . . . . . . . . . . . . . . . . 17 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (1st𝑡) = ((1st𝑘) ↾ (1...𝑀)))
386384, 133op2ndd 7700 . . . . . . . . . . . . . . . . . . . 20 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (2nd𝑡) = ((2nd𝑘) ↾ (1...𝑀)))
387386imaeq1d 5928 . . . . . . . . . . . . . . . . . . 19 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) “ (1...𝑗)) = (((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)))
388387xpeq1d 5584 . . . . . . . . . . . . . . . . . 18 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((2nd𝑡) “ (1...𝑗)) × {1}) = ((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}))
389386imaeq1d 5928 . . . . . . . . . . . . . . . . . . 19 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) “ ((𝑗 + 1)...𝑀)) = (((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)))
390389xpeq1d 5584 . . . . . . . . . . . . . . . . . 18 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}) = ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))
391388, 390uneq12d 4140 . . . . . . . . . . . . . . . . 17 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0})) = (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0})))
392385, 391oveq12d 7174 . . . . . . . . . . . . . . . 16 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) = (((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))))
393392uneq1d 4138 . . . . . . . . . . . . . . 15 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})))
394393csbeq1d 3887 . . . . . . . . . . . . . 14 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵)
395394eqeq2d 2832 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
396395rexbidv 3297 . . . . . . . . . . . 12 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
397396ralbidv 3197 . . . . . . . . . . 11 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵))
398385uneq1d 4138 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = (((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}))
399386uneq1d 4138 . . . . . . . . . . . . 13 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
400398, 399opeq12d 4811 . . . . . . . . . . . 12 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
401400eqeq2d 2832 . . . . . . . . . . 11 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → (𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ 𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
402397, 401anbi12d 632 . . . . . . . . . 10 (𝑡 = ⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)))
403402rspcev 3623 . . . . . . . . 9 ((⟨((1st𝑘) ↾ (1...𝑀)), ((2nd𝑘) ↾ (1...𝑀))⟩ ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = ((((1st𝑘) ↾ (1...𝑀)) ∘f + (((((2nd𝑘) ↾ (1...𝑀)) “ (1...𝑗)) × {1}) ∪ ((((2nd𝑘) ↾ (1...𝑀)) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨(((1st𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), 0⟩}), (((2nd𝑘) ↾ (1...𝑀)) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)) → ∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
404139, 355, 382, 403syl12anc 834 . . . . . . . 8 (((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) ∧ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))) → ∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
405404ex 415 . . . . . . 7 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)))
406 elrabi 3675 . . . . . . . . . . 11 (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} → 𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
407 elrabi 3675 . . . . . . . . . . 11 (𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} → 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))
408406, 407anim12i 614 . . . . . . . . . 10 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ∧ 𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}) → (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})))
409 eqtr2 2842 . . . . . . . . . . . 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 5368 . . . . . . . . . . . . 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 4092 . . . . . . . . . . . . . . 15 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) → (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = (((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}))
412 difun2 4429 . . . . . . . . . . . . . . 15 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩})
413 difun2 4429 . . . . . . . . . . . . . . 15 (((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩})
414411, 412, 4133eqtr3g 2879 . . . . . . . . . . . . . 14 (((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}))
415 difeq1 4092 . . . . . . . . . . . . . . 15 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) → (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
416 difun2 4429 . . . . . . . . . . . . . . 15 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})
417 difun2 4429 . . . . . . . . . . . . . . 15 (((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})
418415, 416, 4173eqtr3g 2879 . . . . . . . . . . . . . 14 (((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
419414, 418anim12i 614 . . . . . . . . . . . . 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 219 . . . . . . . . . . . 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 8429 . . . . . . . . . . . . . . . . . . 19 ((1st𝑡) ∈ ((0..^𝐾) ↑m (1...𝑀)) → (1st𝑡) Fn (1...𝑀))
423 fnop 6460 . . . . . . . . . . . . . . . . . . . 20 (((1st𝑡) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡)) → (𝑀 + 1) ∈ (1...𝑀))
424423ex 415 . . . . . . . . . . . . . . . . . . 19 ((1st𝑡) Fn (1...𝑀) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
4259, 422, 4243syl 18 . . . . . . . . . . . . . . . . . 18 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
426425, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡)))
427426impcom 410 . . . . . . . . . . . . . . . 16 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡))
428 difsn 4731 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑡) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑡))
429427, 428syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑡))
430 xp1st 7721 . . . . . . . . . . . . . . . . . . 19 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (1st𝑛) ∈ ((0..^𝐾) ↑m (1...𝑀)))
431 elmapfn 8429 . . . . . . . . . . . . . . . . . . 19 ((1st𝑛) ∈ ((0..^𝐾) ↑m (1...𝑀)) → (1st𝑛) Fn (1...𝑀))
432 fnop 6460 . . . . . . . . . . . . . . . . . . . 20 (((1st𝑛) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛)) → (𝑀 + 1) ∈ (1...𝑀))
433432ex 415 . . . . . . . . . . . . . . . . . . 19 ((1st𝑛) Fn (1...𝑀) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
434430, 431, 4333syl 18 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
435434, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛)))
436435impcom 410 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛))
437 difsn 4731 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), 0⟩ ∈ (1st𝑛) → ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑛))
438436, 437syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) = (1st𝑛))
439429, 438eqeqan12d 2838 . . . . . . . . . . . . . 14 (((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) ∧ (𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ↔ (1st𝑡) = (1st𝑛)))
440439anandis 676 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ↔ (1st𝑡) = (1st𝑛)))
441 f1ofn 6616 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑡):(1...𝑀)–1-1-onto→(1...𝑀) → (2nd𝑡) Fn (1...𝑀))
442 fnop 6460 . . . . . . . . . . . . . . . . . . . 20 (((2nd𝑡) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡)) → (𝑀 + 1) ∈ (1...𝑀))
443442ex 415 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑡) Fn (1...𝑀) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
44417, 441, 4433syl 18 . . . . . . . . . . . . . . . . . 18 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → (𝑀 + 1) ∈ (1...𝑀)))
445444, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡)))
446445impcom 410 . . . . . . . . . . . . . . . 16 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡))
447 difsn 4731 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑡) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑡))
448446, 447syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑡))
449 xp2nd 7722 . . . . . . . . . . . . . . . . . . . 20 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑛) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})
450 fvex 6683 . . . . . . . . . . . . . . . . . . . . 21 (2nd𝑛) ∈ V
451 f1oeq1 6604 . . . . . . . . . . . . . . . . . . . . 21 (𝑓 = (2nd𝑛) → (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) ↔ (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀)))
452450, 451elab 3667 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑛) ∈ {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ↔ (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀))
453449, 452sylib 220 . . . . . . . . . . . . . . . . . . 19 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀))
454 f1ofn 6616 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑛):(1...𝑀)–1-1-onto→(1...𝑀) → (2nd𝑛) Fn (1...𝑀))
455 fnop 6460 . . . . . . . . . . . . . . . . . . . 20 (((2nd𝑛) Fn (1...𝑀) ∧ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛)) → (𝑀 + 1) ∈ (1...𝑀))
456455ex 415 . . . . . . . . . . . . . . . . . . 19 ((2nd𝑛) Fn (1...𝑀) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
457453, 454, 4563syl 18 . . . . . . . . . . . . . . . . . 18 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → (𝑀 + 1) ∈ (1...𝑀)))
458457, 122nsyli 160 . . . . . . . . . . . . . . . . 17 (𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) → (𝜑 → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛)))
459458impcom 410 . . . . . . . . . . . . . . . 16 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛))
460 difsn 4731 . . . . . . . . . . . . . . . 16 (¬ ⟨(𝑀 + 1), (𝑀 + 1)⟩ ∈ (2nd𝑛) → ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑛))
461459, 460syl 17 . . . . . . . . . . . . . . 15 ((𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = (2nd𝑛))
462448, 461eqeqan12d 2838 . . . . . . . . . . . . . 14 (((𝜑𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) ∧ (𝜑𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ↔ (2nd𝑡) = (2nd𝑛)))
463462anandis 676 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) ↔ (2nd𝑡) = (2nd𝑛)))
464440, 463anbi12d 632 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})) ↔ ((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛))))
465 xpopth 7730 . . . . . . . . . . . . 13 ((𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})) → (((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛)) ↔ 𝑡 = 𝑛))
466465adantl 484 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → (((1st𝑡) = (1st𝑛) ∧ (2nd𝑡) = (2nd𝑛)) ↔ 𝑡 = 𝑛))
467464, 466bitrd 281 . . . . . . . . . . 11 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((((1st𝑡) ∖ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∖ {⟨(𝑀 + 1), 0⟩}) ∧ ((2nd𝑡) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∖ {⟨(𝑀 + 1), (𝑀 + 1)⟩})) ↔ 𝑡 = 𝑛))
468421, 467syl5ib 246 . . . . . . . . . 10 ((𝜑 ∧ (𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∧ 𝑛 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}))) → ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
469408, 468sylan2 594 . . . . . . . . 9 ((𝜑 ∧ (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ∧ 𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵})) → ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
470469ralrimivva 3191 . . . . . . . 8 (𝜑 → ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
471470adantr 483 . . . . . . 7 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))
472405, 471jctird 529 . . . . . 6 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → (∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛))))
473 fveq2 6670 . . . . . . . . . . 11 (𝑡 = 𝑛 → (1st𝑡) = (1st𝑛))
474473uneq1d 4138 . . . . . . . . . 10 (𝑡 = 𝑛 → ((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}) = ((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}))
475 fveq2 6670 . . . . . . . . . . 11 (𝑡 = 𝑛 → (2nd𝑡) = (2nd𝑛))
476475uneq1d 4138 . . . . . . . . . 10 (𝑡 = 𝑛 → ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}) = ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩}))
477474, 476opeq12d 4811 . . . . . . . . 9 (𝑡 = 𝑛 → ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
478477eqeq2d 2832 . . . . . . . 8 (𝑡 = 𝑛 → (𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
479478reu4 3722 . . . . . . 7 (∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ (∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
48058rexrab 3687 . . . . . . . 8 (∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ ∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
481480anbi1i 625 . . . . . . 7 ((∃𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)) ↔ (∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
482479, 481bitri 277 . . . . . 6 (∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ (∃𝑡 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)})(∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑡) ∘f + ((((2nd𝑡) “ (1...𝑗)) × {1}) ∪ (((2nd𝑡) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) ∧ ∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}∀𝑛 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ((𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∧ 𝑘 = ⟨((1st𝑛) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑛) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) → 𝑡 = 𝑛)))
483472, 482syl6ibr 254 . . . . 5 ((𝜑𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})) → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
484483ralrimiva 3182 . . . 4 (𝜑 → ∀𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
485 fveq2 6670 . . . . . . . . . . . 12 (𝑠 = 𝑘 → (1st𝑠) = (1st𝑘))
486 fveq2 6670 . . . . . . . . . . . . . . 15 (𝑠 = 𝑘 → (2nd𝑠) = (2nd𝑘))
487486imaeq1d 5928 . . . . . . . . . . . . . 14 (𝑠 = 𝑘 → ((2nd𝑠) “ (1...𝑗)) = ((2nd𝑘) “ (1...𝑗)))
488487xpeq1d 5584 . . . . . . . . . . . . 13 (𝑠 = 𝑘 → (((2nd𝑠) “ (1...𝑗)) × {1}) = (((2nd𝑘) “ (1...𝑗)) × {1}))
489486imaeq1d 5928 . . . . . . . . . . . . . 14 (𝑠 = 𝑘 → ((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) = ((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))))
490489xpeq1d 5584 . . . . . . . . . . . . 13 (𝑠 = 𝑘 → (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}) = (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))
491488, 490uneq12d 4140 . . . . . . . . . . . 12 (𝑠 = 𝑘 → ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})) = ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0})))
492485, 491oveq12d 7174 . . . . . . . . . . 11 (𝑠 = 𝑘 → ((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) = ((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))))
493492uneq1d 4138 . . . . . . . . . 10 (𝑠 = 𝑘 → (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})))
494493csbeq1d 3887 . . . . . . . . 9 (𝑠 = 𝑘(((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵)
495494eqeq2d 2832 . . . . . . . 8 (𝑠 = 𝑘 → (𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
496495rexbidv 3297 . . . . . . 7 (𝑠 = 𝑘 → (∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
497496ralbidv 3197 . . . . . 6 (𝑠 = 𝑘 → (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ↔ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵))
498485fveq1d 6672 . . . . . . 7 (𝑠 = 𝑘 → ((1st𝑠)‘(𝑀 + 1)) = ((1st𝑘)‘(𝑀 + 1)))
499498eqeq1d 2823 . . . . . 6 (𝑠 = 𝑘 → (((1st𝑠)‘(𝑀 + 1)) = 0 ↔ ((1st𝑘)‘(𝑀 + 1)) = 0))
500486fveq1d 6672 . . . . . . 7 (𝑠 = 𝑘 → ((2nd𝑠)‘(𝑀 + 1)) = ((2nd𝑘)‘(𝑀 + 1)))
501500eqeq1d 2823 . . . . . 6 (𝑠 = 𝑘 → (((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1) ↔ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)))
502497, 499, 5013anbi123d 1432 . . . . 5 (𝑠 = 𝑘 → ((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1)) ↔ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1))))
503502ralrab 3685 . . . 4 (∀𝑘 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ↔ ∀𝑘 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))})((∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑘) ∘f + ((((2nd𝑘) “ (1...𝑗)) × {1}) ∪ (((2nd𝑘) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑘)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑘)‘(𝑀 + 1)) = (𝑀 + 1)) → ∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
504484, 503sylibr 236 . . 3 (𝜑 → ∀𝑘 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
505 eqid 2821 . . . 4 (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩) = (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩)
506505f1ompt 6875 . . 3 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩):{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ↔ (∀𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩ ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} ∧ ∀𝑘 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))}∃!𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}𝑘 = ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩))
50760, 504, 506sylanbrc 585 . 2 (𝜑 → (𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩):{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
508 ovex 7189 . . . . 5 ((0..^𝐾) ↑m (1...𝑀)) ∈ V
509 ovex 7189 . . . . . 6 ((1...𝑀) ↑m (1...𝑀)) ∈ V
510 f1of 6615 . . . . . . . 8 (𝑓:(1...𝑀)–1-1-onto→(1...𝑀) → 𝑓:(1...𝑀)⟶(1...𝑀))
511510ss2abi 4043 . . . . . . 7 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ⊆ {𝑓𝑓:(1...𝑀)⟶(1...𝑀)}
51268, 68mapval 8418 . . . . . . 7 ((1...𝑀) ↑m (1...𝑀)) = {𝑓𝑓:(1...𝑀)⟶(1...𝑀)}
513511, 512sseqtrri 4004 . . . . . 6 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ⊆ ((1...𝑀) ↑m (1...𝑀))
514509, 513ssexi 5226 . . . . 5 {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)} ∈ V
515508, 514xpex 7476 . . . 4 (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∈ V
516515rabex 5235 . . 3 {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ∈ V
517516f1oen 8530 . 2 ((𝑡 ∈ {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ↦ ⟨((1st𝑡) ∪ {⟨(𝑀 + 1), 0⟩}), ((2nd𝑡) ∪ {⟨(𝑀 + 1), (𝑀 + 1)⟩})⟩):{𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵}–1-1-onto→{𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))} → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
518507, 517syl 17 1 (𝜑 → {𝑠 ∈ (((0..^𝐾) ↑m (1...𝑀)) × {𝑓𝑓:(1...𝑀)–1-1-onto→(1...𝑀)}) ∣ ∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...𝑀)) × {0}))) ∪ (((𝑀 + 1)...𝑁) × {0})) / 𝑝𝐵} ≈ {𝑠 ∈ (((0..^𝐾) ↑m (1...(𝑀 + 1))) × {𝑓𝑓:(1...(𝑀 + 1))–1-1-onto→(1...(𝑀 + 1))}) ∣ (∀𝑖 ∈ (0...𝑀)∃𝑗 ∈ (0...𝑀)𝑖 = (((1st𝑠) ∘f + ((((2nd𝑠) “ (1...𝑗)) × {1}) ∪ (((2nd𝑠) “ ((𝑗 + 1)...(𝑀 + 1))) × {0}))) ∪ ((((𝑀 + 1) + 1)...𝑁) × {0})) / 𝑝𝐵 ∧ ((1st𝑠)‘(𝑀 + 1)) = 0 ∧ ((2nd𝑠)‘(𝑀 + 1)) = (𝑀 + 1))})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  {cab 2799  wral 3138  wrex 3139  ∃!wreu 3140  {crab 3142  Vcvv 3494  csb 3883  cdif 3933  cun 3934  cin 3935  wss 3936  c0 4291  {csn 4567  cop 4573   class class class wbr 5066  cmpt 5146   × cxp 5553  ccnv 5554  cres 5557  cima 5558  Fun wfun 6349   Fn wfn 6350  wf 6351  1-1wf1 6352  ontowfo 6353  1-1-ontowf1o 6354  cfv 6355  (class class class)co 7156  f cof 7407  1st c1st 7687  2nd c2nd 7688  m cmap 8406  cen 8506  Fincfn 8509  cc 10535  cr 10536  0cc0 10537  1c1 10538   + caddc 10540   < clt 10675  cle 10676  cmin 10870  cn 11638  0cn0 11898  cz 11982  cuz 12244  ...cfz 12893  ..^cfzo 13034
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-cnex 10593  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613  ax-pre-mulgt0 10614
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-of 7409  df-om 7581  df-1st 7689  df-2nd 7690  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-1o 8102  df-er 8289  df-map 8408  df-en 8510  df-dom 8511  df-sdom 8512  df-fin 8513  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-sub 10872  df-neg 10873  df-nn 11639  df-n0 11899  df-z 11983  df-uz 12245  df-fz 12894  df-fzo 13035
This theorem is referenced by:  poimirlem28  34935
  Copyright terms: Public domain W3C validator