Details

Time bar (total: 2.1s)

sample16.0ms

Algorithm
intervals
Results
7.0ms319×body80valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1173
2313
3463
4533
5623
6803
71183
82353
94673
107503
1111363
1218183
1350023

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*l*
associate-*r/
+-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 → 41
Calls
2 calls:
3.0ms
(+ x (* y (- z x)))
11.0ms
(* y (- z x))

series69.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0172180
1731165
23520165
35001165

prune65.0ms

Filtered
47 candidates to 29 candidates (61.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked011
Done000
Total44448

Merged error: 0.0b

Counts
48 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series61.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0181209
1786168
23584162
35001162

prune53.0ms

Filtered
36 candidates to 24 candidates (66.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New36036
Fresh022
Picked011
Done011
Total36440

Merged error: 0.0b

Counts
40 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (* y (- (* z z) (* x x))) (+ z x)))
2.4b
(- (* z z) (* x x))
11.9b
(* y (- (* z z) (* x x)))
18.2b
(/ (* y (- (* z z) (* x x))) (+ z x))

rewrite29.0ms

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

series214.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(+ x (/ (* y (- (* z z) (* x x))) (+ z x)))
32.0ms
(- (* z z) (* x x))
65.0ms
(* y (- (* z z) (* x x)))
69.0ms
(/ (* y (- (* z z) (* x x))) (+ z x))

simplify52.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0367620
11808538
25001507

prune135.0ms

Filtered
89 candidates to 59 candidates (66.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done022
Total89493

Merged error: 0.0b

Counts
93 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (- z x))
0.0b
(sqrt (+ x (* y (- z x))))
0.0b
(sqrt (+ x (* y (- z x))))
0.3b
(* (sqrt (+ x (* y (- z x)))) (sqrt (+ x (* y (- z x)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×sqrt-prod
23×pow1
18×*-un-lft-identity
16×add-cube-cbrt sqrt-div
11×associate-*r*
10×sqrt-pow1 pow1/2
associate-*l*
add-exp-log flip3-+ swap-sqr add-cbrt-cube flip-+
pow-prod-up unswap-sqr
frac-times associate-*r/ pow-prod-down add-log-exp
pow-sqr
distribute-rgt-in sub-neg rem-sqrt-square distribute-lft-in associate-*l/ prod-exp *-commutative cbrt-unprod
pow2 flip3-- pow-plus sqrt-unprod rem-square-sqrt flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 113
Calls
4 calls:
6.0ms
(* y (- z x))
2.0ms
(sqrt (+ x (* y (- z x))))
2.0ms
(sqrt (+ x (* y (- z x))))
11.0ms
(* (sqrt (+ x (* y (- z x)))) (sqrt (+ x (* y (- z x)))))

series322.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* y (- z x))
125.0ms
(sqrt (+ x (* y (- z x))))
132.0ms
(sqrt (+ x (* y (- z x))))
28.0ms
(* (sqrt (+ x (* y (- z x)))) (sqrt (+ x (* y (- z x)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0286810
11284722
25002701

prune180.0ms

Filtered
125 candidates to 70 candidates (56.0%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done033
Total1254129

Merged error: 0.0b

Counts
129 → 4

regimes85.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0145
1185
2195
3195

end0.0ms

sample414.0ms

Algorithm
intervals
Results
218.0ms10155×body80valid

Profiling

Loading profile data...