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 32710
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 5731 . . . 4 (∅ × {𝐵}) = ∅
21a1i 11 . . 3 ((𝜑𝐴 = ∅) → (∅ × {𝐵}) = ∅)
3 simpr 484 . . . 4 ((𝜑𝐴 = ∅) → 𝐴 = ∅)
43xpeq1d 5661 . . 3 ((𝜑𝐴 = ∅) → (𝐴 × {𝐵}) = (∅ × {𝐵}))
5 fconst7v.f . . . . . 6 (𝜑𝐹 Fn 𝐴)
65adantr 480 . . . . 5 ((𝜑𝐴 = ∅) → 𝐹 Fn 𝐴)
7 fneq2 6592 . . . . . 6 (𝐴 = ∅ → (𝐹 Fn 𝐴𝐹 Fn ∅))
87adantl 481 . . . . 5 ((𝜑𝐴 = ∅) → (𝐹 Fn 𝐴𝐹 Fn ∅))
96, 8mpbid 232 . . . 4 ((𝜑𝐴 = ∅) → 𝐹 Fn ∅)
10 fn0 6631 . . . 4 (𝐹 Fn ∅ ↔ 𝐹 = ∅)
119, 10sylib 218 . . 3 ((𝜑𝐴 = ∅) → 𝐹 = ∅)
122, 4, 113eqtr4rd 2783 . 2 ((𝜑𝐴 = ∅) → 𝐹 = (𝐴 × {𝐵}))
13 fconst7v.e . . . . . . 7 ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐵)
14 fvexd 6857 . . . . . . . . 9 ((𝜑𝑥𝐴) → (𝐹𝑥) ∈ V)
1513, 14eqeltrrd 2838 . . . . . . . 8 ((𝜑𝑥𝐴) → 𝐵 ∈ V)
16 snidg 4619 . . . . . . . 8 (𝐵 ∈ V → 𝐵 ∈ {𝐵})
1715, 16syl 17 . . . . . . 7 ((𝜑𝑥𝐴) → 𝐵 ∈ {𝐵})
1813, 17eqeltrd 2837 . . . . . 6 ((𝜑𝑥𝐴) → (𝐹𝑥) ∈ {𝐵})
1918ralrimiva 3130 . . . . 5 (𝜑 → ∀𝑥𝐴 (𝐹𝑥) ∈ {𝐵})
20 nfcv 2899 . . . . . 6 𝑥𝐴
21 nfcv 2899 . . . . . 6 𝑥{𝐵}
22 nfcv 2899 . . . . . 6 𝑥𝐹
2320, 21, 22ffnfvf 7074 . . . . 5 (𝐹:𝐴⟶{𝐵} ↔ (𝐹 Fn 𝐴 ∧ ∀𝑥𝐴 (𝐹𝑥) ∈ {𝐵}))
245, 19, 23sylanbrc 584 . . . 4 (𝜑𝐹:𝐴⟶{𝐵})
2524adantr 480 . . 3 ((𝜑𝐴 ≠ ∅) → 𝐹:𝐴⟶{𝐵})
26 simpr 484 . . . . 5 ((𝜑𝐴 ≠ ∅) → 𝐴 ≠ ∅)
2715adantlr 716 . . . . 5 (((𝜑𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝐵 ∈ V)
2826, 27n0limd 32558 . . . 4 ((𝜑𝐴 ≠ ∅) → 𝐵 ∈ V)
29 fconst2g 7159 . . . 4 (𝐵 ∈ V → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3028, 29syl 17 . . 3 ((𝜑𝐴 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3125, 30mpbid 232 . 2 ((𝜑𝐴 ≠ ∅) → 𝐹 = (𝐴 × {𝐵}))
32 exmidne 2943 . . 3 (𝐴 = ∅ ∨ 𝐴 ≠ ∅)
3332a1i 11 . 2 (𝜑 → (𝐴 = ∅ ∨ 𝐴 ≠ ∅))
3412, 31, 33mpjaodan 961 1 (𝜑𝐹 = (𝐴 × {𝐵}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wo 848   = wceq 1542  wcel 2114  wne 2933  wral 3052  Vcvv 3442  c0 4287  {csn 4582   × cxp 5630   Fn wfn 6495  wf 6496  cfv 6500
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-sep 5243  ax-nul 5253  ax-pr 5379
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3063  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-opab 5163  df-mpt 5182  df-id 5527  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-fv 6508
This theorem is referenced by:  constcof  32711  extdgfialglem2  33871
  Copyright terms: Public domain W3C validator