Details

Time bar (total: 4.2s)

sample29.0ms

Algorithm
intervals
Results
13.0ms438×body80valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.2b

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series141.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(+ (* x x) (* y y))
39.0ms
(- (+ (* x x) (* y y)) (* z z))
77.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0365571
11599486
25002469

prune179.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 10.3b

localize10.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))
9.1b
(/ (pow z 2) y)
9.7b
(/ (pow x 2) y)

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

series97.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ y (/ (pow x 2) y))
40.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
16.0ms
(/ (pow z 2) y)
17.0ms
(/ (pow x 2) y)

simplify110.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09664460
132723145
250012950

prune426.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.3b

localize13.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.7b
(/ (pow x 2) y)

rewrite256.0ms

Algorithm
rewrite-expression-head
Rules
366×times-frac
346×*-un-lft-identity
258×add-sqr-sqrt
249×add-cube-cbrt
176×prod-diff
47×distribute-lft-out
22×div-inv
16×associate-/r*
14×add-exp-log
12×unpow-prod-down
11×add-cbrt-cube associate-/l* add-log-exp
div-exp
associate-/r/
pow1 cbrt-undiv expm1-log1p-u fma-neg log1p-expm1-u unpow2 sqr-pow
fma-def difference-of-squares
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+ flip--
Counts
4 → 343
Calls
4 calls:
18.0ms
(+ y (/ (pow x 2) y))
198.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
9.0ms
(/ z (/ y z))
8.0ms
(/ (pow x 2) y)

series99.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ y (/ (pow x 2) y))
36.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
22.0ms
(/ z (/ y z))
17.0ms
(/ (pow x 2) y)

simplify92.0ms

Algorithm
egg-herbie
Counts
355 → 355
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
014607695
150015654

prune598.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
286×times-frac
219×add-sqr-sqrt
207×*-un-lft-identity
205×add-cube-cbrt
132×prod-diff
18×div-inv
14×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
11×add-log-exp
pow1
cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u
fma-def fma-neg 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 *-commutative flip-- distribute-lft-out--
Counts
4 → 279
Calls
4 calls:
6.0ms
(+ y (* x (/ x y)))
55.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
8.0ms
(/ z (/ y z))
14.0ms
(* x (/ x y))

series106.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (* x (/ x y)))
36.0ms
(- (+ y (* x (/ x y))) (/ z (/ y z)))
17.0ms
(/ z (/ y z))
23.0ms
(* x (/ x y))

simplify74.0ms

Algorithm
egg-herbie
Counts
291 → 291
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
014736084
150014447

prune516.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes58.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

sample802.0ms

Algorithm
intervals
Results
437.0ms13577×body80valid