Inference procedure has parameters: Ice fuel: 200 Timeout: 60s Convolution: right Learning problem is: env: { nat -> {s, z} } definition: { (leq, P: {() -> leq([z, n2]) (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) (leq([s(nn1), z])) -> BOT} ) (max, F: {() -> max([s(u), z, s(u)]) () -> max([z, y, y]) (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)])} (max([_lba, _mba, _nba]) /\ max([_lba, _mba, _oba])) -> eq_nat([_nba, _oba]) ) } properties: {(leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]), (max([i, j, j])) -> leq([i, j])} over-approximation: {max} under-approximation: {} Clause system for inference is: { () -> leq([z, n2]) -> 0 () -> max([s(u), z, s(u)]) -> 0 () -> max([z, y, y]) -> 0 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 0 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 0 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 0 (leq([s(nn1), z])) -> BOT -> 0 (max([i, j, j])) -> leq([i, j]) -> 0 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 0 } Solving took 0.107406 seconds. Proved Model: |_ { leq -> {{{ Q={q_gen_5539, q_gen_5545}, Q_f={q_gen_5539}, Delta= { (q_gen_5545) -> q_gen_5545 () -> q_gen_5545 (q_gen_5539) -> q_gen_5539 (q_gen_5545) -> q_gen_5539 () -> q_gen_5539 } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536, q_gen_5538}, Q_f={q_gen_5536}, Delta= { (q_gen_5538) -> q_gen_5538 () -> q_gen_5538 (q_gen_5536) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| ------------------- STEPS: ------------------------------------------- Step 0, which took 0.010129 s (model generation: 0.009722, model checking: 0.000407): Model: |_ { leq -> {{{ Q={}, Q_f={}, Delta= { } Datatype: Convolution form: right }}} ; max -> {{{ Q={}, Q_f={}, Delta= { } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 0 () -> max([s(u), z, s(u)]) -> 0 () -> max([z, y, y]) -> 3 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 1 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 1 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 1 (leq([s(nn1), z])) -> BOT -> 1 (max([i, j, j])) -> leq([i, j]) -> 1 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 1 } Sat witness: Found: (() -> max([z, y, y]), { y -> z }) ------------------------------------------- Step 1, which took 0.010107 s (model generation: 0.009913, model checking: 0.000194): Model: |_ { leq -> {{{ Q={}, Q_f={}, Delta= { } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536}, Q_f={q_gen_5536}, Delta= { () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 0 () -> max([s(u), z, s(u)]) -> 3 () -> max([z, y, y]) -> 3 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 1 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 1 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 1 (leq([s(nn1), z])) -> BOT -> 1 (max([i, j, j])) -> leq([i, j]) -> 1 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 1 } Sat witness: Found: (() -> max([s(u), z, s(u)]), { u -> z }) ------------------------------------------- Step 2, which took 0.010381 s (model generation: 0.010272, model checking: 0.000109): Model: |_ { leq -> {{{ Q={}, Q_f={}, Delta= { } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536, q_gen_5538}, Q_f={q_gen_5536}, Delta= { () -> q_gen_5538 (q_gen_5538) -> q_gen_5536 () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 3 () -> max([s(u), z, s(u)]) -> 3 () -> max([z, y, y]) -> 3 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 1 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 1 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 1 (leq([s(nn1), z])) -> BOT -> 1 (max([i, j, j])) -> leq([i, j]) -> 1 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 1 } Sat witness: Found: (() -> leq([z, n2]), { n2 -> z }) ------------------------------------------- Step 3, which took 0.010722 s (model generation: 0.010457, model checking: 0.000265): Model: |_ { leq -> {{{ Q={q_gen_5539}, Q_f={q_gen_5539}, Delta= { () -> q_gen_5539 } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536, q_gen_5538}, Q_f={q_gen_5536}, Delta= { () -> q_gen_5538 (q_gen_5538) -> q_gen_5536 () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 3 () -> max([s(u), z, s(u)]) -> 3 () -> max([z, y, y]) -> 3 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 1 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 1 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 1 (leq([s(nn1), z])) -> BOT -> 1 (max([i, j, j])) -> leq([i, j]) -> 1 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 4 } Sat witness: Found: ((max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]), { _kba -> z ; u -> z ; x2 -> z }) ------------------------------------------- Step 4, which took 0.010892 s (model generation: 0.010724, model checking: 0.000168): Model: |_ { leq -> {{{ Q={q_gen_5539}, Q_f={q_gen_5539}, Delta= { () -> q_gen_5539 } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536, q_gen_5538}, Q_f={q_gen_5536}, Delta= { () -> q_gen_5538 (q_gen_5536) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 3 () -> max([s(u), z, s(u)]) -> 3 () -> max([z, y, y]) -> 3 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 1 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 1 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 1 (leq([s(nn1), z])) -> BOT -> 1 (max([i, j, j])) -> leq([i, j]) -> 4 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 4 } Sat witness: Found: ((max([i, j, j])) -> leq([i, j]), { i -> s(z) ; j -> s(z) }) ------------------------------------------- Step 5, which took 0.015401 s (model generation: 0.010891, model checking: 0.004510): Model: |_ { leq -> {{{ Q={q_gen_5539}, Q_f={q_gen_5539}, Delta= { (q_gen_5539) -> q_gen_5539 () -> q_gen_5539 } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536, q_gen_5538}, Q_f={q_gen_5536}, Delta= { () -> q_gen_5538 (q_gen_5536) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 3 () -> max([s(u), z, s(u)]) -> 3 () -> max([z, y, y]) -> 6 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 2 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 2 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 2 (leq([s(nn1), z])) -> BOT -> 2 (max([i, j, j])) -> leq([i, j]) -> 4 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 4 } Sat witness: Found: (() -> max([z, y, y]), { y -> s(s(z)) }) ------------------------------------------- Step 6, which took 0.011847 s (model generation: 0.011224, model checking: 0.000623): Model: |_ { leq -> {{{ Q={q_gen_5539}, Q_f={q_gen_5539}, Delta= { (q_gen_5539) -> q_gen_5539 () -> q_gen_5539 } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536, q_gen_5538}, Q_f={q_gen_5536}, Delta= { (q_gen_5538) -> q_gen_5538 () -> q_gen_5538 (q_gen_5536) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 6 () -> max([s(u), z, s(u)]) -> 4 () -> max([z, y, y]) -> 6 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 3 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 3 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 3 (leq([s(nn1), z])) -> BOT -> 3 (max([i, j, j])) -> leq([i, j]) -> 4 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 4 } Sat witness: Found: (() -> leq([z, n2]), { n2 -> s(z) }) ------------------------------------------- Step 7, which took 0.013911 s (model generation: 0.011549, model checking: 0.002362): Model: |_ { leq -> {{{ Q={q_gen_5539, q_gen_5545}, Q_f={q_gen_5539}, Delta= { () -> q_gen_5545 (q_gen_5539) -> q_gen_5539 (q_gen_5545) -> q_gen_5539 () -> q_gen_5539 } Datatype: Convolution form: right }}} ; max -> {{{ Q={q_gen_5536, q_gen_5538}, Q_f={q_gen_5536}, Delta= { (q_gen_5538) -> q_gen_5538 () -> q_gen_5538 (q_gen_5536) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 (q_gen_5538) -> q_gen_5536 () -> q_gen_5536 } Datatype: Convolution form: right }}} } -- Equality automata are defined for: {eq_nat} _| Teacher's answer: New clause system: { () -> leq([z, n2]) -> 6 () -> max([s(u), z, s(u)]) -> 4 () -> max([z, y, y]) -> 6 (leq([i, j]) /\ max([i, j, _qba])) -> eq_nat([_qba, j]) -> 4 (leq([nn1, nn2])) -> leq([s(nn1), s(nn2)]) -> 4 (leq([s(nn1), s(nn2)])) -> leq([nn1, nn2]) -> 4 (leq([s(nn1), z])) -> BOT -> 4 (max([i, j, j])) -> leq([i, j]) -> 7 (max([u, x2, _kba])) -> max([s(u), s(x2), s(_kba)]) -> 5 } Sat witness: Found: ((max([i, j, j])) -> leq([i, j]), { i -> z ; j -> s(s(z)) }) Total time: 0.107406 Reason for stopping: Proved