Details

Time bar (total: 4.3s)

sample31.0ms

Algorithm
intervals
Results
16.0ms434×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.7b

localize9.0ms

Local error

Found 3 expressions with local error:

0.3b
(fma x x (- (* y y) (* z z)))
3.5b
(- (* y y) (* z z))
23.9b
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
45×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×associate-/l*
add-exp-log add-cbrt-cube
div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u
sub-neg flip3-- frac-2neg fma-neg diff-log prod-diff clear-num flip-- fma-udef associate-/l/ difference-of-squares
Counts
3 → 99
Calls
3 calls:
1.0ms
(fma x x (- (* y y) (* z z)))
4.0ms
(- (* y y) (* z z))
7.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

series178.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(fma x x (- (* y y) (* z z)))
35.0ms
(- (* y y) (* z z))
94.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

simplify56.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04661096
118811029
250011026

prune342.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 11.7b

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

rewrite64.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))
29.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
6.0ms
(/ (pow x 2) y)

series117.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
09664460
132723145
250012950

prune493.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.5b

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))
8.6b
(/ (pow z 2) y)

rewrite74.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:
19.0ms
(+ y (/ x (/ y x)))
28.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
6.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series123.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ y (/ x (/ y x)))
51.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
21.0ms
(/ x (/ y x))
22.0ms
(/ (pow z 2) y)

simplify154.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
011514671
145983224
250013219

prune580.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite95.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)))
6.0ms
(/ z (/ y z))
7.0ms
(/ x (/ y x))

series119.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ y (/ x (/ y x)))
41.0ms
(- (+ y (/ x (/ y x))) (/ z (/ y z)))
20.0ms
(/ z (/ y z))
22.0ms
(/ x (/ y x))

simplify101.0ms

Algorithm
egg-herbie
Counts
376 → 376
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
016197906
150025820

prune687.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes64.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0137
1137

end0.0ms

sample806.0ms

Algorithm
intervals
Results
516.0ms13668×body80valid