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 33214
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 5750 . . . 4 (∅ × {𝐵}) = ∅
21a1i 11 . . 3 ((𝜑 ∧ 𝐴 = ∅) → (∅ × {𝐵}) = ∅)
3 simpr 490 . . . 4 ((𝜑 ∧ 𝐴 = ∅) → 𝐴 = ∅)
43xpeq1d 5680 . . 3 ((𝜑 ∧ 𝐴 = ∅) → (𝐴 × {𝐵}) = (∅ × {𝐵}))
5 fconst7v.f . . . . . 6 (𝜑 → 𝐹 Fn 𝐴)
65adantr 486 . . . . 5 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 Fn 𝐴)
7 fneq2 6631 . . . . . 6 (𝐴 = ∅ → (𝐹 Fn 𝐴 ↔ 𝐹 Fn ∅))
87adantl 487 . . . . 5 ((𝜑 ∧ 𝐴 = ∅) → (𝐹 Fn 𝐴 ↔ 𝐹 Fn ∅))
96, 8mpbid 235 . . . 4 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 Fn ∅)
10 fn0 6670 . . . 4 (𝐹 Fn ∅ ↔ 𝐹 = ∅)
119, 10sylib 221 . . 3 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 = ∅)
122, 4, 113eqtr4rd 2807 . 2 ((𝜑 ∧ 𝐴 = ∅) → 𝐹 = (𝐴 × {𝐵}))
13 fconst7v.e . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
14 fvexd 6900 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ V)
1513, 14eqeltrrd 2862 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ V)
16 snidg 4621 . . . . . . . 8 (𝐵 ∈ V → 𝐵 ∈ {𝐵})
1715, 16syl 18 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ {𝐵})
1813, 17eqeltrd 2861 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ {𝐵})
1918ralrimiva 3155 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) ∈ {𝐵})
20 nfcv 2923 . . . . . 6 Ⅎ𝑥𝐴
21 nfcv 2923 . . . . . 6 Ⅎ𝑥{𝐵}
22 nfcv 2923 . . . . . 6 Ⅎ𝑥𝐹
2320, 21, 22ffnfvf 7120 . . . . 5 (𝐹:𝐴⟶{𝐵} ↔ (𝐹 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) ∈ {𝐵}))
245, 19, 23sylanbrc 595 . . . 4 (𝜑 → 𝐹:𝐴⟶{𝐵})
2524adantr 486 . . 3 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐹:𝐴⟶{𝐵})
26 simpr 490 . . . . 5 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐴 ≠ ∅)
2715adantlr 728 . . . . 5 (((𝜑 ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ V)
2826, 27n0limd 4301 . . . 4 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐵 ∈ V)
29 fconst2g 7209 . . . 4 (𝐵 ∈ V → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3028, 29syl 18 . . 3 ((𝜑 ∧ 𝐴 ≠ ∅) → (𝐹:𝐴⟶{𝐵} ↔ 𝐹 = (𝐴 × {𝐵})))
3125, 30mpbid 235 . 2 ((𝜑 ∧ 𝐴 ≠ ∅) → 𝐹 = (𝐴 × {𝐵}))
32 exmidne 2966 . . 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 2145   ≠ wne 2956  ∀wral 3077  Vcvv 3451  ∅c0 4279  {csn 4584   × cxp 5649   Fn wfn 6533  ⟶wf 6534  ‘cfv 6538
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546
This theorem is used by:  constcof  33215  extdgfialglem2  34325
  Copyright terms: Public domain W3C validator