Details

Time bar (total: 3.4s)

sample37.0ms

Algorithm
intervals
Results
17.0ms440×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune4.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: 29.4b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

4.8b
(- (+ (* x x) (* y y)) (* z z))
27.2b
(/ (- (+ (* 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))
9.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series122.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(- (+ (* x x) (* y y)) (* z z))
79.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

prune174.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New41647
Fresh000
Picked101
Done000
Total42648

Merged error: 11.7b

Counts
48 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
9.2b
(/ (pow x 2) y)
11.3b
(/ (pow z 2) y)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
49×add-sqr-sqrt
42×*-un-lft-identity
37×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-log-exp
add-cbrt-cube
div-exp associate-/r*
difference-of-squares
pow1
cbrt-undiv pow-to-exp frac-2neg diff-log pow-exp clear-num frac-sub div-inv distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+ distribute-lft-out
Counts
3 → 121
Calls
3 calls:
20.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series76.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
18.0ms
(/ (pow x 2) y)
18.0ms
(/ (pow z 2) y)

simplify47.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0410766
11420699
25001687

prune417.0ms

Filtered
130 candidates to 82 candidates (63.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1246130
Fresh235
Picked101
Done000
Total1279136

Merged error: 1.3b

Counts
136 → 9

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
0.1b
(* z (/ z y))
9.2b
(/ (pow x 2) y)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
34×times-frac
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity
13×add-exp-log associate-*r*
12×unpow-prod-down
10×add-cbrt-cube
associate-/l* add-log-exp
pow1
div-exp unpow2 sqr-pow
associate-*r/ associate-*l* associate-/r*
cbrt-undiv diff-log prod-exp frac-sub cbrt-unprod div-inv unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg flip3-+ pow-prod-down pow-exp associate--l+ clear-num sum-log *-commutative flip-- flip-+
Counts
3 → 97
Calls
3 calls:
11.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
6.0ms
(* z (/ z y))
5.0ms
(/ (pow x 2) y)

series76.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
18.0ms
(* z (/ z y))
21.0ms
(/ (pow x 2) y)

simplify63.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0418566
11789512
25001509

prune350.0ms

Filtered
106 candidates to 67 candidates (63.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1042106
Fresh268
Picked101
Done000
Total1078115

Merged error: 0.0b

Counts
115 → 8

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (* x (/ x y))) (* z (/ z y)))
0.1b
(* x (/ x y))
0.1b
(* z (/ z y))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
26×associate-*r*
20×times-frac
19×add-cube-cbrt *-un-lft-identity
13×add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv diff-log div-exp pow-prod-down *-commutative frac-sub div-inv
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 80
Calls
3 calls:
5.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
6.0ms
(* x (/ x y))
6.0ms
(* z (/ z y))

series80.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
23.0ms
(* x (/ x y))
18.0ms
(* z (/ z y))

simplify60.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0429458
12102413
25001413

prune237.0ms

Filtered
89 candidates to 59 candidates (66.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh167
Picked011
Done000
Total89897

Merged error: 0b

Counts
97 → 8

regimes408.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.0s

Algorithm
intervals
Results
557.0ms13805×body80valid

Profiling

Loading profile data...