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 33312
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 5758 . . . 4 (∅ × {𝐵}) = ∅
21a1i 11 . . 3 ((𝜑 ∧ 𝐴 = ∅) → (∅ × {𝐵}) = ∅)
3 simpr 490 . . . 4 ((𝜑 ∧ 𝐴 = ∅) → 𝐴 = ∅)
43xpeq1d 5687 . . 3 ((𝜑 ∧ 𝐴 = ∅) → (𝐴 × {𝐵}) = (∅ × {𝐵}))
5 fconst7v.f . . . . . 6 (𝜑 → 𝐹 Fn 𝐴)
65adantr 486 . . . . 5 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 Fn 𝐴)
7 fneq2 6661 . . . . . 6 (𝐴 = ∅ → (𝐹 Fn 𝐴 ↔ 𝐹 Fn ∅))
87adantl 487 . . . . 5 ((𝜑 ∧ 𝐴 = ∅) → (𝐹 Fn 𝐴 ↔ 𝐹 Fn ∅))
96, 8mpbid 235 . . . 4 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 Fn ∅)
10 fn0 6700 . . . 4 (𝐹 Fn ∅ ↔ 𝐹 = ∅)
119, 10sylib 221 . . 3 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 = ∅)
122, 4, 113eqtr4rd 2809 . 2 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 = (𝐴 × {𝐵}))
13 fconst7v.e . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
14 fvexd 6931 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ V)
1513, 14eqeltrrd 2865 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ V)
16 snidg 4622 . . . . . . . 8 (𝐵 ∈ V → 𝐵 ∈ {𝐵})
1715, 16syl 18 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ {𝐵})
1813, 17eqeltrd 2864 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ {𝐵})
1918ralrimiva 3158 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) ∈ {𝐵})
20 nfcv 2926 . . . . . 6 Ⅎ𝑥𝐴
21 nfcv 2926 . . . . . 6 Ⅎ𝑥{𝐵}
22 nfcv 2926 . . . . . 6 Ⅎ𝑥𝐹
2320, 21, 22ffnfvf 7152 . . . . 5 (𝐹:𝐴⟶{𝐵} ↔ (𝐹 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) ∈ {𝐵}))
245, 19, 23sylanbrc 595 . . . 4 (𝜑 → 𝐹:𝐴⟶{𝐵})
2524adantr 486 . . 3 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐹:𝐴⟶{𝐵})
26 simpr 490 . . . . 5 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐴 ≠ ∅)
2715adantlr 728 . . . . 5 (((𝜑 ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ V)
2826, 27n0limd 4304 . . . 4 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐵 ∈ V)
29 fconst2g 7240 . . . 4 (𝐵 ∈ V → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3028, 29syl 18 . . 3 ((𝜑 ∧ 𝐴 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3125, 30mpbid 235 . 2 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐹 = (𝐴 × {𝐵}))
32 exmidne 2969 . . 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 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  Vcvv 3454  ∅c0 4281  {csn 4588   × cxp 5656   Fn wfn 6561  ⟶wf 6562  ‘cfv 6566
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574
This theorem is used by:  constcof  33313  extdgfialglem2  34436
  Copyright terms: Public domain W3C validator