Metamath Proof Explorer


Theorem bj-fvmptunsn2

Description: Value of a function expressed as a union of a mapsto expression and a singleton on a couple (with disjoint domain) at a point in the domain of the mapsto construction. (Contributed by BJ, 18-Mar-2023) (Proof modification is discouraged.)

Ref Expression
Hypotheses bj-fvmptunsn.un ⊢ φ → F = x ∈ A ⟼ B ∪ C D
bj-fvmptunsn.nel ⊢ φ → ¬ C ∈ A
bj-fvmptunsn2.el ⊢ φ → E ∈ A
bj-fvmptunsn2.ex ⊢ φ → G ∈ V
bj-fvmptunsn2.is ⊢ φ ∧ x = E → B = G
Assertion bj-fvmptunsn2 ⊢ φ → F ⁡ E = G

Proof

Step Hyp Ref Expression
1 bj-fvmptunsn.un ⊢ φ → F = x ∈ A ⟼ B ∪ C D
2 bj-fvmptunsn.nel ⊢ φ → ¬ C ∈ A
3 bj-fvmptunsn2.el ⊢ φ → E ∈ A
4 bj-fvmptunsn2.ex ⊢ φ → G ∈ V
5 bj-fvmptunsn2.is ⊢ φ ∧ x = E → B = G
6 nelneq ⊢ E ∈ A ∧ ¬ C ∈ A → ¬ E = C
7 3 2 6 syl2anc ⊢ φ → ¬ E = C
8 1 7 bj-fununsn1 ⊢ φ → F ⁡ E = x ∈ A ⟼ B ⁡ E
9 eqidd ⊢ φ → x ∈ A ⟼ B = x ∈ A ⟼ B
10 9 5 3 4 fvmptd ⊢ φ → x ∈ A ⟼ B ⁡ E = G
11 8 10 eqtrd ⊢ φ → F ⁡ E = G