Details

Time bar (total: 3.7s)

analyze877.0ms

Algorithm
search

sample26.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
4.0ms92×body80invalid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.1b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

3.8b
(- (+ (* x x) (* y y)) (* z z))
28.0b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-sqr-sqrt add-cbrt-cube add-log-exp
add-cube-cbrt *-un-lft-identity times-frac associate-/l*
difference-of-squares
pow1 cbrt-undiv flip3-- diff-log div-exp flip-- associate-/l/
sub-neg frac-2neg div-sub prod-exp associate--l+ clear-num associate-/r* sum-log cbrt-unprod div-inv
Counts
2 → 41
Calls
2 calls:
5.0ms
(- (+ (* x x) (* y y)) (* z z))
8.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series32.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0275450
11168388
25001380

prune72.0ms

Filtered
35 candidates to 47 candidates (-34.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 8.8b

Counts
48 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
7.1b
(/ (pow z 2) y)
7.4b
(/ (pow x 2) y)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
52×times-frac
47×*-un-lft-identity
40×add-cube-cbrt
25×unpow-prod-down
16×add-exp-log associate-/l*
10×associate-*r* add-cbrt-cube
unpow2 sqr-pow
pow1 div-exp associate-/r* add-log-exp
difference-of-squares
associate-*r/
distribute-rgt-in distribute-lft-in associate-*l*
cbrt-undiv pow-to-exp sub-neg frac-2neg flip3-+ pow-exp associate--l+ clear-num frac-sub flip-+ div-inv distribute-lft-out distribute-lft-out--
+-commutative flip3-- pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 145
Calls
4 calls:
9.0ms
(+ y (/ (pow x 2) y))
24.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
4.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series26.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ y (/ (pow x 2) y))
14.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ (pow z 2) y)))
3.0ms
(/ (pow z 2) y)
3.0ms
(/ (pow x 2) y)

simplify60.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0494902
11944815
25003809

prune237.0ms

Filtered
100 candidates to 157 candidates (-57.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1525157
Fresh112
Picked101
Done000
Total1546160

Merged error: 0.3b

Counts
160 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.2b
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
0.3b
(/ z (/ y z))
7.4b
(/ (pow x 2) y)

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
76×add-sqr-sqrt
72×*-un-lft-identity
65×add-cube-cbrt
16×add-exp-log associate-/r*
13×add-cbrt-cube
12×unpow-prod-down
11×associate-/l*
associate-*r*
pow1 div-exp div-inv add-log-exp
cbrt-undiv associate-*r/ unpow2 sqr-pow
distribute-rgt-in distribute-lft-in associate-*l* difference-of-squares
sub-neg frac-2neg flip3-+ associate--l+ clear-num frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative pow-to-exp flip3-- pow-prod-down pow-exp prod-exp sum-log associate-/r/ *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 164
Calls
4 calls:
8.0ms
(+ y (/ (pow x 2) y))
25.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
5.0ms
(/ z (/ y z))
5.0ms
(/ (pow x 2) y)

series27.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ y (/ (pow x 2) y))
15.0ms
(* 0.5 (- (+ y (/ (pow x 2) y)) (/ z (/ y z))))
3.0ms
(/ z (/ y z))
3.0ms
(/ (pow x 2) y)

simplify89.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06651098
131851000
25001996

prune204.0ms

Filtered
116 candidates to 176 candidates (-51.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1742176
Fresh145
Picked101
Done000
Total1766182

Merged error: 0b

Counts
182 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* x (/ x y)))
0.2b
(* x (/ x y))
0.2b
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))
0.3b
(/ z (/ y z))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
72×add-sqr-sqrt
58×*-un-lft-identity
56×add-cube-cbrt
20×associate-*r*
16×add-exp-log add-cbrt-cube
13×associate-/r*
pow1
associate-*l* div-inv add-log-exp
associate-*r/
cbrt-undiv div-exp
distribute-rgt-in distribute-lft-in prod-exp cbrt-unprod associate-/l* difference-of-squares unswap-sqr
sub-neg flip3-+ pow-prod-down associate--l+ *-commutative frac-sub flip-+
+-commutative flip3-- frac-2neg clear-num sum-log associate-/r/ flip-- distribute-lft-out--
Counts
4 → 145
Calls
4 calls:
3.0ms
(+ y (* x (/ x y)))
6.0ms
(* x (/ x y))
17.0ms
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))
5.0ms
(/ z (/ y z))

series29.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ y (* x (/ x y)))
3.0ms
(* x (/ x y))
16.0ms
(* 0.5 (- (+ y (* x (/ x y))) (/ z (/ y z))))
4.0ms
(/ z (/ y z))

simplify91.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0682987
13487902
25001895

prune120.0ms

Filtered
107 candidates to 157 candidates (-46.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1570157
Fresh055
Picked011
Done000
Total1576163

Merged error: 0b

Counts
163 → 6

regimes225.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

analyze620.0ms

Algorithm
search

sample706.0ms

Algorithm
intervals
Results
346.0ms8000×body80valid
121.0ms2910×body80invalid

Profiling

Loading profile data...