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 30967
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 5926 . . 3 (𝑓𝑋 → (𝑓𝐶) ∈ V)
32adantl 481 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑓𝑋) → (𝑓𝐶) ∈ V)
4 simpr 484 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → 𝑔 ∈ (𝐵m 𝐶))
5 difexg 5246 . . . . . . 7 (𝐴𝑉 → (𝐴𝐶) ∈ V)
653ad2ant1 1131 . . . . . 6 ((𝐴𝑉𝐵𝑊𝐶𝐴) → (𝐴𝐶) ∈ V)
7 snex 5349 . . . . . 6 {𝑍} ∈ V
8 xpexg 7578 . . . . . 6 (((𝐴𝐶) ∈ V ∧ {𝑍} ∈ V) → ((𝐴𝐶) × {𝑍}) ∈ V)
96, 7, 8sylancl 585 . . . . 5 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝐴𝐶) × {𝑍}) ∈ V)
109adantr 480 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → ((𝐴𝐶) × {𝑍}) ∈ V)
11 unexg 7577 . . . 4 ((𝑔 ∈ (𝐵m 𝐶) ∧ ((𝐴𝐶) × {𝑍}) ∈ V) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
124, 10, 11syl2anc 583 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
1312adantlr 711 . 2 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ 𝑔 ∈ (𝐵m 𝐶)) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) ∈ V)
14 resf1o.1 . . . . 5 𝑋 = {𝑓 ∈ (𝐵m 𝐴) ∣ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶}
1514rabeq2i 3412 . . . 4 (𝑓𝑋 ↔ (𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶))
1615anbi1i 623 . . 3 ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
17 simprr 769 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 = (𝑓𝐶))
18 simprll 775 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 ∈ (𝐵m 𝐴))
19 elmapi 8595 . . . . . . . . 9 (𝑓 ∈ (𝐵m 𝐴) → 𝑓:𝐴𝐵)
2018, 19syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓:𝐴𝐵)
21 simp3 1136 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶𝐴)
2221ad2antrr 722 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐶𝐴)
2320, 22fssresd 6625 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶):𝐶𝐵)
24 simp2 1135 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐵𝑊)
25 simp1 1134 . . . . . . . . . 10 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐴𝑉)
2625, 21ssexd 5243 . . . . . . . . 9 ((𝐴𝑉𝐵𝑊𝐶𝐴) → 𝐶 ∈ V)
27 elmapg 8586 . . . . . . . . 9 ((𝐵𝑊𝐶 ∈ V) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2824, 26, 27syl2anc 583 . . . . . . . 8 ((𝐴𝑉𝐵𝑊𝐶𝐴) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
2928ad2antrr 722 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∈ (𝐵m 𝐶) ↔ (𝑓𝐶):𝐶𝐵))
3023, 29mpbird 256 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) ∈ (𝐵m 𝐶))
3117, 30eqeltrd 2839 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑔 ∈ (𝐵m 𝐶))
32 undif 4412 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3332biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
3433reseq2d 5880 . . . . . . . . 9 (𝐶𝐴 → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
3522, 34syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = (𝑓𝐴))
36 ffn 6584 . . . . . . . . 9 (𝑓:𝐴𝐵𝑓 Fn 𝐴)
37 fnresdm 6535 . . . . . . . . 9 (𝑓 Fn 𝐴 → (𝑓𝐴) = 𝑓)
3820, 36, 373syl 18 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐴) = 𝑓)
3935, 38eqtr2d 2779 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))))
40 resundi 5894 . . . . . . 7 (𝑓 ↾ (𝐶 ∪ (𝐴𝐶))) = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶)))
4139, 40eqtrdi 2795 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))))
4217eqcomd 2744 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓𝐶) = 𝑔)
43 simprlr 776 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
4425ad2antrr 722 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝐴𝑉)
45 simplr 765 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑍𝐵)
46 eqid 2738 . . . . . . . . . . 11 (𝐵 ∖ {𝑍}) = (𝐵 ∖ {𝑍})
4746ffs2 30965 . . . . . . . . . 10 ((𝐴𝑉𝑍𝐵𝑓:𝐴𝐵) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
4844, 45, 20, 47syl3anc 1369 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
49 sseqin2 4146 . . . . . . . . . . 11 (𝐶𝐴 ↔ (𝐴𝐶) = 𝐶)
5049biimpi 215 . . . . . . . . . 10 (𝐶𝐴 → (𝐴𝐶) = 𝐶)
5122, 50syl 17 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝐴𝐶) = 𝐶)
5243, 48, 513sstr4d 3964 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 supp 𝑍) ⊆ (𝐴𝐶))
53 simpl 482 . . . . . . . . . . . 12 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ (𝐵m 𝐴))
5453, 19, 363syl 18 . . . . . . . . . . 11 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn 𝐴)
55 inundif 4409 . . . . . . . . . . . 12 ((𝐴𝐶) ∪ (𝐴𝐶)) = 𝐴
5655fneq2i 6515 . . . . . . . . . . 11 (𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)) ↔ 𝑓 Fn 𝐴)
5754, 56sylibr 233 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)))
58 vex 3426 . . . . . . . . . . 11 𝑓 ∈ V
5958a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑓 ∈ V)
60 simpr 484 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → 𝑍𝐵)
61 inindif 30764 . . . . . . . . . . 11 ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅
6261a1i 11 . . . . . . . . . 10 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅)
63 fnsuppres 7978 . . . . . . . . . 10 ((𝑓 Fn ((𝐴𝐶) ∪ (𝐴𝐶)) ∧ (𝑓 ∈ V ∧ 𝑍𝐵) ∧ ((𝐴𝐶) ∩ (𝐴𝐶)) = ∅) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6457, 59, 60, 62, 63syl121anc 1373 . . . . . . . . 9 ((𝑓 ∈ (𝐵m 𝐴) ∧ 𝑍𝐵) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6518, 45, 64syl2anc 583 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓 supp 𝑍) ⊆ (𝐴𝐶) ↔ (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍})))
6652, 65mpbid 231 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑓 ↾ (𝐴𝐶)) = ((𝐴𝐶) × {𝑍}))
6742, 66uneq12d 4094 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → ((𝑓𝐶) ∪ (𝑓 ↾ (𝐴𝐶))) = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6841, 67eqtrd 2778 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
6931, 68jca 511 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶))) → (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍}))))
7024ad2antrr 722 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐵𝑊)
7125ad2antrr 722 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐴𝑉)
72 elmapi 8595 . . . . . . . . 9 (𝑔 ∈ (𝐵m 𝐶) → 𝑔:𝐶𝐵)
7372ad2antrl 724 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔:𝐶𝐵)
74 simplr 765 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑍𝐵)
75 fconst6g 6647 . . . . . . . . 9 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
7674, 75syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵)
77 disjdif 4402 . . . . . . . . 9 (𝐶 ∩ (𝐴𝐶)) = ∅
7877a1i 11 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∩ (𝐴𝐶)) = ∅)
79 fun2 6621 . . . . . . . 8 (((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵) ∧ (𝐶 ∩ (𝐴𝐶)) = ∅) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
8073, 76, 78, 79syl21anc 834 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵)
81 simprr 769 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
8281eqcomd 2744 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ∪ ((𝐴𝐶) × {𝑍})) = 𝑓)
8321ad2antrr 722 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝐶𝐴)
8483, 33syl 17 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝐶 ∪ (𝐴𝐶)) = 𝐴)
8582, 84feq12d 6572 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})):(𝐶 ∪ (𝐴𝐶))⟶𝐵𝑓:𝐴𝐵))
8680, 85mpbid 231 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓:𝐴𝐵)
87 elmapg 8586 . . . . . . 7 ((𝐵𝑊𝐴𝑉) → (𝑓 ∈ (𝐵m 𝐴) ↔ 𝑓:𝐴𝐵))
8887biimpar 477 . . . . . 6 (((𝐵𝑊𝐴𝑉) ∧ 𝑓:𝐴𝐵) → 𝑓 ∈ (𝐵m 𝐴))
8970, 71, 86, 88syl21anc 834 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑓 ∈ (𝐵m 𝐴))
9071, 74, 86, 47syl3anc 1369 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 supp 𝑍) = (𝑓 “ (𝐵 ∖ {𝑍})))
9181adantr 480 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))
9291fveq1d 6758 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥))
9373adantr 480 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔:𝐶𝐵)
9493ffnd 6585 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑔 Fn 𝐶)
95 fconstg 6645 . . . . . . . . . . 11 (𝑍𝐵 → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9695ad3antlr 727 . . . . . . . . . 10 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍})
9796ffnd 6585 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶))
9877a1i 11 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝐶 ∩ (𝐴𝐶)) = ∅)
99 simpr 484 . . . . . . . . 9 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → 𝑥 ∈ (𝐴𝐶))
100 fvun2 6842 . . . . . . . . 9 ((𝑔 Fn 𝐶 ∧ ((𝐴𝐶) × {𝑍}) Fn (𝐴𝐶) ∧ ((𝐶 ∩ (𝐴𝐶)) = ∅ ∧ 𝑥 ∈ (𝐴𝐶))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
10194, 97, 98, 99, 100syl112anc 1372 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍}))‘𝑥) = (((𝐴𝐶) × {𝑍})‘𝑥))
102 fvconst 7018 . . . . . . . . 9 ((((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶{𝑍} ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10396, 99, 102syl2anc 583 . . . . . . . 8 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (((𝐴𝐶) × {𝑍})‘𝑥) = 𝑍)
10492, 101, 1033eqtrd 2782 . . . . . . 7 (((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) ∧ 𝑥 ∈ (𝐴𝐶)) → (𝑓𝑥) = 𝑍)
10586, 104suppss 7981 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 supp 𝑍) ⊆ 𝐶)
10690, 105eqsstrrd 3956 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶)
10781reseq1d 5879 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑓𝐶) = ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶))
108 res0 5884 . . . . . . . . . 10 (((𝐴𝐶) × {𝑍}) ↾ ∅) = ∅
109 res0 5884 . . . . . . . . . 10 (𝑔 ↾ ∅) = ∅
110108, 109eqtr4i 2769 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ ∅) = (𝑔 ↾ ∅)
11177reseq2i 5877 . . . . . . . . 9 (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ ∅)
11277reseq2i 5877 . . . . . . . . 9 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (𝑔 ↾ ∅)
113110, 111, 1123eqtr4ri 2777 . . . . . . . 8 (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))
114113a1i 11 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶))))
115 fresaunres1 6631 . . . . . . 7 ((𝑔:𝐶𝐵 ∧ ((𝐴𝐶) × {𝑍}):(𝐴𝐶)⟶𝐵 ∧ (𝑔 ↾ (𝐶 ∩ (𝐴𝐶))) = (((𝐴𝐶) × {𝑍}) ↾ (𝐶 ∩ (𝐴𝐶)))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
11673, 76, 114, 115syl3anc 1369 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑔 ∪ ((𝐴𝐶) × {𝑍})) ↾ 𝐶) = 𝑔)
117107, 116eqtr2d 2779 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → 𝑔 = (𝑓𝐶))
11889, 106, 117jca31 514 . . . 4 ((((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) ∧ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))) → ((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)))
11969, 118impbida 797 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → (((𝑓 ∈ (𝐵m 𝐴) ∧ (𝑓 “ (𝐵 ∖ {𝑍})) ⊆ 𝐶) ∧ 𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
12016, 119syl5bb 282 . 2 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → ((𝑓𝑋𝑔 = (𝑓𝐶)) ↔ (𝑔 ∈ (𝐵m 𝐶) ∧ 𝑓 = (𝑔 ∪ ((𝐴𝐶) × {𝑍})))))
1211, 3, 13, 120f1od 7499 1 (((𝐴𝑉𝐵𝑊𝐶𝐴) ∧ 𝑍𝐵) → 𝐹:𝑋1-1-onto→(𝐵m 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  {crab 3067  Vcvv 3422  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253  {csn 4558  cmpt 5153   × cxp 5578  ccnv 5579  cres 5582  cima 5583   Fn wfn 6413  wf 6414  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255   supp csupp 7948  m cmap 8573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-supp 7949  df-map 8575
This theorem is referenced by:  eulerpartgbij  32239
  Copyright terms: Public domain W3C validator