Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fconst7v Structured version   Visualization version   GIF version

Theorem fconst7v 32698
Description: An alternative way to express a constant function. (Contributed by Glauco Siliprandi, 5-Feb-2022.) Removed hyphotheses as suggested by SN (Revised by Thierry Arnoux, 10-Jan-2026.)
Hypotheses
Ref Expression
fconst7v.f (𝜑𝐹 Fn 𝐴)
fconst7v.e ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐵)
Assertion
Ref Expression
fconst7v (𝜑𝐹 = (𝐴 × {𝐵}))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐹   𝜑,𝑥

Proof of Theorem fconst7v
StepHypRef Expression
1 0xp 5723 . . . 4 (∅ × {𝐵}) = ∅
21a1i 11 . . 3 ((𝜑𝐴 = ∅) → (∅ × {𝐵}) = ∅)
3 simpr 484 . . . 4 ((𝜑𝐴 = ∅) → 𝐴 = ∅)
43xpeq1d 5653 . . 3 ((𝜑𝐴 = ∅) → (𝐴 × {𝐵}) = (∅ × {𝐵}))
5 fconst7v.f . . . . . 6 (𝜑𝐹 Fn 𝐴)
65adantr 480 . . . . 5 ((𝜑𝐴 = ∅) → 𝐹 Fn 𝐴)
7 fneq2 6584 . . . . . 6 (𝐴 = ∅ → (𝐹 Fn 𝐴𝐹 Fn ∅))
87adantl 481 . . . . 5 ((𝜑𝐴 = ∅) → (𝐹 Fn 𝐴𝐹 Fn ∅))
96, 8mpbid 232 . . . 4 ((𝜑𝐴 = ∅) → 𝐹 Fn ∅)
10 fn0 6623 . . . 4 (𝐹 Fn ∅ ↔ 𝐹 = ∅)
119, 10sylib 218 . . 3 ((𝜑𝐴 = ∅) → 𝐹 = ∅)
122, 4, 113eqtr4rd 2782 . 2 ((𝜑𝐴 = ∅) → 𝐹 = (𝐴 × {𝐵}))
13 fconst7v.e . . . . . . 7 ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐵)
14 fvexd 6849 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐹𝑥) ∈ V)
1513, 14eqeltrrd 2837 . . . . . . . 8 ((𝜑𝑥𝐴) → 𝐵 ∈ V)
16 snidg 4617 . . . . . . . 8 (𝐵 ∈ V → 𝐵 ∈ {𝐵})
1715, 16syl 17 . . . . . . 7 ((𝜑𝑥𝐴) → 𝐵 ∈ {𝐵})
1813, 17eqeltrd 2836 . . . . . 6 ((𝜑𝑥𝐴) → (𝐹𝑥) ∈ {𝐵})
1918ralrimiva 3128 . . . . 5 (𝜑 → ∀𝑥𝐴 (𝐹𝑥) ∈ {𝐵})
20 nfcv 2898 . . . . . 6 𝑥𝐴
21 nfcv 2898 . . . . . 6 𝑥{𝐵}
22 nfcv 2898 . . . . . 6 𝑥𝐹
2320, 21, 22ffnfvf 7065 . . . . 5 (𝐹:𝐴⟶{𝐵} ↔ (𝐹 Fn 𝐴 ∧ ∀𝑥𝐴 (𝐹𝑥) ∈ {𝐵}))
245, 19, 23sylanbrc 583 . . . 4 (𝜑𝐹:𝐴⟶{𝐵})
2524adantr 480 . . 3 ((𝜑𝐴 ≠ ∅) → 𝐹:𝐴⟶{𝐵})
26 simpr 484 . . . . 5 ((𝜑𝐴 ≠ ∅) → 𝐴 ≠ ∅)
2715adantlr 715 . . . . 5 (((𝜑𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝐵 ∈ V)
2826, 27n0limd 32546 . . . 4 ((𝜑𝐴 ≠ ∅) → 𝐵 ∈ V)
29 fconst2g 7149 . . . 4 (𝐵 ∈ V → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3028, 29syl 17 . . 3 ((𝜑𝐴 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3125, 30mpbid 232 . 2 ((𝜑𝐴 ≠ ∅) → 𝐹 = (𝐴 × {𝐵}))
32 exmidne 2942 . . 3 (𝐴 = ∅ ∨ 𝐴 ≠ ∅)
3332a1i 11 . 2 (𝜑 → (𝐴 = ∅ ∨ 𝐴 ≠ ∅))
3412, 31, 33mpjaodan 960 1 (𝜑𝐹 = (𝐴 × {𝐵}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wo 847   = wceq 1541  wcel 2113  wne 2932  wral 3051  Vcvv 3440  c0 4285  {csn 4580   × cxp 5622   Fn wfn 6487  wf 6488  cfv 6492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2184  ax-ext 2708  ax-sep 5241  ax-nul 5251  ax-pr 5377
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3061  df-rab 3400  df-v 3442  df-sbc 3741  df-csb 3850  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-nul 4286  df-if 4480  df-sn 4581  df-pr 4583  df-op 4587  df-uni 4864  df-br 5099  df-opab 5161  df-mpt 5180  df-id 5519  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-fv 6500
This theorem is referenced by:  constcof  32699  extdgfialglem2  33850
  Copyright terms: Public domain W3C validator