Details

Time bar (total: 2.4s)

sample23.0ms

Algorithm
intervals
Results
14.0ms307×body80valid

simplify112.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0153
1253
2363
3403
4463
5583
6933
71303
81633
92733
105073
1116183
1250013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
9.0ms
(* y (+ z x))
2.0ms
(+ x (* y (+ z x)))

series55.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(* y (+ z x))
26.0ms
(+ x (* y (+ z x)))

simplify96.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0186164
1769149
23884149
35001149

prune71.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
2 → 24
Calls
2 calls:
9.0ms
(+ (+ x (* z y)) (* x y))
2.0ms
(+ x (* z y))

series54.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(+ (+ x (* z y)) (* x y))
28.0ms
(+ x (* z y))

simplify67.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0160150
1619135
22474133
35002133

prune55.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (* y (- (* z z) (* x x))) (- z x)))
2.8b
(- (* z z) (* x x))
8.9b
(* y (- (* z z) (* x x)))
19.8b
(/ (* y (- (* z z) (* x x))) (- z x))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
pow1
times-frac associate-/r*
flip3-- associate-*r/ associate-*r* flip-- difference-of-squares
sub-neg associate-*l*
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out--
+-commutative frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
4 → 79
Calls
4 calls:
10.0ms
(+ x (/ (* y (- (* z z) (* x x))) (- z x)))
3.0ms
(- (* z z) (* x x))
13.0ms
(* y (- (* z z) (* x x)))
10.0ms
(/ (* y (- (* z z) (* x x))) (- z x))

series227.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(+ x (/ (* y (- (* z z) (* x x))) (- z x)))
34.0ms
(- (* z z) (* x x))
61.0ms
(* y (- (* z z) (* x x)))
79.0ms
(/ (* y (- (* z z) (* x x))) (- z x))

simplify55.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0372639
11847557
25002519

prune352.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* (sqrt y) (* (sqrt y) (+ z x))))
0.1b
(* (sqrt y) (+ z x))
0.2b
(* (sqrt y) (* (sqrt y) (+ z x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l*
10×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
distribute-rgt-in distribute-lft-in
add-cube-cbrt
sqrt-prod
associate-*r/
associate-*r* add-log-exp
associate-+r+ pow-prod-down prod-exp cbrt-unprod
flip3-+ flip-+
*-commutative unswap-sqr
+-commutative sum-log distribute-lft-out
Counts
3 → 69
Calls
3 calls:
3.0ms
(+ x (* (sqrt y) (* (sqrt y) (+ z x))))
11.0ms
(* (sqrt y) (+ z x))
16.0ms
(* (sqrt y) (* (sqrt y) (+ z x)))

series200.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(+ x (* (sqrt y) (* (sqrt y) (+ z x))))
98.0ms
(* (sqrt y) (+ z x))
42.0ms
(* (sqrt y) (* (sqrt y) (+ z x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0356435
11586355
25002348

prune132.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes44.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
0114
1114

end0.0ms

sample661.0ms

Algorithm
intervals
Results
454.0ms10005×body80valid