Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  lemsuccf Structured version   Visualization version   GIF version

Theorem lemsuccf 36468
Description: Lemma for unfolding different forms of the Succ function. (Contributed by Scott Fenton, 14-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Hypotheses
Ref Expression
brsuccf.1 𝐴 ∈ V
brsuccf.2 𝐵 ∈ V
Assertion
Ref Expression
lemsuccf (∃𝑥(𝐴( I ⊗ Singleton)𝑥𝑥Cup𝐵) ↔ 𝐵 = suc 𝐴)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem lemsuccf
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opex 5447 . . . 4 𝐴, {𝐴}⟩ ∈ V
2 breq1 5114 . . . 4 (𝑥 = ⟨𝐴, {𝐴}⟩ → (𝑥Cup𝐵 ↔ ⟨𝐴, {𝐴}⟩Cup𝐵))
31, 2ceqsexv 3505 . . 3 (∃𝑥(𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵) ↔ ⟨𝐴, {𝐴}⟩Cup𝐵)
4 brsuccf.1 . . . 4 𝐴 ∈ V
5 snex 5412 . . . 4 {𝐴} ∈ V
6 brsuccf.2 . . . 4 𝐵 ∈ V
74, 5, 6brcup 36466 . . 3 (⟨𝐴, {𝐴}⟩Cup𝐵𝐵 = (𝐴 ∪ {𝐴}))
83, 7bitri 278 . 2 (∃𝑥(𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵) ↔ 𝐵 = (𝐴 ∪ {𝐴}))
94brtxp2 36408 . . . . 5 (𝐴( I ⊗ Singleton)𝑥 ↔ ∃𝑎𝑏(𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏))
109anbi1i 636 . . . 4 ((𝐴( I ⊗ Singleton)𝑥𝑥Cup𝐵) ↔ (∃𝑎𝑏(𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ∧ 𝑥Cup𝐵))
11 3anass 1111 . . . . . . . 8 ((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ↔ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ (𝐴 I 𝑎𝐴Singleton𝑏)))
1211anbi1i 636 . . . . . . 7 (((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ∧ 𝑥Cup𝐵) ↔ ((𝑥 = ⟨𝑎, 𝑏⟩ ∧ (𝐴 I 𝑎𝐴Singleton𝑏)) ∧ 𝑥Cup𝐵))
13 an32 659 . . . . . . 7 (((𝑥 = ⟨𝑎, 𝑏⟩ ∧ (𝐴 I 𝑎𝐴Singleton𝑏)) ∧ 𝑥Cup𝐵) ↔ ((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵) ∧ (𝐴 I 𝑎𝐴Singleton𝑏)))
14 vex 3461 . . . . . . . . . . . 12 𝑎 ∈ V
1514ideq 5840 . . . . . . . . . . 11 (𝐴 I 𝑎𝐴 = 𝑎)
16 eqcom 2772 . . . . . . . . . . 11 (𝐴 = 𝑎𝑎 = 𝐴)
1715, 16bitri 278 . . . . . . . . . 10 (𝐴 I 𝑎𝑎 = 𝐴)
18 vex 3461 . . . . . . . . . . 11 𝑏 ∈ V
194, 18brsingle 36444 . . . . . . . . . 10 (𝐴Singleton𝑏𝑏 = {𝐴})
2017, 19anbi12i 640 . . . . . . . . 9 ((𝐴 I 𝑎𝐴Singleton𝑏) ↔ (𝑎 = 𝐴𝑏 = {𝐴}))
2120anbi1i 636 . . . . . . . 8 (((𝐴 I 𝑎𝐴Singleton𝑏) ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)) ↔ ((𝑎 = 𝐴𝑏 = {𝐴}) ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)))
22 ancom 466 . . . . . . . 8 (((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵) ∧ (𝐴 I 𝑎𝐴Singleton𝑏)) ↔ ((𝐴 I 𝑎𝐴Singleton𝑏) ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)))
23 df-3an 1105 . . . . . . . 8 ((𝑎 = 𝐴𝑏 = {𝐴} ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)) ↔ ((𝑎 = 𝐴𝑏 = {𝐴}) ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)))
2421, 22, 233bitr4i 306 . . . . . . 7 (((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵) ∧ (𝐴 I 𝑎𝐴Singleton𝑏)) ↔ (𝑎 = 𝐴𝑏 = {𝐴} ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)))
2512, 13, 243bitri 300 . . . . . 6 (((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ∧ 𝑥Cup𝐵) ↔ (𝑎 = 𝐴𝑏 = {𝐴} ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)))
26252exbii 1882 . . . . 5 (∃𝑎𝑏((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ∧ 𝑥Cup𝐵) ↔ ∃𝑎𝑏(𝑎 = 𝐴𝑏 = {𝐴} ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)))
27 19.41vv 1983 . . . . 5 (∃𝑎𝑏((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ∧ 𝑥Cup𝐵) ↔ (∃𝑎𝑏(𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ∧ 𝑥Cup𝐵))
28 opeq1 4840 . . . . . . . 8 (𝑎 = 𝐴 → ⟨𝑎, 𝑏⟩ = ⟨𝐴, 𝑏⟩)
2928eqeq2d 2776 . . . . . . 7 (𝑎 = 𝐴 → (𝑥 = ⟨𝑎, 𝑏⟩ ↔ 𝑥 = ⟨𝐴, 𝑏⟩))
3029anbi1d 643 . . . . . 6 (𝑎 = 𝐴 → ((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵) ↔ (𝑥 = ⟨𝐴, 𝑏⟩ ∧ 𝑥Cup𝐵)))
31 opeq2 4841 . . . . . . . 8 (𝑏 = {𝐴} → ⟨𝐴, 𝑏⟩ = ⟨𝐴, {𝐴}⟩)
3231eqeq2d 2776 . . . . . . 7 (𝑏 = {𝐴} → (𝑥 = ⟨𝐴, 𝑏⟩ ↔ 𝑥 = ⟨𝐴, {𝐴}⟩))
3332anbi1d 643 . . . . . 6 (𝑏 = {𝐴} → ((𝑥 = ⟨𝐴, 𝑏⟩ ∧ 𝑥Cup𝐵) ↔ (𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵)))
344, 5, 30, 33ceqsex2v 3508 . . . . 5 (∃𝑎𝑏(𝑎 = 𝐴𝑏 = {𝐴} ∧ (𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵)) ↔ (𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵))
3526, 27, 343bitr3i 304 . . . 4 ((∃𝑎𝑏(𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝐴 I 𝑎𝐴Singleton𝑏) ∧ 𝑥Cup𝐵) ↔ (𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵))
3610, 35bitri 278 . . 3 ((𝐴( I ⊗ Singleton)𝑥𝑥Cup𝐵) ↔ (𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵))
3736exbii 1881 . 2 (∃𝑥(𝐴( I ⊗ Singleton)𝑥𝑥Cup𝐵) ↔ ∃𝑥(𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵))
38 df-suc 6370 . . 3 suc 𝐴 = (𝐴 ∪ {𝐴})
3938eqeq2i 2778 . 2 (𝐵 = suc 𝐴𝐵 = (𝐴 ∪ {𝐴}))
408, 37, 393bitr4i 306 1 (∃𝑥(𝐴( I ⊗ Singleton)𝑥𝑥Cup𝐵) ↔ 𝐵 = suc 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 401  w3a 1103   = wceq 1570  wex 1812  wcel 2146  Vcvv 3457  cun 3904  {csn 4591  cop 4597   class class class wbr 5111   I cid 5557  suc csuc 6366  ctxp 36357  Singletoncsingle 36365  Cupccup 36373
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pr 5406  ax-un 7742
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-rab 3419  df-v 3459  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-symdif 4206  df-nul 4287  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-br 5112  df-opab 5176  df-mpt 5195  df-id 5558  df-eprel 5563  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-suc 6370  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-fo 6546  df-fv 6548  df-1st 7992  df-2nd 7993  df-txp 36381  df-singleton 36389  df-cup 36396
This theorem is used by:  brsuccf  36469  dfsuccf2  36470
  Copyright terms: Public domain W3C validator