(0) Obligation:

Clauses:

dis(or(B1, B2)) :- ','(con(B1), dis(B2)).
dis(B) :- con(B).
con(and(B1, B2)) :- ','(dis(B1), con(B2)).
con(B) :- bool(B).
bool(0).
bool(1).

Query: dis(g)

(1) PrologToPiTRSViaGraphTransformerProof (SOUND transformation)

Transformed Prolog program to (Pi-)TRS.

(2) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

disA_in_g(or(and(T14, T15), T5)) → U1_g(T14, T15, T5, pB_in_ggg(T14, T15, T5))
pB_in_ggg(T14, T15, T5) → U7_ggg(T14, T15, T5, disA_in_g(T14))
disA_in_g(or(0, T5)) → U2_g(T5, disA_in_g(T5))
disA_in_g(or(1, T5)) → U3_g(T5, disA_in_g(T5))
disA_in_g(or(T64, T65)) → U4_g(T64, T65, conC_in_g(or(T64, T65)))
conC_in_g(and(T32, T33)) → U6_g(T32, T33, pD_in_gg(T32, T33))
pD_in_gg(T32, T33) → U11_gg(T32, T33, disA_in_g(T32))
disA_in_g(and(T76, T77)) → U5_g(T76, T77, pD_in_gg(T76, T77))
U5_g(T76, T77, pD_out_gg(T76, T77)) → disA_out_g(and(T76, T77))
disA_in_g(0) → disA_out_g(0)
disA_in_g(1) → disA_out_g(1)
U11_gg(T32, T33, disA_out_g(T32)) → U12_gg(T32, T33, conC_in_g(T33))
conC_in_g(0) → conC_out_g(0)
conC_in_g(1) → conC_out_g(1)
U12_gg(T32, T33, conC_out_g(T33)) → pD_out_gg(T32, T33)
U6_g(T32, T33, pD_out_gg(T32, T33)) → conC_out_g(and(T32, T33))
U4_g(T64, T65, conC_out_g(or(T64, T65))) → disA_out_g(or(T64, T65))
U3_g(T5, disA_out_g(T5)) → disA_out_g(or(1, T5))
U2_g(T5, disA_out_g(T5)) → disA_out_g(or(0, T5))
U7_ggg(T14, T15, T5, disA_out_g(T14)) → U8_ggg(T14, T15, T5, pE_in_gg(T15, T5))
pE_in_gg(T15, T5) → U9_gg(T15, T5, conC_in_g(T15))
U9_gg(T15, T5, conC_out_g(T15)) → U10_gg(T15, T5, disA_in_g(T5))
U10_gg(T15, T5, disA_out_g(T5)) → pE_out_gg(T15, T5)
U8_ggg(T14, T15, T5, pE_out_gg(T15, T5)) → pB_out_ggg(T14, T15, T5)
U1_g(T14, T15, T5, pB_out_ggg(T14, T15, T5)) → disA_out_g(or(and(T14, T15), T5))

Pi is empty.

(3) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

