ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  unipr GIF version

Theorem unipr 3745
Description: The union of a pair is the union of its members. Proposition 5.7 of [TakeutiZaring] p. 16. (Contributed by NM, 23-Aug-1993.)
Hypotheses
Ref Expression
unipr.1 𝐴 ∈ V
unipr.2 𝐵 ∈ V
Assertion
Ref Expression
unipr {𝐴, 𝐵} = (𝐴𝐵)

Proof of Theorem unipr
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 19.43 1607 . . . 4 (∃𝑦((𝑥𝑦𝑦 = 𝐴) ∨ (𝑥𝑦𝑦 = 𝐵)) ↔ (∃𝑦(𝑥𝑦𝑦 = 𝐴) ∨ ∃𝑦(𝑥𝑦𝑦 = 𝐵)))
2 vex 2684 . . . . . . . 8 𝑦 ∈ V
32elpr 3543 . . . . . . 7 (𝑦 ∈ {𝐴, 𝐵} ↔ (𝑦 = 𝐴𝑦 = 𝐵))
43anbi2i 452 . . . . . 6 ((𝑥𝑦𝑦 ∈ {𝐴, 𝐵}) ↔ (𝑥𝑦 ∧ (𝑦 = 𝐴𝑦 = 𝐵)))
5 andi 807 . . . . . 6 ((𝑥𝑦 ∧ (𝑦 = 𝐴𝑦 = 𝐵)) ↔ ((𝑥𝑦𝑦 = 𝐴) ∨ (𝑥𝑦𝑦 = 𝐵)))
64, 5bitri 183 . . . . 5 ((𝑥𝑦𝑦 ∈ {𝐴, 𝐵}) ↔ ((𝑥𝑦𝑦 = 𝐴) ∨ (𝑥𝑦𝑦 = 𝐵)))
76exbii 1584 . . . 4 (∃𝑦(𝑥𝑦𝑦 ∈ {𝐴, 𝐵}) ↔ ∃𝑦((𝑥𝑦𝑦 = 𝐴) ∨ (𝑥𝑦𝑦 = 𝐵)))
8 unipr.1 . . . . . . 7 𝐴 ∈ V
98clel3 2815 . . . . . 6 (𝑥𝐴 ↔ ∃𝑦(𝑦 = 𝐴𝑥𝑦))
10 exancom 1587 . . . . . 6 (∃𝑦(𝑦 = 𝐴𝑥𝑦) ↔ ∃𝑦(𝑥𝑦𝑦 = 𝐴))
119, 10bitri 183 . . . . 5 (𝑥𝐴 ↔ ∃𝑦(𝑥𝑦𝑦 = 𝐴))
12 unipr.2 . . . . . . 7 𝐵 ∈ V
1312clel3 2815 . . . . . 6 (𝑥𝐵 ↔ ∃𝑦(𝑦 = 𝐵𝑥𝑦))
14 exancom 1587 . . . . . 6 (∃𝑦(𝑦 = 𝐵𝑥𝑦) ↔ ∃𝑦(𝑥𝑦𝑦 = 𝐵))
1513, 14bitri 183 . . . . 5 (𝑥𝐵 ↔ ∃𝑦(𝑥𝑦𝑦 = 𝐵))
1611, 15orbi12i 753 . . . 4 ((𝑥𝐴𝑥𝐵) ↔ (∃𝑦(𝑥𝑦𝑦 = 𝐴) ∨ ∃𝑦(𝑥𝑦𝑦 = 𝐵)))
171, 7, 163bitr4ri 212 . . 3 ((𝑥𝐴𝑥𝐵) ↔ ∃𝑦(𝑥𝑦𝑦 ∈ {𝐴, 𝐵}))
1817abbii 2253 . 2 {𝑥 ∣ (𝑥𝐴𝑥𝐵)} = {𝑥 ∣ ∃𝑦(𝑥𝑦𝑦 ∈ {𝐴, 𝐵})}
19 df-un 3070 . 2 (𝐴𝐵) = {𝑥 ∣ (𝑥𝐴𝑥𝐵)}
20 df-uni 3732 . 2 {𝐴, 𝐵} = {𝑥 ∣ ∃𝑦(𝑥𝑦𝑦 ∈ {𝐴, 𝐵})}
2118, 19, 203eqtr4ri 2169 1 {𝐴, 𝐵} = (𝐴𝐵)
Colors of variables: wff set class
Syntax hints:  wa 103  wo 697   = wceq 1331  wex 1468  wcel 1480  {cab 2123  Vcvv 2681  cun 3064  {cpr 3523   cuni 3731
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-v 2683  df-un 3070  df-sn 3528  df-pr 3529  df-uni 3732
This theorem is referenced by:  uniprg  3746  unisn  3747  uniop  4172  unex  4357  bj-unex  13106
  Copyright terms: Public domain W3C validator