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

Theorem opthreg 4466
Description: Theorem for alternate representation of ordered pairs, requiring the Axiom of Set Induction ax-setind 4447 (via the preleq 4465 step). See df-op 3531 for a description of other ordered pair representations. Exercise 34 of [Enderton] p. 207. (Contributed by NM, 16-Oct-1996.)
Hypotheses
Ref Expression
preleq.1 𝐴 ∈ V
preleq.2 𝐵 ∈ V
preleq.3 𝐶 ∈ V
preleq.4 𝐷 ∈ V
Assertion
Ref Expression
opthreg ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} ↔ (𝐴 = 𝐶𝐵 = 𝐷))

Proof of Theorem opthreg
StepHypRef Expression
1 preleq.1 . . . . 5 𝐴 ∈ V
21prid1 3624 . . . 4 𝐴 ∈ {𝐴, 𝐵}
3 preleq.3 . . . . 5 𝐶 ∈ V
43prid1 3624 . . . 4 𝐶 ∈ {𝐶, 𝐷}
5 preleq.2 . . . . . 6 𝐵 ∈ V
6 prexg 4128 . . . . . 6 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝐴, 𝐵} ∈ V)
71, 5, 6mp2an 422 . . . . 5 {𝐴, 𝐵} ∈ V
8 preleq.4 . . . . . 6 𝐷 ∈ V
9 prexg 4128 . . . . . 6 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → {𝐶, 𝐷} ∈ V)
103, 8, 9mp2an 422 . . . . 5 {𝐶, 𝐷} ∈ V
111, 7, 3, 10preleq 4465 . . . 4 (((𝐴 ∈ {𝐴, 𝐵} ∧ 𝐶 ∈ {𝐶, 𝐷}) ∧ {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}))
122, 4, 11mpanl12 432 . . 3 ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}))
13 preq1 3595 . . . . . 6 (𝐴 = 𝐶 → {𝐴, 𝐵} = {𝐶, 𝐵})
1413eqeq1d 2146 . . . . 5 (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ {𝐶, 𝐵} = {𝐶, 𝐷}))
155, 8preqr2 3691 . . . . 5 ({𝐶, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷)
1614, 15syl6bi 162 . . . 4 (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷))
1716imdistani 441 . . 3 ((𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶𝐵 = 𝐷))
1812, 17syl 14 . 2 ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶𝐵 = 𝐷))
19 preq1 3595 . . . 4 (𝐴 = 𝐶 → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}})
2019adantr 274 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}})
21 preq12 3597 . . . 4 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷})
2221preq2d 3602 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐶, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}})
2320, 22eqtrd 2170 . 2 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}})
2418, 23impbii 125 1 ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} ↔ (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104   = wceq 1331  wcel 1480  Vcvv 2681  {cpr 3523
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-in1 603  ax-in2 604  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-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pr 4126  ax-setind 4447
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-v 2683  df-dif 3068  df-un 3070  df-sn 3528  df-pr 3529
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator