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

Theorem axdc3lem3 10437
Description: Simple substitution lemma for axdc3 10439. (Contributed by Mario Carneiro, 27-Jan-2013.)
Hypotheses
Ref Expression
axdc3lem3.1 𝐴 ∈ V
axdc3lem3.2 𝑆 = {𝑠 ∣ ∃𝑛 ∈ ω (𝑠:suc 𝑛𝐴 ∧ (𝑠‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘)))}
axdc3lem3.3 𝐵 ∈ V
Assertion
Ref Expression
axdc3lem3 (𝐵𝑆 ↔ ∃𝑚 ∈ ω (𝐵:suc 𝑚𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑚 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))))
Distinct variable groups:   𝐴,𝑚,𝑛   𝐴,𝑠,𝑛   𝐵,𝑘,𝑚,𝑛   𝐵,𝑠,𝑘   𝐶,𝑚,𝑛   𝐶,𝑠   𝑚,𝐹,𝑛   𝐹,𝑠
Allowed substitution hints:   𝐴(𝑘)   𝐶(𝑘)   𝑆(𝑘,𝑚,𝑛,𝑠)   𝐹(𝑘)

Proof of Theorem axdc3lem3
StepHypRef Expression
1 axdc3lem3.2 . . 3 𝑆 = {𝑠 ∣ ∃𝑛 ∈ ω (𝑠:suc 𝑛𝐴 ∧ (𝑠‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘)))}
21eleq2i 2855 . 2 (𝐵𝑆𝐵 ∈ {𝑠 ∣ ∃𝑛 ∈ ω (𝑠:suc 𝑛𝐴 ∧ (𝑠‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘)))})
3 axdc3lem3.3 . . 3 𝐵 ∈ V
4 feq1 6685 . . . . 5 (𝑠 = 𝐵 → (𝑠:suc 𝑛𝐴𝐵:suc 𝑛𝐴))
5 fveq1 6882 . . . . . 6 (𝑠 = 𝐵 → (𝑠‘∅) = (𝐵‘∅))
65eqeq1d 2765 . . . . 5 (𝑠 = 𝐵 → ((𝑠‘∅) = 𝐶 ↔ (𝐵‘∅) = 𝐶))
7 fveq1 6882 . . . . . . 7 (𝑠 = 𝐵 → (𝑠‘suc 𝑘) = (𝐵‘suc 𝑘))
8 fveq1 6882 . . . . . . . 8 (𝑠 = 𝐵 → (𝑠𝑘) = (𝐵𝑘))
98fveq2d 6887 . . . . . . 7 (𝑠 = 𝐵 → (𝐹‘(𝑠𝑘)) = (𝐹‘(𝐵𝑘)))
107, 9eleq12d 2857 . . . . . 6 (𝑠 = 𝐵 → ((𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘)) ↔ (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))))
1110ralbidv 3188 . . . . 5 (𝑠 = 𝐵 → (∀𝑘𝑛 (𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘)) ↔ ∀𝑘𝑛 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))))
124, 6, 113anbi123d 1464 . . . 4 (𝑠 = 𝐵 → ((𝑠:suc 𝑛𝐴 ∧ (𝑠‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘))) ↔ (𝐵:suc 𝑛𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘)))))
1312rexbidv 3189 . . 3 (𝑠 = 𝐵 → (∃𝑛 ∈ ω (𝑠:suc 𝑛𝐴 ∧ (𝑠‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘))) ↔ ∃𝑛 ∈ ω (𝐵:suc 𝑛𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘)))))
143, 13elab 3639 . 2 (𝐵 ∈ {𝑠 ∣ ∃𝑛 ∈ ω (𝑠:suc 𝑛𝐴 ∧ (𝑠‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝑠‘suc 𝑘) ∈ (𝐹‘(𝑠𝑘)))} ↔ ∃𝑛 ∈ ω (𝐵:suc 𝑛𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))))
15 suceq 6431 . . . . 5 (𝑛 = 𝑚 → suc 𝑛 = suc 𝑚)
1615feq2d 6691 . . . 4 (𝑛 = 𝑚 → (𝐵:suc 𝑛𝐴𝐵:suc 𝑚𝐴))
17 raleq 3320 . . . 4 (𝑛 = 𝑚 → (∀𝑘𝑛 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘)) ↔ ∀𝑘𝑚 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))))
1816, 173anbi13d 1466 . . 3 (𝑛 = 𝑚 → ((𝐵:suc 𝑛𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))) ↔ (𝐵:suc 𝑚𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑚 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘)))))
1918cbvrexvw 3244 . 2 (∃𝑛 ∈ ω (𝐵:suc 𝑛𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑛 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))) ↔ ∃𝑚 ∈ ω (𝐵:suc 𝑚𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑚 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))))
202, 14, 193bitri 300 1 (𝐵𝑆 ↔ ∃𝑚 ∈ ω (𝐵:suc 𝑚𝐴 ∧ (𝐵‘∅) = 𝐶 ∧ ∀𝑘𝑚 (𝐵‘suc 𝑘) ∈ (𝐹‘(𝐵𝑘))))
Colors of variables: wff setvar class
Syntax hints:  wb 209  w3a 1103   = wceq 1570  wcel 2143  {cab 2741  wral 3079  wrex 3089  Vcvv 3455  c0 4287  suc csuc 6364  wf 6534  cfv 6538  ωcom 7863
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-ext 2735
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1810  df-sb 2097  df-clab 2742  df-cleq 2755  df-clel 2838  df-ral 3080  df-rex 3090  df-rab 3417  df-v 3457  df-dif 3909  df-un 3911  df-ss 3923  df-nul 4288  df-if 4489  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4874  df-br 5111  df-opab 5175  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546
This theorem is referenced by:  axdc3lem4  10438
  Copyright terms: Public domain W3C validator