Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfon2lem5 Structured version   Visualization version   GIF version

Theorem dfon2lem5 33763
Description: Lemma for dfon2 33768. Two sets satisfying the new definition also satisfy trichotomy with respect to . (Contributed by Scott Fenton, 25-Feb-2011.)
Hypotheses
Ref Expression
dfon2lem5.1 𝐴 ∈ V
dfon2lem5.2 𝐵 ∈ V
Assertion
Ref Expression
dfon2lem5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦

Proof of Theorem dfon2lem5
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 dfon2lem5.1 . . . 4 𝐴 ∈ V
2 dfon2lem5.2 . . . 4 𝐵 ∈ V
31, 2dfon2lem4 33762 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
4 dfpss2 4020 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵 ∧ ¬ 𝐴 = 𝐵))
5 dfpss2 4020 . . . . . . 7 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐵 = 𝐴))
6 eqcom 2745 . . . . . . . . 9 (𝐵 = 𝐴𝐴 = 𝐵)
76notbii 320 . . . . . . . 8 𝐵 = 𝐴 ↔ ¬ 𝐴 = 𝐵)
87anbi2i 623 . . . . . . 7 ((𝐵𝐴 ∧ ¬ 𝐵 = 𝐴) ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
95, 8bitri 274 . . . . . 6 (𝐵𝐴 ↔ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵))
104, 9orbi12i 912 . . . . 5 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) ∨ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵)))
11 andir 1006 . . . . 5 (((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵) ↔ ((𝐴𝐵 ∧ ¬ 𝐴 = 𝐵) ∨ (𝐵𝐴 ∧ ¬ 𝐴 = 𝐵)))
1210, 11bitr4i 277 . . . 4 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵))
13 orcom 867 . . . . 5 ((𝐴𝐵𝐵𝐴) ↔ (𝐵𝐴𝐴𝐵))
14 dfon2lem3 33761 . . . . . . . . 9 (𝐵 ∈ V → (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧)))
152, 14ax-mp 5 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧))
1615simpld 495 . . . . . . 7 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → Tr 𝐵)
17 psseq1 4022 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
18 treq 5197 . . . . . . . . . . . 12 (𝑥 = 𝐵 → (Tr 𝑥 ↔ Tr 𝐵))
1917, 18anbi12d 631 . . . . . . . . . . 11 (𝑥 = 𝐵 → ((𝑥𝐴 ∧ Tr 𝑥) ↔ (𝐵𝐴 ∧ Tr 𝐵)))
20 eleq1 2826 . . . . . . . . . . 11 (𝑥 = 𝐵 → (𝑥𝐴𝐵𝐴))
2119, 20imbi12d 345 . . . . . . . . . 10 (𝑥 = 𝐵 → (((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ↔ ((𝐵𝐴 ∧ Tr 𝐵) → 𝐵𝐴)))
222, 21spcv 3544 . . . . . . . . 9 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ((𝐵𝐴 ∧ Tr 𝐵) → 𝐵𝐴))
2322expcomd 417 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐵 → (𝐵𝐴𝐵𝐴)))
2423imp 407 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ Tr 𝐵) → (𝐵𝐴𝐵𝐴))
2516, 24sylan2 593 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐵𝐴𝐵𝐴))
26 dfon2lem3 33761 . . . . . . . . 9 (𝐴 ∈ V → (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧)))
271, 26ax-mp 5 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧))
2827simpld 495 . . . . . . 7 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → Tr 𝐴)
29 psseq1 4022 . . . . . . . . . . 11 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
30 treq 5197 . . . . . . . . . . 11 (𝑦 = 𝐴 → (Tr 𝑦 ↔ Tr 𝐴))
3129, 30anbi12d 631 . . . . . . . . . 10 (𝑦 = 𝐴 → ((𝑦𝐵 ∧ Tr 𝑦) ↔ (𝐴𝐵 ∧ Tr 𝐴)))
32 eleq1 2826 . . . . . . . . . 10 (𝑦 = 𝐴 → (𝑦𝐵𝐴𝐵))
3331, 32imbi12d 345 . . . . . . . . 9 (𝑦 = 𝐴 → (((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) ↔ ((𝐴𝐵 ∧ Tr 𝐴) → 𝐴𝐵)))
341, 33spcv 3544 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → ((𝐴𝐵 ∧ Tr 𝐴) → 𝐴𝐵))
3534expcomd 417 . . . . . . 7 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐴 → (𝐴𝐵𝐴𝐵)))
3628, 35mpan9 507 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴𝐵))
3725, 36orim12d 962 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐵𝐴𝐴𝐵) → (𝐵𝐴𝐴𝐵)))
3813, 37syl5bi 241 . . . 4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵𝐵𝐴) → (𝐵𝐴𝐴𝐵)))
3912, 38syl5bir 242 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵𝐵𝐴) ∧ ¬ 𝐴 = 𝐵) → (𝐵𝐴𝐴𝐵)))
403, 39mpand 692 . 2 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
41 3orrot 1091 . . 3 ((𝐴𝐵𝐴 = 𝐵𝐵𝐴) ↔ (𝐴 = 𝐵𝐵𝐴𝐴𝐵))
42 3orass 1089 . . . 4 ((𝐴 = 𝐵𝐵𝐴𝐴𝐵) ↔ (𝐴 = 𝐵 ∨ (𝐵𝐴𝐴𝐵)))
43 df-or 845 . . . 4 ((𝐴 = 𝐵 ∨ (𝐵𝐴𝐴𝐵)) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4442, 43bitri 274 . . 3 ((𝐴 = 𝐵𝐵𝐴𝐴𝐵) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4541, 44bitri 274 . 2 ((𝐴𝐵𝐴 = 𝐵𝐵𝐴) ↔ (¬ 𝐴 = 𝐵 → (𝐵𝐴𝐴𝐵)))
4640, 45sylibr 233 1 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐴 = 𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 844  w3o 1085  wal 1537   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  wss 3887  wpss 3888  Tr wtr 5191
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-pw 4535  df-sn 4562  df-pr 4564  df-uni 4840  df-iun 4926  df-tr 5192  df-suc 6272
This theorem is referenced by:  dfon2lem6  33764  dfon2  33768
  Copyright terms: Public domain W3C validator