Metamath Proof Explorer


Theorem constcof

Description: Composition with a constant function. See also fcoconst . (Contributed by Thierry Arnoux, 11-Jan-2026)

Ref Expression
Hypotheses constcof.1 φ F : X I
constcof.2 φ Y V
Assertion constcof φ I × Y F = X × Y

Proof

Step Hyp Ref Expression
1 constcof.1 φ F : X I
2 constcof.2 φ Y V
3 fnconstg Y V I × Y Fn I
4 2 3 syl φ I × Y Fn I
5 fnfco I × Y Fn I F : X I I × Y F Fn X
6 4 1 5 syl2anc φ I × Y F Fn X
7 1 adantr φ x X F : X I
8 simpr φ x X x X
9 7 8 fvco3d φ x X I × Y F x = I × Y F x
10 2 adantr φ x X Y V
11 1 ffvelcdmda φ x X F x I
12 fvconst2g Y V F x I I × Y F x = Y
13 10 11 12 syl2anc φ x X I × Y F x = Y
14 9 13 eqtrd φ x X I × Y F x = Y
15 6 14 fconst7v φ I × Y F = X × Y