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 31061
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 5936 . . 3 (𝑓𝑋 → (𝑓𝐶) ∈ V)
32adantl 482 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑓𝑋) → (𝑓𝐶) ∈ V)
4 simpr 485 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → 𝑔 ∈ (𝐵m 𝐶))
5 difexg 5255 . . . . . . 7 (𝐴𝑉 → (𝐴𝐶) ∈ V)
653ad2ant1 1132 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐶𝐴) → (𝐴𝐶) ∈ V)
7 snex 5358 . . . . . 6 {𝑍} ∈ V
8 xpexg 7594 . . . . . 6 (((𝐴𝐶) ∈ V ∧ {𝑍} ∈ V) → ((𝐴𝐶) × {𝑍}) ∈ V)
96, 7, 8sylancl 586 . . . . 5 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝐴𝐶) × {𝑍}) ∈ V)
109adantr 481 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → ((𝐴𝐶) × {𝑍}) ∈ V)
11 unexg 7593 . . . 4 ((𝑔 ∈ (𝐵m 𝐶) ∧ ((𝐴𝐶) × {𝑍}) ∈ V) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
124, 10, 11syl2anc 584 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
1312adantlr 712 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
14 resf1o.1 . . . . 5 𝑋 = {𝑓 ∈ (𝐵m 𝐴) ∣ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶}
1514rabeq2i 3421 . . . 4 (𝑓𝑋 ↔ (𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶))
1615anbi1i 624 . . 3 ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
17 simprr 770 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 = (𝑓𝐶))
18 simprll 776 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 ∈ (𝐵m 𝐴))
19 elmapi 8620 . . . . . . . . 9 (𝑓 ∈ (𝐵m 𝐴) → 𝑓:𝐴𝐵)
2018, 19syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓:𝐴𝐵)
21 simp3 1137 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶𝐴)
2221ad2antrr 723 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐶𝐴)
2320, 22fssresd 6639 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶):𝐶𝐵)
24 simp2 1136 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐵𝑊)
25 simp1 1135 . . . . . . . . . 10 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐴𝑉)
2625, 21ssexd 5252 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶 ∈ V)
27 elmapg 8611 . . . . . . . . 9 ((𝐵𝑊𝐶 ∈ V) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2824, 26, 27syl2anc 584 . . . . . . . 8 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2928ad2antrr 723 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
3023, 29mpbird 256 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) ∈ (𝐵m 𝐶))
3117, 30eqeltrd 2841 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 ∈ (𝐵m 𝐶))
32 undif 4421 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3332biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3433reseq2d 5890 . . . . . . . . 9 (𝐶𝐴 → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
3522, 34syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
36 ffn 6598 . . . . . . . . 9 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
37 fnresdm 6549 . . . . . . . . 9 (𝑓 Fn 𝐴 → (𝑓𝐴) = 𝑓)
3820, 36, 373syl 18 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐴) = 𝑓)
3935, 38eqtr2d 2781 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))))
40 resundi 5904 . . . . . . 7 (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶)))
4139, 40eqtrdi 2796 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))))
4217eqcomd 2746 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) = 𝑔)
43 simprlr 777 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
4425ad2antrr 723 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐴𝑉)
45 simplr 766 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑍𝐵)
46 eqid 2740 . . . . . . . . . . 11 (𝐵 ∖ {𝑍}) = (𝐵 ∖ {𝑍})
4746ffs2 31059 . . . . . . . . . 10 ((𝐴𝑉𝑍𝐵𝑓:𝐴𝐵) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
4844, 45, 20, 47syl3anc 1370 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
49 sseqin2 4155 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐴𝐶) = 𝐶)
5049biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐴𝐶) = 𝐶)
5122, 50syl 17 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝐴𝐶) = 𝐶)
5243, 48, 513sstr4d 3973 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) ⊆ (𝐴𝐶))
53 simpl 483 . . . . . . . . . . . 12 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ (𝐵m 𝐴))
5453, 19, 363syl 18 . . . . . . . . . . 11 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn 𝐴)
55 inundif 4418 . . . . . . . . . . . 12 ((𝐴𝐶) ∪ (𝐴𝐶)) = 𝐴
5655fneq2i 6529 . . . . . . . . . . 11 (𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)) ↔ 𝑓 Fn 𝐴)
5754, 56sylibr 233 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)))
58 vex 3435 . . . . . . . . . . 11 𝑓 ∈ V
5958a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ V)
60 simpr 485 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑍𝐵)
61 inindif 30859 . . . . . . . . . . 11 ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅
6261a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅)
63 fnsuppres 7998 . . . . . . . . . 10 ((𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)) ∧ (𝑓 ∈ V ∧ 𝑍𝐵) ∧ ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6457, 59, 60, 62, 63syl121anc 1374 . . . . . . . . 9 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6518, 45, 64syl2anc 584 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6652, 65mpbid 231 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍}))
6742, 66uneq12d 4103 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))) = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6841, 67eqtrd 2780 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6931, 68jca 512 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍}))))
7024ad2antrr 723 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐵𝑊)
7125ad2antrr 723 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐴𝑉)
72 elmapi 8620 . . . . . . . . 9 (𝑔 ∈ (𝐵m 𝐶) → 𝑔:𝐶𝐵)
7372ad2antrl 725 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔:𝐶𝐵)
74 simplr 766 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑍𝐵)
75 fconst6g 6661 . . . . . . . . 9 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
7674, 75syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
77 disjdif 4411 . . . . . . . . 9 (𝐶 ∩ (𝐴𝐶)) = ∅
7877a1i 11 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∩ (𝐴𝐶)) = ∅)
79 fun2 6635 . . . . . . . 8 (((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵) ∧ (𝐶 ∩ (𝐴𝐶)) = ∅) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
8073, 76, 78, 79syl21anc 835 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
81 simprr 770 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
8281eqcomd 2746 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) = 𝑓)
8321ad2antrr 723 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐶𝐴)
8483, 33syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
8582, 84feq12d 6586 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵𝑓:𝐴𝐵))
8680, 85mpbid 231 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓:𝐴𝐵)
87 elmapg 8611 . . . . . . 7 ((𝐵𝑊𝐴𝑉) → (𝑓 ∈ (𝐵m 𝐴) ↔ 𝑓:𝐴𝐵))
8887biimpar 478 . . . . . 6 (((𝐵𝑊𝐴𝑉) ∧ 𝑓:𝐴𝐵) → 𝑓 ∈ (𝐵m 𝐴))
8970, 71, 86, 88syl21anc 835 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓 ∈ (𝐵m 𝐴))
9071, 74, 86, 47syl3anc 1370 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
9181adantr 481 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
9291fveq1d 6773 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥))
9373adantr 481 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔:𝐶𝐵)
9493ffnd 6599 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔 Fn 𝐶)
95 fconstg 6659 . . . . . . . . . . 11 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9695ad3antlr 728 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9796ffnd 6599 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶))
9877a1i 11 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝐶 ∩ (𝐴𝐶)) = ∅)
99 simpr 485 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑥 ∈ (𝐴𝐶))
100 fvun2 6857 . . . . . . . . 9 ((𝑔 Fn 𝐶 ∧ ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶) ∧ ((𝐶 ∩ (𝐴𝐶)) = ∅ ∧ 𝑥 ∈ (𝐴𝐶))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
10194, 97, 98, 99, 100syl112anc 1373 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
102 fvconst 7033 . . . . . . . . 9 ((((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍} ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10396, 99, 102syl2anc 584 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10492, 101, 1033eqtrd 2784 . . . . . . 7 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = 𝑍)
10586, 104suppss 8001 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 supp 𝑍) ⊆ 𝐶)
10690, 105eqsstrrd 3965 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
10781reseq1d 5889 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓𝐶) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶))
108 res0 5894 . . . . . . . . . 10 (((𝐴𝐶) × {𝑍}) ↾ ∅) = ∅
109 res0 5894 . . . . . . . . . 10 (𝑔 ↾ ∅) = ∅
110108, 109eqtr4i 2771 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ ∅) = (𝑔 ↾ ∅)
11177reseq2i 5887 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ ∅)
11277reseq2i 5887 . . . . . . . . 9 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (𝑔 ↾ ∅)
113110, 111, 1123eqtr4ri 2779 . . . . . . . 8 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))
114113a1i 11 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))))
115 fresaunres1 6645 . . . . . . 7 ((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵 ∧ (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
11673, 76, 114, 115syl3anc 1370 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
117107, 116eqtr2d 2781 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔 = (𝑓𝐶))
11889, 106, 117jca31 515 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
11969, 118impbida 798 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → (((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
12016, 119syl5bb 283 . 2 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
1211, 3, 13, 120f1od 7515 1 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → 𝐹:𝑋1-1-onto→(𝐵m 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1542  wcel 2110  {crab 3070  Vcvv 3431  cdif 3889  cun 3890  cin 3891  wss 3892  c0 4262  {csn 4567  cmpt 5162   × cxp 5588  ccnv 5589  cres 5592  cima 5593   Fn wfn 6427  wf 6428  1-1-ontowf1o 6431  cfv 6432  (class class class)co 7271   supp csupp 7968  m cmap 8598
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-rep 5214  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7582
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-ov 7274  df-oprab 7275  df-mpo 7276  df-1st 7824  df-2nd 7825  df-supp 7969  df-map 8600
This theorem is referenced by:  eulerpartgbij  32335
  Copyright terms: Public domain W3C validator