Metamath Proof Explorer


Theorem fnunres2

Description: Restriction of a disjoint union to the domain of the second function. (Contributed by Thierry Arnoux, 12-Oct-2023)

Ref Expression
Assertion fnunres2 ( ( 𝐹 Fn 𝐴𝐺 Fn 𝐵 ∧ ( 𝐴𝐵 ) = ∅ ) → ( ( 𝐹𝐺 ) ↾ 𝐵 ) = 𝐺 )

Proof

Step Hyp Ref Expression
1 uncom ( 𝐹𝐺 ) = ( 𝐺𝐹 )
2 1 reseq1i ( ( 𝐹𝐺 ) ↾ 𝐵 ) = ( ( 𝐺𝐹 ) ↾ 𝐵 )
3 ineqcom ( ( 𝐴𝐵 ) = ∅ ↔ ( 𝐵𝐴 ) = ∅ )
4 fnunres1 ( ( 𝐺 Fn 𝐵𝐹 Fn 𝐴 ∧ ( 𝐵𝐴 ) = ∅ ) → ( ( 𝐺𝐹 ) ↾ 𝐵 ) = 𝐺 )
5 3 4 syl3an3b ( ( 𝐺 Fn 𝐵𝐹 Fn 𝐴 ∧ ( 𝐴𝐵 ) = ∅ ) → ( ( 𝐺𝐹 ) ↾ 𝐵 ) = 𝐺 )
6 5 3com12 ( ( 𝐹 Fn 𝐴𝐺 Fn 𝐵 ∧ ( 𝐴𝐵 ) = ∅ ) → ( ( 𝐺𝐹 ) ↾ 𝐵 ) = 𝐺 )
7 2 6 eqtrid ( ( 𝐹 Fn 𝐴𝐺 Fn 𝐵 ∧ ( 𝐴𝐵 ) = ∅ ) → ( ( 𝐹𝐺 ) ↾ 𝐵 ) = 𝐺 )