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

Theorem unblem2 8997
Description: Lemma for unbnn 9000. 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 6756 . . . 4 (𝑧 = ∅ → (𝐹𝑧) = (𝐹‘∅))
21eleq1d 2823 . . 3 (𝑧 = ∅ → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹‘∅) ∈ 𝐴))
3 fveq2 6756 . . . 4 (𝑧 = 𝑢 → (𝐹𝑧) = (𝐹𝑢))
43eleq1d 2823 . . 3 (𝑧 = 𝑢 → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹𝑢) ∈ 𝐴))
5 fveq2 6756 . . . 4 (𝑧 = suc 𝑢 → (𝐹𝑧) = (𝐹‘suc 𝑢))
65eleq1d 2823 . . 3 (𝑧 = suc 𝑢 → ((𝐹𝑧) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴))
7 omsson 7691 . . . . . 6 ω ⊆ On
8 sstr 3925 . . . . . 6 ((𝐴 ⊆ ω ∧ ω ⊆ On) → 𝐴 ⊆ On)
97, 8mpan2 687 . . . . 5 (𝐴 ⊆ ω → 𝐴 ⊆ On)
10 peano1 7710 . . . . . . . . 9 ∅ ∈ ω
11 eleq1 2826 . . . . . . . . . . 11 (𝑤 = ∅ → (𝑤𝑣 ↔ ∅ ∈ 𝑣))
1211rexbidv 3225 . . . . . . . . . 10 (𝑤 = ∅ → (∃𝑣𝐴 𝑤𝑣 ↔ ∃𝑣𝐴 ∅ ∈ 𝑣))
1312rspcv 3547 . . . . . . . . 9 (∅ ∈ ω → (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣𝐴 ∅ ∈ 𝑣))
1410, 13ax-mp 5 . . . . . . . 8 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣𝐴 ∅ ∈ 𝑣)
15 df-rex 3069 . . . . . . . 8 (∃𝑣𝐴 ∅ ∈ 𝑣 ↔ ∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣))
1614, 15sylib 217 . . . . . . 7 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣))
17 exsimpl 1872 . . . . . . 7 (∃𝑣(𝑣𝐴 ∧ ∅ ∈ 𝑣) → ∃𝑣 𝑣𝐴)
1816, 17syl 17 . . . . . 6 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣 → ∃𝑣 𝑣𝐴)
19 n0 4277 . . . . . 6 (𝐴 ≠ ∅ ↔ ∃𝑣 𝑣𝐴)
2018, 19sylibr 233 . . . . 5 (∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣𝐴 ≠ ∅)
21 onint 7617 . . . . 5 ((𝐴 ⊆ On ∧ 𝐴 ≠ ∅) → 𝐴𝐴)
229, 20, 21syl2an 595 . . . 4 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → 𝐴𝐴)
23 unblem.2 . . . . . . . 8 𝐹 = (rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)
2423fveq1i 6757 . . . . . . 7 (𝐹‘∅) = ((rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)‘∅)
25 fr0g 8237 . . . . . . 7 ( 𝐴𝐴 → ((rec((𝑥 ∈ V ↦ (𝐴 ∖ suc 𝑥)), 𝐴) ↾ ω)‘∅) = 𝐴)
2624, 25eqtr2id 2792 . . . . . 6 ( 𝐴𝐴 𝐴 = (𝐹‘∅))
2726eleq1d 2823 . . . . 5 ( 𝐴𝐴 → ( 𝐴𝐴 ↔ (𝐹‘∅) ∈ 𝐴))
2827ibi 266 . . . 4 ( 𝐴𝐴 → (𝐹‘∅) ∈ 𝐴)
2922, 28syl 17 . . 3 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝐹‘∅) ∈ 𝐴)
30 unblem1 8996 . . . . 5 (((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) ∧ (𝐹𝑢) ∈ 𝐴) → (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴)
31 suceq 6316 . . . . . . . . . . . 12 (𝑦 = 𝑥 → suc 𝑦 = suc 𝑥)
3231difeq2d 4053 . . . . . . . . . . 11 (𝑦 = 𝑥 → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc 𝑥))
3332inteqd 4881 . . . . . . . . . 10 (𝑦 = 𝑥 (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc 𝑥))
34 suceq 6316 . . . . . . . . . . . 12 (𝑦 = (𝐹𝑢) → suc 𝑦 = suc (𝐹𝑢))
3534difeq2d 4053 . . . . . . . . . . 11 (𝑦 = (𝐹𝑢) → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc (𝐹𝑢)))
3635inteqd 4881 . . . . . . . . . 10 (𝑦 = (𝐹𝑢) → (𝐴 ∖ suc 𝑦) = (𝐴 ∖ suc (𝐹𝑢)))
3723, 33, 36frsucmpt2 8241 . . . . . . . . 9 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → (𝐹‘suc 𝑢) = (𝐴 ∖ suc (𝐹𝑢)))
3837eqcomd 2744 . . . . . . . 8 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → (𝐴 ∖ suc (𝐹𝑢)) = (𝐹‘suc 𝑢))
3938eleq1d 2823 . . . . . . 7 ((𝑢 ∈ ω ∧ (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴) → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴))
4039ex 412 . . . . . 6 (𝑢 ∈ ω → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 ↔ (𝐹‘suc 𝑢) ∈ 𝐴)))
4140ibd 268 . . . . 5 (𝑢 ∈ ω → ( (𝐴 ∖ suc (𝐹𝑢)) ∈ 𝐴 → (𝐹‘suc 𝑢) ∈ 𝐴))
4230, 41syl5 34 . . . 4 (𝑢 ∈ ω → (((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) ∧ (𝐹𝑢) ∈ 𝐴) → (𝐹‘suc 𝑢) ∈ 𝐴))
4342expd 415 . . 3 (𝑢 ∈ ω → ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → ((𝐹𝑢) ∈ 𝐴 → (𝐹‘suc 𝑢) ∈ 𝐴)))
442, 4, 6, 29, 43finds2 7721 . 2 (𝑧 ∈ ω → ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝐹𝑧) ∈ 𝐴))
4544com12 32 1 ((𝐴 ⊆ ω ∧ ∀𝑤 ∈ ω ∃𝑣𝐴 𝑤𝑣) → (𝑧 ∈ ω → (𝐹𝑧) ∈ 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wne 2942  wral 3063  wrex 3064  Vcvv 3422  cdif 3880  wss 3883  c0 4253   cint 4876  cmpt 5153  cres 5582  Oncon0 6251  suc csuc 6253  cfv 6418  ωcom 7687  reccrdg 8211
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-sep 5218  ax-nul 5225  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-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-int 4877  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-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-ov 7258  df-om 7688  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212
This theorem is referenced by:  unblem3  8998  unblem4  8999
  Copyright terms: Public domain W3C validator