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

Theorem fsplit 7977
Description: A function that can be used to feed a common value to both operands of an operation. Use as the second argument of a composition with the function of fpar 7976 in order to build compound functions such as (𝑥 ∈ (0[,)+∞) ↦ ((√‘𝑥) + (sin‘𝑥))). (Contributed by NM, 17-Sep-2007.) Replace use of dfid2 5493 with df-id 5491. (Revised by BJ, 31-Dec-2023.)
Assertion
Ref Expression
fsplit (1st ↾ I ) = (𝑥 ∈ V ↦ ⟨𝑥, 𝑥⟩)

Proof of Theorem fsplit
Dummy variables 𝑦 𝑧 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3438 . . . . 5 𝑥 ∈ V
2 vex 3438 . . . . 5 𝑦 ∈ V
31, 2brcnv 5795 . . . 4 (𝑥(1st ↾ I )𝑦𝑦(1st ↾ I )𝑥)
41brresi 5903 . . . 4 (𝑦(1st ↾ I )𝑥 ↔ (𝑦 ∈ I ∧ 𝑦1st 𝑥))
5 19.42v 1953 . . . . . 6 (∃𝑧((1st𝑦) = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ ((1st𝑦) = 𝑥 ∧ ∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩))
6 vex 3438 . . . . . . . . . 10 𝑧 ∈ V
76, 6op1std 7861 . . . . . . . . 9 (𝑦 = ⟨𝑧, 𝑧⟩ → (1st𝑦) = 𝑧)
87eqeq1d 2735 . . . . . . . 8 (𝑦 = ⟨𝑧, 𝑧⟩ → ((1st𝑦) = 𝑥𝑧 = 𝑥))
98pm5.32ri 575 . . . . . . 7 (((1st𝑦) = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ (𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩))
109exbii 1846 . . . . . 6 (∃𝑧((1st𝑦) = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ ∃𝑧(𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩))
11 fo1st 7871 . . . . . . . . 9 1st :V–onto→V
12 fofn 6708 . . . . . . . . 9 (1st :V–onto→V → 1st Fn V)
1311, 12ax-mp 5 . . . . . . . 8 1st Fn V
14 fnbrfvb 6842 . . . . . . . 8 ((1st Fn V ∧ 𝑦 ∈ V) → ((1st𝑦) = 𝑥𝑦1st 𝑥))
1513, 2, 14mp2an 688 . . . . . . 7 ((1st𝑦) = 𝑥𝑦1st 𝑥)
16 df-id 5491 . . . . . . . . 9 I = {⟨𝑧, 𝑡⟩ ∣ 𝑧 = 𝑡}
1716eleq2i 2825 . . . . . . . 8 (𝑦 ∈ I ↔ 𝑦 ∈ {⟨𝑧, 𝑡⟩ ∣ 𝑧 = 𝑡})
18 elopab 5443 . . . . . . . 8 (𝑦 ∈ {⟨𝑧, 𝑡⟩ ∣ 𝑧 = 𝑡} ↔ ∃𝑧𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡))
19 ancom 460 . . . . . . . . . . . 12 ((𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ (𝑧 = 𝑡𝑦 = ⟨𝑧, 𝑡⟩))
20 equcom 2017 . . . . . . . . . . . . 13 (𝑧 = 𝑡𝑡 = 𝑧)
2120anbi1i 623 . . . . . . . . . . . 12 ((𝑧 = 𝑡𝑦 = ⟨𝑧, 𝑡⟩) ↔ (𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑡⟩))
22 opeq2 4807 . . . . . . . . . . . . . 14 (𝑡 = 𝑧 → ⟨𝑧, 𝑡⟩ = ⟨𝑧, 𝑧⟩)
2322eqeq2d 2744 . . . . . . . . . . . . 13 (𝑡 = 𝑧 → (𝑦 = ⟨𝑧, 𝑡⟩ ↔ 𝑦 = ⟨𝑧, 𝑧⟩))
2423pm5.32i 574 . . . . . . . . . . . 12 ((𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑡⟩) ↔ (𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩))
2519, 21, 243bitri 296 . . . . . . . . . . 11 ((𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ (𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩))
2625exbii 1846 . . . . . . . . . 10 (∃𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ ∃𝑡(𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩))
27 biidd 261 . . . . . . . . . . 11 (𝑡 = 𝑧 → (𝑦 = ⟨𝑧, 𝑧⟩ ↔ 𝑦 = ⟨𝑧, 𝑧⟩))
2827equsexvw 2004 . . . . . . . . . 10 (∃𝑡(𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩) ↔ 𝑦 = ⟨𝑧, 𝑧⟩)
2926, 28bitri 274 . . . . . . . . 9 (∃𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ 𝑦 = ⟨𝑧, 𝑧⟩)
3029exbii 1846 . . . . . . . 8 (∃𝑧𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ ∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩)
3117, 18, 303bitrri 297 . . . . . . 7 (∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩ ↔ 𝑦 ∈ I )
3215, 31anbi12ci 627 . . . . . 6 (((1st𝑦) = 𝑥 ∧ ∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩) ↔ (𝑦 ∈ I ∧ 𝑦1st 𝑥))
335, 10, 323bitr3ri 301 . . . . 5 ((𝑦 ∈ I ∧ 𝑦1st 𝑥) ↔ ∃𝑧(𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩))
34 id 22 . . . . . . . 8 (𝑧 = 𝑥𝑧 = 𝑥)
3534, 34opeq12d 4814 . . . . . . 7 (𝑧 = 𝑥 → ⟨𝑧, 𝑧⟩ = ⟨𝑥, 𝑥⟩)
3635eqeq2d 2744 . . . . . 6 (𝑧 = 𝑥 → (𝑦 = ⟨𝑧, 𝑧⟩ ↔ 𝑦 = ⟨𝑥, 𝑥⟩))
3736equsexvw 2004 . . . . 5 (∃𝑧(𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ 𝑦 = ⟨𝑥, 𝑥⟩)
3833, 37bitri 274 . . . 4 ((𝑦 ∈ I ∧ 𝑦1st 𝑥) ↔ 𝑦 = ⟨𝑥, 𝑥⟩)
393, 4, 383bitri 296 . . 3 (𝑥(1st ↾ I )𝑦𝑦 = ⟨𝑥, 𝑥⟩)
4039opabbii 5144 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝑥(1st ↾ I )𝑦} = {⟨𝑥, 𝑦⟩ ∣ 𝑦 = ⟨𝑥, 𝑥⟩}
41 relcnv 6013 . . 3 Rel (1st ↾ I )
42 dfrel4v 6097 . . 3 (Rel (1st ↾ I ) ↔ (1st ↾ I ) = {⟨𝑥, 𝑦⟩ ∣ 𝑥(1st ↾ I )𝑦})
4341, 42mpbi 229 . 2 (1st ↾ I ) = {⟨𝑥, 𝑦⟩ ∣ 𝑥(1st ↾ I )𝑦}
44 mptv 5193 . 2 (𝑥 ∈ V ↦ ⟨𝑥, 𝑥⟩) = {⟨𝑥, 𝑦⟩ ∣ 𝑦 = ⟨𝑥, 𝑥⟩}
4540, 43, 443eqtr4i 2771 1 (1st ↾ I ) = (𝑥 ∈ V ↦ ⟨𝑥, 𝑥⟩)
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1537  wex 1777  wcel 2101  Vcvv 3434  cop 4570   class class class wbr 5077  {copab 5139  cmpt 5160   I cid 5490  ccnv 5590  cres 5593  Rel wrel 5596   Fn wfn 6442  ontowfo 6445  cfv 6447  1st c1st 7849
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2103  ax-9 2111  ax-10 2132  ax-11 2149  ax-12 2166  ax-ext 2704  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7608
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2063  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2884  df-ne 2939  df-ral 3060  df-rex 3069  df-rab 3224  df-v 3436  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4260  df-if 4463  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4842  df-br 5078  df-opab 5140  df-mpt 5161  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-iota 6399  df-fun 6449  df-fn 6450  df-f 6451  df-fo 6453  df-fv 6455  df-1st 7851
This theorem is referenced by:  fsplitfpar  7979
  Copyright terms: Public domain W3C validator