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

Theorem cantnfp1 9400
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 6288 . . . . . . . . . . . . 13 ((𝐵 ∈ On ∧ 𝑋𝐵) → 𝑋 ∈ On)
52, 3, 4syl2anc 583 . . . . . . . . . . . 12 (𝜑𝑋 ∈ On)
6 eloni 6273 . . . . . . . . . . . 12 (𝑋 ∈ On → Ord 𝑋)
7 ordirr 6281 . . . . . . . . . . . 12 (Ord 𝑋 → ¬ 𝑋𝑋)
85, 6, 73syl 18 . . . . . . . . . . 11 (𝜑 → ¬ 𝑋𝑋)
9 fvex 6781 . . . . . . . . . . . . . 14 (𝐺𝑋) ∈ V
10 dif1o 8306 . . . . . . . . . . . . . 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 9385 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → (𝐺𝑆 ↔ (𝐺:𝐵𝐴𝐺 finSupp ∅)))
1612, 15mpbid 231 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐺:𝐵𝐴𝐺 finSupp ∅))
1716simpld 494 . . . . . . . . . . . . . . . . . 18 (𝜑𝐺:𝐵𝐴)
1817ffnd 6597 . . . . . . . . . . . . . . . . 17 (𝜑𝐺 Fn 𝐵)
19 0ex 5234 . . . . . . . . . . . . . . . . . 18 ∅ ∈ V
2019a1i 11 . . . . . . . . . . . . . . . . 17 (𝜑 → ∅ ∈ V)
21 elsuppfn 7971 . . . . . . . . . . . . . . . . 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 3924 . . . . . . . . . . . . . . 15 (𝜑 → (𝑋 ∈ (𝐺 supp ∅) → 𝑋𝑋))
2926, 28sylbird 259 . . . . . . . . . . . . . 14 (𝜑 → ((𝑋𝐵 ∧ (𝐺𝑋) ∈ (V ∖ 1o)) → 𝑋𝑋))
303, 29mpand 691 . . . . . . . . . . . . 13 (𝜑 → ((𝐺𝑋) ∈ (V ∖ 1o) → 𝑋𝑋))
3111, 30syl5bir 242 . . . . . . . . . . . 12 (𝜑 → ((𝐺𝑋) ≠ ∅ → 𝑋𝑋))
3231necon1bd 2962 . . . . . . . . . . 11 (𝜑 → (¬ 𝑋𝑋 → (𝐺𝑋) = ∅))
338, 32mpd 15 . . . . . . . . . 10 (𝜑 → (𝐺𝑋) = ∅)
3433ad3antrrr 726 . . . . . . . . 9 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → (𝐺𝑋) = ∅)
35 simpr 484 . . . . . . . . . 10 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → 𝑡 = 𝑋)
3635fveq2d 6772 . . . . . . . . 9 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → (𝐺𝑡) = (𝐺𝑋))
37 simpllr 772 . . . . . . . . 9 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → 𝑌 = ∅)
3834, 36, 373eqtr4rd 2790 . . . . . . . 8 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ 𝑡 = 𝑋) → 𝑌 = (𝐺𝑡))
39 eqidd 2740 . . . . . . . 8 ((((𝜑𝑌 = ∅) ∧ 𝑡𝐵) ∧ ¬ 𝑡 = 𝑋) → (𝐺𝑡) = (𝐺𝑡))
4038, 39ifeqda 4500 . . . . . . 7 (((𝜑𝑌 = ∅) ∧ 𝑡𝐵) → if(𝑡 = 𝑋, 𝑌, (𝐺𝑡)) = (𝐺𝑡))
4140mpteq2dva 5178 . . . . . 6 ((𝜑𝑌 = ∅) → (𝑡𝐵 ↦ if(𝑡 = 𝑋, 𝑌, (𝐺𝑡))) = (𝑡𝐵 ↦ (𝐺𝑡)))
421, 41eqtrid 2791 . . . . 5 ((𝜑𝑌 = ∅) → 𝐹 = (𝑡𝐵 ↦ (𝐺𝑡)))
4317feqmptd 6831 . . . . . 6 (𝜑𝐺 = (𝑡𝐵 ↦ (𝐺𝑡)))
4443adantr 480 . . . . 5 ((𝜑𝑌 = ∅) → 𝐺 = (𝑡𝐵 ↦ (𝐺𝑡)))
4542, 44eqtr4d 2782 . . . 4 ((𝜑𝑌 = ∅) → 𝐹 = 𝐺)
4612adantr 480 . . . 4 ((𝜑𝑌 = ∅) → 𝐺𝑆)
4745, 46eqeltrd 2840 . . 3 ((𝜑𝑌 = ∅) → 𝐹𝑆)
48 oecl 8343 . . . . . . . 8 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴o 𝐵) ∈ On)
4914, 2, 48syl2anc 583 . . . . . . 7 (𝜑 → (𝐴o 𝐵) ∈ On)
5013, 14, 2cantnff 9393 . . . . . . . 8 (𝜑 → (𝐴 CNF 𝐵):𝑆⟶(𝐴o 𝐵))
5150, 12ffvelrnd 6956 . . . . . . 7 (𝜑 → ((𝐴 CNF 𝐵)‘𝐺) ∈ (𝐴o 𝐵))
52 onelon 6288 . . . . . . 7 (((𝐴o 𝐵) ∈ On ∧ ((𝐴 CNF 𝐵)‘𝐺) ∈ (𝐴o 𝐵)) → ((𝐴 CNF 𝐵)‘𝐺) ∈ On)
5349, 51, 52syl2anc 583 . . . . . 6 (𝜑 → ((𝐴 CNF 𝐵)‘𝐺) ∈ On)
5453adantr 480 . . . . 5 ((𝜑𝑌 = ∅) → ((𝐴 CNF 𝐵)‘𝐺) ∈ On)
55 oa0r 8344 . . . . 5 (((𝐴 CNF 𝐵)‘𝐺) ∈ On → (∅ +o ((𝐴 CNF 𝐵)‘𝐺)) = ((𝐴 CNF 𝐵)‘𝐺))
5654, 55syl 17 . . . 4 ((𝜑𝑌 = ∅) → (∅ +o ((𝐴 CNF 𝐵)‘𝐺)) = ((𝐴 CNF 𝐵)‘𝐺))
57 oveq2 7276 . . . . . 6 (𝑌 = ∅ → ((𝐴o 𝑋) ·o 𝑌) = ((𝐴o 𝑋) ·o ∅))
58 oecl 8343 . . . . . . . 8 ((𝐴 ∈ On ∧ 𝑋 ∈ On) → (𝐴o 𝑋) ∈ On)
5914, 5, 58syl2anc 583 . . . . . . 7 (𝜑 → (𝐴o 𝑋) ∈ On)
60 om0 8323 . . . . . . 7 ((𝐴o 𝑋) ∈ On → ((𝐴o 𝑋) ·o ∅) = ∅)
6159, 60syl 17 . . . . . 6 (𝜑 → ((𝐴o 𝑋) ·o ∅) = ∅)
6257, 61sylan9eqr 2801 . . . . 5 ((𝜑𝑌 = ∅) → ((𝐴o 𝑋) ·o 𝑌) = ∅)
6362oveq1d 7283 . . . 4 ((𝜑𝑌 = ∅) → (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺)) = (∅ +o ((𝐴 CNF 𝐵)‘𝐺)))
6445fveq2d 6772 . . . 4 ((𝜑𝑌 = ∅) → ((𝐴 CNF 𝐵)‘𝐹) = ((𝐴 CNF 𝐵)‘𝐺))
6556, 63, 643eqtr4rd 2790 . . 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 9397 . . 3 ((𝜑𝑌 ≠ ∅) → 𝐹𝑆)
75 onelon 6288 . . . . . . 7 ((𝐴 ∈ On ∧ 𝑌𝐴) → 𝑌 ∈ On)
7614, 71, 75syl2anc 583 . . . . . 6 (𝜑𝑌 ∈ On)
77 on0eln0 6318 . . . . . 6 (𝑌 ∈ On → (∅ ∈ 𝑌𝑌 ≠ ∅))
7876, 77syl 17 . . . . 5 (𝜑 → (∅ ∈ 𝑌𝑌 ≠ ∅))
7978biimpar 477 . . . 4 ((𝜑𝑌 ≠ ∅) → ∅ ∈ 𝑌)
80 eqid 2739 . . . 4 OrdIso( E , (𝐹 supp ∅)) = OrdIso( E , (𝐹 supp ∅))
81 eqid 2739 . . . 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 2739 . . . 4 OrdIso( E , (𝐺 supp ∅)) = OrdIso( E , (𝐺 supp ∅))
83 eqid 2739 . . . 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 9399 . . 3 ((𝜑𝑌 ≠ ∅) → ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺)))
8574, 84jca 511 . 2 ((𝜑𝑌 ≠ ∅) → (𝐹𝑆 ∧ ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺))))
8666, 85pm2.61dane 3033 1 (𝜑 → (𝐹𝑆 ∧ ((𝐴 CNF 𝐵)‘𝐹) = (((𝐴o 𝑋) ·o 𝑌) +o ((𝐴 CNF 𝐵)‘𝐺))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1541  wcel 2109  wne 2944  Vcvv 3430  cdif 3888  wss 3891  c0 4261  ifcif 4464   class class class wbr 5078  cmpt 5161   E cep 5493  dom cdm 5588  Ord word 6262  Oncon0 6263   Fn wfn 6425  wf 6426  cfv 6430  (class class class)co 7268  cmpo 7270   supp csupp 7961  seqωcseqom 8262  1oc1o 8274   +o coa 8278   ·o comu 8279  o coe 8280   finSupp cfsupp 9089  OrdIsocoi 9229   CNF ccnf 9380
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
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-ral 3070  df-rex 3071  df-reu 3072  df-rmo 3073  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-se 5544  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-isom 6439  df-riota 7225  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7701  df-1st 7817  df-2nd 7818  df-supp 7962  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-seqom 8263  df-1o 8281  df-2o 8282  df-oadd 8285  df-omul 8286  df-oexp 8287  df-er 8472  df-map 8591  df-en 8708  df-dom 8709  df-sdom 8710  df-fin 8711  df-fsupp 9090  df-oi 9230  df-cnf 9381
This theorem is referenced by:  cantnflem1d  9407  cantnflem1  9408  cantnflem3  9410
  Copyright terms: Public domain W3C validator