MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  gsumbagdiaglemOLD Structured version   Visualization version   GIF version

Theorem gsumbagdiaglemOLD 21122
Description: Obsolete version of gsumbagdiaglem 21125 as of 6-Aug-2024. (Contributed by Mario Carneiro, 5-Jan-2015.) (New usage is discouraged.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
psrbag.d 𝐷 = {𝑓 ∈ (ℕ0m 𝐼) ∣ (𝑓 “ ℕ) ∈ Fin}
psrbagconf1o.s 𝑆 = {𝑦𝐷𝑦r𝐹}
gsumbagdiagOLD.i (𝜑𝐼𝑉)
gsumbagdiagOLD.f (𝜑𝐹𝐷)
Assertion
Ref Expression
gsumbagdiaglemOLD ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝑌𝑆𝑋 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑌)}))
Distinct variable groups:   𝑥,𝑓,𝑦,𝐹   𝑥,𝑉,𝑦   𝑓,𝐼,𝑥,𝑦   𝑥,𝑆   𝑥,𝐷,𝑦   𝑓,𝑋,𝑥,𝑦   𝑓,𝑌,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑓)   𝐷(𝑓)   𝑆(𝑦,𝑓)   𝑉(𝑓)

Proof of Theorem gsumbagdiaglemOLD
Dummy variables 𝑢 𝑣 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simprr 769 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})
2 breq1 5081 . . . . . 6 (𝑥 = 𝑌 → (𝑥r ≤ (𝐹f𝑋) ↔ 𝑌r ≤ (𝐹f𝑋)))
32elrab 3625 . . . . 5 (𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)} ↔ (𝑌𝐷𝑌r ≤ (𝐹f𝑋)))
41, 3sylib 217 . . . 4 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝑌𝐷𝑌r ≤ (𝐹f𝑋)))
54simpld 494 . . 3 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌𝐷)
64simprd 495 . . . 4 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌r ≤ (𝐹f𝑋))
7 gsumbagdiagOLD.i . . . . . . 7 (𝜑𝐼𝑉)
87adantr 480 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝐼𝑉)
9 gsumbagdiagOLD.f . . . . . . 7 (𝜑𝐹𝐷)
109adantr 480 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝐹𝐷)
11 simprl 767 . . . . . . . . 9 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋𝑆)
12 breq1 5081 . . . . . . . . . 10 (𝑦 = 𝑋 → (𝑦r𝐹𝑋r𝐹))
13 psrbagconf1o.s . . . . . . . . . 10 𝑆 = {𝑦𝐷𝑦r𝐹}
1412, 13elrab2 3628 . . . . . . . . 9 (𝑋𝑆 ↔ (𝑋𝐷𝑋r𝐹))
1511, 14sylib 217 . . . . . . . 8 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝑋𝐷𝑋r𝐹))
1615simpld 494 . . . . . . 7 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋𝐷)
17 psrbag.d . . . . . . . 8 𝐷 = {𝑓 ∈ (ℕ0m 𝐼) ∣ (𝑓 “ ℕ) ∈ Fin}
1817psrbagfOLD 21103 . . . . . . 7 ((𝐼𝑉𝑋𝐷) → 𝑋:𝐼⟶ℕ0)
198, 16, 18syl2anc 583 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋:𝐼⟶ℕ0)
2015simprd 495 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋r𝐹)
2117psrbagconOLD 21115 . . . . . 6 ((𝐼𝑉 ∧ (𝐹𝐷𝑋:𝐼⟶ℕ0𝑋r𝐹)) → ((𝐹f𝑋) ∈ 𝐷 ∧ (𝐹f𝑋) ∘r𝐹))
228, 10, 19, 20, 21syl13anc 1370 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → ((𝐹f𝑋) ∈ 𝐷 ∧ (𝐹f𝑋) ∘r𝐹))
2322simprd 495 . . . 4 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝐹f𝑋) ∘r𝐹)
2417psrbagfOLD 21103 . . . . . 6 ((𝐼𝑉𝑌𝐷) → 𝑌:𝐼⟶ℕ0)
258, 5, 24syl2anc 583 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌:𝐼⟶ℕ0)
2622simpld 494 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝐹f𝑋) ∈ 𝐷)
2717psrbagfOLD 21103 . . . . . 6 ((𝐼𝑉 ∧ (𝐹f𝑋) ∈ 𝐷) → (𝐹f𝑋):𝐼⟶ℕ0)
288, 26, 27syl2anc 583 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝐹f𝑋):𝐼⟶ℕ0)
2917psrbagfOLD 21103 . . . . . 6 ((𝐼𝑉𝐹𝐷) → 𝐹:𝐼⟶ℕ0)
308, 10, 29syl2anc 583 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝐹:𝐼⟶ℕ0)
31 nn0re 12225 . . . . . . 7 (𝑢 ∈ ℕ0𝑢 ∈ ℝ)
32 nn0re 12225 . . . . . . 7 (𝑣 ∈ ℕ0𝑣 ∈ ℝ)
33 nn0re 12225 . . . . . . 7 (𝑤 ∈ ℕ0𝑤 ∈ ℝ)
34 letr 11052 . . . . . . 7 ((𝑢 ∈ ℝ ∧ 𝑣 ∈ ℝ ∧ 𝑤 ∈ ℝ) → ((𝑢𝑣𝑣𝑤) → 𝑢𝑤))
3531, 32, 33, 34syl3an 1158 . . . . . 6 ((𝑢 ∈ ℕ0𝑣 ∈ ℕ0𝑤 ∈ ℕ0) → ((𝑢𝑣𝑣𝑤) → 𝑢𝑤))
3635adantl 481 . . . . 5 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ (𝑢 ∈ ℕ0𝑣 ∈ ℕ0𝑤 ∈ ℕ0)) → ((𝑢𝑣𝑣𝑤) → 𝑢𝑤))
378, 25, 28, 30, 36caoftrn 7562 . . . 4 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → ((𝑌r ≤ (𝐹f𝑋) ∧ (𝐹f𝑋) ∘r𝐹) → 𝑌r𝐹))
386, 23, 37mp2and 695 . . 3 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌r𝐹)
39 breq1 5081 . . . 4 (𝑦 = 𝑌 → (𝑦r𝐹𝑌r𝐹))
4039, 13elrab2 3628 . . 3 (𝑌𝑆 ↔ (𝑌𝐷𝑌r𝐹))
415, 38, 40sylanbrc 582 . 2 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌𝑆)
42 breq1 5081 . . 3 (𝑥 = 𝑋 → (𝑥r ≤ (𝐹f𝑌) ↔ 𝑋r ≤ (𝐹f𝑌)))
4319ffvelrnda 6955 . . . . . . 7 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → (𝑋𝑧) ∈ ℕ0)
4425ffvelrnda 6955 . . . . . . 7 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → (𝑌𝑧) ∈ ℕ0)
4530ffvelrnda 6955 . . . . . . 7 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → (𝐹𝑧) ∈ ℕ0)
46 nn0re 12225 . . . . . . . 8 ((𝑋𝑧) ∈ ℕ0 → (𝑋𝑧) ∈ ℝ)
47 nn0re 12225 . . . . . . . 8 ((𝑌𝑧) ∈ ℕ0 → (𝑌𝑧) ∈ ℝ)
48 nn0re 12225 . . . . . . . 8 ((𝐹𝑧) ∈ ℕ0 → (𝐹𝑧) ∈ ℝ)
49 leaddsub2 11435 . . . . . . . . 9 (((𝑋𝑧) ∈ ℝ ∧ (𝑌𝑧) ∈ ℝ ∧ (𝐹𝑧) ∈ ℝ) → (((𝑋𝑧) + (𝑌𝑧)) ≤ (𝐹𝑧) ↔ (𝑌𝑧) ≤ ((𝐹𝑧) − (𝑋𝑧))))
50 leaddsub 11434 . . . . . . . . 9 (((𝑋𝑧) ∈ ℝ ∧ (𝑌𝑧) ∈ ℝ ∧ (𝐹𝑧) ∈ ℝ) → (((𝑋𝑧) + (𝑌𝑧)) ≤ (𝐹𝑧) ↔ (𝑋𝑧) ≤ ((𝐹𝑧) − (𝑌𝑧))))
5149, 50bitr3d 280 . . . . . . . 8 (((𝑋𝑧) ∈ ℝ ∧ (𝑌𝑧) ∈ ℝ ∧ (𝐹𝑧) ∈ ℝ) → ((𝑌𝑧) ≤ ((𝐹𝑧) − (𝑋𝑧)) ↔ (𝑋𝑧) ≤ ((𝐹𝑧) − (𝑌𝑧))))
5246, 47, 48, 51syl3an 1158 . . . . . . 7 (((𝑋𝑧) ∈ ℕ0 ∧ (𝑌𝑧) ∈ ℕ0 ∧ (𝐹𝑧) ∈ ℕ0) → ((𝑌𝑧) ≤ ((𝐹𝑧) − (𝑋𝑧)) ↔ (𝑋𝑧) ≤ ((𝐹𝑧) − (𝑌𝑧))))
5343, 44, 45, 52syl3anc 1369 . . . . . 6 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → ((𝑌𝑧) ≤ ((𝐹𝑧) − (𝑋𝑧)) ↔ (𝑋𝑧) ≤ ((𝐹𝑧) − (𝑌𝑧))))
5453ralbidva 3121 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (∀𝑧𝐼 (𝑌𝑧) ≤ ((𝐹𝑧) − (𝑋𝑧)) ↔ ∀𝑧𝐼 (𝑋𝑧) ≤ ((𝐹𝑧) − (𝑌𝑧))))
55 ovexd 7303 . . . . . 6 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → ((𝐹𝑧) − (𝑋𝑧)) ∈ V)
5625feqmptd 6831 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌 = (𝑧𝐼 ↦ (𝑌𝑧)))
5730ffnd 6597 . . . . . . 7 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝐹 Fn 𝐼)
5819ffnd 6597 . . . . . . 7 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋 Fn 𝐼)
59 inidm 4157 . . . . . . 7 (𝐼𝐼) = 𝐼
60 eqidd 2740 . . . . . . 7 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → (𝐹𝑧) = (𝐹𝑧))
61 eqidd 2740 . . . . . . 7 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → (𝑋𝑧) = (𝑋𝑧))
6257, 58, 8, 8, 59, 60, 61offval 7533 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝐹f𝑋) = (𝑧𝐼 ↦ ((𝐹𝑧) − (𝑋𝑧))))
638, 44, 55, 56, 62ofrfval2 7545 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝑌r ≤ (𝐹f𝑋) ↔ ∀𝑧𝐼 (𝑌𝑧) ≤ ((𝐹𝑧) − (𝑋𝑧))))
64 ovexd 7303 . . . . . 6 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → ((𝐹𝑧) − (𝑌𝑧)) ∈ V)
6519feqmptd 6831 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋 = (𝑧𝐼 ↦ (𝑋𝑧)))
6625ffnd 6597 . . . . . . 7 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑌 Fn 𝐼)
67 eqidd 2740 . . . . . . 7 (((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) ∧ 𝑧𝐼) → (𝑌𝑧) = (𝑌𝑧))
6857, 66, 8, 8, 59, 60, 67offval 7533 . . . . . 6 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝐹f𝑌) = (𝑧𝐼 ↦ ((𝐹𝑧) − (𝑌𝑧))))
698, 43, 64, 65, 68ofrfval2 7545 . . . . 5 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝑋r ≤ (𝐹f𝑌) ↔ ∀𝑧𝐼 (𝑋𝑧) ≤ ((𝐹𝑧) − (𝑌𝑧))))
7054, 63, 693bitr4d 310 . . . 4 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝑌r ≤ (𝐹f𝑋) ↔ 𝑋r ≤ (𝐹f𝑌)))
716, 70mpbid 231 . . 3 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋r ≤ (𝐹f𝑌))
7242, 16, 71elrabd 3627 . 2 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → 𝑋 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑌)})
7341, 72jca 511 1 ((𝜑 ∧ (𝑋𝑆𝑌 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑋)})) → (𝑌𝑆𝑋 ∈ {𝑥𝐷𝑥r ≤ (𝐹f𝑌)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1541  wcel 2109  wral 3065  {crab 3069  Vcvv 3430   class class class wbr 5078  ccnv 5587  cima 5591  wf 6426  cfv 6430  (class class class)co 7268  f cof 7522  r cofr 7523  m cmap 8589  Fincfn 8707  cr 10854   + caddc 10858  cle 10994  cmin 11188  cn 11956  0cn0 12216
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579  ax-cnex 10911  ax-resscn 10912  ax-1cn 10913  ax-icn 10914  ax-addcl 10915  ax-addrcl 10916  ax-mulcl 10917  ax-mulrcl 10918  ax-mulcom 10919  ax-addass 10920  ax-mulass 10921  ax-distr 10922  ax-i2m1 10923  ax-1ne0 10924  ax-1rid 10925  ax-rnegex 10926  ax-rrecex 10927  ax-cnre 10928  ax-pre-lttri 10929  ax-pre-lttrn 10930  ax-pre-ltadd 10931  ax-pre-mulgt0 10932
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-pss 3910  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  df-we 5545  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-pred 6199  df-ord 6266  df-on 6267  df-lim 6268  df-suc 6269  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-riota 7225  df-ov 7271  df-oprab 7272  df-mpo 7273  df-of 7524  df-ofr 7525  df-om 7701  df-2nd 7818  df-supp 7962  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-1o 8281  df-er 8472  df-map 8591  df-en 8708  df-dom 8709  df-sdom 8710  df-fin 8711  df-pnf 10995  df-mnf 10996  df-xr 10997  df-ltxr 10998  df-le 10999  df-sub 11190  df-neg 11191  df-nn 11957  df-n0 12217
This theorem is referenced by:  gsumbagdiagOLD  21123  psrass1lemOLD  21124
  Copyright terms: Public domain W3C validator