Details

Time bar (total: 4.3s)

sample32.0ms

Algorithm
intervals
Results
18.0ms438×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune9.0ms

Filtered
1 candidates to 1 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 → 2

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series172.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
49.0ms
(- (+ (* x x) (* y y)) (* z z))
93.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0365571
11599486
25002469

prune214.0ms

Filtered
74 candidates to 57 candidates (77.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New68674
Fresh101
Picked101
Done000
Total70676

Merged error: 13.2b

Counts
76 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
7.7b
(/ (pow z 2) y)
13.2b
(/ (pow x 2) y)

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
193×*-un-lft-identity
148×times-frac
140×add-sqr-sqrt
128×add-cube-cbrt
112×prod-diff
61×unpow-prod-down
31×distribute-lft-out
21×unpow2 sqr-pow
16×associate-/l*
14×add-exp-log
11×add-log-exp
add-cbrt-cube
div-exp associate-/r* div-inv
difference-of-squares
pow1 expm1-log1p-u fma-neg log1p-expm1-u
fma-def
cbrt-undiv pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 260
Calls
4 calls:
10.0ms
(+ y (/ (pow x 2) y))
27.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
6.0ms
(/ (pow x 2) y)

series125.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (/ (pow x 2) y))
45.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
27.0ms
(/ (pow z 2) y)
22.0ms
(/ (pow x 2) y)

simplify134.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
09664460
132723145
250012950

prune483.0ms

Filtered
272 candidates to 118 candidates (43.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2648272
Fresh325
Picked101
Done000
Total26810278

Merged error: 2.3b

Counts
278 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
218×*-un-lft-identity
199×times-frac
165×add-sqr-sqrt
153×add-cube-cbrt
112×prod-diff
49×unpow-prod-down
31×distribute-lft-out
17×unpow2 sqr-pow
16×associate-/r*
14×add-exp-log
11×add-cbrt-cube associate-/l* add-log-exp
10×div-inv
div-exp
difference-of-squares
pow1 cbrt-undiv expm1-log1p-u fma-neg log1p-expm1-u
fma-def
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out--
+-commutative pow-to-exp sub-neg flip3-- pow-exp associate--l+ associate-/r/ flip--
Counts
4 → 281
Calls
4 calls:
13.0ms
(+ y (/ x (/ y x)))
31.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
6.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series126.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (/ x (/ y x)))
45.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
21.0ms
(/ x (/ y x))
29.0ms
(/ (pow z 2) y)

simplify174.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (128.0ms)

IterNodesCost
011514671
145983224
250013219

prune542.0ms

Filtered
293 candidates to 145 candidates (49.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2894293
Fresh459
Picked101
Done000
Total2949303

Merged error: 0.0b

Counts
303 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
417×times-frac
371×*-un-lft-identity
283×add-sqr-sqrt
274×add-cube-cbrt
176×prod-diff
47×distribute-lft-out
26×associate-/r* div-inv
14×add-exp-log add-cbrt-cube
11×add-log-exp
cbrt-undiv div-exp associate-/r/ associate-/l*
pow1 expm1-log1p-u fma-neg log1p-expm1-u
fma-def difference-of-squares
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 364
Calls
4 calls:
13.0ms
(+ y (/ x (/ y x)))
39.0ms
(- (+ y (/ x (/ y x))) (/ z (/ y z)))
7.0ms
(/ z (/ y z))
6.0ms
(/ x (/ y x))

series135.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ y (/ x (/ y x)))
46.0ms
(- (+ y (/ x (/ y x))) (/ z (/ y z)))
21.0ms
(/ z (/ y z))
31.0ms
(/ x (/ y x))

simplify108.0ms

Algorithm
egg-herbie
Counts
376 → 376
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
016197906
150025820

prune626.0ms

Filtered
376 candidates to 186 candidates (49.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3724376
Fresh358
Picked101
Done000
Total3769385

Merged error: 0b

Counts
385 → 9

regimes165.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0178
1178

end0.0ms

sample874.0ms

Algorithm
intervals
Results
583.0ms13763×body80valid

Profiling

Loading profile data...