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

Theorem dfon2lem4 32134
Description: Lemma for dfon2 32140. If two sets satisfy the new definition, then one is a subset of the other. (Contributed by Scott Fenton, 25-Feb-2011.)
Hypotheses
Ref Expression
dfon2lem4.1 𝐴 ∈ V
dfon2lem4.2 𝐵 ∈ V
Assertion
Ref Expression
dfon2lem4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦

Proof of Theorem dfon2lem4
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 inss1 3992 . . . . . . . . 9 (𝐴𝐵) ⊆ 𝐴
21sseli 3757 . . . . . . . 8 ((𝐴𝐵) ∈ (𝐴𝐵) → (𝐴𝐵) ∈ 𝐴)
3 dfon2lem4.1 . . . . . . . . . . . 12 𝐴 ∈ V
4 dfon2lem3 32133 . . . . . . . . . . . 12 (𝐴 ∈ V → (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧)))
53, 4ax-mp 5 . . . . . . . . . . 11 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧))
65simprd 489 . . . . . . . . . 10 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ∀𝑧𝐴 ¬ 𝑧𝑧)
7 eleq1 2832 . . . . . . . . . . . . 13 (𝑧 = (𝐴𝐵) → (𝑧𝑧 ↔ (𝐴𝐵) ∈ 𝑧))
8 eleq2 2833 . . . . . . . . . . . . 13 (𝑧 = (𝐴𝐵) → ((𝐴𝐵) ∈ 𝑧 ↔ (𝐴𝐵) ∈ (𝐴𝐵)))
97, 8bitrd 270 . . . . . . . . . . . 12 (𝑧 = (𝐴𝐵) → (𝑧𝑧 ↔ (𝐴𝐵) ∈ (𝐴𝐵)))
109notbid 309 . . . . . . . . . . 11 (𝑧 = (𝐴𝐵) → (¬ 𝑧𝑧 ↔ ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1110rspccv 3458 . . . . . . . . . 10 (∀𝑧𝐴 ¬ 𝑧𝑧 → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
126, 11syl 17 . . . . . . . . 9 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1312adantr 472 . . . . . . . 8 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
142, 13syl5 34 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ∈ (𝐴𝐵) → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1514pm2.01d 181 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ (𝐴𝐵) ∈ (𝐴𝐵))
16 elin 3958 . . . . . 6 ((𝐴𝐵) ∈ (𝐴𝐵) ↔ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵))
1715, 16sylnib 319 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵))
185simpld 488 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → Tr 𝐴)
19 dfon2lem4.2 . . . . . . . . . 10 𝐵 ∈ V
20 dfon2lem3 32133 . . . . . . . . . 10 (𝐵 ∈ V → (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧)))
2119, 20ax-mp 5 . . . . . . . . 9 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧))
2221simpld 488 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → Tr 𝐵)
23 trin 4921 . . . . . . . 8 ((Tr 𝐴 ∧ Tr 𝐵) → Tr (𝐴𝐵))
2418, 22, 23syl2an 589 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → Tr (𝐴𝐵))
253inex1 4960 . . . . . . . . 9 (𝐴𝐵) ∈ V
26 psseq1 3855 . . . . . . . . . . 11 (𝑥 = (𝐴𝐵) → (𝑥𝐴 ↔ (𝐴𝐵) ⊊ 𝐴))
27 treq 4917 . . . . . . . . . . 11 (𝑥 = (𝐴𝐵) → (Tr 𝑥 ↔ Tr (𝐴𝐵)))
2826, 27anbi12d 624 . . . . . . . . . 10 (𝑥 = (𝐴𝐵) → ((𝑥𝐴 ∧ Tr 𝑥) ↔ ((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵))))
29 eleq1 2832 . . . . . . . . . 10 (𝑥 = (𝐴𝐵) → (𝑥𝐴 ↔ (𝐴𝐵) ∈ 𝐴))
3028, 29imbi12d 335 . . . . . . . . 9 (𝑥 = (𝐴𝐵) → (((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ↔ (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴)))
3125, 30spcv 3451 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴))
3231adantr 472 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴))
3324, 32mpan2d 685 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ⊊ 𝐴 → (𝐴𝐵) ∈ 𝐴))
34 psseq1 3855 . . . . . . . . . . 11 (𝑦 = (𝐴𝐵) → (𝑦𝐵 ↔ (𝐴𝐵) ⊊ 𝐵))
35 treq 4917 . . . . . . . . . . 11 (𝑦 = (𝐴𝐵) → (Tr 𝑦 ↔ Tr (𝐴𝐵)))
3634, 35anbi12d 624 . . . . . . . . . 10 (𝑦 = (𝐴𝐵) → ((𝑦𝐵 ∧ Tr 𝑦) ↔ ((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵))))
37 eleq1 2832 . . . . . . . . . 10 (𝑦 = (𝐴𝐵) → (𝑦𝐵 ↔ (𝐴𝐵) ∈ 𝐵))
3836, 37imbi12d 335 . . . . . . . . 9 (𝑦 = (𝐴𝐵) → (((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) ↔ (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵)))
3925, 38spcv 3451 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵))
4039adantl 473 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵))
4124, 40mpan2d 685 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ⊊ 𝐵 → (𝐴𝐵) ∈ 𝐵))
4233, 41anim12d 602 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵) → ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵)))
4317, 42mtod 189 . . . 4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ ((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵))
44 ianor 1004 . . . 4 (¬ ((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵) ↔ (¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵))
4543, 44sylib 209 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵))
46 sspss 3867 . . . . 5 ((𝐴𝐵) ⊆ 𝐴 ↔ ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴))
471, 46mpbi 221 . . . 4 ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴)
48 inss2 3993 . . . . 5 (𝐴𝐵) ⊆ 𝐵
49 sspss 3867 . . . . 5 ((𝐴𝐵) ⊆ 𝐵 ↔ ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵))
5048, 49mpbi 221 . . . 4 ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵)
51 orel1 912 . . . . . 6 (¬ (𝐴𝐵) ⊊ 𝐴 → (((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) → (𝐴𝐵) = 𝐴))
52 orc 893 . . . . . 6 ((𝐴𝐵) = 𝐴 → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5351, 52syl6 35 . . . . 5 (¬ (𝐴𝐵) ⊊ 𝐴 → (((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
54 orel1 912 . . . . . 6 (¬ (𝐴𝐵) ⊊ 𝐵 → (((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵) → (𝐴𝐵) = 𝐵))
55 olc 894 . . . . . 6 ((𝐴𝐵) = 𝐵 → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5654, 55syl6 35 . . . . 5 (¬ (𝐴𝐵) ⊊ 𝐵 → (((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
5753, 56jaoa 978 . . . 4 ((¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵) → ((((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) ∧ ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵)) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
5847, 50, 57mp2ani 689 . . 3 ((¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5945, 58syl 17 . 2 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
60 df-ss 3746 . . 3 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐴)
61 sseqin2 3979 . . 3 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐵)
6260, 61orbi12i 938 . 2 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
6359, 62sylibr 225 1 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384  wo 873  wal 1650   = wceq 1652  wcel 2155  wral 3055  Vcvv 3350  cin 3731  wss 3732  wpss 3733  Tr wtr 4911
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4941  ax-nul 4949  ax-pr 5062  ax-un 7147
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-ral 3060  df-rex 3061  df-v 3352  df-sbc 3597  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-pss 3748  df-nul 4080  df-pw 4317  df-sn 4335  df-pr 4337  df-uni 4595  df-iun 4678  df-tr 4912  df-suc 5914
This theorem is referenced by:  dfon2lem5  32135
  Copyright terms: Public domain W3C validator