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

Theorem sticksstones8 40037
Description: Establish mapping between strictly monotone functions and functions that sum to a fixed non-negative integer. (Contributed by metakunt, 1-Oct-2024.)
Hypotheses
Ref Expression
sticksstones8.1 (𝜑𝑁 ∈ ℕ0)
sticksstones8.2 (𝜑𝐾 ∈ ℕ0)
sticksstones8.3 𝐹 = (𝑎𝐴 ↦ (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))))
sticksstones8.4 𝐴 = {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)}
sticksstones8.5 𝐵 = {𝑓 ∣ (𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)))}
Assertion
Ref Expression
sticksstones8 (𝜑𝐹:𝐴𝐵)
Distinct variable groups:   𝐴,𝑎,𝑗,𝑙,𝑥,𝑦   𝐵,𝑎   𝑗,𝐾,𝑙,𝑓,𝑥,𝑦   𝑔,𝐾,𝑖   𝑓,𝑁,𝑗   𝑔,𝑁   𝑓,𝑎   𝑔,𝑎,𝑖   𝜑,𝑎,𝑗,𝑙   𝑖,𝑙   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑓,𝑔,𝑖)   𝐴(𝑓,𝑔,𝑖)   𝐵(𝑥,𝑦,𝑓,𝑔,𝑖,𝑗,𝑙)   𝐹(𝑥,𝑦,𝑓,𝑔,𝑖,𝑗,𝑎,𝑙)   𝐾(𝑎)   𝑁(𝑥,𝑦,𝑖,𝑎,𝑙)