DISA_IN_G(or(and(T14, T15), T5)) → U1_G(T14, T15, T5, pB_in_ggg(T14, T15, T5))
DISA_IN_G(or(and(T14, T15), T5)) → PB_IN_GGG(T14, T15, T5)
PB_IN_GGG(T14, T15, T5) → U7_GGG(T14, T15, T5, disA_in_g(T14))
PB_IN_GGG(T14, T15, T5) → DISA_IN_G(T14)
DISA_IN_G(or(0, T5)) → U2_G(T5, disA_in_g(T5))
DISA_IN_G(or(0, T5)) → DISA_IN_G(T5)
DISA_IN_G(or(1, T5)) → U3_G(T5, disA_in_g(T5))
DISA_IN_G(or(1, T5)) → DISA_IN_G(T5)
DISA_IN_G(or(T64, T65)) → U4_G(T64, T65, conC_in_g(or(T64, T65)))
DISA_IN_G(or(T64, T65)) → CONC_IN_G(or(T64, T65))
CONC_IN_G(and(T32, T33)) → U6_G(T32, T33, pD_in_gg(T32, T33))
CONC_IN_G(and(T32, T33)) → PD_IN_GG(T32, T33)
PD_IN_GG(T32, T33) → U11_GG(T32, T33, disA_in_g(T32))
PD_IN_GG(T32, T33) → DISA_IN_G(T32)
DISA_IN_G(and(T76, T77)) → U5_G(T76, T77, pD_in_gg(T76, T77))
DISA_IN_G(and(T76, T77)) → PD_IN_GG(T76, T77)
U11_GG(T32, T33, disA_out_g(T32)) → U12_GG(T32, T33, conC_in_g(T33))
U11_GG(T32, T33, disA_out_g(T32)) → CONC_IN_G(T33)
U7_GGG(T14, T15, T5, disA_out_g(T14)) → U8_GGG(T14, T15, T5, pE_in_gg(T15, T5))
U7_GGG(T14, T15, T5, disA_out_g(T14)) → PE_IN_GG(T15, T5)
PE_IN_GG(T15, T5) → U9_GG(T15, T5, conC_in_g(T15))
PE_IN_GG(T15, T5) → CONC_IN_G(T15)
U9_GG(T15, T5, conC_out_g(T15)) → U10_GG(T15, T5, disA_in_g(T5))
U9_GG(T15, T5, conC_out_g(T15)) → DISA_IN_G(T5)

The TRS R consists of the following rules:

disA_in_g(or(and(T14, T15), T5)) → U1_g(T14, T15, T5, pB_in_ggg(T14, T15, T5))
pB_in_ggg(T14, T15, T5) → U7_ggg(T14, T15, T5, disA_in_g(T14))
disA_in_g(or(0, T5)) → U2_g(T5, disA_in_g(T5))
disA_in_g(or(1, T5)) → U3_g(T5, disA_in_g(T5))
disA_in_g(or(T64, T65)) → U4_g(T64, T65, conC_in_g(or(T64, T65)))
conC_in_g(and(T32, T33)) → U6_g(T32, T33, pD_in_gg(T32, T33))
pD_in_gg(T32, T33) → U11_gg(T32, T33, disA_in_g(T32))
disA_in_g(and(T76, T77)) → U5_g(T76, T77, pD_in_gg(T76, T77))
U5_g(T76, T77, pD_out_gg(T76, T77)) → disA_out_g(and(T76, T77))
disA_in_g(0) → disA_out_g(0)
disA_in_g(1) → disA_out_g(1)
U11_gg(T32, T33, disA_out_g(T32)) → U12_gg(T32, T33, conC_in_g(T33))
conC_in_g(0) → conC_out_g(0)
conC_in_g(1) → conC_out_g(1)
U12_gg(T32, T33, conC_out_g(T33)) → pD_out_gg(T32, T33)
U6_g(T32, T33, pD_out_gg(T32, T33)) → conC_out_g(and(T32, T33))
U4_g(T64, T65, conC_out_g(or(T64, T65))) → disA_out_g(or(T64, T65))
U3_g(T5, disA_out_g(T5)) → disA_out_g(or(1, T5))
U2_g(T5, disA_out_g(T5)) → disA_out_g(or(0, T5))
U7_ggg(T14, T15, T5, disA_out_g(T14)) → U8_ggg(T14, T15, T5, pE_in_gg(T15, T5))
pE_in_gg(T15, T5) → U9_gg(T15, T5, conC_in_g(T15))
U9_gg(T15, T5, conC_out_g(T15)) → U10_gg(T15, T5, disA_in_g(T5))
U10_gg(T15, T5, disA_out_g(T5)) → pE_out_gg(T15, T5)
U8_ggg(T14, T15, T5, pE_out_gg(T15, T5)) → pB_out_ggg(T14, T15, T5)
U1_g(T14, T15, T5, pB_out_ggg(T14, T15, T5)) → disA_out_g(or(and(T14, T15), T5))

