Details

Time bar (total: 2.3s)

sample18.0ms

Algorithm
intervals
Results
7.0ms308×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody1280valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1284
2384
3414
4414

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.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

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-+l+ 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:
6.0ms
(* x (+ y z))
6.0ms
(+ (* x (+ y z)) (* z 5.0))

series60.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(* x (+ y z))
29.0ms
(+ (* x (+ y z)) (* z 5.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0212186
1877169
24182168
35001168

prune71.0ms

Filtered
42 candidates to 28 candidates (66.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38442
Fresh000
Picked011
Done000
Total38543

Merged error: 0.0b

Counts
43 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
4.0ms
(+ (* x y) (* z (+ x 5.0)))
6.0ms
(* z (+ x 5.0))

series64.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0209182
1941168
24791168
35002168

prune69.0ms

Filtered
42 candidates to 27 candidates (64.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh303
Picked101
Done011
Total44347

Merged error: 0.0b

Counts
47 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)))
3.3b
(* z (- (* x x) (* 5.0 5.0)))
7.1b
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

rewrite24.0ms

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

series218.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(+ (* x y) (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)))
65.0ms
(* z (- (* x x) (* 5.0 5.0)))
90.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0397570
11864498
25001464

prune138.0ms

Filtered
74 candidates to 54 candidates (73.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh011
Picked011
Done011
Total74377

Merged error: 0.0b

Counts
77 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x y) (/ (* z (+ (pow x 3) (pow 5.0 3))) (+ (* x x) (- (* 5.0 5.0) (* x 5.0)))))
0.0b
(+ (* x x) (- (* 5.0 5.0) (* x 5.0)))
2.1b
(* z (+ (pow x 3) (pow 5.0 3)))
13.1b
(/ (* z (+ (pow x 3) (pow 5.0 3))) (+ (* x x) (- (* 5.0 5.0) (* x 5.0))))

rewrite52.0ms

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

series355.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(+ (* x y) (/ (* z (+ (pow x 3) (pow 5.0 3))) (+ (* x x) (- (* 5.0 5.0) (* x 5.0)))))
21.0ms
(+ (* x x) (- (* 5.0 5.0) (* x 5.0)))
96.0ms
(* z (+ (pow x 3) (pow 5.0 3)))
150.0ms
(/ (* z (+ (pow x 3) (pow 5.0 3))) (+ (* x x) (- (* 5.0 5.0) (* x 5.0))))

simplify71.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0459856
12374746
25003739

prune231.0ms

Filtered
91 candidates to 65 candidates (71.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New91091
Fresh000
Picked011
Done022
Total91394

Merged error: 0.0b

Counts
94 → 3

regimes72.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample481.0ms

Algorithm
intervals
Results
249.0ms9825×body80valid
12.0ms108×body1280valid
11.0ms125×body640valid
4.0ms63×body320valid
2.0ms36×body160valid

Profiling

Loading profile data...