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

Theorem unblem2 8845
Description: Lemma for unbnn 8848. 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 6674 . . . 4 (𝑧 = ∅ → (𝐹𝑧) = (𝐹‘∅))
21eleq1d 2817 . . 3 (𝑧 = ∅ → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹‘∅) ∈ 𝐴))
3 fveq2 6674 . . . 4 (𝑧 = 𝑢 → (𝐹𝑧) = (𝐹𝑢))
43eleq1d 2817 . . 3 (𝑧 = 𝑢 → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹𝑢) ∈ 𝐴))
5 fveq2 6674 . . . 4 (𝑧 = suc 𝑢 → (𝐹𝑧) = (𝐹‘suc 𝑢))
65eleq1d 2817 . . 3 (𝑧 = suc 𝑢 → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴))
7 omsson 7603 . . . . . 6 ω ⊆ On
8 sstr 3885 . . . . . 6 ((𝐴 ⊆ ω ∧ ω ⊆ On) → 𝐴 ⊆ On)
97, 8mpan2 691 . . . . 5 (𝐴 ⊆ ω → 𝐴 ⊆ On)
10 peano1 7620 . . . . . . . . 9 ∅ ∈ ω
11 eleq1 2820 . . . . . . . . . . 11 (𝑤 = ∅ → (𝑤𝑣 ↔ ∅ ∈ 𝑣))
1211rexbidv 3207 . . . . . . . . . 10 (𝑤 = ∅ → (∃𝑣𝐴 𝑤𝑣 ↔ ∃𝑣𝐴 ∅ ∈ 𝑣))
1312rspcv 3521 . . . . . . . . 9 (∅ ∈ ω → (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣𝐴 ∅ ∈ 𝑣))
1410, 13ax-mp 5 . . . . . . . 8 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣𝐴 ∅ ∈ 𝑣)
15 df-rex 3059 . . . . . . . 8 (∃𝑣𝐴 ∅ ∈ 𝑣 ↔ ∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣))
1614, 15sylib 221 . . . . . . 7 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣))
17 exsimpl 1875 . . . . . . 7 (∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣) → ∃𝑣 𝑣𝐴)
1816, 17syl 17 . . . . . 6 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣 𝑣𝐴)
19 n0 4235 . . . . . 6 (𝐴 ≠ ∅ ↔ ∃𝑣 𝑣𝐴)
2018, 19sylibr 237 . . . . 5 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣𝐴 ≠ ∅)
21 onint 7529 . . . . 5 ((𝐴 ⊆ On ∧ 𝐴 ≠ ∅) → 𝐴𝐴)
229, 20, 21syl2an 599 . . . 4 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → 𝐴𝐴)
23 unblem.2 . . . . . . . 8 𝐹 = (rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)
2423fveq1i 6675 . . . . . . 7 (𝐹‘∅) = ((rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)‘∅)
25 fr0g 8100 . . . . . . 7 ( 𝐴𝐴 → ((rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)‘∅) = 𝐴)
2624, 25eqtr2id 2786 . . . . . 6 ( 𝐴𝐴 𝐴 = (𝐹‘∅))
2726eleq1d 2817 . . . . 5 ( 𝐴𝐴 → ( 𝐴𝐴 ↔ (𝐹‘∅) ∈ 𝐴))
2827ibi 270 . . . 4 ( 𝐴𝐴 → (𝐹‘∅) ∈ 𝐴)
2922, 28syl 17 . . 3 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝐹‘∅) ∈ 𝐴)
30 unblem1 8844 . . . . 5 (((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) ∧ (𝐹𝑢) ∈ 𝐴) → (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴)
31 suceq 6237 . . . . . . . . . . . 12 (𝑦 = 𝑥 → suc 𝑦 = suc 𝑥)
3231difeq2d 4013 . . . . . . . . . . 11 (𝑦 = 𝑥 → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc 𝑥))
3332inteqd 4841 . . . . . . . . . 10 (𝑦 = 𝑥 (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc 𝑥))
34 suceq 6237 . . . . . . . . . . . 12 (𝑦 = (𝐹𝑢) → suc 𝑦 = suc (𝐹𝑢))
3534difeq2d 4013 . . . . . . . . . . 11 (𝑦 = (𝐹𝑢) → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc (𝐹𝑢)))
3635inteqd 4841 . . . . . . . . . 10 (𝑦 = (𝐹𝑢) → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc (𝐹𝑢)))
3723, 33, 36frsucmpt2 8105 . . . . . . . . 9 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → (𝐹‘suc 𝑢) = (𝐴 ∖ suc (𝐹𝑢)))
3837eqcomd 2744 . . . . . . . 8 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → (𝐴 ∖ suc (𝐹𝑢)) = (𝐹‘suc 𝑢))
3938eleq1d 2817 . . . . . . 7 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴))
4039ex 416 . . . . . 6 (𝑢 ∈ ω → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴)))
4140ibd 272 . . . . 5 (𝑢 ∈ ω → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 → (𝐹‘suc 𝑢) ∈ 𝐴))
4230, 41syl5 34 . . . 4 (𝑢 ∈ ω → (((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) ∧ (𝐹𝑢) ∈ 𝐴) → (𝐹‘suc 𝑢) ∈ 𝐴))
4342expd 419 . . 3 (𝑢 ∈ ω → ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → ((𝐹𝑢) ∈ 𝐴 → (𝐹‘suc 𝑢) ∈ 𝐴)))
442, 4, 6, 29, 43finds2 7631 . 2 (𝑧 ∈ ω → ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝐹𝑧) ∈ 𝐴))
4544com12 32 1 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝑧 ∈ ω → (𝐹𝑧) ∈ 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  wex 1786  wcel 2114  wne 2934  wral 3053  wrex 3054  Vcvv 3398  cdif 3840  wss 3843  c0 4211   cint 4836  cmpt 5110  cres 5527  Oncon0 6172  suc csuc 6174  cfv 6339  ωcom 7599  reccrdg 8074
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-reu 3060  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-pss 3862  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-tp 4521  df-op 4523  df-uni 4797  df-int 4837  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5429  df-eprel 5434  df-po 5442  df-so 5443  df-fr 5483  df-we 5485  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-pred 6129  df-ord 6175  df-on 6176  df-lim 6177  df-suc 6178  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-om 7600  df-wrecs 7976  df-recs 8037  df-rdg 8075
This theorem is referenced by:  unblem3  8846  unblem4  8847
  Copyright terms: Public domain W3C validator