Pi is empty.
We have to consider all (P,R,Pi)-chains

(4) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DISA_IN_G(or(and(T14, T15), T5)) → U1_G(T14, T15, T5, pB_in_ggg(T14, T15, T5))
DISA_IN_G(or(and(T14, T15), T5)) → PB_IN_GGG(T14, T15, T5)
PB_IN_GGG(T14, T15, T5) → U7_GGG(T14, T15, T5, disA_in_g(T14))
PB_IN_GGG(T14, T15, T5) → DISA_IN_G(T14)
DISA_IN_G(or(0, T5)) → U2_G(T5, disA_in_g(T5))
DISA_IN_G(or(0, T5)) → DISA_IN_G(T5)
DISA_IN_G(or(1, T5)) → U3_G(T5, disA_in_g(T5))
DISA_IN_G(or(1, T5)) → DISA_IN_G(T5)
DISA_IN_G(or(T64, T65)) → U4_G(T64, T65, conC_in_g(or(T64, T65)))
DISA_IN_G(or(T64, T65)) → CONC_IN_G(or(T64, T65))
CONC_IN_G(and(T32, T33)) → U6_G(T32, T33, pD_in_gg(T32, T33))
CONC_IN_G(and(T32, T33)) → PD_IN_GG(T32, T33)
PD_IN_GG(T32, T33) → U11_GG(T32, T33, disA_in_g(T32))
PD_IN_GG(T32, T33) → DISA_IN_G(T32)
DISA_IN_G(and(T76, T77)) → U5_G(T76, T77, pD_in_gg(T76, T77))
DISA_IN_G(and(T76, T77)) → PD_IN_GG(T76, T77)
U11_GG(T32, T33, disA_out_g(T32)) → U12_GG(T32, T33, conC_in_g(T33))
U11_GG(T32, T33, disA_out_g(T32)) → CONC_IN_G(T33)
U7_GGG(T14, T15, T5, disA_out_g(T14)) → U8_GGG(T14, T15, T5, pE_in_gg(T15, T5))
U7_GGG(T14, T15, T5, disA_out_g(T14)) → PE_IN_GG(T15, T5)
PE_IN_GG(T15, T5) → U9_GG(T15, T5, conC_in_g(T15))
PE_IN_GG(T15, T5) → CONC_IN_G(T15)
U9_GG(T15, T5, conC_out_g(T15)) → U10_GG(T15, T5, disA_in_g(T5))
U9_GG(T15, T5, conC_out_g(T15)) → DISA_IN_G(T5)

The TRS R consists of the following rules:

disA_in_g(or(and(T14, T15), T5)) → U1_g(T14, T15, T5, pB_in_ggg(T14, T15, T5))
pB_in_ggg(T14, T15, T5) → U7_ggg(T14, T15, T5, disA_in_g(T14))
disA_in_g(or(0, T5)) → U2_g(T5, disA_in_g(T5))
disA_in_g(or(1, T5)) → U3_g(T5, disA_in_g(T5))
disA_in_g(or(T64, T65)) → U4_g(T64, T65, conC_in_g(or(T64, T65)))
conC_in_g(and(T32, T33)) → U6_g(T32, T33, pD_in_gg(T32, T33))
pD_in_gg(T32, T33) → U11_gg(T32, T33, disA_in_g(T32))
disA_in_g(and(T76, T77)) → U5_g(T76, T77, pD_in_gg(T76, T77))
U5_g(T76, T77, pD_out_gg(T76, T77)) → disA_out_g(and(T76, T77))
disA_in_g(0) → disA_out_g(0)
disA_in_g(1) → disA_out_g(1)
U11_gg(T32, T33, disA_out_g(T32)) → U12_gg(T32, T33, conC_in_g(T33))
conC_in_g(0) → conC_out_g(0)
conC_in_g(1) → conC_out_g(1)
U12_gg(T32, T33, conC_out_g(T33)) → pD_out_gg(T32, T33)
U6_g(T32, T33, pD_out_gg(T32, T33)) → conC_out_g(and(T32, T33))
U4_g(T64, T65, conC_out_g(or(T64, T65))) → disA_out_g(or(T64, T65))
U3_g(T5, disA_out_g(T5)) → disA_out_g(or(1, T5))
U2_g(T5, disA_out_g(T5)) → disA_out_g(or(0, T5))
U7_ggg(T14, T15, T5, disA_out_g(T14)) → U8_ggg(T14, T15, T5, pE_in_gg(T15, T5))
pE_in_gg(T15, T5) → U9_gg(T15, T5, conC_in_g(T15))
U9_gg(T15, T5, conC_out_g(T15)) → U10_gg(T15, T5, disA_in_g(T5))
U10_gg(T15, T5, disA_out_g(T5)) → pE_out_gg(T15, T5)
U8_ggg(T14, T15, T5, pE_out_gg(T15, T5)) → pB_out_ggg(T14, T15, T5)
U1_g(T14, T15, T5, pB_out_ggg(T14, T15, T5)) → disA_out_g(or(and(T14, T15), T5))

