Details

Time bar (total: 3.7s)

sample29.0ms

Algorithm
intervals
Results
15.0ms447×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 29.8b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

3.7b
(- (+ (* x x) (* y y)) (* z z))
27.7b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite18.0ms

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

series137.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(- (+ (* x x) (* y y)) (* z z))
89.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0299503
11242422
25001407

prune144.0ms

Filtered
57 candidates to 44 candidates (77.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 11.1b

Counts
58 → 3

localize11.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))
8.4b
(/ (pow z 2) y)
10.4b
(/ (pow x 2) y)

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

series121.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
36.0ms
(+ y (/ (pow x 2) y))
20.0ms
(/ (pow z 2) y)
20.0ms
(/ (pow x 2) y)

simplify126.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
09664460
132723145
250012950

prune420.0ms

Filtered
272 candidates to 118 candidates (43.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2684272
Fresh112
Picked101
Done000
Total2705275

Merged error: 1.0b

Counts
275 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
0.0b
(+ y (/ x (/ y x)))
0.2b
(/ x (/ y x))
8.4b
(/ (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:
31.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
13.0ms
(+ y (/ x (/ y x)))
6.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series120.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
35.0ms
(+ y (/ x (/ y x)))
20.0ms
(/ x (/ y x))
21.0ms
(/ (pow z 2) y)

simplify158.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
011514784
148743224
250013223

prune483.0ms

Filtered
293 candidates to 144 candidates (49.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2903293
Fresh224
Picked101
Done000
Total2935298

Merged error: 0.0b

Counts
298 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
63×*-un-lft-identity
62×add-sqr-sqrt
57×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
11×add-log-exp
pow1 div-inv
cbrt-undiv expm1-log1p-u fma-neg div-exp prod-diff log1p-expm1-u
fma-def associate-*r/ associate-*l* distribute-lft-out associate-/l*
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative sub-neg flip3-- frac-2neg pow-prod-down associate--l+ clear-num associate-/r/ *-commutative flip--
Counts
4 → 149
Calls
4 calls:
16.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
13.0ms
(+ y (/ x (/ y x)))
7.0ms
(* z (/ z y))
6.0ms
(/ x (/ y x))

series121.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
30.0ms
(+ y (/ x (/ y x)))
26.0ms
(* z (/ z y))
21.0ms
(/ x (/ y x))

simplify103.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0630958
13091864
25002848

prune324.0ms

Filtered
161 candidates to 116 candidates (72.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1592161
Fresh224
Picked011
Done000
Total1615166

Merged error: 0.0b

Counts
166 → 5

regimes74.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
0147
1147

end0.0ms

sample770.0ms

Algorithm
intervals
Results
477.0ms13738×body80valid