Metamath Proof Explorer


Theorem fvsetsid

Description: The value of the structure replacement function for its first argument is its second argument. (Contributed by SO, 12-Jul-2018)

Ref Expression
Assertion fvsetsid ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → F sSet X Y ⁡ X = Y

Proof

Step Hyp Ref Expression
1 setsval ⊢ F ∈ V ∧ Y ∈ U → F sSet X Y = F ↾ V ∖ X ∪ X Y
2 1 3adant2 ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → F sSet X Y = F ↾ V ∖ X ∪ X Y
3 2 fveq1d ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → F sSet X Y ⁡ X = F ↾ V ∖ X ∪ X Y ⁡ X
4 simp2 ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → X ∈ W
5 simp3 ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → Y ∈ U
6 neldifsn ⊢ ¬ X ∈ V ∖ X
7 dmres ⊢ dom ⁡ F ↾ V ∖ X = V ∖ X ∩ dom ⁡ F
8 inss1 ⊢ V ∖ X ∩ dom ⁡ F ⊆ V ∖ X
9 7 8 eqsstri ⊢ dom ⁡ F ↾ V ∖ X ⊆ V ∖ X
10 9 sseli ⊢ X ∈ dom ⁡ F ↾ V ∖ X → X ∈ V ∖ X
11 6 10 mto ⊢ ¬ X ∈ dom ⁡ F ↾ V ∖ X
12 11 a1i ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → ¬ X ∈ dom ⁡ F ↾ V ∖ X
13 fsnunfv ⊢ X ∈ W ∧ Y ∈ U ∧ ¬ X ∈ dom ⁡ F ↾ V ∖ X → F ↾ V ∖ X ∪ X Y ⁡ X = Y
14 4 5 12 13 syl3anc ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → F ↾ V ∖ X ∪ X Y ⁡ X = Y
15 3 14 eqtrd ⊢ F ∈ V ∧ X ∈ W ∧ Y ∈ U → F sSet X Y ⁡ X = Y