Details

Time bar (total: 2.8s)

sample39.0ms

Algorithm
intervals
Results
20.0ms489×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

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: 26.8b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.4b
(- (+ (* x x) (* y y)) (* z z))
24.9b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite18.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))
8.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series37.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
10.0ms
(- (+ (* x x) (* y y)) (* z z))
22.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

prune85.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.6b

Counts
62 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
0.0b
(+ y (/ (pow x 2) y))
9.3b
(/ (pow x 2) y)
10.8b
(/ (pow z 2) y)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
50×add-sqr-sqrt
45×*-un-lft-identity
38×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
14×add-exp-log
11×add-log-exp
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
difference-of-squares
pow1
cbrt-undiv pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log frac-sub flip-+ div-inv distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 133
Calls
4 calls:
18.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
9.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series24.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0419838
11459771
25002759

prune414.0ms

Filtered
145 candidates to 92 candidates (36.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1414145
Fresh123
Picked101
Done000
Total1436149

Merged error: 0.8b

Counts
149 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
72×add-sqr-sqrt
70×*-un-lft-identity
63×add-cube-cbrt
16×associate-/r*
14×add-exp-log
12×unpow-prod-down
11×add-cbrt-cube associate-/l* add-log-exp
div-exp div-inv
pow1 cbrt-undiv unpow2 sqr-pow
difference-of-squares
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative pow-to-exp sub-neg flip3-- pow-exp associate--l+ associate-/r/ flip--
Counts
4 → 152
Calls
4 calls:
9.0ms
(+ y (/ (pow x 2) y))
21.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
5.0ms
(/ z (/ y z))
5.0ms
(/ (pow x 2) y)

series24.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06021025
12749949
25001943

prune197.0ms

Filtered
164 candidates to 113 candidates (31.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1622164
Fresh235
Picked011
Done000
Total1646170

Merged error: 0.0b

Counts
170 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
68×add-sqr-sqrt
56×*-un-lft-identity
54×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
11×add-log-exp
pow1 div-inv
cbrt-undiv div-exp
associate-*l* associate-/l* difference-of-squares
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative sub-neg flip3-- frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num associate-/r/ *-commutative flip-- distribute-lft-out--
Counts
4 → 133
Calls
4 calls:
14.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
2.0ms
(+ y (* x (/ x y)))
5.0ms
(/ z (/ y z))
6.0ms
(* x (/ x y))

series24.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0615908
13059845
25002840

prune114.0ms

Filtered
145 candidates to 102 candidates (29.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1441145
Fresh044
Picked101
Done011
Total1456151

Merged error: 0.0b

Counts
151 → 6

regimes365.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01816
11816

end0.0ms

sample1.0s

Algorithm
intervals
Results
573.0ms13689×body80valid

Profiling

Loading profile data...