Details

Time bar (total: 2.4s)

sample22.0ms

Algorithm
intervals
Results
9.0ms278×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1375
2615
3915
41155
51215
61215

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 5.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.4b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
3.1b
(* y (+ 1.0 (* z z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
20×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
13×associate-/l*
cbrt-undiv div-exp
pow1 associate-*r/
associate-*r* associate-*l* prod-exp cbrt-unprod div-inv
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l/ unswap-sqr
Counts
2 → 70
Calls
2 calls:
7.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.0ms
(* y (+ 1.0 (* z z)))

series33.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
15.0ms
(* y (+ 1.0 (* z z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0409511
11963443
25001443

prune131.0ms

Filtered
76 candidates to 56 candidates (26.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New661076
Fresh000
Picked011
Done000
Total661177

Merged error: 4.1b

Counts
77 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

3.9b
(* y (* (cbrt (+ 1.0 (* z z))) (cbrt (+ 1.0 (* z z)))))
16.1b
(cbrt (+ 1.0 (* z z)))
16.1b
(cbrt (+ 1.0 (* z z)))
16.1b
(cbrt (+ 1.0 (* z z)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
10×associate-*r/
pow1 add-exp-log cbrt-prod add-sqr-sqrt flip3-+ flip-+
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
frac-times add-log-exp
pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*l/
associate-*r* *-commutative unswap-sqr
Counts
4 → 66
Calls
4 calls:
10.0ms
(* y (* (cbrt (+ 1.0 (* z z))) (cbrt (+ 1.0 (* z z)))))
2.0ms
(cbrt (+ 1.0 (* z z)))
2.0ms
(cbrt (+ 1.0 (* z z)))
2.0ms
(cbrt (+ 1.0 (* z z)))

series67.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* y (* (cbrt (+ 1.0 (* z z))) (cbrt (+ 1.0 (* z z)))))
12.0ms
(cbrt (+ 1.0 (* z z)))
12.0ms
(cbrt (+ 1.0 (* z z)))
12.0ms
(cbrt (+ 1.0 (* z z)))

simplify116.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0341817
11137755
24177736
35002733

prune204.0ms

Filtered
78 candidates to 63 candidates (19.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh099
Picked011
Done011
Total781189

Merged error: 4.1b

Counts
89 → 11

localize7.0ms

Local error

Found 3 expressions with local error:

0.6b
(/ 1.0 (* (* y (+ 1.0 (* z z))) x))
2.2b
(* (* y (+ 1.0 (* z z))) x)
3.1b
(* y (+ 1.0 (* z z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
10×pow1 add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
associate-*r/ associate-*r*
associate-*l* pow-prod-down associate-*l/
cbrt-undiv flip3-+ times-frac div-exp flip-+ associate-/l* add-log-exp
associate-/r/ *-commutative
distribute-rgt-in frac-2neg distribute-lft-in clear-num associate-/r* div-inv unswap-sqr
Counts
3 → 67
Calls
3 calls:
8.0ms
(/ 1.0 (* (* y (+ 1.0 (* z z))) x))
6.0ms
(* (* y (+ 1.0 (* z z))) x)
5.0ms
(* y (+ 1.0 (* z z)))

series36.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(/ 1.0 (* (* y (+ 1.0 (* z z))) x))
12.0ms
(* (* y (+ 1.0 (* z z))) x)
9.0ms
(* y (+ 1.0 (* z z)))

simplify74.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0367480
12077394
25002394

prune103.0ms

Filtered
76 candidates to 51 candidates (32.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New74276
Fresh268
Picked101
Done022
Total771087

Merged error: 4.1b

Counts
87 → 10

localize7.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (* y (+ 1.0 (* z z))))
2.4b
(/ (/ 1.0 (* y (+ 1.0 (* z z)))) x)
3.1b
(* y (+ 1.0 (* z z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
27×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
12×associate-*r/ associate-/l*
10×associate-/r/
cbrt-undiv div-exp
flip3-+ flip-+ div-inv
pow1
associate-/r*
associate-*r* associate-*l* prod-exp cbrt-unprod add-log-exp
frac-2neg clear-num
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative associate-/l/ unswap-sqr
Counts
3 → 101
Calls
3 calls:
5.0ms
(/ 1.0 (* y (+ 1.0 (* z z))))
7.0ms
(/ (/ 1.0 (* y (+ 1.0 (* z z)))) x)
5.0ms
(* y (+ 1.0 (* z z)))

series40.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(/ 1.0 (* y (+ 1.0 (* z z))))
16.0ms
(/ (/ 1.0 (* y (+ 1.0 (* z z)))) x)
9.0ms
(* y (+ 1.0 (* z z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0519841
12748759
25001758

prune120.0ms

Filtered
110 candidates to 85 candidates (22.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1082110
Fresh167
Picked011
Done112
Total11010120

Merged error: 4.1b

Counts
120 → 10

regimes599.0ms

Accuracy

0% (1.5b remaining)

Error of 6.1b against oracle of 4.6b and baseline of 6.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample597.0ms

Algorithm
intervals
Results
293.0ms8616×body80valid

Profiling

Loading profile data...