Details

Time bar (total: 2.7s)

sample25.0ms

Algorithm
intervals
Results
15.0ms319×body80valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1204
2344
3514
4584
5644
6814
71124
81594
92734
103704
114284
124504
134654
144654

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) (* (- x 1.0) z))
0.0b
(* (- x 1.0) z)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
associate-*l/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 33
Calls
2 calls:
3.0ms
(+ (* x y) (* (- x 1.0) z))
10.0ms
(* (- x 1.0) z)

series62.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (* x y) (* (- x 1.0) z))
29.0ms
(* (- x 1.0) z)

simplify101.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0187183
1775166
24041166
35001166

prune77.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
0.0b
(+ (* x y) (/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
3.1b
(* (- (pow x 3) (pow 1.0 3)) z)
11.9b
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
25×associate-*l*
18×*-un-lft-identity
16×difference-of-squares
12×unpow-prod-down cube-prod
11×add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt sqr-pow
pow1
distribute-lft-out--
associate-*l/ sum-log
flip3-+ times-frac associate-*r* associate-/r* flip-+
cbrt-undiv +-commutative flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod associate-/l/
difference-cubes associate-+r+ frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 91
Calls
4 calls:
8.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
25.0ms
(+ (* x y) (/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
59.0ms
(* (- (pow x 3) (pow 1.0 3)) z)
38.0ms
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

series228.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
87.0ms
(+ (* x y) (/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
40.0ms
(* (- (pow x 3) (pow 1.0 3)) z)
81.0ms
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

simplify74.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0502945
12349831
25001825

prune289.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x z) z)
0.0b
(+ (* x y) (* 1.0 (- (* x z) z)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
associate-+r+
sub-neg *-un-lft-identity
pow1 add-exp-log distribute-rgt-in add-sqr-sqrt add-cube-cbrt distribute-lft-in add-cbrt-cube
+-commutative flip3-- distribute-rgt-out-- flip3-+ diff-log sum-log flip-- flip-+
Counts
2 → 28
Calls
2 calls:
3.0ms
(- (* x z) z)
3.0ms
(+ (* x y) (* 1.0 (- (* x z) z)))

series57.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- (* x z) z)
35.0ms
(+ (* x y) (* 1.0 (- (* x z) z)))

simplify92.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0173196
1555172
22340170
35001170

prune68.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (- (* x z) z)) (cbrt (- (* x z) z)))
0.6b
(cbrt (- (* x z) z))
0.6b
(cbrt (- (* x z) z))
0.6b
(cbrt (- (* x z) z))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
23×add-sqr-sqrt
22×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-- pow1/3 flip--
distribute-rgt-out-- swap-sqr associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 93
Calls
4 calls:
22.0ms
(* (cbrt (- (* x z) z)) (cbrt (- (* x z) z)))
2.0ms
(cbrt (- (* x z) z))
2.0ms
(cbrt (- (* x z) z))
3.0ms
(cbrt (- (* x z) z))

series226.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (cbrt (- (* x z) z)) (cbrt (- (* x z) z)))
53.0ms
(cbrt (- (* x z) z))
58.0ms
(cbrt (- (* x z) z))
57.0ms
(cbrt (- (* x z) z))

simplify49.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03611082
112721025
25002938

prune304.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes51.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample710.0ms

Algorithm
intervals
Results
497.0ms10195×body80valid