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

Theorem elpr2elpr 3825
Description: For an element 𝐴 of an unordered pair which is a subset of a given set 𝑉, there is another (maybe the same) element 𝑏 of the given set 𝑉 being an element of the unordered pair. (Contributed by AV, 5-Dec-2020.)
Assertion
Ref Expression
elpr2elpr ((𝑋𝑉𝑌𝑉𝐴 ∈ {𝑋, 𝑌}) → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏})
Distinct variable groups:   𝐴,𝑏   𝑉,𝑏   𝑋,𝑏   𝑌,𝑏

Proof of Theorem elpr2elpr
StepHypRef Expression
1 simprr 531 . . . . . 6 ((𝐴 = 𝑋 ∧ (𝑋𝑉𝑌𝑉)) → 𝑌𝑉)
2 preq12 3717 . . . . . . . 8 ((𝐴 = 𝑋𝑏 = 𝑌) → {𝐴, 𝑏} = {𝑋, 𝑌})
32eqcomd 2212 . . . . . . 7 ((𝐴 = 𝑋𝑏 = 𝑌) → {𝑋, 𝑌} = {𝐴, 𝑏})
43adantlr 477 . . . . . 6 (((𝐴 = 𝑋 ∧ (𝑋𝑉𝑌𝑉)) ∧ 𝑏 = 𝑌) → {𝑋, 𝑌} = {𝐴, 𝑏})
51, 4rspcedeq2vd 2891 . . . . 5 ((𝐴 = 𝑋 ∧ (𝑋𝑉𝑌𝑉)) → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏})
65ex 115 . . . 4 (𝐴 = 𝑋 → ((𝑋𝑉𝑌𝑉) → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏}))
7 simprl 529 . . . . . 6 ((𝐴 = 𝑌 ∧ (𝑋𝑉𝑌𝑉)) → 𝑋𝑉)
8 preq12 3717 . . . . . . . 8 ((𝐴 = 𝑌𝑏 = 𝑋) → {𝐴, 𝑏} = {𝑌, 𝑋})
9 prcom 3714 . . . . . . . 8 {𝑌, 𝑋} = {𝑋, 𝑌}
108, 9eqtr2di 2256 . . . . . . 7 ((𝐴 = 𝑌𝑏 = 𝑋) → {𝑋, 𝑌} = {𝐴, 𝑏})
1110adantlr 477 . . . . . 6 (((𝐴 = 𝑌 ∧ (𝑋𝑉𝑌𝑉)) ∧ 𝑏 = 𝑋) → {𝑋, 𝑌} = {𝐴, 𝑏})
127, 11rspcedeq2vd 2891 . . . . 5 ((𝐴 = 𝑌 ∧ (𝑋𝑉𝑌𝑉)) → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏})
1312ex 115 . . . 4 (𝐴 = 𝑌 → ((𝑋𝑉𝑌𝑉) → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏}))
146, 13jaoi 718 . . 3 ((𝐴 = 𝑋𝐴 = 𝑌) → ((𝑋𝑉𝑌𝑉) → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏}))
15 elpri 3661 . . 3 (𝐴 ∈ {𝑋, 𝑌} → (𝐴 = 𝑋𝐴 = 𝑌))
1614, 15syl11 31 . 2 ((𝑋𝑉𝑌𝑉) → (𝐴 ∈ {𝑋, 𝑌} → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏}))
17163impia 1203 1 ((𝑋𝑉𝑌𝑉𝐴 ∈ {𝑋, 𝑌}) → ∃𝑏𝑉 {𝑋, 𝑌} = {𝐴, 𝑏})
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wo 710  w3a 981   = wceq 1373  wcel 2177  wrex 2486  {cpr 3639
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-ext 2188
This theorem depends on definitions:  df-bi 117  df-3an 983  df-tru 1376  df-nf 1485  df-sb 1787  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-rex 2491  df-v 2775  df-un 3174  df-sn 3644  df-pr 3645
This theorem is referenced by:  upgredg2vtx  15822
  Copyright terms: Public domain W3C validator