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

Theorem fsplit 7885
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 7884 in order to build compound functions such as (𝑥 ∈ (0[,)+∞) ↦ ((√‘𝑥) + (sin‘𝑥))). (Contributed by NM, 17-Sep-2007.) Replace use of dfid2 5458 with df-id 5455. (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 3412 . . . . 5 𝑥 ∈ V
2 vex 3412 . . . . 5 𝑦 ∈ V
31, 2brcnv 5751 . . . 4 (𝑥(1st ↾ I )𝑦𝑦(1st ↾ I )𝑥)
41brresi 5860 . . . 4 (𝑦(1st ↾ I )𝑥 ↔ (𝑦 ∈ I ∧ 𝑦1st 𝑥))
5 19.42v 1962 . . . . . 6 (∃𝑧((1st𝑦) = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ ((1st𝑦) = 𝑥 ∧ ∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩))
6 vex 3412 . . . . . . . . . 10 𝑧 ∈ V
76, 6op1std 7771 . . . . . . . . 9 (𝑦 = ⟨𝑧, 𝑧⟩ → (1st𝑦) = 𝑧)
87eqeq1d 2739 . . . . . . . 8 (𝑦 = ⟨𝑧, 𝑧⟩ → ((1st𝑦) = 𝑥𝑧 = 𝑥))
98pm5.32ri 579 . . . . . . 7 (((1st𝑦) = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ (𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩))
109exbii 1855 . . . . . 6 (∃𝑧((1st𝑦) = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ ∃𝑧(𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩))
11 fo1st 7781 . . . . . . . . 9 1st :V–onto→V
12 fofn 6635 . . . . . . . . 9 (1st :V–onto→V → 1st Fn V)
1311, 12ax-mp 5 . . . . . . . 8 1st Fn V
14 fnbrfvb 6765 . . . . . . . 8 ((1st Fn V ∧ 𝑦 ∈ V) → ((1st𝑦) = 𝑥𝑦1st 𝑥))
1513, 2, 14mp2an 692 . . . . . . 7 ((1st𝑦) = 𝑥𝑦1st 𝑥)
16 df-id 5455 . . . . . . . . 9 I = {⟨𝑧, 𝑡⟩ ∣ 𝑧 = 𝑡}
1716eleq2i 2829 . . . . . . . 8 (𝑦 ∈ I ↔ 𝑦 ∈ {⟨𝑧, 𝑡⟩ ∣ 𝑧 = 𝑡})
18 elopab 5408 . . . . . . . 8 (𝑦 ∈ {⟨𝑧, 𝑡⟩ ∣ 𝑧 = 𝑡} ↔ ∃𝑧𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡))
19 ancom 464 . . . . . . . . . . . 12 ((𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ (𝑧 = 𝑡𝑦 = ⟨𝑧, 𝑡⟩))
20 equcom 2026 . . . . . . . . . . . . 13 (𝑧 = 𝑡𝑡 = 𝑧)
2120anbi1i 627 . . . . . . . . . . . 12 ((𝑧 = 𝑡𝑦 = ⟨𝑧, 𝑡⟩) ↔ (𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑡⟩))
22 opeq2 4785 . . . . . . . . . . . . . 14 (𝑡 = 𝑧 → ⟨𝑧, 𝑡⟩ = ⟨𝑧, 𝑧⟩)
2322eqeq2d 2748 . . . . . . . . . . . . 13 (𝑡 = 𝑧 → (𝑦 = ⟨𝑧, 𝑡⟩ ↔ 𝑦 = ⟨𝑧, 𝑧⟩))
2423pm5.32i 578 . . . . . . . . . . . 12 ((𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑡⟩) ↔ (𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩))
2519, 21, 243bitri 300 . . . . . . . . . . 11 ((𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ (𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩))
2625exbii 1855 . . . . . . . . . 10 (∃𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ ∃𝑡(𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩))
27 biidd 265 . . . . . . . . . . 11 (𝑡 = 𝑧 → (𝑦 = ⟨𝑧, 𝑧⟩ ↔ 𝑦 = ⟨𝑧, 𝑧⟩))
2827equsexvw 2013 . . . . . . . . . 10 (∃𝑡(𝑡 = 𝑧𝑦 = ⟨𝑧, 𝑧⟩) ↔ 𝑦 = ⟨𝑧, 𝑧⟩)
2926, 28bitri 278 . . . . . . . . 9 (∃𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ 𝑦 = ⟨𝑧, 𝑧⟩)
3029exbii 1855 . . . . . . . 8 (∃𝑧𝑡(𝑦 = ⟨𝑧, 𝑡⟩ ∧ 𝑧 = 𝑡) ↔ ∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩)
3117, 18, 303bitrri 301 . . . . . . 7 (∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩ ↔ 𝑦 ∈ I )
3215, 31anbi12ci 631 . . . . . 6 (((1st𝑦) = 𝑥 ∧ ∃𝑧 𝑦 = ⟨𝑧, 𝑧⟩) ↔ (𝑦 ∈ I ∧ 𝑦1st 𝑥))
335, 10, 323bitr3ri 305 . . . . 5 ((𝑦 ∈ I ∧ 𝑦1st 𝑥) ↔ ∃𝑧(𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩))
34 id 22 . . . . . . . 8 (𝑧 = 𝑥𝑧 = 𝑥)
3534, 34opeq12d 4792 . . . . . . 7 (𝑧 = 𝑥 → ⟨𝑧, 𝑧⟩ = ⟨𝑥, 𝑥⟩)
3635eqeq2d 2748 . . . . . 6 (𝑧 = 𝑥 → (𝑦 = ⟨𝑧, 𝑧⟩ ↔ 𝑦 = ⟨𝑥, 𝑥⟩))
3736equsexvw 2013 . . . . 5 (∃𝑧(𝑧 = 𝑥𝑦 = ⟨𝑧, 𝑧⟩) ↔ 𝑦 = ⟨𝑥, 𝑥⟩)
3833, 37bitri 278 . . . 4 ((𝑦 ∈ I ∧ 𝑦1st 𝑥) ↔ 𝑦 = ⟨𝑥, 𝑥⟩)
393, 4, 383bitri 300 . . 3 (𝑥(1st ↾ I )𝑦𝑦 = ⟨𝑥, 𝑥⟩)
4039opabbii 5120 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝑥(1st ↾ I )𝑦} = {⟨𝑥, 𝑦⟩ ∣ 𝑦 = ⟨𝑥, 𝑥⟩}
41 relcnv 5972 . . 3 Rel (1st ↾ I )
42 dfrel4v 6053 . . 3 (Rel (1st ↾ I ) ↔ (1st ↾ I ) = {⟨𝑥, 𝑦⟩ ∣ 𝑥(1st ↾ I )𝑦})
4341, 42mpbi 233 . 2 (1st ↾ I ) = {⟨𝑥, 𝑦⟩ ∣ 𝑥(1st ↾ I )𝑦}
44 mptv 5160 . 2 (𝑥 ∈ V ↦ ⟨𝑥, 𝑥⟩) = {⟨𝑥, 𝑦⟩ ∣ 𝑦 = ⟨𝑥, 𝑥⟩}
4540, 43, 443eqtr4i 2775 1 (1st ↾ I ) = (𝑥 ∈ V ↦ ⟨𝑥, 𝑥⟩)
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1543  wex 1787  wcel 2110  Vcvv 3408  cop 4547   class class class wbr 5053  {copab 5115  cmpt 5135   I cid 5454  ccnv 5550  cres 5553  Rel wrel 5556   Fn wfn 6375  ontowfo 6378  cfv 6380  1st c1st 7759
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-fo 6386  df-fv 6388  df-1st 7761
This theorem is referenced by:  fsplitfpar  7887
  Copyright terms: Public domain W3C validator