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 33762
Description: Lemma for dfon2 33768. 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 4162 . . . . . . . . 9 (𝐴𝐵) ⊆ 𝐴
21sseli 3917 . . . . . . . 8 ((𝐴𝐵) ∈ (𝐴𝐵) → (𝐴𝐵) ∈ 𝐴)
3 dfon2lem4.1 . . . . . . . . . . . 12 𝐴 ∈ V
4 dfon2lem3 33761 . . . . . . . . . . . 12 (𝐴 ∈ V → (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧)))
53, 4ax-mp 5 . . . . . . . . . . 11 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (Tr 𝐴 ∧ ∀𝑧𝐴 ¬ 𝑧𝑧))
65simprd 496 . . . . . . . . . 10 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ∀𝑧𝐴 ¬ 𝑧𝑧)
7 eleq1 2826 . . . . . . . . . . . . 13 (𝑧 = (𝐴𝐵) → (𝑧𝑧 ↔ (𝐴𝐵) ∈ 𝑧))
8 eleq2 2827 . . . . . . . . . . . . 13 (𝑧 = (𝐴𝐵) → ((𝐴𝐵) ∈ 𝑧 ↔ (𝐴𝐵) ∈ (𝐴𝐵)))
97, 8bitrd 278 . . . . . . . . . . . 12 (𝑧 = (𝐴𝐵) → (𝑧𝑧 ↔ (𝐴𝐵) ∈ (𝐴𝐵)))
109notbid 318 . . . . . . . . . . 11 (𝑧 = (𝐴𝐵) → (¬ 𝑧𝑧 ↔ ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1110rspccv 3558 . . . . . . . . . 10 (∀𝑧𝐴 ¬ 𝑧𝑧 → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
126, 11syl 17 . . . . . . . . 9 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1312adantr 481 . . . . . . . 8 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ∈ 𝐴 → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
142, 13syl5 34 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ∈ (𝐴𝐵) → ¬ (𝐴𝐵) ∈ (𝐴𝐵)))
1514pm2.01d 189 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ (𝐴𝐵) ∈ (𝐴𝐵))
16 elin 3903 . . . . . 6 ((𝐴𝐵) ∈ (𝐴𝐵) ↔ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵))
1715, 16sylnib 328 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵))
185simpld 495 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → Tr 𝐴)
19 dfon2lem4.2 . . . . . . . . . 10 𝐵 ∈ V
20 dfon2lem3 33761 . . . . . . . . . 10 (𝐵 ∈ V → (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧)))
2119, 20ax-mp 5 . . . . . . . . 9 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (Tr 𝐵 ∧ ∀𝑧𝐵 ¬ 𝑧𝑧))
2221simpld 495 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → Tr 𝐵)
23 trin 5201 . . . . . . . 8 ((Tr 𝐴 ∧ Tr 𝐵) → Tr (𝐴𝐵))
2418, 22, 23syl2an 596 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → Tr (𝐴𝐵))
253inex1 5241 . . . . . . . . 9 (𝐴𝐵) ∈ V
26 psseq1 4022 . . . . . . . . . . 11 (𝑥 = (𝐴𝐵) → (𝑥𝐴 ↔ (𝐴𝐵) ⊊ 𝐴))
27 treq 5197 . . . . . . . . . . 11 (𝑥 = (𝐴𝐵) → (Tr 𝑥 ↔ Tr (𝐴𝐵)))
2826, 27anbi12d 631 . . . . . . . . . 10 (𝑥 = (𝐴𝐵) → ((𝑥𝐴 ∧ Tr 𝑥) ↔ ((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵))))
29 eleq1 2826 . . . . . . . . . 10 (𝑥 = (𝐴𝐵) → (𝑥𝐴 ↔ (𝐴𝐵) ∈ 𝐴))
3028, 29imbi12d 345 . . . . . . . . 9 (𝑥 = (𝐴𝐵) → (((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ↔ (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴)))
3125, 30spcv 3544 . . . . . . . 8 (∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) → (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴))
3231adantr 481 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐴 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐴))
3324, 32mpan2d 691 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ⊊ 𝐴 → (𝐴𝐵) ∈ 𝐴))
34 psseq1 4022 . . . . . . . . . . 11 (𝑦 = (𝐴𝐵) → (𝑦𝐵 ↔ (𝐴𝐵) ⊊ 𝐵))
35 treq 5197 . . . . . . . . . . 11 (𝑦 = (𝐴𝐵) → (Tr 𝑦 ↔ Tr (𝐴𝐵)))
3634, 35anbi12d 631 . . . . . . . . . 10 (𝑦 = (𝐴𝐵) → ((𝑦𝐵 ∧ Tr 𝑦) ↔ ((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵))))
37 eleq1 2826 . . . . . . . . . 10 (𝑦 = (𝐴𝐵) → (𝑦𝐵 ↔ (𝐴𝐵) ∈ 𝐵))
3836, 37imbi12d 345 . . . . . . . . 9 (𝑦 = (𝐴𝐵) → (((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) ↔ (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵)))
3925, 38spcv 3544 . . . . . . . 8 (∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵) → (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵))
4039adantl 482 . . . . . . 7 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐵 ∧ Tr (𝐴𝐵)) → (𝐴𝐵) ∈ 𝐵))
4124, 40mpan2d 691 . . . . . 6 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) ⊊ 𝐵 → (𝐴𝐵) ∈ 𝐵))
4233, 41anim12d 609 . . . . 5 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵) → ((𝐴𝐵) ∈ 𝐴 ∧ (𝐴𝐵) ∈ 𝐵)))
4317, 42mtod 197 . . . 4 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ¬ ((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵))
44 ianor 979 . . . 4 (¬ ((𝐴𝐵) ⊊ 𝐴 ∧ (𝐴𝐵) ⊊ 𝐵) ↔ (¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵))
4543, 44sylib 217 . . 3 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵))
46 sspss 4034 . . . . 5 ((𝐴𝐵) ⊆ 𝐴 ↔ ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴))
471, 46mpbi 229 . . . 4 ((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴)
48 inss2 4163 . . . . 5 (𝐴𝐵) ⊆ 𝐵
49 sspss 4034 . . . . 5 ((𝐴𝐵) ⊆ 𝐵 ↔ ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵))
5048, 49mpbi 229 . . . 4 ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵)
51 orel1 886 . . . . . 6 (¬ (𝐴𝐵) ⊊ 𝐴 → (((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) → (𝐴𝐵) = 𝐴))
52 orc 864 . . . . . 6 ((𝐴𝐵) = 𝐴 → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5351, 52syl6 35 . . . . 5 (¬ (𝐴𝐵) ⊊ 𝐴 → (((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
54 orel1 886 . . . . . 6 (¬ (𝐴𝐵) ⊊ 𝐵 → (((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵) → (𝐴𝐵) = 𝐵))
55 olc 865 . . . . . 6 ((𝐴𝐵) = 𝐵 → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5654, 55syl6 35 . . . . 5 (¬ (𝐴𝐵) ⊊ 𝐵 → (((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
5753, 56jaoa 953 . . . 4 ((¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵) → ((((𝐴𝐵) ⊊ 𝐴 ∨ (𝐴𝐵) = 𝐴) ∧ ((𝐴𝐵) ⊊ 𝐵 ∨ (𝐴𝐵) = 𝐵)) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵)))
5847, 50, 57mp2ani 695 . . 3 ((¬ (𝐴𝐵) ⊊ 𝐴 ∨ ¬ (𝐴𝐵) ⊊ 𝐵) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
5945, 58syl 17 . 2 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
60 df-ss 3904 . . 3 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐴)
61 sseqin2 4149 . . 3 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐵)
6260, 61orbi12i 912 . 2 ((𝐴𝐵𝐵𝐴) ↔ ((𝐴𝐵) = 𝐴 ∨ (𝐴𝐵) = 𝐵))
6359, 62sylibr 233 1 ((∀𝑥((𝑥𝐴 ∧ Tr 𝑥) → 𝑥𝐴) ∧ ∀𝑦((𝑦𝐵 ∧ Tr 𝑦) → 𝑦𝐵)) → (𝐴𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 844  wal 1537   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cin 3886  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-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:  dfon2lem5  33763
  Copyright terms: Public domain W3C validator