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 31065
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 5937 . . 3 (𝑓𝑋 → (𝑓𝐶) ∈ V)
32adantl 482 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑓𝑋) → (𝑓𝐶) ∈ V)
4 simpr 485 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → 𝑔 ∈ (𝐵m 𝐶))
5 difexg 5251 . . . . . . 7 (𝐴𝑉 → (𝐴𝐶) ∈ V)
653ad2ant1 1132 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐶𝐴) → (𝐴𝐶) ∈ V)
7 snex 5354 . . . . . 6 {𝑍} ∈ V
8 xpexg 7600 . . . . . 6 (((𝐴𝐶) ∈ V ∧ {𝑍} ∈ V) → ((𝐴𝐶) × {𝑍}) ∈ V)
96, 7, 8sylancl 586 . . . . 5 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝐴𝐶) × {𝑍}) ∈ V)
109adantr 481 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → ((𝐴𝐶) × {𝑍}) ∈ V)
11 unexg 7599 . . . 4 ((𝑔 ∈ (𝐵m 𝐶) ∧ ((𝐴𝐶) × {𝑍}) ∈ V) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
124, 10, 11syl2anc 584 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
1312adantlr 712 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
14 resf1o.1 . . . . 5 𝑋 = {𝑓 ∈ (𝐵m 𝐴) ∣ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶}
1514rabeq2i 3422 . . . 4 (𝑓𝑋 ↔ (𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶))
1615anbi1i 624 . . 3 ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
17 simprr 770 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 = (𝑓𝐶))
18 simprll 776 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 ∈ (𝐵m 𝐴))
19 elmapi 8637 . . . . . . . . 9 (𝑓 ∈ (𝐵m 𝐴) → 𝑓:𝐴𝐵)
2018, 19syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓:𝐴𝐵)
21 simp3 1137 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶𝐴)
2221ad2antrr 723 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐶𝐴)
2320, 22fssresd 6641 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶):𝐶𝐵)
24 simp2 1136 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐵𝑊)
25 simp1 1135 . . . . . . . . . 10 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐴𝑉)
2625, 21ssexd 5248 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶 ∈ V)
27 elmapg 8628 . . . . . . . . 9 ((𝐵𝑊𝐶 ∈ V) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2824, 26, 27syl2anc 584 . . . . . . . 8 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2928ad2antrr 723 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
3023, 29mpbird 256 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) ∈ (𝐵m 𝐶))
3117, 30eqeltrd 2839 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 ∈ (𝐵m 𝐶))
32 undif 4415 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3332biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3433reseq2d 5891 . . . . . . . . 9 (𝐶𝐴 → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
3522, 34syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
36 ffn 6600 . . . . . . . . 9 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
37 fnresdm 6551 . . . . . . . . 9 (𝑓 Fn 𝐴 → (𝑓𝐴) = 𝑓)
3820, 36, 373syl 18 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐴) = 𝑓)
3935, 38eqtr2d 2779 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))))
40 resundi 5905 . . . . . . 7 (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶)))
4139, 40eqtrdi 2794 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))))
4217eqcomd 2744 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) = 𝑔)
43 simprlr 777 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
4425ad2antrr 723 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐴𝑉)
45 simplr 766 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑍𝐵)
46 eqid 2738 . . . . . . . . . . 11 (𝐵 ∖ {𝑍}) = (𝐵 ∖ {𝑍})
4746ffs2 31063 . . . . . . . . . 10 ((𝐴𝑉𝑍𝐵𝑓:𝐴𝐵) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
4844, 45, 20, 47syl3anc 1370 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
49 sseqin2 4149 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐴𝐶) = 𝐶)
5049biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐴𝐶) = 𝐶)
5122, 50syl 17 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝐴𝐶) = 𝐶)
5243, 48, 513sstr4d 3968 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) ⊆ (𝐴𝐶))
53 simpl 483 . . . . . . . . . . . 12 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ (𝐵m 𝐴))
5453, 19, 363syl 18 . . . . . . . . . . 11 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn 𝐴)
55 inundif 4412 . . . . . . . . . . . 12 ((𝐴𝐶) ∪ (𝐴𝐶)) = 𝐴
5655fneq2i 6531 . . . . . . . . . . 11 (𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)) ↔ 𝑓 Fn 𝐴)
5754, 56sylibr 233 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)))
58 vex 3436 . . . . . . . . . . 11 𝑓 ∈ V
5958a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ V)
60 simpr 485 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑍𝐵)
61 inindif 30863 . . . . . . . . . . 11 ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅
6261a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅)
63 fnsuppres 8007 . . . . . . . . . 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 4098 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))) = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6841, 67eqtrd 2778 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6931, 68jca 512 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍}))))
7024ad2antrr 723 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐵𝑊)
7125ad2antrr 723 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐴𝑉)
72 elmapi 8637 . . . . . . . . 9 (𝑔 ∈ (𝐵m 𝐶) → 𝑔:𝐶𝐵)
7372ad2antrl 725 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔:𝐶𝐵)
74 simplr 766 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑍𝐵)
75 fconst6g 6663 . . . . . . . . 9 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
7674, 75syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
77 disjdif 4405 . . . . . . . . 9 (𝐶 ∩ (𝐴𝐶)) = ∅
7877a1i 11 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∩ (𝐴𝐶)) = ∅)
79 fun2 6637 . . . . . . . 8 (((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵) ∧ (𝐶 ∩ (𝐴𝐶)) = ∅) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
8073, 76, 78, 79syl21anc 835 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
81 simprr 770 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
8281eqcomd 2744 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) = 𝑓)
8321ad2antrr 723 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐶𝐴)
8483, 33syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
8582, 84feq12d 6588 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵𝑓:𝐴𝐵))
8680, 85mpbid 231 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓:𝐴𝐵)
87 elmapg 8628 . . . . . . 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 6776 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥))
9373adantr 481 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔:𝐶𝐵)
9493ffnd 6601 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔 Fn 𝐶)
95 fconstg 6661 . . . . . . . . . . 11 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9695ad3antlr 728 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9796ffnd 6601 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶))
9877a1i 11 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝐶 ∩ (𝐴𝐶)) = ∅)
99 simpr 485 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑥 ∈ (𝐴𝐶))
100 fvun2 6860 . . . . . . . . 9 ((𝑔 Fn 𝐶 ∧ ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶) ∧ ((𝐶 ∩ (𝐴𝐶)) = ∅ ∧ 𝑥 ∈ (𝐴𝐶))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
10194, 97, 98, 99, 100syl112anc 1373 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
102 fvconst 7036 . . . . . . . . 9 ((((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍} ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10396, 99, 102syl2anc 584 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10492, 101, 1033eqtrd 2782 . . . . . . 7 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = 𝑍)
10586, 104suppss 8010 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 supp 𝑍) ⊆ 𝐶)
10690, 105eqsstrrd 3960 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
10781reseq1d 5890 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓𝐶) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶))
108 res0 5895 . . . . . . . . . 10 (((𝐴𝐶) × {𝑍}) ↾ ∅) = ∅
109 res0 5895 . . . . . . . . . 10 (𝑔 ↾ ∅) = ∅
110108, 109eqtr4i 2769 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ ∅) = (𝑔 ↾ ∅)
11177reseq2i 5888 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ ∅)
11277reseq2i 5888 . . . . . . . . 9 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (𝑔 ↾ ∅)
113110, 111, 1123eqtr4ri 2777 . . . . . . . 8 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))
114113a1i 11 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))))
115 fresaunres1 6647 . . . . . . 7 ((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵 ∧ (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
11673, 76, 114, 115syl3anc 1370 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
117107, 116eqtr2d 2779 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔 = (𝑓𝐶))
11889, 106, 117jca31 515 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
11969, 118impbida 798 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → (((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
12016, 119syl5bb 283 . 2 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
1211, 3, 13, 120f1od 7521 1 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → 𝐹:𝑋1-1-onto→(𝐵m 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  {crab 3068  Vcvv 3432  cdif 3884  cun 3885  cin 3886  wss 3887  c0 4256  {csn 4561  cmpt 5157   × cxp 5587  ccnv 5588  cres 5591  cima 5592   Fn wfn 6428  wf 6429  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275   supp csupp 7977  m cmap 8615
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-supp 7978  df-map 8617
This theorem is referenced by:  eulerpartgbij  32339
  Copyright terms: Public domain W3C validator