Details

Time bar (total: 3.2s)

sample18.0ms

Algorithm
intervals
Results
9.0ms282×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1375
2615
3915
41155
51215
61215

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: 8.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

4.5b
(* y (+ 1.0 (* z z)))
5.1b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

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

series113.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0409511
11963443
25001443

prune147.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New68876
Fresh000
Picked101
Done000
Total69877

Merged error: 6.0b

Counts
77 → 8

localize8.0ms

Local error

Found 2 expressions with local error:

3.8b
(/ (/ 1.0 x) (+ 1.0 (* z z)))
4.5b
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
165×times-frac
116×add-sqr-sqrt
89×*-un-lft-identity
86×add-cube-cbrt
46×add-exp-log
45×associate-*r*
28×add-cbrt-cube
21×div-exp
13×associate-*l* associate-/l*
12×cbrt-undiv prod-exp
10×div-inv
unswap-sqr
cbrt-unprod
pow1 associate-/r/
rec-exp 1-exp associate-/r*
flip3-+ flip-+ add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
2 → 169
Calls
2 calls:
8.0ms
(/ (/ 1.0 x) (+ 1.0 (* z z)))
28.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))

series119.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(/ (/ 1.0 x) (+ 1.0 (* z z)))
61.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))

simplify105.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09221637
145381473
250031467

prune318.0ms

Filtered
175 candidates to 135 candidates (77.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1741175
Fresh167
Picked011
Done000
Total1758183

Merged error: 6.0b

Counts
183 → 8

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)))

rewrite56.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)))

series96.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011322994
145722919
250022919

prune581.0ms

Filtered
270 candidates to 233 candidates (86.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2691270
Fresh156
Picked011
Done011
Total2708278

Merged error: 6.0b

Counts
278 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
5.1b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
17.5b
(sqrt (+ 1.0 (* z z)))
17.5b
(sqrt (+ 1.0 (* z z)))

rewrite36.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:
11.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
14.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
3.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
59.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
42.0ms
(sqrt (+ 1.0 (* z z)))
47.0ms
(sqrt (+ 1.0 (* z z)))

simplify71.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06101242
128861023
250011005

prune235.0ms

Filtered
129 candidates to 93 candidates (72.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1290129
Fresh055
Picked011
Done022
Total1298137

Merged error: 6.0b

Counts
137 → 8

regimes298.0ms

Accuracy

85.9% (0.2b remaining)

Error of 5.1b against oracle of 4.9b and baseline of 6.4b

bsearch73.0ms

Steps
ItersRangePoint
8
5.544817372487363e-43
3.5739163663205514e-40
6.90597348596552e-41
9
-421140047755963.56
-3141188.981794727
-5958558.047634611

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample461.0ms

Algorithm
intervals
Results
290.0ms8612×body80valid

Profiling

Loading profile data...