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

Theorem cantnfp1 9369
Description: If 𝐹 is created by adding a single term (𝐹𝑋) = 𝑌 to 𝐺, where 𝑋 is larger than any element of the support of 𝐺, then 𝐹 is also a finitely supported function and it is assigned the value ((𝐴o 𝑋) ·o 𝑌) +o 𝑧 where 𝑧 is the value of 𝐺. (Contributed by Mario Carneiro, 28-May-2015.) (Revised by AV, 1-Jul-2019.)
Hypotheses
Ref Expression
cantnfs.s 𝑆 = dom (𝐴 CNF 𝐵)
cantnfs.a (𝜑𝐴 ∈ On)
cantnfs.b (𝜑𝐵 ∈ On)
cantnfp1.g (𝜑𝐺𝑆)
cantnfp1.x (𝜑𝑋𝐵)
cantnfp1.y (𝜑𝑌𝐴)
cantnfp1.s (𝜑 → (𝐺 supp ∅) ⊆ 𝑋)
cantnfp1.f 𝐹 = (𝑡𝐵 ↦ if(𝑡 = 𝑋, 𝑌, (𝐺𝑡)))
Assertion
Ref Expression
cantnfp1 (𝜑 → (𝐹𝑆 ∧ ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺))))
Distinct variable groups:   𝑡,𝐵   𝑡,𝐴   𝑡,𝑆   𝑡,𝐺   𝜑,𝑡   𝑡,𝑌   𝑡,𝑋
Allowed substitution hint:   𝐹(𝑡)

