Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  resf1o Structured version   Visualization version   GIF version

Theorem resf1o 31986
Description: Restriction of functions to a superset of their support creates a bijection. (Contributed by Thierry Arnoux, 12-Sep-2017.)
Hypotheses
Ref Expression
resf1o.1 𝑋 = {𝑓 ∈ (𝐵m 𝐴) ∣ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶}
resf1o.2 𝐹 = (𝑓𝑋 ↦ (𝑓𝐶))
Assertion
Ref Expression
resf1o (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → 𝐹:𝑋1-1-onto→(𝐵m 𝐶))
Distinct variable groups:   𝐴,𝑓   𝐵,𝑓   𝐶,𝑓   𝑓,𝑉   𝑓,𝑊   𝑓,𝑋   𝑓,𝑍
Allowed substitution hint:   𝐹(𝑓)

Proof of Theorem resf1o
Dummy variables 𝑔 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 resf1o.2 . 2 𝐹 = (𝑓𝑋 ↦ (𝑓𝐶))
2 resexg 6028 . . 3 (𝑓𝑋 → (𝑓𝐶) ∈ V)
32adantl 483 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑓𝑋) → (𝑓𝐶) ∈ V)
4 simpr 486 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → 𝑔 ∈ (𝐵m 𝐶))
5 difexg 5328 . . . . . . 7 (𝐴𝑉 → (𝐴𝐶) ∈ V)
653ad2ant1 1134 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐶𝐴) → (𝐴𝐶) ∈ V)
7 snex 5432 . . . . . 6 {𝑍} ∈ V
8 xpexg 7737 . . . . . 6 (((𝐴𝐶) ∈ V ∧ {𝑍} ∈ V) → ((𝐴𝐶) × {𝑍}) ∈ V)
96, 7, 8sylancl 587 . . . . 5 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝐴𝐶) × {𝑍}) ∈ V)
109adantr 482 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → ((𝐴𝐶) × {𝑍}) ∈ V)
11 unexg 7736 . . . 4 ((𝑔 ∈ (𝐵m 𝐶) ∧ ((𝐴𝐶) × {𝑍}) ∈ V) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
124, 10, 11syl2anc 585 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
1312adantlr 714 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
14 resf1o.1 . . . . 5 𝑋 = {𝑓 ∈ (𝐵m 𝐴) ∣ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶}
1514reqabi 3455 . . . 4 (𝑓𝑋 ↔ (𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶))
1615anbi1i 625 . . 3 ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
17 simprr 772 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 = (𝑓𝐶))
18 simprll 778 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 ∈ (𝐵m 𝐴))
19 elmapi 8843 . . . . . . . . 9 (𝑓 ∈ (𝐵m 𝐴) → 𝑓:𝐴𝐵)
2018, 19syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓:𝐴𝐵)
21 simp3 1139 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶𝐴)
2221ad2antrr 725 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐶𝐴)
2320, 22fssresd 6759 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶):𝐶𝐵)
24 simp2 1138 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐵𝑊)
25 simp1 1137 . . . . . . . . . 10 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐴𝑉)
2625, 21ssexd 5325 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶 ∈ V)
27 elmapg 8833 . . . . . . . . 9 ((𝐵𝑊𝐶 ∈ V) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2824, 26, 27syl2anc 585 . . . . . . . 8 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2928ad2antrr 725 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
3023, 29mpbird 257 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) ∈ (𝐵m 𝐶))
3117, 30eqeltrd 2834 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 ∈ (𝐵m 𝐶))
32 undif 4482 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3332biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3433reseq2d 5982 . . . . . . . . 9 (𝐶𝐴 → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
3522, 34syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
36 ffn 6718 . . . . . . . . 9 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
37 fnresdm 6670 . . . . . . . . 9 (𝑓 Fn 𝐴 → (𝑓𝐴) = 𝑓)
3820, 36, 373syl 18 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐴) = 𝑓)
3935, 38eqtr2d 2774 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))))
40 resundi 5996 . . . . . . 7 (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶)))
4139, 40eqtrdi 2789 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))))
4217eqcomd 2739 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) = 𝑔)
43 simprlr 779 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
4425ad2antrr 725 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐴𝑉)
45 simplr 768 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑍𝐵)
46 eqid 2733 . . . . . . . . . . 11 (𝐵 ∖ {𝑍}) = (𝐵 ∖ {𝑍})
4746ffs2 31984 . . . . . . . . . 10 ((𝐴𝑉𝑍𝐵𝑓:𝐴𝐵) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
4844, 45, 20, 47syl3anc 1372 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
49 sseqin2 4216 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐴𝐶) = 𝐶)
5049biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐴𝐶) = 𝐶)
5122, 50syl 17 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝐴𝐶) = 𝐶)
5243, 48, 513sstr4d 4030 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) ⊆ (𝐴𝐶))
53 simpl 484 . . . . . . . . . . . 12 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ (𝐵m 𝐴))
5453, 19, 363syl 18 . . . . . . . . . . 11 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn 𝐴)
55 inundif 4479 . . . . . . . . . . . 12 ((𝐴𝐶) ∪ (𝐴𝐶)) = 𝐴
5655fneq2i 6648 . . . . . . . . . . 11 (𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)) ↔ 𝑓 Fn 𝐴)
5754, 56sylibr 233 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)))
58 vex 3479 . . . . . . . . . . 11 𝑓 ∈ V
5958a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ V)
60 simpr 486 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑍𝐵)
61 inindif 31785 . . . . . . . . . . 11 ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅
6261a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅)
63 fnsuppres 8176 . . . . . . . . . 10 ((𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)) ∧ (𝑓 ∈ V ∧ 𝑍𝐵) ∧ ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6457, 59, 60, 62, 63syl121anc 1376 . . . . . . . . 9 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6518, 45, 64syl2anc 585 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6652, 65mpbid 231 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍}))
6742, 66uneq12d 4165 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))) = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6841, 67eqtrd 2773 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6931, 68jca 513 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍}))))
7024ad2antrr 725 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐵𝑊)
7125ad2antrr 725 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐴𝑉)
72 elmapi 8843 . . . . . . . . 9 (𝑔 ∈ (𝐵m 𝐶) → 𝑔:𝐶𝐵)
7372ad2antrl 727 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔:𝐶𝐵)
74 simplr 768 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑍𝐵)
75 fconst6g 6781 . . . . . . . . 9 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
7674, 75syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
77 disjdif 4472 . . . . . . . . 9 (𝐶 ∩ (𝐴𝐶)) = ∅
7877a1i 11 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∩ (𝐴𝐶)) = ∅)
79 fun2 6755 . . . . . . . 8 (((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵) ∧ (𝐶 ∩ (𝐴𝐶)) = ∅) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
8073, 76, 78, 79syl21anc 837 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
81 simprr 772 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
8281eqcomd 2739 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) = 𝑓)
8321ad2antrr 725 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐶𝐴)
8483, 33syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
8582, 84feq12d 6706 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵𝑓:𝐴𝐵))
8680, 85mpbid 231 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓:𝐴𝐵)
87 elmapg 8833 . . . . . . 7 ((𝐵𝑊𝐴𝑉) → (𝑓 ∈ (𝐵m 𝐴) ↔ 𝑓:𝐴𝐵))
8887biimpar 479 . . . . . 6 (((𝐵𝑊𝐴𝑉) ∧ 𝑓:𝐴𝐵) → 𝑓 ∈ (𝐵m 𝐴))
8970, 71, 86, 88syl21anc 837 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓 ∈ (𝐵m 𝐴))
9071, 74, 86, 47syl3anc 1372 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
9181adantr 482 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
9291fveq1d 6894 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥))
9373adantr 482 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔:𝐶𝐵)
9493ffnd 6719 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔 Fn 𝐶)
95 fconstg 6779 . . . . . . . . . . 11 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9695ad3antlr 730 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9796ffnd 6719 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶))
9877a1i 11 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝐶 ∩ (𝐴𝐶)) = ∅)
99 simpr 486 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑥 ∈ (𝐴𝐶))
100 fvun2 6984 . . . . . . . . 9 ((𝑔 Fn 𝐶 ∧ ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶) ∧ ((𝐶 ∩ (𝐴𝐶)) = ∅ ∧ 𝑥 ∈ (𝐴𝐶))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
10194, 97, 98, 99, 100syl112anc 1375 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
102 fvconst 7162 . . . . . . . . 9 ((((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍} ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10396, 99, 102syl2anc 585 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10492, 101, 1033eqtrd 2777 . . . . . . 7 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = 𝑍)
10586, 104suppss 8179 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 supp 𝑍) ⊆ 𝐶)
10690, 105eqsstrrd 4022 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
10781reseq1d 5981 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓𝐶) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶))
108 res0 5986 . . . . . . . . . 10 (((𝐴𝐶) × {𝑍}) ↾ ∅) = ∅
109 res0 5986 . . . . . . . . . 10 (𝑔 ↾ ∅) = ∅
110108, 109eqtr4i 2764 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ ∅) = (𝑔 ↾ ∅)
11177reseq2i 5979 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ ∅)
11277reseq2i 5979 . . . . . . . . 9 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (𝑔 ↾ ∅)
113110, 111, 1123eqtr4ri 2772 . . . . . . . 8 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))
114113a1i 11 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))))
115 fresaunres1 6765 . . . . . . 7 ((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵 ∧ (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
11673, 76, 114, 115syl3anc 1372 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
117107, 116eqtr2d 2774 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔 = (𝑓𝐶))
11889, 106, 117jca31 516 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
11969, 118impbida 800 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → (((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
12016, 119bitrid 283 . 2 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
1211, 3, 13, 120f1od 7658 1 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → 𝐹:𝑋1-1-onto→(𝐵m 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397  w3a 1088   = wceq 1542  wcel 2107  {crab 3433  Vcvv 3475  cdif 3946  cun 3947  cin 3948  wss 3949  c0 4323  {csn 4629  cmpt 5232   × cxp 5675  ccnv 5676  cres 5679  cima 5680   Fn wfn 6539  wf 6540  1-1-ontowf1o 6543  cfv 6544  (class class class)co 7409   supp csupp 8146  m cmap 8820
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-ov 7412  df-oprab 7413  df-mpo 7414  df-1st 7975  df-2nd 7976  df-supp 8147  df-map 8822
This theorem is referenced by:  eulerpartgbij  33402
  Copyright terms: Public domain W3C validator