Pi is empty.
We have to consider all (P,R,Pi)-chains

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 1 SCC with 10 less nodes.

(6) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DISA_IN_G(or(and(T14, T15), T5)) → PB_IN_GGG(T14, T15, T5)
PB_IN_GGG(T14, T15, T5) → U7_GGG(T14, T15, T5, disA_in_g(T14))
U7_GGG(T14, T15, T5, disA_out_g(T14)) → PE_IN_GG(T15, T5)
PE_IN_GG(T15, T5) → U9_GG(T15, T5, conC_in_g(T15))
U9_GG(T15, T5, conC_out_g(T15)) → DISA_IN_G(T5)
DISA_IN_G(or(0, T5)) → DISA_IN_G(T5)
DISA_IN_G(or(1, T5)) → DISA_IN_G(T5)
DISA_IN_G(and(T76, T77)) → PD_IN_GG(T76, T77)
PD_IN_GG(T32, T33) → U11_GG(T32, T33, disA_in_g(T32))
U11_GG(T32, T33, disA_out_g(T32)) → CONC_IN_G(T33)
CONC_IN_G(and(T32, T33)) → PD_IN_GG(T32, T33)
PD_IN_GG(T32, T33) → DISA_IN_G(T32)
PE_IN_GG(T15, T5) → CONC_IN_G(T15)
PB_IN_GGG(T14, T15, T5) → DISA_IN_G(T14)

The TRS R consists of the following rules:

disA_in_g(or(and(T14, T15), T5)) → U1_g(T14, T15, T5, pB_in_ggg(T14, T15, T5))
pB_in_ggg(T14, T15, T5) → U7_ggg(T14, T15, T5, disA_in_g(T14))
disA_in_g(or(0, T5)) → U2_g(T5, disA_in_g(T5))
disA_in_g(or(1, T5)) → U3_g(T5, disA_in_g(T5))
disA_in_g(or(T64, T65)) → U4_g(T64, T65, conC_in_g(or(T64, T65)))
conC_in_g(and(T32, T33)) → U6_g(T32, T33, pD_in_gg(T32, T33))
pD_in_gg(T32, T33) → U11_gg(T32, T33, disA_in_g(T32))
disA_in_g(and(T76, T77)) → U5_g(T76, T77, pD_in_gg(T76, T77))
U5_g(T76, T77, pD_out_gg(T76, T77)) → disA_out_g(and(T76, T77))
disA_in_g(0) → disA_out_g(0)
disA_in_g(1) → disA_out_g(1)
U11_gg(T32, T33, disA_out_g(T32)) → U12_gg(T32, T33, conC_in_g(T33))
conC_in_g(0) → conC_out_g(0)
conC_in_g(1) → conC_out_g(1)
U12_gg(T32, T33, conC_out_g(T33)) → pD_out_gg(T32, T33)
U6_g(T32, T33, pD_out_gg(T32, T33)) → conC_out_g(and(T32, T33))
U4_g(T64, T65, conC_out_g(or(T64, T65))) → disA_out_g(or(T64, T65))
U3_g(T5, disA_out_g(T5)) → disA_out_g(or(1, T5))
U2_g(T5, disA_out_g(T5)) → disA_out_g(or(0, T5))
U7_ggg(T14, T15, T5, disA_out_g(T14)) → U8_ggg(T14, T15, T5, pE_in_gg(T15, T5))
pE_in_gg(T15, T5) → U9_gg(T15, T5, conC_in_g(T15))
U9_gg(T15, T5, conC_out_g(T15)) → U10_gg(T15, T5, disA_in_g(T5))
U10_gg(T15, T5, disA_out_g(T5)) → pE_out_gg(T15, T5)
U8_ggg(T14, T15, T5, pE_out_gg(T15, T5)) → pB_out_ggg(T14, T15, T5)
U1_g(T14, T15, T5, pB_out_ggg(T14, T15, T5)) → disA_out_g(or(and(T14, T15), T5))

Pi is empty.
We have to consider all (P,R,Pi)-chains

(7) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(8) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DISA_IN_G(or(and(T14, T15), T5)) → PB_IN_GGG(T14, T15, T5)
PB_IN_GGG(T14, T15, T5) → U7_GGG(T14, T15, T5, disA_in_g(T14))
U7_GGG(T14, T15, T5, disA_out_g(T14)) → PE_IN_GG(T15, T5)
PE_IN_GG(T15, T5) → U9_GG(T15, T5, conC_in_g(T15))
U9_GG(T15, T5, conC_out_g(T15)) → DISA_IN_G(T5)
DISA_IN_G(or(0, T5)) → DISA_IN_G(T5)
DISA_IN_G(or(1, T5)) → DISA_IN_G(T5)
DISA_IN_G(and(T76, T77)) → PD_IN_GG(T76, T77)
PD_IN_GG(T32, T33) → U11_GG(T32, T33, disA_in_g(T32))
U11_GG(T32, T33, disA_out_g(T32)) → CONC_IN_G(T33)
CONC_IN_G(and(T32, T33)) → PD_IN_GG(T32, T33)
PD_IN_GG(T32, T33) → DISA_IN_G(T32)
PE_IN_GG(T15, T5) → CONC_IN_G(T15)
PB_IN_GGG(T14, T15, T5) → DISA_IN_G(T14)

The TRS R consists of the following rules:

disA_in_g(or(and(T14, T15), T5)) → U1_g(T14, T15, T5, pB_in_ggg(T14, T15, T5))
disA_in_g(or(0, T5)) → U2_g(T5, disA_in_g(T5))
disA_in_g(or(1, T5)) → U3_g(T5, disA_in_g(T5))
disA_in_g(or(T64, T65)) → U4_g(T64, T65, conC_in_g(or(T64, T65)))
disA_in_g(and(T76, T77)) → U5_g(T76, T77, pD_in_gg(T76, T77))
disA_in_g(0) → disA_out_g(0)
disA_in_g(1) → disA_out_g(1)
conC_in_g(and(T32, T33)) → U6_g(T32, T33, pD_in_gg(T32, T33))
conC_in_g(0) → conC_out_g(0)
conC_in_g(1) → conC_out_g(1)
U1_g(T14, T15, T5, pB_out_ggg(T14, T15, T5)) → disA_out_g(or(and(T14, T15), T5))
U2_g(T5, disA_out_g(T5)) → disA_out_g(or(0, T5))
U3_g(T5, disA_out_g(T5)) → disA_out_g(or(1, T5))
U5_g(T76, T77, pD_out_gg(T76, T77)) → disA_out_g(and(T76, T77))
U6_g(T32, T33, pD_out_gg(T32, T33)) → conC_out_g(and(T32, T33))
pB_in_ggg(T14, T15, T5) → U7_ggg(T14, T15, T5, disA_in_g(T14))
pD_in_gg(T32, T33) → U11_gg(T32, T33, disA_in_g(T32))
U7_ggg(T14, T15, T5, disA_out_g(T14)) → U8_ggg(T14, T15, T5, pE_in_gg(T15, T5))
U11_gg(T32, T33, disA_out_g(T32)) → U12_gg(T32, T33, conC_in_g(T33))
U8_ggg(T14, T15, T5, pE_out_gg(T15, T5)) → pB_out_ggg(T14, T15, T5)
U12_gg(T32, T33, conC_out_g(T33)) → pD_out_gg(T32, T33)
pE_in_gg(T15, T5) → U9_gg(T15, T5, conC_in_g(T15))
U9_gg(T15, T5, conC_out_g(T15)) → U10_gg(T15, T5, disA_in_g(T5))
U10_gg(T15, T5, disA_out_g(T5)) → pE_out_gg(T15, T5)