Proof of Theorem cantnfp1
Dummy variables 𝑘 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cantnfp1.f . . . . . 6 𝐹 = (𝑡𝐵 ↦ if(𝑡 = 𝑋, 𝑌, (𝐺𝑡)))
2 cantnfs.b . . . . . . . . . . . . 13 (𝜑𝐵 ∈ On)
3 cantnfp1.x . . . . . . . . . . . . 13 (𝜑𝑋𝐵)
4 onelon 6276 . . . . . . . . . . . . 13 ((𝐵 ∈ On ∧ 𝑋𝐵) → 𝑋 ∈ On)
52, 3, 4syl2anc 583 . . . . . . . . . . . 12 (𝜑𝑋 ∈ On)
6 eloni 6261 . . . . . . . . . . . 12 (𝑋 ∈ On → Ord 𝑋)
7 ordirr 6269 . . . . . . . . . . . 12 (Ord 𝑋 → ¬ 𝑋𝑋)
85, 6, 73syl 18 . . . . . . . . . . 11 (𝜑 → ¬ 𝑋𝑋)
9 fvex 6769 . . . . . . . . . . . . . 14 (𝐺𝑋) ∈ V
10 dif1o 8292 . . . . . . . . . . . . . 14 ((𝐺𝑋) ∈ (V ∖ 1o) ↔ ((𝐺𝑋) ∈ V ∧ (𝐺𝑋) ≠ ∅))
119, 10mpbiran 705 . . . . . . . . . . . . 13 ((𝐺𝑋) ∈ (V ∖ 1o) ↔ (𝐺𝑋) ≠ ∅)
12 cantnfp1.g . . . . . . . . . . . . . . . . . . . 20 (𝜑𝐺𝑆)
13 cantnfs.s . . . . . . . . . . . . . . . . . . . . 21 𝑆 = dom (𝐴 CNF 𝐵)
14 cantnfs.a . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝐴 ∈ On)
1513, 14, 2cantnfs 9354 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝐺𝑆 ↔ (𝐺:𝐵𝐴𝐺 finSupp ∅)))
1612, 15mpbid 231 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐺:𝐵𝐴𝐺 finSupp ∅))
1716simpld 494 . . . . . . . . . . . . . . . . . 18 (𝜑𝐺:𝐵𝐴)
1817ffnd 6585 . . . . . . . . . . . . . . . . 17 (𝜑𝐺 Fn 𝐵)
19 0ex 5226 . . . . . . . . . . . . . . . . . 18 ∅ ∈ V
2019a1i 11 . . . . . . . . . . . . . . . . 17 (𝜑 → ∅ ∈ V)
21 elsuppfn 7958 . . . . . . . . . . . . . . . . 17 ((𝐺 Fn 𝐵𝐵 ∈ On ∧ ∅ ∈ V) → (𝑋 ∈ (𝐺 supp ∅) ↔ (𝑋𝐵 ∧ (𝐺𝑋) ≠ ∅)))
2218, 2, 20, 21syl3anc 1369 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑋 ∈ (𝐺 supp ∅) ↔ (𝑋𝐵 ∧ (𝐺𝑋) ≠ ∅)))
2311bicomi 223 . . . . . . . . . . . . . . . . . 18 ((𝐺𝑋) ≠ ∅ ↔ (𝐺𝑋) ∈ (V ∖ 1o))
2423a1i 11 . . . . . . . . . . . . . . . . 17 (𝜑 → ((𝐺𝑋) ≠ ∅ ↔ (𝐺𝑋) ∈ (V ∖ 1o)))
2524anbi2d 628 . . . . . . . . . . . . . . . 16 (𝜑 → ((𝑋𝐵 ∧ (𝐺𝑋) ≠ ∅) ↔ (𝑋𝐵 ∧ (𝐺𝑋) ∈ (V ∖ 1o))))
2622, 25bitrd 278 . . . . . . . . . . . . . . 15 (𝜑 → (𝑋 ∈ (𝐺 supp ∅) ↔ (𝑋𝐵 ∧ (𝐺𝑋) ∈ (V ∖ 1o))))
27 cantnfp1.s . . . . . . . . . . . . . . . 16 (𝜑 → (𝐺 supp ∅) ⊆ 𝑋)
2827sseld 3916 . . . . . . . . . . . . . . 15 (𝜑 → (𝑋 ∈ (𝐺 supp ∅) → 𝑋𝑋))
2926, 28sylbird 259 . . . . . . . . . . . . . 14 (𝜑 → ((𝑋𝐵 ∧ (𝐺𝑋) ∈ (V ∖ 1o)) → 𝑋𝑋))
303, 29mpand 691 . . . . . . . . . . . . 13 (𝜑 → ((𝐺𝑋) ∈ (V ∖ 1o) → 𝑋𝑋))
3111, 30syl5bir 242 . . . . . . . . . . . 12 (𝜑 → ((𝐺𝑋) ≠ ∅ → 𝑋𝑋))
3231necon1bd 2960 . . . . . . . . . . 11 (𝜑 → (¬ 𝑋𝑋 → (𝐺𝑋) = ∅))
338, 32mpd 15 . . . . . . . . . 10 (𝜑 → (𝐺𝑋) = ∅)
3433ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → (𝐺𝑋) = ∅)
35 simpr 484 . . . . . . . . . 10 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → 𝑡 = 𝑋)
3635fveq2d 6760 . . . . . . . . 9 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → (𝐺𝑡) = (𝐺𝑋))
37 simpllr 772 . . . . . . . . 9 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → 𝑌 = ∅)
3834, 36, 373eqtr4rd 2789 . . . . . . . 8 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → 𝑌 = (𝐺𝑡))
39 eqidd 2739 . . . . . . . 8 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ ¬ 𝑡 = 𝑋) → (𝐺𝑡) = (𝐺𝑡))
4038, 39ifeqda 4492 . . . . . . 7 (((𝜑𝑌 = ∅) ∧ 𝑡𝐵) → if(𝑡 = 𝑋, 𝑌, (𝐺𝑡)) = (𝐺𝑡))
4140mpteq2dva 5170 . . . . . 6 ((𝜑𝑌 = ∅) → (𝑡𝐵 ↦ if(𝑡 = 𝑋, 𝑌, (𝐺𝑡))) = (𝑡𝐵 ↦ (𝐺𝑡)))
421, 41eqtrid 2790 . . . . 5 ((𝜑𝑌 = ∅) → 𝐹 = (𝑡𝐵 ↦ (𝐺𝑡)))
4317feqmptd 6819 . . . . . 6 (𝜑𝐺 = (𝑡𝐵 ↦ (𝐺𝑡)))
4443adantr 480 . . . . 5 ((𝜑𝑌 = ∅) → 𝐺 = (𝑡𝐵 ↦ (𝐺𝑡)))
4542, 44eqtr4d 2781 . . . 4 ((𝜑𝑌 = ∅) → 𝐹 = 𝐺)
4612adantr 480 . . . 4 ((𝜑𝑌 = ∅) → 𝐺𝑆)
4745, 46eqeltrd 2839 . . 3 ((𝜑𝑌 = ∅) → 𝐹𝑆)
48 oecl 8329 . . . . . . . 8 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴o 𝐵) ∈ On)
4914, 2, 48syl2anc 583 . . . . . . 7 (𝜑 → (𝐴o 𝐵) ∈ On)
5013, 14, 2cantnff 9362 . . . . . . . 8 (𝜑 → (𝐴 CNF 𝐵):𝑆⟶(𝐴o 𝐵))
5150, 12ffvelrnd 6944 . . . . . . 7 (𝜑 → ((𝐴 CNF 𝐵)‘𝐺) ∈ (𝐴o 𝐵))
52 onelon 6276 . . . . . . 7 (((𝐴o 𝐵) ∈ On ∧ ((𝐴 CNF 𝐵)‘𝐺) ∈ (𝐴o 𝐵)) → ((𝐴 CNF 𝐵)‘𝐺) ∈ On)
5349, 51, 52syl2anc 583 . . . . . 6 (𝜑 → ((𝐴 CNF 𝐵)‘𝐺) ∈ On)
5453adantr 480 . . . . 5 ((𝜑𝑌 = ∅) → ((𝐴 CNF 𝐵)‘𝐺) ∈ On)
55 oa0r 8330 . . . . 5 (((𝐴 CNF 𝐵)‘𝐺) ∈ On → (∅ +o ((𝐴 CNF 𝐵)‘𝐺)) = ((𝐴 CNF 𝐵)‘𝐺))
5654, 55syl 17 . . . 4 ((𝜑𝑌 = ∅) → (∅ +o ((𝐴 CNF 𝐵)‘𝐺)) = ((𝐴 CNF 𝐵)‘𝐺))
57 oveq2 7263 . . . . . 6 (𝑌 = ∅ → ((𝐴o 𝑋) ·o 𝑌) = ((𝐴o 𝑋) ·o ∅))
58 oecl 8329 . . . . . . . 8 ((𝐴 ∈ On ∧ 𝑋 ∈ On) → (𝐴o 𝑋) ∈ On)
5914, 5, 58syl2anc 583 . . . . . . 7 (𝜑 → (𝐴o 𝑋) ∈ On)
60 om0 8309 . . . . . . 7 ((𝐴o 𝑋) ∈ On → ((𝐴o 𝑋) ·o ∅) = ∅)
6159, 60syl 17 . . . . . 6 (𝜑 → ((𝐴o 𝑋) ·o ∅) = ∅)
6257, 61sylan9eqr 2801 . . . . 5 ((𝜑𝑌 = ∅) → ((𝐴o 𝑋) ·o 𝑌) = ∅)
6362oveq1d 7270 . . . 4 ((𝜑𝑌 = ∅) → (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺)) = (∅ +o ((𝐴 CNF 𝐵)‘𝐺)))
6445fveq2d 6760 . . . 4 ((𝜑𝑌 = ∅) → ((𝐴 CNF 𝐵)‘𝐹) = ((𝐴 CNF 𝐵)‘𝐺))
6556, 63, 643eqtr4rd 2789 . . 3 ((𝜑𝑌 = ∅) → ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺)))
6647, 65jca 511 . 2 ((𝜑𝑌 = ∅) → (𝐹𝑆 ∧ ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺))))
6714adantr 480 . . . 4 ((𝜑𝑌 ≠ ∅) → 𝐴 ∈ On)
682adantr 480 . . . 4 ((𝜑𝑌 ≠ ∅) → 𝐵 ∈ On)
6912adantr 480 . . . 4 ((𝜑𝑌 ≠ ∅) → 𝐺𝑆)
703adantr 480 . . . 4 ((𝜑𝑌 ≠ ∅) → 𝑋𝐵)
71 cantnfp1.y . . . . 5 (𝜑𝑌𝐴)
7271adantr 480 . . . 4 ((𝜑𝑌 ≠ ∅) → 𝑌𝐴)
7327adantr 480 . . . 4 ((𝜑𝑌 ≠ ∅) → (𝐺 supp ∅) ⊆ 𝑋)
7413, 67, 68, 69, 70, 72, 73, 1cantnfp1lem1 9366 . . 3 ((𝜑𝑌 ≠ ∅) → 𝐹𝑆)
75 onelon 6276 . . . . . . 7 ((𝐴 ∈ On ∧ 𝑌𝐴) → 𝑌 ∈ On)
7614, 71, 75syl2anc 583 . . . . . 6 (𝜑𝑌 ∈ On)
77 on0eln0 6306 . . . . . 6 (𝑌 ∈ On → (∅ ∈ 𝑌𝑌 ≠ ∅))
7876, 77syl 17 . . . . 5 (𝜑 → (∅ ∈ 𝑌𝑌 ≠ ∅))
7978biimpar 477 . . . 4 ((𝜑𝑌 ≠ ∅) → ∅ ∈ 𝑌)
80 eqid 2738 . . . 4 OrdIso( E , (𝐹 supp ∅)) = OrdIso( E , (𝐹 supp ∅))
81 eqid 2738 . . . 4 seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (OrdIso( E , (𝐹 supp ∅))‘𝑘)) ·o (𝐹‘(OrdIso( E , (𝐹 supp ∅))‘𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (OrdIso( E , (𝐹 supp ∅))‘𝑘)) ·o (𝐹‘(OrdIso( E , (𝐹 supp ∅))‘𝑘))) +o 𝑧)), ∅)
82 eqid 2738 . . . 4 OrdIso( E , (𝐺 supp ∅)) = OrdIso( E , (𝐺 supp ∅))
83 eqid 2738 . . . 4 seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (OrdIso( E , (𝐺 supp ∅))‘𝑘)) ·o (𝐺‘(OrdIso( E , (𝐺 supp ∅))‘𝑘))) +o 𝑧)), ∅) = seqω((𝑘 ∈ V, 𝑧 ∈ V ↦ (((𝐴o (OrdIso( E , (𝐺 supp ∅))‘𝑘)) ·o (𝐺‘(OrdIso( E , (𝐺 supp ∅))‘𝑘))) +o 𝑧)), ∅)
8413, 67, 68, 69, 70, 72, 73, 1, 79, 80, 81, 82, 83cantnfp1lem3 9368 . . 3 ((𝜑𝑌 ≠ ∅) → ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺)))
8574, 84jca 511 . 2 ((𝜑𝑌 ≠ ∅) → (𝐹𝑆 ∧ ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺))))
8666, 85pm2.61dane 3031 1 (𝜑 → (𝐹𝑆 ∧ ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  cdif 3880  wss 3883  c0 4253  ifcif 4456   class class class wbr 5070  cmpt 5153   E cep 5485  dom cdm 5580  Ord word 6250  Oncon0 6251   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255  cmpo 7257   supp csupp 7948  seqωcseqom 8248  1oc1o 8260   +o coa 8264   ·o comu 8265  o coe 8266   finSupp cfsupp 9058  OrdIsocoi 9198   CNF ccnf 9349
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
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-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-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-supp 7949  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-seqom 8249  df-1o 8267  df-2o 8268  df-oadd 8271  df-omul 8272  df-oexp 8273  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-fsupp 9059  df-oi 9199  df-cnf 9350
This theorem is referenced by:  cantnflem1d  9376  cantnflem1  9377  cantnflem3  9379
  Copyright terms: Public domain W3C validator