MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  brtpos2 Structured version   Visualization version   GIF version

Theorem brtpos2 8046
Description: Value of the transposition at a pair 𝐴, 𝐵. (Contributed by Mario Carneiro, 10-Sep-2015.)
Assertion
Ref Expression
brtpos2 (𝐵𝑉 → (𝐴tpos 𝐹𝐵 ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵)))

Proof of Theorem brtpos2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 reltpos 8045 . . . 4 Rel tpos 𝐹
21brrelex1i 5645 . . 3 (𝐴tpos 𝐹𝐵𝐴 ∈ V)
32a1i 11 . 2 (𝐵𝑉 → (𝐴tpos 𝐹𝐵𝐴 ∈ V))
4 elex 3449 . . . 4 (𝐴 ∈ (dom 𝐹 ∪ {∅}) → 𝐴 ∈ V)
54adantr 481 . . 3 ((𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵) → 𝐴 ∈ V)
65a1i 11 . 2 (𝐵𝑉 → ((𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵) → 𝐴 ∈ V))
7 df-tpos 8040 . . . . . 6 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
87breqi 5082 . . . . 5 (𝐴tpos 𝐹𝐵𝐴(𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))𝐵)
9 brcog 5777 . . . . 5 ((𝐴 ∈ V ∧ 𝐵𝑉) → (𝐴(𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))𝐵 ↔ ∃𝑦(𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦𝑦𝐹𝐵)))
108, 9bitrid 282 . . . 4 ((𝐴 ∈ V ∧ 𝐵𝑉) → (𝐴tpos 𝐹𝐵 ↔ ∃𝑦(𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦𝑦𝐹𝐵)))
11 funmpt 6474 . . . . . . . . . . 11 Fun (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})
12 funbrfv2b 6829 . . . . . . . . . . 11 (Fun (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) → (𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦 ↔ (𝐴 ∈ dom (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ∧ ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴) = 𝑦)))
1311, 12ax-mp 5 . . . . . . . . . 10 (𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦 ↔ (𝐴 ∈ dom (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ∧ ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴) = 𝑦))
14 snex 5356 . . . . . . . . . . . . . . . 16 {𝑥} ∈ V
1514cnvex 7772 . . . . . . . . . . . . . . 15 {𝑥} ∈ V
1615uniex 7594 . . . . . . . . . . . . . 14 {𝑥} ∈ V
17 eqid 2738 . . . . . . . . . . . . . 14 (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})
1816, 17dmmpti 6579 . . . . . . . . . . . . 13 dom (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) = (dom 𝐹 ∪ {∅})
1918eleq2i 2830 . . . . . . . . . . . 12 (𝐴 ∈ dom (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ↔ 𝐴 ∈ (dom 𝐹 ∪ {∅}))
20 eqcom 2745 . . . . . . . . . . . 12 (((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴) = 𝑦𝑦 = ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴))
2119, 20anbi12i 627 . . . . . . . . . . 11 ((𝐴 ∈ dom (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ∧ ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴) = 𝑦) ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦 = ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴)))
22 sneq 4573 . . . . . . . . . . . . . . . 16 (𝑥 = 𝐴 → {𝑥} = {𝐴})
2322cnveqd 5786 . . . . . . . . . . . . . . 15 (𝑥 = 𝐴{𝑥} = {𝐴})
2423unieqd 4855 . . . . . . . . . . . . . 14 (𝑥 = 𝐴 {𝑥} = {𝐴})
25 snex 5356 . . . . . . . . . . . . . . . 16 {𝐴} ∈ V
2625cnvex 7772 . . . . . . . . . . . . . . 15 {𝐴} ∈ V
2726uniex 7594 . . . . . . . . . . . . . 14 {𝐴} ∈ V
2824, 17, 27fvmpt 6877 . . . . . . . . . . . . 13 (𝐴 ∈ (dom 𝐹 ∪ {∅}) → ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴) = {𝐴})
2928eqeq2d 2749 . . . . . . . . . . . 12 (𝐴 ∈ (dom 𝐹 ∪ {∅}) → (𝑦 = ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴) ↔ 𝑦 = {𝐴}))
3029pm5.32i 575 . . . . . . . . . . 11 ((𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦 = ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴)) ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦 = {𝐴}))
3121, 30bitri 274 . . . . . . . . . 10 ((𝐴 ∈ dom (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ∧ ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})‘𝐴) = 𝑦) ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦 = {𝐴}))
3213, 31bitri 274 . . . . . . . . 9 (𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦 ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦 = {𝐴}))
3332biancomi 463 . . . . . . . 8 (𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦 ↔ (𝑦 = {𝐴} ∧ 𝐴 ∈ (dom 𝐹 ∪ {∅})))
3433anbi1i 624 . . . . . . 7 ((𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦𝑦𝐹𝐵) ↔ ((𝑦 = {𝐴} ∧ 𝐴 ∈ (dom 𝐹 ∪ {∅})) ∧ 𝑦𝐹𝐵))
35 anass 469 . . . . . . 7 (((𝑦 = {𝐴} ∧ 𝐴 ∈ (dom 𝐹 ∪ {∅})) ∧ 𝑦𝐹𝐵) ↔ (𝑦 = {𝐴} ∧ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦𝐹𝐵)))
3634, 35bitri 274 . . . . . 6 ((𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦𝑦𝐹𝐵) ↔ (𝑦 = {𝐴} ∧ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦𝐹𝐵)))
3736exbii 1850 . . . . 5 (∃𝑦(𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦𝑦𝐹𝐵) ↔ ∃𝑦(𝑦 = {𝐴} ∧ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦𝐹𝐵)))
38 breq1 5079 . . . . . . 7 (𝑦 = {𝐴} → (𝑦𝐹𝐵 {𝐴}𝐹𝐵))
3938anbi2d 629 . . . . . 6 (𝑦 = {𝐴} → ((𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦𝐹𝐵) ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵)))
4027, 39ceqsexv 3478 . . . . 5 (∃𝑦(𝑦 = {𝐴} ∧ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ 𝑦𝐹𝐵)) ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵))
4137, 40bitri 274 . . . 4 (∃𝑦(𝐴(𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})𝑦𝑦𝐹𝐵) ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵))
4210, 41bitrdi 287 . . 3 ((𝐴 ∈ V ∧ 𝐵𝑉) → (𝐴tpos 𝐹𝐵 ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵)))
4342expcom 414 . 2 (𝐵𝑉 → (𝐴 ∈ V → (𝐴tpos 𝐹𝐵 ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵))))
443, 6, 43pm5.21ndd 381 1 (𝐵𝑉 → (𝐴tpos 𝐹𝐵 ↔ (𝐴 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝐴}𝐹𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  Vcvv 3431  cun 3886  c0 4258  {csn 4563   cuni 4841   class class class wbr 5076  cmpt 5159  ccnv 5590  dom cdm 5591  ccom 5595  Fun wfun 6429  cfv 6435  tpos ctpos 8039
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 5225  ax-nul 5232  ax-pow 5290  ax-pr 5354  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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3433  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-nul 4259  df-if 4462  df-pw 4537  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4842  df-br 5077  df-opab 5139  df-mpt 5160  df-id 5491  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-res 5603  df-ima 5604  df-iota 6393  df-fun 6437  df-fn 6438  df-fv 6443  df-tpos 8040
This theorem is referenced by:  brtpos0  8047  reldmtpos  8048  brtpos  8049  dftpos4  8059  tpostpos  8060
  Copyright terms: Public domain W3C validator