Details

Time bar (total: 2.5s)

sample22.0ms

Algorithm
intervals
Results
10.0ms284×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1375
2615
3915
41155
51215
61215

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

4.0b
(* y (+ 1.0 (* z z)))
4.6b
(/ (/ 1.0 x) (* 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:
5.0ms
(* y (+ 1.0 (* z z)))
8.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

series32.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0409511
11963443
25001443

prune129.0ms

Filtered
56 candidates to 76 candidates (-35.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New69776
Fresh000
Picked101
Done000
Total70777

Merged error: 6.9b

Counts
77 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
4.6b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
18.0b
(sqrt (+ 1.0 (* z z)))
18.0b
(sqrt (+ 1.0 (* z z)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
30×add-exp-log add-cbrt-cube
28×sqrt-div
24×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
16×associate-*r/
14×flip3-+ flip-+
13×associate-/l*
11×pow1
cbrt-undiv div-exp prod-exp sqrt-prod cbrt-unprod
frac-times associate-/r/
associate-*r*
associate-*l/ add-log-exp
pow-prod-down div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-2neg associate-*l* clear-num associate-/r* *-commutative associate-/l/
Counts
4 → 117
Calls
4 calls:
10.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
17.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
18.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
4.0ms
(sqrt (+ 1.0 (* z z)))
4.0ms
(sqrt (+ 1.0 (* z z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06101242
128861023
250021005

prune198.0ms

Filtered
93 candidates to 129 candidates (-38.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh156
Picked011
Done000
Total1297136

Merged error: 6.9b

Counts
136 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

0.6b
(/ 1.0 (* (* y (+ 1.0 (* z z))) x))
4.0b
(* y (+ 1.0 (* z z)))
4.3b
(* (* y (+ 1.0 (* z z))) x)

rewrite20.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:
7.0ms
(/ 1.0 (* (* y (+ 1.0 (* z z))) x))
5.0ms
(* y (+ 1.0 (* z z)))
6.0ms
(* (* y (+ 1.0 (* z z))) x)

series38.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0367480
12077394
25002394

prune91.0ms

Filtered
51 candidates to 76 candidates (-49.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New74276
Fresh145
Picked101
Done011
Total76783

Merged error: 6.9b

Counts
83 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (/ 1.0 y) x)
7.7b
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
468×times-frac
228×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
56×associate-/l*
22×div-inv
16×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
associate-/r*
pow1 frac-2neg clear-num associate-/r/ associate-/l/ add-log-exp
flip3-+ flip-+
Counts
2 → 264
Calls
2 calls:
8.0ms
(/ (/ 1.0 y) x)
14.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

series37.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
011322994
145722919
250012919

prune482.0ms

Filtered
233 candidates to 270 candidates (-15.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2691270
Fresh145
Picked011
Done011
Total2707277

Merged error: 6.8b

Counts
277 → 7

regimes351.0ms

Accuracy

0% (1.4b remaining)

Error of 6.4b against oracle of 5.0b and baseline of 6.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01410
11410

end0.0ms

sample584.0ms

Algorithm
intervals
Results
296.0ms8636×body80valid

Profiling

Loading profile data...