Certification Problem                    
                
Input (COPS 249)
We consider the TRS containing the following rules:
| a | 
→ | 
h(a) | 
(1) | 
| a | 
→ | 
f(c) | 
(2) | 
| 
f(x) | 
→ | 
h(g(x)) | 
(3) | 
| 
h(x) | 
→ | 
h(g(x)) | 
(4) | 
The underlying signature is as follows:
{a/0, h/1, f/1, c/0, g/1}Property / Task
Prove or disprove confluence.Answer / Result
No.Proof (by csi @ CoCo 2021)
1 Non-Joinable Fork
        The system is not confluent due to the following forking derivations.  
        
| t0
 | 
= | 
a | 
 | 
→
 | 
h(a) | 
 | 
→
 | 
h(f(c)) | 
 | 
= | 
t2
 | 
| t0
 | 
= | 
a | 
 | 
→
 | 
f(c) | 
 | 
→
 | 
h(g(c)) | 
 | 
= | 
t2
 | 
            
        The two resulting terms cannot be joined for the following reason:
        - 
        The reachable terms of these two terms are approximated via the following two tree automata,
        and the tree automata have an empty intersection.
        
- 
Automaton 1
- 
final states:
{8}
 
- 
transitions:
| c | 
→ | 
9 | 
| 
g(9) | 
→ | 
53 | 
| 
g(53) | 
→ | 
53 | 
| 
g(10) | 
→ | 
10 | 
| 
h(10) | 
→ | 
8 | 
| 
h(53) | 
→ | 
10 | 
| 
f(9) | 
→ | 
10 | 
 
                The automaton is closed under rewriting as it is compatible.
             
- 
Automaton 2
- 
final states:
{14}
 
- 
transitions:
| c | 
→ | 
15 | 
| 
g(16) | 
→ | 
16 | 
| 
g(15) | 
→ | 
16 | 
| 
h(16) | 
→ | 
14 | 
 
                The automaton is closed under rewriting as it is compatible.