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

Theorem unblem2 9067
Description: Lemma for unbnn 9070. The value of the function 𝐹 belongs to the unbounded set of natural numbers 𝐴. (Contributed by NM, 3-Dec-2003.)
Hypothesis
Ref Expression
unblem.2 𝐹 = (rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)
Assertion
Ref Expression
unblem2 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝑧 ∈ ω → (𝐹𝑧) ∈ 𝐴))
Distinct variable groups:   𝑤,𝑣,𝑥,𝑧,𝐴   𝑣,𝐹,𝑤,𝑧
Allowed substitution hint:   𝐹(𝑥)

Proof of Theorem unblem2
Dummy variables 𝑢 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6774 . . . 4 (𝑧 = ∅ → (𝐹𝑧) = (𝐹‘∅))
21eleq1d 2823 . . 3 (𝑧 = ∅ → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹‘∅) ∈ 𝐴))
3 fveq2 6774 . . . 4 (𝑧 = 𝑢 → (𝐹𝑧) = (𝐹𝑢))
43eleq1d 2823 . . 3 (𝑧 = 𝑢 → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹𝑢) ∈ 𝐴))
5 fveq2 6774 . . . 4 (𝑧 = suc 𝑢 → (𝐹𝑧) = (𝐹‘suc 𝑢))
65eleq1d 2823 . . 3 (𝑧 = suc 𝑢 → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴))
7 omsson 7716 . . . . . 6 ω ⊆ On
8 sstr 3929 . . . . . 6 ((𝐴 ⊆ ω ∧ ω ⊆ On) → 𝐴 ⊆ On)
97, 8mpan2 688 . . . . 5 (𝐴 ⊆ ω → 𝐴 ⊆ On)
10 peano1 7735 . . . . . . . . 9 ∅ ∈ ω
11 eleq1 2826 . . . . . . . . . . 11 (𝑤 = ∅ → (𝑤𝑣 ↔ ∅ ∈ 𝑣))
1211rexbidv 3226 . . . . . . . . . 10 (𝑤 = ∅ → (∃𝑣𝐴 𝑤𝑣 ↔ ∃𝑣𝐴 ∅ ∈ 𝑣))
1312rspcv 3557 . . . . . . . . 9 (∅ ∈ ω → (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣𝐴 ∅ ∈ 𝑣))
1410, 13ax-mp 5 . . . . . . . 8 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣𝐴 ∅ ∈ 𝑣)
15 df-rex 3070 . . . . . . . 8 (∃𝑣𝐴 ∅ ∈ 𝑣 ↔ ∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣))
1614, 15sylib 217 . . . . . . 7 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣))
17 exsimpl 1871 . . . . . . 7 (∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣) → ∃𝑣 𝑣𝐴)
1816, 17syl 17 . . . . . 6 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣 𝑣𝐴)
19 n0 4280 . . . . . 6 (𝐴 ≠ ∅ ↔ ∃𝑣 𝑣𝐴)
2018, 19sylibr 233 . . . . 5 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣𝐴 ≠ ∅)
21 onint 7640 . . . . 5 ((𝐴 ⊆ On ∧ 𝐴 ≠ ∅) → 𝐴𝐴)
229, 20, 21syl2an 596 . . . 4 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → 𝐴𝐴)
23 unblem.2 . . . . . . . 8 𝐹 = (rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)
2423fveq1i 6775 . . . . . . 7 (𝐹‘∅) = ((rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)‘∅)
25 fr0g 8267 . . . . . . 7 ( 𝐴𝐴 → ((rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)‘∅) = 𝐴)
2624, 25eqtr2id 2791 . . . . . 6 ( 𝐴𝐴 𝐴 = (𝐹‘∅))
2726eleq1d 2823 . . . . 5 ( 𝐴𝐴 → ( 𝐴𝐴 ↔ (𝐹‘∅) ∈ 𝐴))
2827ibi 266 . . . 4 ( 𝐴𝐴 → (𝐹‘∅) ∈ 𝐴)
2922, 28syl 17 . . 3 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝐹‘∅) ∈ 𝐴)
30 unblem1 9066 . . . . 5 (((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) ∧ (𝐹𝑢) ∈ 𝐴) → (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴)
31 suceq 6331 . . . . . . . . . . . 12 (𝑦 = 𝑥 → suc 𝑦 = suc 𝑥)
3231difeq2d 4057 . . . . . . . . . . 11 (𝑦 = 𝑥 → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc 𝑥))
3332inteqd 4884 . . . . . . . . . 10 (𝑦 = 𝑥 (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc 𝑥))
34 suceq 6331 . . . . . . . . . . . 12 (𝑦 = (𝐹𝑢) → suc 𝑦 = suc (𝐹𝑢))
3534difeq2d 4057 . . . . . . . . . . 11 (𝑦 = (𝐹𝑢) → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc (𝐹𝑢)))
3635inteqd 4884 . . . . . . . . . 10 (𝑦 = (𝐹𝑢) → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc (𝐹𝑢)))
3723, 33, 36frsucmpt2 8271 . . . . . . . . 9 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → (𝐹‘suc 𝑢) = (𝐴 ∖ suc (𝐹𝑢)))
3837eqcomd 2744 . . . . . . . 8 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → (𝐴 ∖ suc (𝐹𝑢)) = (𝐹‘suc 𝑢))
3938eleq1d 2823 . . . . . . 7 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴))
4039ex 413 . . . . . 6 (𝑢 ∈ ω → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴)))
4140ibd 268 . . . . 5 (𝑢 ∈ ω → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 → (𝐹‘suc 𝑢) ∈ 𝐴))
4230, 41syl5 34 . . . 4 (𝑢 ∈ ω → (((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) ∧ (𝐹𝑢) ∈ 𝐴) → (𝐹‘suc 𝑢) ∈ 𝐴))
4342expd 416 . . 3 (𝑢 ∈ ω → ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → ((𝐹𝑢) ∈ 𝐴 → (𝐹‘suc 𝑢) ∈ 𝐴)))
442, 4, 6, 29, 43finds2 7747 . 2 (𝑧 ∈ ω → ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝐹𝑧) ∈ 𝐴))
4544com12 32 1 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝑧 ∈ ω → (𝐹𝑧) ∈ 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wne 2943  wral 3064  wrex 3065  Vcvv 3432  cdif 3884  wss 3887  c0 4256   cint 4879  cmpt 5157  cres 5591  Oncon0 6266  suc csuc 6268  cfv 6433  ωcom 7712  reccrdg 8240
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-om 7713  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241
This theorem is referenced by:  unblem3  9068  unblem4  9069
  Copyright terms: Public domain W3C validator