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 36519
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 5439 . . . 4 𝐴, {𝐴}⟩ ∈ V
2 breq1 5106 . . . 4 (𝑥 = ⟨𝐴, {𝐴}⟩ → (𝑥Cup𝐵 ↔ ⟨𝐴, {𝐴}⟩Cup𝐵))
31, 2ceqsexv 3498 . . 3 (∃𝑥(𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵) ↔ ⟨𝐴, {𝐴}⟩Cup𝐵)
4 brsuccf.1 . . . 4 𝐴 ∈ V
5 snex 5404 . . . 4 {𝐴} ∈ V
6 brsuccf.2 . . . 4 𝐵 ∈ V
74, 5, 6brcup 36517 . . 3 (⟨𝐴, {𝐴}⟩Cup𝐵𝐵 = (𝐴 ∪ {𝐴}))
83, 7bitri 278 . 2 (∃𝑥(𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵) ↔ 𝐵 = (𝐴 ∪ {𝐴}))
94brtxp2 36459 . . . . 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 3454 . . . . . . . . . . . 12 𝑎 ∈ V
1514ideq 5832 . . . . . . . . . . 11 (𝐴 I 𝑎𝐴 = 𝑎)
16 eqcom 2767 . . . . . . . . . . 11 (𝐴 = 𝑎𝑎 = 𝐴)
1715, 16bitri 278 . . . . . . . . . 10 (𝐴 I 𝑎𝑎 = 𝐴)
18 vex 3454 . . . . . . . . . . 11 𝑏 ∈ V
194, 18brsingle 36495 . . . . . . . . . 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 4833 . . . . . . . 8 (𝑎 = 𝐴 → ⟨𝑎, 𝑏⟩ = ⟨𝐴, 𝑏⟩)
2928eqeq2d 2771 . . . . . . 7 (𝑎 = 𝐴 → (𝑥 = ⟨𝑎, 𝑏⟩ ↔ 𝑥 = ⟨𝐴, 𝑏⟩))
3029anbi1d 643 . . . . . 6 (𝑎 = 𝐴 → ((𝑥 = ⟨𝑎, 𝑏⟩ ∧ 𝑥Cup𝐵) ↔ (𝑥 = ⟨𝐴, 𝑏⟩ ∧ 𝑥Cup𝐵)))
31 opeq2 4834 . . . . . . . 8 (𝑏 = {𝐴} → ⟨𝐴, 𝑏⟩ = ⟨𝐴, {𝐴}⟩)
3231eqeq2d 2771 . . . . . . 7 (𝑏 = {𝐴} → (𝑥 = ⟨𝐴, 𝑏⟩ ↔ 𝑥 = ⟨𝐴, {𝐴}⟩))
3332anbi1d 643 . . . . . 6 (𝑏 = {𝐴} → ((𝑥 = ⟨𝐴, 𝑏⟩ ∧ 𝑥Cup𝐵) ↔ (𝑥 = ⟨𝐴, {𝐴}⟩ ∧ 𝑥Cup𝐵)))
344, 5, 30, 33ceqsex2v 3501 . . . . 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 6363 . . 3 suc 𝐴 = (𝐴 ∪ {𝐴})
3938eqeq2i 2773 . 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 2145  Vcvv 3450  cun 3897  {csn 4584  cop 4590   class class class wbr 5103   I cid 5549  suc csuc 6359  ctxp 36408  Singletoncsingle 36416  Cupccup 36424
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-sep 5251  ax-nul 5263  ax-pr 5398  ax-un 7737
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 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-symdif 4199  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5550  df-eprel 5555  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-suc 6363  df-iota 6489  df-fun 6535  df-fn 6536  df-f 6537  df-fo 6539  df-fv 6541  df-1st 7987  df-2nd 7988  df-txp 36432  df-singleton 36440  df-cup 36447
This theorem is used by:  brsuccf  36520  dfsuccf2  36521
  Copyright terms: Public domain W3C validator