(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).

Queries:

dis(g).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

con12(and(T32, T33)) :- p17(T32, T33).
con12(0).
con12(1).
p17(T32, T33) :- dis1(T32).
p17(T32, T33) :- ','(dis1(T32), con12(T33)).
dis1(or(and(T14, T15), T5)) :- dis1(T14).
dis1(or(and(T14, T15), T5)) :- ','(dis1(T14), con12(T15)).
dis1(or(and(T14, T15), T5)) :- ','(dis1(T14), ','(con12(T15), dis1(T5))).
dis1(or(0, T5)) :- dis1(T5).
dis1(or(1, T5)) :- dis1(T5).
dis1(or(T66, T67)) :- con12(or(T66, T67)).
dis1(and(T80, T81)) :- p17(T80, T81).
dis1(0).
dis1(1).

Queries:

dis1(g).

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
dis1_in: (b)
con12_in: (b)
p17_in: (b,b)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

dis1_in_g(or(and(T14, T15), T5)) → U4_g(T14, T15, T5, dis1_in_g(T14))
dis1_in_g(or(0, T5)) → U7_g(T5, dis1_in_g(T5))
dis1_in_g(or(1, T5)) → U8_g(T5, dis1_in_g(T5))
dis1_in_g(or(T66, T67)) → U9_g(T66, T67, con12_in_g(or(T66, T67)))
con12_in_g(and(T32, T33)) → U1_g(T32, T33, p17_in_gg(T32, T33))
p17_in_gg(T32, T33) → U2_gg(T32, T33, dis1_in_g(T32))
dis1_in_g(and(T80, T81)) → U10_g(T80, T81, p17_in_gg(T80, T81))
U10_g(T80, T81, p17_out_gg(T80, T81)) → dis1_out_g(and(T80, T81))
dis1_in_g(0) → dis1_out_g(0)
dis1_in_g(1) → dis1_out_g(1)
U2_gg(T32, T33, dis1_out_g(T32)) → p17_out_gg(T32, T33)
U2_gg(T32, T33, dis1_out_g(T32)) → U3_gg(T32, T33, con12_in_g(T33))
con12_in_g(0) → con12_out_g(0)
con12_in_g(1) → con12_out_g(1)
U3_gg(T32, T33, con12_out_g(T33)) → p17_out_gg(T32, T33)
U1_g(T32, T33, p17_out_gg(T32, T33)) → con12_out_g(and(T32, T33))
U9_g(T66, T67, con12_out_g(or(T66, T67))) → dis1_out_g(or(T66, T67))
U8_g(T5, dis1_out_g(T5)) → dis1_out_g(or(1, T5))
U7_g(T5, dis1_out_g(T5)) → dis1_out_g(or(0, T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → dis1_out_g(or(and(T14, T15), T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → U5_g(T14, T15, T5, con12_in_g(T15))
U5_g(T14, T15, T5, con12_out_g(T15)) → dis1_out_g(or(and(T14, T15), T5))
U5_g(T14, T15, T5, con12_out_g(T15)) → U6_g(T14, T15, T5, dis1_in_g(T5))
U6_g(T14, T15, T5, dis1_out_g(T5)) → dis1_out_g(or(and(T14, T15), T5))

Pi is empty.

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

dis1_in_g(or(and(T14, T15), T5)) → U4_g(T14, T15, T5, dis1_in_g(T14))
dis1_in_g(or(0, T5)) → U7_g(T5, dis1_in_g(T5))
dis1_in_g(or(1, T5)) → U8_g(T5, dis1_in_g(T5))
dis1_in_g(or(T66, T67)) → U9_g(T66, T67, con12_in_g(or(T66, T67)))
con12_in_g(and(T32, T33)) → U1_g(T32, T33, p17_in_gg(T32, T33))
p17_in_gg(T32, T33) → U2_gg(T32, T33, dis1_in_g(T32))
dis1_in_g(and(T80, T81)) → U10_g(T80, T81, p17_in_gg(T80, T81))
U10_g(T80, T81, p17_out_gg(T80, T81)) → dis1_out_g(and(T80, T81))
dis1_in_g(0) → dis1_out_g(0)
dis1_in_g(1) → dis1_out_g(1)
U2_gg(T32, T33, dis1_out_g(T32)) → p17_out_gg(T32, T33)
U2_gg(T32, T33, dis1_out_g(T32)) → U3_gg(T32, T33, con12_in_g(T33))
con12_in_g(0) → con12_out_g(0)
con12_in_g(1) → con12_out_g(1)
U3_gg(T32, T33, con12_out_g(T33)) → p17_out_gg(T32, T33)
U1_g(T32, T33, p17_out_gg(T32, T33)) → con12_out_g(and(T32, T33))
U9_g(T66, T67, con12_out_g(or(T66, T67))) → dis1_out_g(or(T66, T67))
U8_g(T5, dis1_out_g(T5)) → dis1_out_g(or(1, T5))
U7_g(T5, dis1_out_g(T5)) → dis1_out_g(or(0, T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → dis1_out_g(or(and(T14, T15), T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → U5_g(T14, T15, T5, con12_in_g(T15))
U5_g(T14, T15, T5, con12_out_g(T15)) → dis1_out_g(or(and(T14, T15), T5))
U5_g(T14, T15, T5, con12_out_g(T15)) → U6_g(T14, T15, T5, dis1_in_g(T5))
U6_g(T14, T15, T5, dis1_out_g(T5)) → dis1_out_g(or(and(T14, T15), T5))

Pi is empty.

(5) 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:

DIS1_IN_G(or(and(T14, T15), T5)) → U4_G(T14, T15, T5, dis1_in_g(T14))
DIS1_IN_G(or(and(T14, T15), T5)) → DIS1_IN_G(T14)
DIS1_IN_G(or(0, T5)) → U7_G(T5, dis1_in_g(T5))
DIS1_IN_G(or(0, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(or(1, T5)) → U8_G(T5, dis1_in_g(T5))
DIS1_IN_G(or(1, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(or(T66, T67)) → U9_G(T66, T67, con12_in_g(or(T66, T67)))
DIS1_IN_G(or(T66, T67)) → CON12_IN_G(or(T66, T67))
CON12_IN_G(and(T32, T33)) → U1_G(T32, T33, p17_in_gg(T32, T33))
CON12_IN_G(and(T32, T33)) → P17_IN_GG(T32, T33)
P17_IN_GG(T32, T33) → U2_GG(T32, T33, dis1_in_g(T32))
P17_IN_GG(T32, T33) → DIS1_IN_G(T32)
DIS1_IN_G(and(T80, T81)) → U10_G(T80, T81, p17_in_gg(T80, T81))
DIS1_IN_G(and(T80, T81)) → P17_IN_GG(T80, T81)
U2_GG(T32, T33, dis1_out_g(T32)) → U3_GG(T32, T33, con12_in_g(T33))
U2_GG(T32, T33, dis1_out_g(T32)) → CON12_IN_G(T33)
U4_G(T14, T15, T5, dis1_out_g(T14)) → U5_G(T14, T15, T5, con12_in_g(T15))
U4_G(T14, T15, T5, dis1_out_g(T14)) → CON12_IN_G(T15)
U5_G(T14, T15, T5, con12_out_g(T15)) → U6_G(T14, T15, T5, dis1_in_g(T5))
U5_G(T14, T15, T5, con12_out_g(T15)) → DIS1_IN_G(T5)

The TRS R consists of the following rules:

dis1_in_g(or(and(T14, T15), T5)) → U4_g(T14, T15, T5, dis1_in_g(T14))
dis1_in_g(or(0, T5)) → U7_g(T5, dis1_in_g(T5))
dis1_in_g(or(1, T5)) → U8_g(T5, dis1_in_g(T5))
dis1_in_g(or(T66, T67)) → U9_g(T66, T67, con12_in_g(or(T66, T67)))
con12_in_g(and(T32, T33)) → U1_g(T32, T33, p17_in_gg(T32, T33))
p17_in_gg(T32, T33) → U2_gg(T32, T33, dis1_in_g(T32))
dis1_in_g(and(T80, T81)) → U10_g(T80, T81, p17_in_gg(T80, T81))
U10_g(T80, T81, p17_out_gg(T80, T81)) → dis1_out_g(and(T80, T81))
dis1_in_g(0) → dis1_out_g(0)
dis1_in_g(1) → dis1_out_g(1)
U2_gg(T32, T33, dis1_out_g(T32)) → p17_out_gg(T32, T33)
U2_gg(T32, T33, dis1_out_g(T32)) → U3_gg(T32, T33, con12_in_g(T33))
con12_in_g(0) → con12_out_g(0)
con12_in_g(1) → con12_out_g(1)
U3_gg(T32, T33, con12_out_g(T33)) → p17_out_gg(T32, T33)
U1_g(T32, T33, p17_out_gg(T32, T33)) → con12_out_g(and(T32, T33))
U9_g(T66, T67, con12_out_g(or(T66, T67))) → dis1_out_g(or(T66, T67))
U8_g(T5, dis1_out_g(T5)) → dis1_out_g(or(1, T5))
U7_g(T5, dis1_out_g(T5)) → dis1_out_g(or(0, T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → dis1_out_g(or(and(T14, T15), T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → U5_g(T14, T15, T5, con12_in_g(T15))
U5_g(T14, T15, T5, con12_out_g(T15)) → dis1_out_g(or(and(T14, T15), T5))
U5_g(T14, T15, T5, con12_out_g(T15)) → U6_g(T14, T15, T5, dis1_in_g(T5))
U6_g(T14, T15, T5, dis1_out_g(T5)) → dis1_out_g(or(and(T14, T15), T5))

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

(6) Obligation:

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

DIS1_IN_G(or(and(T14, T15), T5)) → U4_G(T14, T15, T5, dis1_in_g(T14))
DIS1_IN_G(or(and(T14, T15), T5)) → DIS1_IN_G(T14)
DIS1_IN_G(or(0, T5)) → U7_G(T5, dis1_in_g(T5))
DIS1_IN_G(or(0, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(or(1, T5)) → U8_G(T5, dis1_in_g(T5))
DIS1_IN_G(or(1, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(or(T66, T67)) → U9_G(T66, T67, con12_in_g(or(T66, T67)))
DIS1_IN_G(or(T66, T67)) → CON12_IN_G(or(T66, T67))
CON12_IN_G(and(T32, T33)) → U1_G(T32, T33, p17_in_gg(T32, T33))
CON12_IN_G(and(T32, T33)) → P17_IN_GG(T32, T33)
P17_IN_GG(T32, T33) → U2_GG(T32, T33, dis1_in_g(T32))
P17_IN_GG(T32, T33) → DIS1_IN_G(T32)
DIS1_IN_G(and(T80, T81)) → U10_G(T80, T81, p17_in_gg(T80, T81))
DIS1_IN_G(and(T80, T81)) → P17_IN_GG(T80, T81)
U2_GG(T32, T33, dis1_out_g(T32)) → U3_GG(T32, T33, con12_in_g(T33))
U2_GG(T32, T33, dis1_out_g(T32)) → CON12_IN_G(T33)
U4_G(T14, T15, T5, dis1_out_g(T14)) → U5_G(T14, T15, T5, con12_in_g(T15))
U4_G(T14, T15, T5, dis1_out_g(T14)) → CON12_IN_G(T15)
U5_G(T14, T15, T5, con12_out_g(T15)) → U6_G(T14, T15, T5, dis1_in_g(T5))
U5_G(T14, T15, T5, con12_out_g(T15)) → DIS1_IN_G(T5)

The TRS R consists of the following rules:

dis1_in_g(or(and(T14, T15), T5)) → U4_g(T14, T15, T5, dis1_in_g(T14))
dis1_in_g(or(0, T5)) → U7_g(T5, dis1_in_g(T5))
dis1_in_g(or(1, T5)) → U8_g(T5, dis1_in_g(T5))
dis1_in_g(or(T66, T67)) → U9_g(T66, T67, con12_in_g(or(T66, T67)))
con12_in_g(and(T32, T33)) → U1_g(T32, T33, p17_in_gg(T32, T33))
p17_in_gg(T32, T33) → U2_gg(T32, T33, dis1_in_g(T32))
dis1_in_g(and(T80, T81)) → U10_g(T80, T81, p17_in_gg(T80, T81))
U10_g(T80, T81, p17_out_gg(T80, T81)) → dis1_out_g(and(T80, T81))
dis1_in_g(0) → dis1_out_g(0)
dis1_in_g(1) → dis1_out_g(1)
U2_gg(T32, T33, dis1_out_g(T32)) → p17_out_gg(T32, T33)
U2_gg(T32, T33, dis1_out_g(T32)) → U3_gg(T32, T33, con12_in_g(T33))
con12_in_g(0) → con12_out_g(0)
con12_in_g(1) → con12_out_g(1)
U3_gg(T32, T33, con12_out_g(T33)) → p17_out_gg(T32, T33)
U1_g(T32, T33, p17_out_gg(T32, T33)) → con12_out_g(and(T32, T33))
U9_g(T66, T67, con12_out_g(or(T66, T67))) → dis1_out_g(or(T66, T67))
U8_g(T5, dis1_out_g(T5)) → dis1_out_g(or(1, T5))
U7_g(T5, dis1_out_g(T5)) → dis1_out_g(or(0, T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → dis1_out_g(or(and(T14, T15), T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → U5_g(T14, T15, T5, con12_in_g(T15))
U5_g(T14, T15, T5, con12_out_g(T15)) → dis1_out_g(or(and(T14, T15), T5))
U5_g(T14, T15, T5, con12_out_g(T15)) → U6_g(T14, T15, T5, dis1_in_g(T5))
U6_g(T14, T15, T5, dis1_out_g(T5)) → dis1_out_g(or(and(T14, T15), T5))

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

(7) DependencyGraphProof (EQUIVALENT transformation)

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

(8) Obligation:

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

U4_G(T14, T15, T5, dis1_out_g(T14)) → U5_G(T14, T15, T5, con12_in_g(T15))
U5_G(T14, T15, T5, con12_out_g(T15)) → DIS1_IN_G(T5)
DIS1_IN_G(or(and(T14, T15), T5)) → U4_G(T14, T15, T5, dis1_in_g(T14))
U4_G(T14, T15, T5, dis1_out_g(T14)) → CON12_IN_G(T15)
CON12_IN_G(and(T32, T33)) → P17_IN_GG(T32, T33)
P17_IN_GG(T32, T33) → U2_GG(T32, T33, dis1_in_g(T32))
U2_GG(T32, T33, dis1_out_g(T32)) → CON12_IN_G(T33)
P17_IN_GG(T32, T33) → DIS1_IN_G(T32)
DIS1_IN_G(or(and(T14, T15), T5)) → DIS1_IN_G(T14)
DIS1_IN_G(or(0, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(or(1, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(and(T80, T81)) → P17_IN_GG(T80, T81)

The TRS R consists of the following rules:

dis1_in_g(or(and(T14, T15), T5)) → U4_g(T14, T15, T5, dis1_in_g(T14))
dis1_in_g(or(0, T5)) → U7_g(T5, dis1_in_g(T5))
dis1_in_g(or(1, T5)) → U8_g(T5, dis1_in_g(T5))
dis1_in_g(or(T66, T67)) → U9_g(T66, T67, con12_in_g(or(T66, T67)))
con12_in_g(and(T32, T33)) → U1_g(T32, T33, p17_in_gg(T32, T33))
p17_in_gg(T32, T33) → U2_gg(T32, T33, dis1_in_g(T32))
dis1_in_g(and(T80, T81)) → U10_g(T80, T81, p17_in_gg(T80, T81))
U10_g(T80, T81, p17_out_gg(T80, T81)) → dis1_out_g(and(T80, T81))
dis1_in_g(0) → dis1_out_g(0)
dis1_in_g(1) → dis1_out_g(1)
U2_gg(T32, T33, dis1_out_g(T32)) → p17_out_gg(T32, T33)
U2_gg(T32, T33, dis1_out_g(T32)) → U3_gg(T32, T33, con12_in_g(T33))
con12_in_g(0) → con12_out_g(0)
con12_in_g(1) → con12_out_g(1)
U3_gg(T32, T33, con12_out_g(T33)) → p17_out_gg(T32, T33)
U1_g(T32, T33, p17_out_gg(T32, T33)) → con12_out_g(and(T32, T33))
U9_g(T66, T67, con12_out_g(or(T66, T67))) → dis1_out_g(or(T66, T67))
U8_g(T5, dis1_out_g(T5)) → dis1_out_g(or(1, T5))
U7_g(T5, dis1_out_g(T5)) → dis1_out_g(or(0, T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → dis1_out_g(or(and(T14, T15), T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → U5_g(T14, T15, T5, con12_in_g(T15))
U5_g(T14, T15, T5, con12_out_g(T15)) → dis1_out_g(or(and(T14, T15), T5))
U5_g(T14, T15, T5, con12_out_g(T15)) → U6_g(T14, T15, T5, dis1_in_g(T5))
U6_g(T14, T15, T5, dis1_out_g(T5)) → dis1_out_g(or(and(T14, T15), T5))

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

(9) UsableRulesProof (EQUIVALENT transformation)

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

(10) Obligation:

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

U4_G(T14, T15, T5, dis1_out_g(T14)) → U5_G(T14, T15, T5, con12_in_g(T15))
U5_G(T14, T15, T5, con12_out_g(T15)) → DIS1_IN_G(T5)
DIS1_IN_G(or(and(T14, T15), T5)) → U4_G(T14, T15, T5, dis1_in_g(T14))
U4_G(T14, T15, T5, dis1_out_g(T14)) → CON12_IN_G(T15)
CON12_IN_G(and(T32, T33)) → P17_IN_GG(T32, T33)
P17_IN_GG(T32, T33) → U2_GG(T32, T33, dis1_in_g(T32))
U2_GG(T32, T33, dis1_out_g(T32)) → CON12_IN_G(T33)
P17_IN_GG(T32, T33) → DIS1_IN_G(T32)
DIS1_IN_G(or(and(T14, T15), T5)) → DIS1_IN_G(T14)
DIS1_IN_G(or(0, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(or(1, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(and(T80, T81)) → P17_IN_GG(T80, T81)

The TRS R consists of the following rules:

con12_in_g(and(T32, T33)) → U1_g(T32, T33, p17_in_gg(T32, T33))
con12_in_g(0) → con12_out_g(0)
con12_in_g(1) → con12_out_g(1)
dis1_in_g(or(and(T14, T15), T5)) → U4_g(T14, T15, T5, dis1_in_g(T14))
dis1_in_g(or(0, T5)) → U7_g(T5, dis1_in_g(T5))
dis1_in_g(or(1, T5)) → U8_g(T5, dis1_in_g(T5))
dis1_in_g(or(T66, T67)) → U9_g(T66, T67, con12_in_g(or(T66, T67)))
dis1_in_g(and(T80, T81)) → U10_g(T80, T81, p17_in_gg(T80, T81))
dis1_in_g(0) → dis1_out_g(0)
dis1_in_g(1) → dis1_out_g(1)
U1_g(T32, T33, p17_out_gg(T32, T33)) → con12_out_g(and(T32, T33))
U4_g(T14, T15, T5, dis1_out_g(T14)) → dis1_out_g(or(and(T14, T15), T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → U5_g(T14, T15, T5, con12_in_g(T15))
U7_g(T5, dis1_out_g(T5)) → dis1_out_g(or(0, T5))
U8_g(T5, dis1_out_g(T5)) → dis1_out_g(or(1, T5))
U10_g(T80, T81, p17_out_gg(T80, T81)) → dis1_out_g(and(T80, T81))
p17_in_gg(T32, T33) → U2_gg(T32, T33, dis1_in_g(T32))
U5_g(T14, T15, T5, con12_out_g(T15)) → dis1_out_g(or(and(T14, T15), T5))
U5_g(T14, T15, T5, con12_out_g(T15)) → U6_g(T14, T15, T5, dis1_in_g(T5))
U2_gg(T32, T33, dis1_out_g(T32)) → p17_out_gg(T32, T33)
U2_gg(T32, T33, dis1_out_g(T32)) → U3_gg(T32, T33, con12_in_g(T33))
U6_g(T14, T15, T5, dis1_out_g(T5)) → dis1_out_g(or(and(T14, T15), T5))
U3_gg(T32, T33, con12_out_g(T33)) → p17_out_gg(T32, T33)

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

(11) PiDPToQDPProof (EQUIVALENT transformation)

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

(12) Obligation:

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

U4_G(T14, T15, T5, dis1_out_g(T14)) → U5_G(T14, T15, T5, con12_in_g(T15))
U5_G(T14, T15, T5, con12_out_g(T15)) → DIS1_IN_G(T5)
DIS1_IN_G(or(and(T14, T15), T5)) → U4_G(T14, T15, T5, dis1_in_g(T14))
U4_G(T14, T15, T5, dis1_out_g(T14)) → CON12_IN_G(T15)
CON12_IN_G(and(T32, T33)) → P17_IN_GG(T32, T33)
P17_IN_GG(T32, T33) → U2_GG(T32, T33, dis1_in_g(T32))
U2_GG(T32, T33, dis1_out_g(T32)) → CON12_IN_G(T33)
P17_IN_GG(T32, T33) → DIS1_IN_G(T32)
DIS1_IN_G(or(and(T14, T15), T5)) → DIS1_IN_G(T14)
DIS1_IN_G(or(0, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(or(1, T5)) → DIS1_IN_G(T5)
DIS1_IN_G(and(T80, T81)) → P17_IN_GG(T80, T81)

The TRS R consists of the following rules:

con12_in_g(and(T32, T33)) → U1_g(T32, T33, p17_in_gg(T32, T33))
con12_in_g(0) → con12_out_g(0)
con12_in_g(1) → con12_out_g(1)
dis1_in_g(or(and(T14, T15), T5)) → U4_g(T14, T15, T5, dis1_in_g(T14))
dis1_in_g(or(0, T5)) → U7_g(T5, dis1_in_g(T5))
dis1_in_g(or(1, T5)) → U8_g(T5, dis1_in_g(T5))
dis1_in_g(or(T66, T67)) → U9_g(T66, T67, con12_in_g(or(T66, T67)))
dis1_in_g(and(T80, T81)) → U10_g(T80, T81, p17_in_gg(T80, T81))
dis1_in_g(0) → dis1_out_g(0)
dis1_in_g(1) → dis1_out_g(1)
U1_g(T32, T33, p17_out_gg(T32, T33)) → con12_out_g(and(T32, T33))
U4_g(T14, T15, T5, dis1_out_g(T14)) → dis1_out_g(or(and(T14, T15), T5))
U4_g(T14, T15, T5, dis1_out_g(T14)) → U5_g(T14, T15, T5, con12_in_g(T15))
U7_g(T5, dis1_out_g(T5)) → dis1_out_g(or(0, T5))
U8_g(T5, dis1_out_g(T5)) → dis1_out_g(or(1, T5))
U10_g(T80, T81, p17_out_gg(T80, T81)) → dis1_out_g(and(T80, T81))
p17_in_gg(T32, T33) → U2_gg(T32, T33, dis1_in_g(T32))
U5_g(T14, T15, T5, con12_out_g(T15)) → dis1_out_g(or(and(T14, T15), T5))
U5_g(T14, T15, T5, con12_out_g(T15)) → U6_g(T14, T15, T5, dis1_in_g(T5))
U2_gg(T32, T33, dis1_out_g(T32)) → p17_out_gg(T32, T33)
U2_gg(T32, T33, dis1_out_g(T32)) → U3_gg(T32, T33, con12_in_g(T33))
U6_g(T14, T15, T5, dis1_out_g(T5)) → dis1_out_g(or(and(T14, T15), T5))
U3_gg(T32, T33, con12_out_g(T33)) → p17_out_gg(T32, T33)

The set Q consists of the following terms:

con12_in_g(x0)
dis1_in_g(x0)
U1_g(x0, x1, x2)
U4_g(x0, x1, x2, x3)
U7_g(x0, x1)
U8_g(x0, x1)
U10_g(x0, x1, x2)
p17_in_gg(x0, x1)
U5_g(x0, x1, x2, x3)
U2_gg(x0, x1, x2)
U6_g(x0, x1, x2, x3)
U3_gg(x0, x1, x2)

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

(13) 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:

  • U5_G(T14, T15, T5, con12_out_g(T15)) → DIS1_IN_G(T5)
    The graph contains the following edges 3 >= 1

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

  • U4_G(T14, T15, T5, dis1_out_g(T14)) → U5_G(T14, T15, T5, con12_in_g(T15))
    The graph contains the following edges 1 >= 1, 4 > 1, 2 >= 2, 3 >= 3

  • DIS1_IN_G(and(T80, T81)) → P17_IN_GG(T80, T81)
    The graph contains the following edges 1 > 1, 1 > 2

  • U4_G(T14, T15, T5, dis1_out_g(T14)) → CON12_IN_G(T15)
    The graph contains the following edges 2 >= 1

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

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

  • P17_IN_GG(T32, T33) → U2_GG(T32, T33, dis1_in_g(T32))
    The graph contains the following edges 1 >= 1, 2 >= 2

  • U2_GG(T32, T33, dis1_out_g(T32)) → CON12_IN_G(T33)
    The graph contains the following edges 2 >= 1

  • DIS1_IN_G(or(and(T14, T15), T5)) → DIS1_IN_G(T14)
    The graph contains the following edges 1 > 1

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

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

(14) YES