Proof of Theorem sticksstones8
Dummy variable 𝑒 is distinct from all other variables.
StepHypRef Expression
1 eqidd 2739 . . . . . . . . 9 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → (𝑒 ∈ (1...𝐾) ↦ (𝑒 + Σ𝑙 ∈ (1...𝑒)(𝑎𝑙))) = (𝑒 ∈ (1...𝐾) ↦ (𝑒 + Σ𝑙 ∈ (1...𝑒)(𝑎𝑙))))
2 simpr 484 . . . . . . . . . 10 (((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) ∧ 𝑒 = 𝑗) → 𝑒 = 𝑗)
32oveq2d 7271 . . . . . . . . . . 11 (((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) ∧ 𝑒 = 𝑗) → (1...𝑒) = (1...𝑗))
43sumeq1d 15341 . . . . . . . . . 10 (((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) ∧ 𝑒 = 𝑗) → Σ𝑙 ∈ (1...𝑒)(𝑎𝑙) = Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))
52, 4oveq12d 7273 . . . . . . . . 9 (((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) ∧ 𝑒 = 𝑗) → (𝑒 + Σ𝑙 ∈ (1...𝑒)(𝑎𝑙)) = (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))
6 simp3 1136 . . . . . . . . 9 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → 𝑗 ∈ (1...𝐾))
7 ovexd 7290 . . . . . . . . 9 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)) ∈ V)
81, 5, 6, 7fvmptd 6864 . . . . . . . 8 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → ((𝑒 ∈ (1...𝐾) ↦ (𝑒 + Σ𝑙 ∈ (1...𝑒)(𝑎𝑙)))‘𝑗) = (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))
9 sticksstones8.1 . . . . . . . . . 10 (𝜑𝑁 ∈ ℕ0)
1093ad2ant1 1131 . . . . . . . . 9 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → 𝑁 ∈ ℕ0)
11 sticksstones8.2 . . . . . . . . . 10 (𝜑𝐾 ∈ ℕ0)
12113ad2ant1 1131 . . . . . . . . 9 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → 𝐾 ∈ ℕ0)
13 simpr 484 . . . . . . . . . . . . 13 ((𝜑𝑎𝐴) → 𝑎𝐴)
14 sticksstones8.4 . . . . . . . . . . . . . . 15 𝐴 = {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)}
1514a1i 11 . . . . . . . . . . . . . 14 ((𝜑𝑎𝐴) → 𝐴 = {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)})
1615eqcomd 2744 . . . . . . . . . . . . 13 ((𝜑𝑎𝐴) → {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)} = 𝐴)
1713, 16eleqtrrd 2842 . . . . . . . . . . . 12 ((𝜑𝑎𝐴) → 𝑎 ∈ {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)})
18 feq1 6565 . . . . . . . . . . . . . . . 16 (𝑔 = 𝑎 → (𝑔:(1...(𝐾 + 1))⟶ℕ0𝑎:(1...(𝐾 + 1))⟶ℕ0))
19 simpl 482 . . . . . . . . . . . . . . . . . . 19 ((𝑔 = 𝑎𝑖 ∈ (1...(𝐾 + 1))) → 𝑔 = 𝑎)
2019fveq1d 6758 . . . . . . . . . . . . . . . . . 18 ((𝑔 = 𝑎𝑖 ∈ (1...(𝐾 + 1))) → (𝑔𝑖) = (𝑎𝑖))
2120sumeq2dv 15343 . . . . . . . . . . . . . . . . 17 (𝑔 = 𝑎 → Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖))
2221eqeq1d 2740 . . . . . . . . . . . . . . . 16 (𝑔 = 𝑎 → (Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁 ↔ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁))
2318, 22anbi12d 630 . . . . . . . . . . . . . . 15 (𝑔 = 𝑎 → ((𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁) ↔ (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁)))
2423elabg 3600 . . . . . . . . . . . . . 14 (𝑎𝐴 → (𝑎 ∈ {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)} ↔ (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁)))
2513, 24syl 17 . . . . . . . . . . . . 13 ((𝜑𝑎𝐴) → (𝑎 ∈ {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)} ↔ (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁)))
2625biimpd 228 . . . . . . . . . . . 12 ((𝜑𝑎𝐴) → (𝑎 ∈ {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)} → (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁)))
2717, 26mpd 15 . . . . . . . . . . 11 ((𝜑𝑎𝐴) → (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁))
2827simpld 494 . . . . . . . . . 10 ((𝜑𝑎𝐴) → 𝑎:(1...(𝐾 + 1))⟶ℕ0)
29283adant3 1130 . . . . . . . . 9 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → 𝑎:(1...(𝐾 + 1))⟶ℕ0)
30 eqid 2738 . . . . . . . . 9 (𝑒 ∈ (1...𝐾) ↦ (𝑒 + Σ𝑙 ∈ (1...𝑒)(𝑎𝑙))) = (𝑒 ∈ (1...𝐾) ↦ (𝑒 + Σ𝑙 ∈ (1...𝑒)(𝑎𝑙)))
31 fveq2 6756 . . . . . . . . . . . 12 (𝑖 = 𝑙 → (𝑎𝑖) = (𝑎𝑙))
32 nfcv 2906 . . . . . . . . . . . 12 𝑙(1...(𝐾 + 1))
33 nfcv 2906 . . . . . . . . . . . 12 𝑖(1...(𝐾 + 1))
34 nfcv 2906 . . . . . . . . . . . 12 𝑙(𝑎𝑖)
35 nfcv 2906 . . . . . . . . . . . 12 𝑖(𝑎𝑙)
3631, 32, 33, 34, 35cbvsum 15335 . . . . . . . . . . 11 Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = Σ𝑙 ∈ (1...(𝐾 + 1))(𝑎𝑙)
3727simprd 495 . . . . . . . . . . 11 ((𝜑𝑎𝐴) → Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁)
3836, 37eqtr3id 2793 . . . . . . . . . 10 ((𝜑𝑎𝐴) → Σ𝑙 ∈ (1...(𝐾 + 1))(𝑎𝑙) = 𝑁)
39383adant3 1130 . . . . . . . . 9 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → Σ𝑙 ∈ (1...(𝐾 + 1))(𝑎𝑙) = 𝑁)
4010, 12, 29, 6, 30, 39sticksstones7 40036 . . . . . . . 8 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → ((𝑒 ∈ (1...𝐾) ↦ (𝑒 + Σ𝑙 ∈ (1...𝑒)(𝑎𝑙)))‘𝑗) ∈ (1...(𝑁 + 𝐾)))
418, 40eqeltrrd 2840 . . . . . . 7 ((𝜑𝑎𝐴𝑗 ∈ (1...𝐾)) → (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)) ∈ (1...(𝑁 + 𝐾)))
42413expa 1116 . . . . . 6 (((𝜑𝑎𝐴) ∧ 𝑗 ∈ (1...𝐾)) → (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)) ∈ (1...(𝑁 + 𝐾)))
43 eqid 2738 . . . . . 6 (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))
4442, 43fmptd 6970 . . . . 5 ((𝜑𝑎𝐴) → (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))):(1...𝐾)⟶(1...(𝑁 + 𝐾)))
459ad3antrrr 726 . . . . . . . . . 10 ((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) → 𝑁 ∈ ℕ0)
4645adantr 480 . . . . . . . . 9 (((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) ∧ 𝑥 < 𝑦) → 𝑁 ∈ ℕ0)
4711ad3antrrr 726 . . . . . . . . . 10 ((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) → 𝐾 ∈ ℕ0)
4847adantr 480 . . . . . . . . 9 (((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) ∧ 𝑥 < 𝑦) → 𝐾 ∈ ℕ0)
4924adantl 481 . . . . . . . . . . . . . . 15 ((𝜑𝑎𝐴) → (𝑎 ∈ {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)} ↔ (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁)))
5049biimpd 228 . . . . . . . . . . . . . 14 ((𝜑𝑎𝐴) → (𝑎 ∈ {𝑔 ∣ (𝑔:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑔𝑖) = 𝑁)} → (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁)))
5117, 50mpd 15 . . . . . . . . . . . . 13 ((𝜑𝑎𝐴) → (𝑎:(1...(𝐾 + 1))⟶ℕ0 ∧ Σ𝑖 ∈ (1...(𝐾 + 1))(𝑎𝑖) = 𝑁))
5251simpld 494 . . . . . . . . . . . 12 ((𝜑𝑎𝐴) → 𝑎:(1...(𝐾 + 1))⟶ℕ0)
5352adantr 480 . . . . . . . . . . 11 (((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) → 𝑎:(1...(𝐾 + 1))⟶ℕ0)
5453adantr 480 . . . . . . . . . 10 ((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) → 𝑎:(1...(𝐾 + 1))⟶ℕ0)
5554adantr 480 . . . . . . . . 9 (((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) ∧ 𝑥 < 𝑦) → 𝑎:(1...(𝐾 + 1))⟶ℕ0)
56 simpllr 772 . . . . . . . . 9 (((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) ∧ 𝑥 < 𝑦) → 𝑥 ∈ (1...𝐾))
57 simplr 765 . . . . . . . . 9 (((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) ∧ 𝑥 < 𝑦) → 𝑦 ∈ (1...𝐾))
58 simpr 484 . . . . . . . . 9 (((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) ∧ 𝑥 < 𝑦) → 𝑥 < 𝑦)
5946, 48, 55, 56, 57, 58, 43sticksstones6 40035 . . . . . . . 8 (((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) ∧ 𝑥 < 𝑦) → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦))
6059ex 412 . . . . . . 7 ((((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) ∧ 𝑦 ∈ (1...𝐾)) → (𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦)))
6160ralrimiva 3107 . . . . . 6 (((𝜑𝑎𝐴) ∧ 𝑥 ∈ (1...𝐾)) → ∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦)))
6261ralrimiva 3107 . . . . 5 ((𝜑𝑎𝐴) → ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦)))
6344, 62jca 511 . . . 4 ((𝜑𝑎𝐴) → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))):(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦))))
64 fzfid 13621 . . . . . 6 ((𝜑𝑎𝐴) → (1...𝐾) ∈ Fin)
6544, 64fexd 7085 . . . . 5 ((𝜑𝑎𝐴) → (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) ∈ V)
66 feq1 6565 . . . . . . 7 (𝑓 = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) → (𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ↔ (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))):(1...𝐾)⟶(1...(𝑁 + 𝐾))))
67 fveq1 6755 . . . . . . . . . 10 (𝑓 = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) → (𝑓𝑥) = ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥))
68 fveq1 6755 . . . . . . . . . 10 (𝑓 = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) → (𝑓𝑦) = ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦))
6967, 68breq12d 5083 . . . . . . . . 9 (𝑓 = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) → ((𝑓𝑥) < (𝑓𝑦) ↔ ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦)))
7069imbi2d 340 . . . . . . . 8 (𝑓 = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) → ((𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)) ↔ (𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦))))
71702ralbidv 3122 . . . . . . 7 (𝑓 = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) → (∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)) ↔ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦))))
7266, 71anbi12d 630 . . . . . 6 (𝑓 = (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) → ((𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦))) ↔ ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))):(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦)))))
7372elabg 3600 . . . . 5 ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) ∈ V → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) ∈ {𝑓 ∣ (𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)))} ↔ ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))):(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦)))))
7465, 73syl 17 . . . 4 ((𝜑𝑎𝐴) → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) ∈ {𝑓 ∣ (𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)))} ↔ ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))):(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑥) < ((𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙)))‘𝑦)))))
7563, 74mpbird 256 . . 3 ((𝜑𝑎𝐴) → (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) ∈ {𝑓 ∣ (𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)))})
76 sticksstones8.5 . . . 4 𝐵 = {𝑓 ∣ (𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)))}
7776a1i 11 . . 3 ((𝜑𝑎𝐴) → 𝐵 = {𝑓 ∣ (𝑓:(1...𝐾)⟶(1...(𝑁 + 𝐾)) ∧ ∀𝑥 ∈ (1...𝐾)∀𝑦 ∈ (1...𝐾)(𝑥 < 𝑦 → (𝑓𝑥) < (𝑓𝑦)))})
7875, 77eleqtrrd 2842 . 2 ((𝜑𝑎𝐴) → (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))) ∈ 𝐵)
79 sticksstones8.3 . 2 𝐹 = (𝑎𝐴 ↦ (𝑗 ∈ (1...𝐾) ↦ (𝑗 + Σ𝑙 ∈ (1...𝑗)(𝑎𝑙))))
8078, 79fmptd 6970 1 (𝜑𝐹:𝐴𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  {cab 2715  wral 3063  Vcvv 3422   class class class wbr 5070  cmpt 5153  wf 6414  cfv 6418  (class class class)co 7255  Fincfn 8691  1c1 10803   + caddc 10805   < clt 10940  0cn0 12163  ...cfz 13168  Σcsu 15325
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-z 12250  df-uz 12512  df-rp 12660  df-ico 13014  df-fz 13169  df-fzo 13312  df-seq 13650  df-exp 13711  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-clim 15125  df-sum 15326
This theorem is referenced by:  sticksstones11  40040  sticksstones12  40042
  Copyright terms: Public domain W3C validator