Details

Time bar (total: 4.4s)

sample68.0ms

Algorithm
intervals
Results
35.0ms446×body80valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune10.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: 29.6b

Counts
2 → 1

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

rewrite35.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:
7.0ms
(+ (* x x) (* y y))
11.0ms
(- (+ (* x x) (* y y)) (* z z))
15.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series64.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (* x x) (* y y))
20.0ms
(- (+ (* x x) (* y y)) (* z z))
35.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0337520
11492454
25001446

prune163.0ms

Filtered
61 candidates to 46 candidates (24.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New57461
Fresh000
Picked101
Done000
Total58462

Merged error: 10.3b

Counts
62 → 4

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

rewrite59.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:
32.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
8.0ms
(/ (pow z 2) y)
8.0ms
(/ (pow x 2) y)

series31.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0410766
11420699
25001687

prune356.0ms

Filtered
130 candidates to 82 candidates (36.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1237130
Fresh213
Picked101
Done000
Total1268134

Merged error: 0.8b

Counts
134 → 8

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

rewrite68.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:
40.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
9.0ms
(/ z (/ y z))
8.0ms
(/ (pow x 2) y)

series34.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
0593953
12710877
25001871

prune324.0ms

Filtered
149 candidates to 102 candidates (31.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1454149
Fresh437
Picked101
Done000
Total1507157

Merged error: 0b

Counts
157 → 7

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

rewrite54.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:
27.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
10.0ms
(* x (/ x y))
8.0ms
(/ z (/ y z))

series29.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
0606839
13003776
25001769

prune195.0ms

Filtered
131 candidates to 91 candidates (30.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1310131
Fresh066
Picked011
Done000
Total1317138

Merged error: 0b

Counts
138 → 7

regimes554.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.0s13609×body80valid

Profiling

Loading profile data...