Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mofeu Structured version   Visualization version   GIF version

Theorem mofeu 46063
Description: The uniqueness of a function into a set with at most one element. (Contributed by Zhi Wang, 1-Oct-2024.)
Hypotheses
Ref Expression
mofeu.1 𝐺 = (𝐴 × 𝐵)
mofeu.2 (𝜑 → (𝐵 = ∅ → 𝐴 = ∅))
mofeu.3 (𝜑 → ∃*𝑥 𝑥𝐵)
Assertion
Ref Expression
mofeu (𝜑 → (𝐹:𝐴𝐵𝐹 = 𝐺))
Distinct variable group:   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝐴(𝑥)   𝐹(𝑥)   𝐺(𝑥)

Proof of Theorem mofeu
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 mofeu.2 . . . . 5 (𝜑 → (𝐵 = ∅ → 𝐴 = ∅))
21imp 406 . . . 4 ((𝜑𝐵 = ∅) → 𝐴 = ∅)
3 f00 6640 . . . . 5 (𝐹:𝐴⟶∅ ↔ (𝐹 = ∅ ∧ 𝐴 = ∅))
43rbaib 538 . . . 4 (𝐴 = ∅ → (𝐹:𝐴⟶∅ ↔ 𝐹 = ∅))
52, 4syl 17 . . 3 ((𝜑𝐵 = ∅) → (𝐹:𝐴⟶∅ ↔ 𝐹 = ∅))
6 feq3 6567 . . . 4 (𝐵 = ∅ → (𝐹:𝐴𝐵𝐹:𝐴⟶∅))
76adantl 481 . . 3 ((𝜑𝐵 = ∅) → (𝐹:𝐴𝐵𝐹:𝐴⟶∅))
8 mofeu.1 . . . . . 6 𝐺 = (𝐴 × 𝐵)
9 xpeq2 5601 . . . . . . 7 (𝐵 = ∅ → (𝐴 × 𝐵) = (𝐴 × ∅))
10 xp0 6050 . . . . . . 7 (𝐴 × ∅) = ∅
119, 10eqtrdi 2795 . . . . . 6 (𝐵 = ∅ → (𝐴 × 𝐵) = ∅)
128, 11syl5eq 2791 . . . . 5 (𝐵 = ∅ → 𝐺 = ∅)
1312adantl 481 . . . 4 ((𝜑𝐵 = ∅) → 𝐺 = ∅)
1413eqeq2d 2749 . . 3 ((𝜑𝐵 = ∅) → (𝐹 = 𝐺𝐹 = ∅))
155, 7, 143bitr4d 310 . 2 ((𝜑𝐵 = ∅) → (𝐹:𝐴𝐵𝐹 = 𝐺))
16 19.42v 1958 . . 3 (∃𝑦(𝜑𝐵 = {𝑦}) ↔ (𝜑 ∧ ∃𝑦 𝐵 = {𝑦}))
17 fconst2g 7060 . . . . . . . 8 (𝑦 ∈ V → (𝐹:𝐴⟶{𝑦} ↔ 𝐹 = (𝐴 × {𝑦})))
1817elv 3428 . . . . . . 7 (𝐹:𝐴⟶{𝑦} ↔ 𝐹 = (𝐴 × {𝑦}))
19 feq3 6567 . . . . . . . 8 (𝐵 = {𝑦} → (𝐹:𝐴𝐵𝐹:𝐴⟶{𝑦}))
20 xpeq2 5601 . . . . . . . . 9 (𝐵 = {𝑦} → (𝐴 × 𝐵) = (𝐴 × {𝑦}))
2120eqeq2d 2749 . . . . . . . 8 (𝐵 = {𝑦} → (𝐹 = (𝐴 × 𝐵) ↔ 𝐹 = (𝐴 × {𝑦})))
2219, 21bibi12d 345 . . . . . . 7 (𝐵 = {𝑦} → ((𝐹:𝐴𝐵𝐹 = (𝐴 × 𝐵)) ↔ (𝐹:𝐴⟶{𝑦} ↔ 𝐹 = (𝐴 × {𝑦}))))
2318, 22mpbiri 257 . . . . . 6 (𝐵 = {𝑦} → (𝐹:𝐴𝐵𝐹 = (𝐴 × 𝐵)))
248eqeq2i 2751 . . . . . 6 (𝐹 = 𝐺𝐹 = (𝐴 × 𝐵))
2523, 24bitr4di 288 . . . . 5 (𝐵 = {𝑦} → (𝐹:𝐴𝐵𝐹 = 𝐺))
2625adantl 481 . . . 4 ((𝜑𝐵 = {𝑦}) → (𝐹:𝐴𝐵𝐹 = 𝐺))
2726exlimiv 1934 . . 3 (∃𝑦(𝜑𝐵 = {𝑦}) → (𝐹:𝐴𝐵𝐹 = 𝐺))
2816, 27sylbir 234 . 2 ((𝜑 ∧ ∃𝑦 𝐵 = {𝑦}) → (𝐹:𝐴𝐵𝐹 = 𝐺))
29 mofeu.3 . . 3 (𝜑 → ∃*𝑥 𝑥𝐵)
30 mo0sn 46049 . . 3 (∃*𝑥 𝑥𝐵 ↔ (𝐵 = ∅ ∨ ∃𝑦 𝐵 = {𝑦}))
3129, 30sylib 217 . 2 (𝜑 → (𝐵 = ∅ ∨ ∃𝑦 𝐵 = {𝑦}))
3215, 28, 31mpjaodan 955 1 (𝜑 → (𝐹:𝐴𝐵𝐹 = 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wex 1783  wcel 2108  ∃*wmo 2538  Vcvv 3422  c0 4253  {csn 4558   × cxp 5578  wf 6414
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-sep 5218  ax-nul 5225  ax-pr 5347
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-rmo 3071  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-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  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-fv 6426
This theorem is referenced by:  functhinclem1  46210  functhinclem3  46212
  Copyright terms: Public domain W3C validator