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

Theorem fconst2g 6996
Description: A constant function expressed as a Cartesian product. (Contributed by NM, 27-Nov-2007.)
Assertion
Ref Expression
fconst2g (𝐵𝐶 → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))

Proof of Theorem fconst2g
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 fvconst 6957 . . . . . . 7 ((𝐹:𝐴⟶{𝐵} ∧ 𝑥𝐴) → (𝐹𝑥) = 𝐵)
21adantlr 715 . . . . . 6 (((𝐹:𝐴⟶{𝐵} ∧ 𝐵𝐶) ∧ 𝑥𝐴) → (𝐹𝑥) = 𝐵)
3 fvconst2g 6995 . . . . . . 7 ((𝐵𝐶𝑥𝐴) → ((𝐴 × {𝐵})‘𝑥) = 𝐵)
43adantll 714 . . . . . 6 (((𝐹:𝐴⟶{𝐵} ∧ 𝐵𝐶) ∧ 𝑥𝐴) → ((𝐴 × {𝐵})‘𝑥) = 𝐵)
52, 4eqtr4d 2774 . . . . 5 (((𝐹:𝐴⟶{𝐵} ∧ 𝐵𝐶) ∧ 𝑥𝐴) → (𝐹𝑥) = ((𝐴 × {𝐵})‘𝑥))
65ralrimiva 3095 . . . 4 ((𝐹:𝐴⟶{𝐵} ∧ 𝐵𝐶) → ∀𝑥𝐴 (𝐹𝑥) = ((𝐴 × {𝐵})‘𝑥))
7 ffn 6523 . . . . 5 (𝐹:𝐴⟶{𝐵} → 𝐹 Fn 𝐴)
8 fnconstg 6585 . . . . 5 (𝐵𝐶 → (𝐴 × {𝐵}) Fn 𝐴)
9 eqfnfv 6830 . . . . 5 ((𝐹 Fn 𝐴 ∧ (𝐴 × {𝐵}) Fn 𝐴) → (𝐹 = (𝐴 × {𝐵}) ↔ ∀𝑥𝐴 (𝐹𝑥) = ((𝐴 × {𝐵})‘𝑥)))
107, 8, 9syl2an 599 . . . 4 ((𝐹:𝐴⟶{𝐵} ∧ 𝐵𝐶) → (𝐹 = (𝐴 × {𝐵}) ↔ ∀𝑥𝐴 (𝐹𝑥) = ((𝐴 × {𝐵})‘𝑥)))
116, 10mpbird 260 . . 3 ((𝐹:𝐴⟶{𝐵} ∧ 𝐵𝐶) → 𝐹 = (𝐴 × {𝐵}))
1211expcom 417 . 2 (𝐵𝐶 → (𝐹:𝐴⟶{𝐵} → 𝐹 = (𝐴 × {𝐵})))
13 fconstg 6584 . . 3 (𝐵𝐶 → (𝐴 × {𝐵}):𝐴⟶{𝐵})
14 feq1 6504 . . 3 (𝐹 = (𝐴 × {𝐵}) → (𝐹:𝐴⟶{𝐵} ↔ (𝐴 × {𝐵}):𝐴⟶{𝐵}))
1513, 14syl5ibrcom 250 . 2 (𝐵𝐶 → (𝐹 = (𝐴 × {𝐵}) → 𝐹:𝐴⟶{𝐵}))
1612, 15impbid 215 1 (𝐵𝐶 → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2112  wral 3051  {csn 4527   × cxp 5534   Fn wfn 6353  wf 6354  cfv 6358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-fv 6366
This theorem is referenced by:  fconst2  6998  fconst5  6999  snmapen  8693  repsdf2  14308  cnconst  22135  padct  30728  prv1n  33060  fconst7  42425  eufsnlem  45784  mofsn  45787  mofeu  45791
  Copyright terms: Public domain W3C validator