Metamath Proof Explorer


Theorem nvocnv

Description: The converse of an involution is the function itself. (Contributed by Thierry Arnoux, 7-May-2019)

Ref Expression
Assertion nvocnv ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → 𝐹 = 𝐹 )

Proof

Step Hyp Ref Expression
1 simprr ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → 𝑦 = ( 𝐹𝑧 ) )
2 simpll ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → 𝐹 : 𝐴𝐴 )
3 simprl ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → 𝑧𝐴 )
4 2 3 ffvelrnd ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → ( 𝐹𝑧 ) ∈ 𝐴 )
5 1 4 eqeltrd ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → 𝑦𝐴 )
6 1 fveq2d ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → ( 𝐹𝑦 ) = ( 𝐹 ‘ ( 𝐹𝑧 ) ) )
7 2fveq3 ( 𝑥 = 𝑧 → ( 𝐹 ‘ ( 𝐹𝑥 ) ) = ( 𝐹 ‘ ( 𝐹𝑧 ) ) )
8 id ( 𝑥 = 𝑧𝑥 = 𝑧 )
9 7 8 eqeq12d ( 𝑥 = 𝑧 → ( ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ↔ ( 𝐹 ‘ ( 𝐹𝑧 ) ) = 𝑧 ) )
10 simplr ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 )
11 9 10 3 rspcdva ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → ( 𝐹 ‘ ( 𝐹𝑧 ) ) = 𝑧 )
12 6 11 eqtr2d ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → 𝑧 = ( 𝐹𝑦 ) )
13 5 12 jca ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ) → ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) )
14 simprr ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → 𝑧 = ( 𝐹𝑦 ) )
15 simpll ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → 𝐹 : 𝐴𝐴 )
16 simprl ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → 𝑦𝐴 )
17 15 16 ffvelrnd ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → ( 𝐹𝑦 ) ∈ 𝐴 )
18 14 17 eqeltrd ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → 𝑧𝐴 )
19 14 fveq2d ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → ( 𝐹𝑧 ) = ( 𝐹 ‘ ( 𝐹𝑦 ) ) )
20 2fveq3 ( 𝑥 = 𝑦 → ( 𝐹 ‘ ( 𝐹𝑥 ) ) = ( 𝐹 ‘ ( 𝐹𝑦 ) ) )
21 id ( 𝑥 = 𝑦𝑥 = 𝑦 )
22 20 21 eqeq12d ( 𝑥 = 𝑦 → ( ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ↔ ( 𝐹 ‘ ( 𝐹𝑦 ) ) = 𝑦 ) )
23 simplr ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 )
24 22 23 16 rspcdva ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → ( 𝐹 ‘ ( 𝐹𝑦 ) ) = 𝑦 )
25 19 24 eqtr2d ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → 𝑦 = ( 𝐹𝑧 ) )
26 18 25 jca ( ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) ∧ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) → ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) )
27 13 26 impbida ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → ( ( 𝑧𝐴𝑦 = ( 𝐹𝑧 ) ) ↔ ( 𝑦𝐴𝑧 = ( 𝐹𝑦 ) ) ) )
28 27 mptcnv ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) = ( 𝑦𝐴 ↦ ( 𝐹𝑦 ) ) )
29 ffn ( 𝐹 : 𝐴𝐴𝐹 Fn 𝐴 )
30 dffn5 ( 𝐹 Fn 𝐴𝐹 = ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) )
31 30 biimpi ( 𝐹 Fn 𝐴𝐹 = ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) )
32 31 adantr ( ( 𝐹 Fn 𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → 𝐹 = ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) )
33 29 32 sylan ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → 𝐹 = ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) )
34 33 cnveqd ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → 𝐹 = ( 𝑧𝐴 ↦ ( 𝐹𝑧 ) ) )
35 dffn5 ( 𝐹 Fn 𝐴𝐹 = ( 𝑦𝐴 ↦ ( 𝐹𝑦 ) ) )
36 35 biimpi ( 𝐹 Fn 𝐴𝐹 = ( 𝑦𝐴 ↦ ( 𝐹𝑦 ) ) )
37 36 adantr ( ( 𝐹 Fn 𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → 𝐹 = ( 𝑦𝐴 ↦ ( 𝐹𝑦 ) ) )
38 29 37 sylan ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → 𝐹 = ( 𝑦𝐴 ↦ ( 𝐹𝑦 ) ) )
39 28 34 38 3eqtr4d ( ( 𝐹 : 𝐴𝐴 ∧ ∀ 𝑥𝐴 ( 𝐹 ‘ ( 𝐹𝑥 ) ) = 𝑥 ) → 𝐹 = 𝐹 )