MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fconst5 Structured version   Visualization version   GIF version

Theorem fconst5 6960
Description: Two ways to express that a function is constant. (Contributed by NM, 27-Nov-2007.)
Assertion
Ref Expression
fconst5 ((𝐹 Fn 𝐴𝐴 ≠ ∅) → (𝐹 = (𝐴 × {𝐵}) ↔ ran 𝐹 = {𝐵}))

Proof of Theorem fconst5
StepHypRef Expression
1 rneq 5799 . . . 4 (𝐹 = (𝐴 × {𝐵}) → ran 𝐹 = ran (𝐴 × {𝐵}))
2 rnxp 6020 . . . . 5 (𝐴 ≠ ∅ → ran (𝐴 × {𝐵}) = {𝐵})
32eqeq2d 2829 . . . 4 (𝐴 ≠ ∅ → (ran 𝐹 = ran (𝐴 × {𝐵}) ↔ ran 𝐹 = {𝐵}))
41, 3syl5ib 245 . . 3 (𝐴 ≠ ∅ → (𝐹 = (𝐴 × {𝐵}) → ran 𝐹 = {𝐵}))
54adantl 482 . 2 ((𝐹 Fn 𝐴𝐴 ≠ ∅) → (𝐹 = (𝐴 × {𝐵}) → ran 𝐹 = {𝐵}))
6 df-fo 6354 . . . . . . 7 (𝐹:𝐴onto→{𝐵} ↔ (𝐹 Fn 𝐴 ∧ ran 𝐹 = {𝐵}))
7 fof 6583 . . . . . . 7 (𝐹:𝐴onto→{𝐵} → 𝐹:𝐴⟶{𝐵})
86, 7sylbir 236 . . . . . 6 ((𝐹 Fn 𝐴 ∧ ran 𝐹 = {𝐵}) → 𝐹:𝐴⟶{𝐵})
9 fconst2g 6957 . . . . . 6 (𝐵 ∈ V → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
108, 9syl5ib 245 . . . . 5 (𝐵 ∈ V → ((𝐹 Fn 𝐴 ∧ ran 𝐹 = {𝐵}) → 𝐹 = (𝐴 × {𝐵})))
1110expd 416 . . . 4 (𝐵 ∈ V → (𝐹 Fn 𝐴 → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵}))))
1211adantrd 492 . . 3 (𝐵 ∈ V → ((𝐹 Fn 𝐴𝐴 ≠ ∅) → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵}))))
13 fnrel 6447 . . . . 5 (𝐹 Fn 𝐴 → Rel 𝐹)
14 snprc 4645 . . . . . 6 𝐵 ∈ V ↔ {𝐵} = ∅)
15 relrn0 5833 . . . . . . . . . 10 (Rel 𝐹 → (𝐹 = ∅ ↔ ran 𝐹 = ∅))
1615biimprd 249 . . . . . . . . 9 (Rel 𝐹 → (ran 𝐹 = ∅ → 𝐹 = ∅))
1716adantl 482 . . . . . . . 8 (({𝐵} = ∅ ∧ Rel 𝐹) → (ran 𝐹 = ∅ → 𝐹 = ∅))
18 eqeq2 2830 . . . . . . . . 9 ({𝐵} = ∅ → (ran 𝐹 = {𝐵} ↔ ran 𝐹 = ∅))
1918adantr 481 . . . . . . . 8 (({𝐵} = ∅ ∧ Rel 𝐹) → (ran 𝐹 = {𝐵} ↔ ran 𝐹 = ∅))
20 xpeq2 5569 . . . . . . . . . . 11 ({𝐵} = ∅ → (𝐴 × {𝐵}) = (𝐴 × ∅))
21 xp0 6008 . . . . . . . . . . 11 (𝐴 × ∅) = ∅
2220, 21syl6eq 2869 . . . . . . . . . 10 ({𝐵} = ∅ → (𝐴 × {𝐵}) = ∅)
2322eqeq2d 2829 . . . . . . . . 9 ({𝐵} = ∅ → (𝐹 = (𝐴 × {𝐵}) ↔ 𝐹 = ∅))
2423adantr 481 . . . . . . . 8 (({𝐵} = ∅ ∧ Rel 𝐹) → (𝐹 = (𝐴 × {𝐵}) ↔ 𝐹 = ∅))
2517, 19, 243imtr4d 295 . . . . . . 7 (({𝐵} = ∅ ∧ Rel 𝐹) → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵})))
2625ex 413 . . . . . 6 ({𝐵} = ∅ → (Rel 𝐹 → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵}))))
2714, 26sylbi 218 . . . . 5 𝐵 ∈ V → (Rel 𝐹 → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵}))))
2813, 27syl5 34 . . . 4 𝐵 ∈ V → (𝐹 Fn 𝐴 → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵}))))
2928adantrd 492 . . 3 𝐵 ∈ V → ((𝐹 Fn 𝐴𝐴 ≠ ∅) → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵}))))
3012, 29pm2.61i 183 . 2 ((𝐹 Fn 𝐴𝐴 ≠ ∅) → (ran 𝐹 = {𝐵} → 𝐹 = (𝐴 × {𝐵})))
315, 30impbid 213 1 ((𝐹 Fn 𝐴𝐴 ≠ ∅) → (𝐹 = (𝐴 × {𝐵}) ↔ ran 𝐹 = {𝐵}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396   = wceq 1528  wcel 2105  wne 3013  Vcvv 3492  c0 4288  {csn 4557   × cxp 5546  ran crn 5549  Rel wrel 5553   Fn wfn 6343  wf 6344  ontowfo 6346
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-fo 6354  df-fv 6356
This theorem is referenced by:  rnmptc  6961  nvo00  28465  esumnul  31206  esum0  31207  volsupnfl  34818
  Copyright terms: Public domain W3C validator