Pi is empty.
We have to consider all (P,R,Pi)-chains

(9) PiDPToQDPProof (EQUIVALENT transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(10) Obligation:

Q DP problem:
The TRS P consists of the following rules:

DISA_IN_G(or(and(T14, T15), T5)) → PB_IN_GGG(T14, T15, T5)
PB_IN_GGG(T14, T15, T5) → U7_GGG(T14, T15, T5, disA_in_g(T14))
U7_GGG(T14, T15, T5, disA_out_g(T14)) → PE_IN_GG(T15, T5)
PE_IN_GG(T15, T5) → U9_GG(T15, T5, conC_in_g(T15))
U9_GG(T15, T5, conC_out_g(T15)) → DISA_IN_G(T5)
DISA_IN_G(or(0, T5)) → DISA_IN_G(T5)
DISA_IN_G(or(1, T5)) → DISA_IN_G(T5)
DISA_IN_G(and(T76, T77)) → PD_IN_GG(T76, T77)
PD_IN_GG(T32, T33) → U11_GG(T32, T33, disA_in_g(T32))
U11_GG(T32, T33, disA_out_g(T32)) → CONC_IN_G(T33)
CONC_IN_G(and(T32, T33)) → PD_IN_GG(T32, T33)
PD_IN_GG(T32, T33) → DISA_IN_G(T32)
PE_IN_GG(T15, T5) → CONC_IN_G(T15)
PB_IN_GGG(T14, T15, T5) → DISA_IN_G(T14)

The TRS R consists of the following rules:

disA_in_g(or(and(T14, T15), T5)) → U1_g(T14, T15, T5, pB_in_ggg(T14, T15, T5))
disA_in_g(or(0, T5)) → U2_g(T5, disA_in_g(T5))
disA_in_g(or(1, T5)) → U3_g(T5, disA_in_g(T5))
disA_in_g(or(T64, T65)) → U4_g(T64, T65, conC_in_g(or(T64, T65)))
disA_in_g(and(T76, T77)) → U5_g(T76, T77, pD_in_gg(T76, T77))
disA_in_g(0) → disA_out_g(0)
disA_in_g(1) → disA_out_g(1)
conC_in_g(and(T32, T33)) → U6_g(T32, T33, pD_in_gg(T32, T33))
conC_in_g(0) → conC_out_g(0)
conC_in_g(1) → conC_out_g(1)
U1_g(T14, T15, T5, pB_out_ggg(T14, T15, T5)) → disA_out_g(or(and(T14, T15), T5))
U2_g(T5, disA_out_g(T5)) → disA_out_g(or(0, T5))
U3_g(T5, disA_out_g(T5)) → disA_out_g(or(1, T5))
U5_g(T76, T77, pD_out_gg(T76, T77)) → disA_out_g(and(T76, T77))
U6_g(T32, T33, pD_out_gg(T32, T33)) → conC_out_g(and(T32, T33))
pB_in_ggg(T14, T15, T5) → U7_ggg(T14, T15, T5, disA_in_g(T14))
pD_in_gg(T32, T33) → U11_gg(T32, T33, disA_in_g(T32))
U7_ggg(T14, T15, T5, disA_out_g(T14)) → U8_ggg(T14, T15, T5, pE_in_gg(T15, T5))
U11_gg(T32, T33, disA_out_g(T32)) → U12_gg(T32, T33, conC_in_g(T33))
U8_ggg(T14, T15, T5, pE_out_gg(T15, T5)) → pB_out_ggg(T14, T15, T5)
U12_gg(T32, T33, conC_out_g(T33)) → pD_out_gg(T32, T33)
pE_in_gg(T15, T5) → U9_gg(T15, T5, conC_in_g(T15))
U9_gg(T15, T5, conC_out_g(T15)) → U10_gg(T15, T5, disA_in_g(T5))
U10_gg(T15, T5, disA_out_g(T5)) → pE_out_gg(T15, T5)

The set Q consists of the following terms:

disA_in_g(x0)
conC_in_g(x0)
U1_g(x0, x1, x2, x3)
U2_g(x0, x1)
U3_g(x0, x1)
U5_g(x0, x1, x2)
U6_g(x0, x1, x2)
pB_in_ggg(x0, x1, x2)
pD_in_gg(x0, x1)
U7_ggg(x0, x1, x2, x3)
U11_gg(x0, x1, x2)
U8_ggg(x0, x1, x2, x3)
U12_gg(x0, x1, x2)
pE_in_gg(x0, x1)
U9_gg(x0, x1, x2)
U10_gg(x0, x1, x2)

We have to consider all (P,Q,R)-chains.

(11) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • PB_IN_GGG(T14, T15, T5) → DISA_IN_G(T14)
    The graph contains the following edges 1 >= 1

  • PB_IN_GGG(T14, T15, T5) → U7_GGG(T14, T15, T5, disA_in_g(T14))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3

  • U7_GGG(T14, T15, T5, disA_out_g(T14)) → PE_IN_GG(T15, T5)
    The graph contains the following edges 2 >= 1, 3 >= 2

  • DISA_IN_G(or(and(T14, T15), T5)) → PB_IN_GGG(T14, T15, T5)
    The graph contains the following edges 1 > 1, 1 > 2, 1 > 3

  • U9_GG(T15, T5, conC_out_g(T15)) → DISA_IN_G(T5)
    The graph contains the following edges 2 >= 1

  • PD_IN_GG(T32, T33) → DISA_IN_G(T32)
    The graph contains the following edges 1 >= 1

  • PE_IN_GG(T15, T5) → U9_GG(T15, T5, conC_in_g(T15))
    The graph contains the following edges 1 >= 1, 2 >= 2

  • PE_IN_GG(T15, T5) → CONC_IN_G(T15)
    The graph contains the following edges 1 >= 1

  • DISA_IN_G(and(T76, T77)) → PD_IN_GG(T76, T77)
    The graph contains the following edges 1 > 1, 1 > 2

  • PD_IN_GG(T32, T33) → U11_GG(T32, T33, disA_in_g(T32))
    The graph contains the following edges 1 >= 1, 2 >= 2

  • U11_GG(T32, T33, disA_out_g(T32)) → CONC_IN_G(T33)
    The graph contains the following edges 2 >= 1

  • CONC_IN_G(and(T32, T33)) → PD_IN_GG(T32, T33)
    The graph contains the following edges 1 > 1, 1 > 2

  • DISA_IN_G(or(0, T5)) → DISA_IN_G(T5)
    The graph contains the following edges 1 > 1

  • DISA_IN_G(or(1, T5)) → DISA_IN_G(T5)
    The graph contains the following edges 1 > 1

(12) YES