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

Theorem opthreg 4280
Description: Theorem for alternate representation of ordered pairs, requiring the Axiom of Set Induction ax-setind 4262 (via the preleq 4279 step). See df-op 3384 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 3476 . . . 4 𝐴 ∈ {𝐴, 𝐵}
3 preleq.3 . . . . 5 𝐶 ∈ V
43prid1 3476 . . . 4 𝐶 ∈ {𝐶, 𝐷}
5 preleq.2 . . . . . 6 𝐵 ∈ V
6 prexgOLD 3946 . . . . . 6 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝐴, 𝐵} ∈ V)
71, 5, 6mp2an 402 . . . . 5 {𝐴, 𝐵} ∈ V
8 preleq.4 . . . . . 6 𝐷 ∈ V
9 prexgOLD 3946 . . . . . 6 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → {𝐶, 𝐷} ∈ V)
103, 8, 9mp2an 402 . . . . 5 {𝐶, 𝐷} ∈ V
111, 7, 3, 10preleq 4279 . . . 4 (((𝐴 ∈ {𝐴, 𝐵} ∧ 𝐶 ∈ {𝐶, 𝐷}) ∧ {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}}) → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}))
122, 4, 11mpanl12 412 . . 3 ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}))
13 preq1 3447 . . . . . 6 (𝐴 = 𝐶 → {𝐴, 𝐵} = {𝐶, 𝐵})
1413eqeq1d 2048 . . . . 5 (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} ↔ {𝐶, 𝐵} = {𝐶, 𝐷}))
155, 8preqr2 3540 . . . . 5 ({𝐶, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷)
1614, 15syl6bi 152 . . . 4 (𝐴 = 𝐶 → ({𝐴, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷))
1716imdistani 419 . . 3 ((𝐴 = 𝐶 ∧ {𝐴, 𝐵} = {𝐶, 𝐷}) → (𝐴 = 𝐶𝐵 = 𝐷))
1812, 17syl 14 . 2 ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} → (𝐴 = 𝐶𝐵 = 𝐷))
19 preq1 3447 . . . 4 (𝐴 = 𝐶 → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}})
2019adantr 261 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐴, 𝐵}})
21 preq12 3449 . . . 4 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, 𝐵} = {𝐶, 𝐷})
2221preq2d 3454 . . 3 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐶, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}})
2320, 22eqtrd 2072 . 2 ((𝐴 = 𝐶𝐵 = 𝐷) → {𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}})
2418, 23impbii 117 1 ({𝐴, {𝐴, 𝐵}} = {𝐶, {𝐶, 𝐷}} ↔ (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff set class
Syntax hints:  wa 97  wb 98   = wceq 1243  wcel 1393  Vcvv 2557  {cpr 3376
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pr 3944  ax-setind 4262
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-v 2559  df-dif 2920  df-un 2922  df-sn 3381  df-pr 3382
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator