Metamath Proof Explorer


Theorem ofrfval

Description: Value of a relation applied to two functions. (Contributed by Mario Carneiro, 28-Jul-2014)

Ref Expression
Hypotheses offval.1 ( 𝜑𝐹 Fn 𝐴 )
offval.2 ( 𝜑𝐺 Fn 𝐵 )
offval.3 ( 𝜑𝐴𝑉 )
offval.4 ( 𝜑𝐵𝑊 )
offval.5 ( 𝐴𝐵 ) = 𝑆
offval.6 ( ( 𝜑𝑥𝐴 ) → ( 𝐹𝑥 ) = 𝐶 )
offval.7 ( ( 𝜑𝑥𝐵 ) → ( 𝐺𝑥 ) = 𝐷 )
Assertion ofrfval ( 𝜑 → ( 𝐹r 𝑅 𝐺 ↔ ∀ 𝑥𝑆 𝐶 𝑅 𝐷 ) )

Proof

Step Hyp Ref Expression
1 offval.1 ( 𝜑𝐹 Fn 𝐴 )
2 offval.2 ( 𝜑𝐺 Fn 𝐵 )
3 offval.3 ( 𝜑𝐴𝑉 )
4 offval.4 ( 𝜑𝐵𝑊 )
5 offval.5 ( 𝐴𝐵 ) = 𝑆
6 offval.6 ( ( 𝜑𝑥𝐴 ) → ( 𝐹𝑥 ) = 𝐶 )
7 offval.7 ( ( 𝜑𝑥𝐵 ) → ( 𝐺𝑥 ) = 𝐷 )
8 1 3 fnexd ( 𝜑𝐹 ∈ V )
9 2 4 fnexd ( 𝜑𝐺 ∈ V )
10 1 2 8 9 5 6 7 ofrfvalg ( 𝜑 → ( 𝐹r 𝑅 𝐺 ↔ ∀ 𝑥𝑆 𝐶 𝑅 𝐷 ) )