Details

Time bar (total: 2.4s)

sample38.0ms

Algorithm
intervals
Results
18.0ms446×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.6b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.1b
(- (+ (* x x) (* y y)) (* z z))
27.5b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite19.0ms

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

series35.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
10.0ms
(- (+ (* x x) (* y y)) (* z z))
19.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify35.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0337520
11492454
25001446

prune89.0ms

Filtered
46 candidates to 61 candidates (-32.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New57461
Fresh000
Picked101
Done000
Total58462

Merged error: 10.3b

Counts
62 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
9.5b
(/ (pow z 2) y)
9.8b
(/ (pow x 2) y)

rewrite34.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:
21.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series19.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0410766
11420699
25001687

prune205.0ms

Filtered
82 candidates to 130 candidates (-58.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1237130
Fresh213
Picked101
Done000
Total1268134

Merged error: 0.8b

Counts
134 → 8

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
0.2b
(/ z (/ y z))
9.8b
(/ (pow x 2) y)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
71×add-sqr-sqrt
67×*-un-lft-identity
62×add-cube-cbrt
16×associate-/r*
13×add-exp-log
12×unpow-prod-down
11×associate-/l*
10×add-cbrt-cube
add-log-exp
div-exp div-inv
cbrt-undiv unpow2 sqr-pow
pow1 difference-of-squares
frac-2neg diff-log clear-num frac-sub distribute-lft-out--
pow-to-exp sub-neg flip3-- flip3-+ pow-exp associate--l+ sum-log associate-/r/ flip-- flip-+ distribute-lft-out
Counts
3 → 140
Calls
3 calls:
23.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
5.0ms
(/ z (/ y z))
5.0ms
(/ (pow x 2) y)

series22.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
6.0ms
(/ z (/ y z))
4.0ms
(/ (pow x 2) y)

simplify74.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0593953
12710877
25001871

prune191.0ms

Filtered
102 candidates to 149 candidates (-46.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1454149
Fresh437
Picked101
Done000
Total1507157

Merged error: 0b

Counts
157 → 7

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
67×add-sqr-sqrt
55×*-un-lft-identity
53×add-cube-cbrt
13×add-exp-log associate-*r* associate-/r* add-cbrt-cube
add-log-exp
div-inv
pow1
cbrt-undiv div-exp
associate-*l* associate-/l* difference-of-squares
diff-log prod-exp frac-sub cbrt-unprod unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ associate-*r/ pow-prod-down associate--l+ clear-num sum-log associate-/r/ *-commutative flip-- flip-+ distribute-lft-out--
Counts
3 → 122
Calls
3 calls:
15.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
9.0ms
(* x (/ x y))
6.0ms
(/ z (/ y z))

series19.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
3.0ms
(* x (/ x y))
3.0ms
(/ z (/ y z))

simplify78.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0606839
13003776
25001769

prune102.0ms

Filtered
91 candidates to 131 candidates (-44.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1310131
Fresh066
Picked011
Done000
Total1317138

Merged error: 0b

Counts
138 → 7

regimes235.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample1.0s

Algorithm
intervals
Results
553.0ms13609×body80valid

Profiling

Loading profile data...