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 33452
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 5766 . . . 4 (∅ × {𝐵}) = ∅
21a1i 11 . . 3 ((𝜑 ∧ 𝐴 = ∅) → (∅ × {𝐵}) = ∅)
3 simpr 490 . . . 4 ((𝜑 ∧ 𝐴 = ∅) → 𝐴 = ∅)
43xpeq1d 5695 . . 3 ((𝜑 ∧ 𝐴 = ∅) → (𝐴 × {𝐵}) = (∅ × {𝐵}))
5 fconst7v.f . . . . . 6 (𝜑 → 𝐹 Fn 𝐴)
65adantr 486 . . . . 5 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 Fn 𝐴)
7 fneq2 6677 . . . . . 6 (𝐴 = ∅ → (𝐹 Fn 𝐴 ↔ 𝐹 Fn ∅))
87adantl 487 . . . . 5 ((𝜑 ∧ 𝐴 = ∅) → (𝐹 Fn 𝐴 ↔ 𝐹 Fn ∅))
96, 8mpbid 235 . . . 4 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 Fn ∅)
10 fn0 6716 . . . 4 (𝐹 Fn ∅ ↔ 𝐹 = ∅)
119, 10sylib 221 . . 3 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 = ∅)
122, 4, 113eqtr4rd 2820 . 2 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 = (𝐴 × {𝐵}))
13 fconst7v.e . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
14 fvexd 6949 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ V)
1513, 14eqeltrrd 2876 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ V)
16 snidg 4629 . . . . . . . 8 (𝐵 ∈ V → 𝐵 ∈ {𝐵})
1715, 16syl 18 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ {𝐵})
1813, 17eqeltrd 2875 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ {𝐵})
1918ralrimiva 3169 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) ∈ {𝐵})
20 nfcv 2937 . . . . . 6 Ⅎ𝑥𝐴
21 nfcv 2937 . . . . . 6 Ⅎ𝑥{𝐵}
22 nfcv 2937 . . . . . 6 Ⅎ𝑥𝐹
2320, 21, 22ffnfvf 7170 . . . . 5 (𝐹:𝐴⟶{𝐵} ↔ (𝐹 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) ∈ {𝐵}))
245, 19, 23sylanbrc 595 . . . 4 (𝜑 → 𝐹:𝐴⟶{𝐵})
2524adantr 486 . . 3 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐹:𝐴⟶{𝐵})
26 simpr 490 . . . . 5 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐴 ≠ ∅)
2715adantlr 728 . . . . 5 (((𝜑 ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ V)
2826, 27n0limd 4311 . . . 4 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐵 ∈ V)
29 fconst2g 7258 . . . 4 (𝐵 ∈ V → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3028, 29syl 18 . . 3 ((𝜑 ∧ 𝐴 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3125, 30mpbid 235 . 2 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐹 = (𝐴 × {𝐵}))
32 exmidne 2980 . . 3 (𝐴 = ∅ ∨ 𝐴 ≠ ∅)
3332a1i 11 . 2 (𝜑 → (𝐴 = ∅ ∨ 𝐴 ≠ ∅))
3412, 31, 33mpjaodan 973 1 (𝜑 → 𝐹 = (𝐴 × {𝐵}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  Vcvv 3461  ∅c0 4288  {csn 4595   × cxp 5664   Fn wfn 6574  ⟶wf 6575  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-fv 6587
This theorem is used by:  constcof  33453  extdgfialglem2  34527
  Copyright terms: Public domain W3C validator