Details

Time bar (total: 3.0s)

sample23.0ms

Algorithm
intervals
Results
10.0ms284×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: 7.2b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.8b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
4.5b
(* 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)))

series27.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0409511
11963443
25001443

prune128.0ms

Filtered
76 candidates to 56 candidates (26.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New67976
Fresh000
Picked101
Done000
Total68977

Merged error: 5.1b

Counts
77 → 9

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite42.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:
26.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))
7.0ms
(/ (/ 1.0 x) (+ 1.0 (* z z)))

series32.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
09221637
145381473
250031467

prune293.0ms

Filtered
175 candidates to 135 candidates (22.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1723175
Fresh268
Picked101
Done000
Total1759184

Merged error: 5.1b

Counts
184 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

3.4b
(/ (/ (/ 1.0 x) (+ 1.0 (* z z))) y)
3.8b
(/ (/ 1.0 x) (+ 1.0 (* z z)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
474×times-frac
230×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
58×associate-/l*
22×div-inv
16×add-exp-log add-cbrt-cube
10×associate-/r/
cbrt-undiv div-exp
associate-/r*
flip3-+ flip-+
pow1 frac-2neg clear-num associate-/l/ add-log-exp
Counts
2 → 272
Calls
2 calls:
17.0ms
(/ (/ (/ 1.0 x) (+ 1.0 (* z z))) y)
7.0ms
(/ (/ 1.0 x) (+ 1.0 (* z z)))

series31.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
278 → 278
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012443345
150013259

prune540.0ms

Filtered
278 candidates to 243 candidates (12.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2771278
Fresh178
Picked101
Done000
Total2798287

Merged error: 5.1b

Counts
287 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
3.8b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
18.5b
(sqrt (+ 1.0 (* z z)))
18.5b
(sqrt (+ 1.0 (* z z)))

rewrite32.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))))
13.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
2.0ms
(sqrt (+ 1.0 (* z z)))

series37.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06101242
128861023
250021005

prune183.0ms

Filtered
129 candidates to 93 candidates (27.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh077
Picked011
Done000
Total1298137

Merged error: 5.1b

Counts
137 → 8

regimes673.0ms

Accuracy

34.8% (0.9b remaining)

Error of 5.7b against oracle of 4.9b and baseline of 6.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02320
12320

end0.0ms

sample598.0ms

Algorithm
intervals
Results
289.0ms8644×body80valid

Profiling

Loading profile data...