Details

Time bar (total: 5.4s)

sample30.0ms

Algorithm
intervals
Results
14.0ms437×body80valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.4b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
5.8b
(- (+ (* x x) (* y y)) (* z z))
30.2b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite142.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))
49.0ms
(- (+ (* x x) (* y y)) (* z z))
83.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series169.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0365571
11599486
25002469

prune210.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 13.5b

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

rewrite267.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:
215.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
19.0ms
(+ y (/ (pow x 2) y))
9.0ms
(/ (pow z 2) y)
9.0ms
(/ (pow x 2) y)

series123.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
09664460
132723145
250012950

prune492.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.9b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite566.0ms

Algorithm
rewrite-expression-head
Rules
287×times-frac
260×*-un-lft-identity
207×add-sqr-sqrt
195×add-cube-cbrt
112×prod-diff
91×unpow-prod-down
31×distribute-lft-out sqr-pow
22×add-exp-log
17×unpow2
16×associate-/r*
15×associate-/l*
14×div-inv
12×div-exp
11×add-cbrt-cube add-log-exp
difference-of-squares
pow1 cbrt-undiv expm1-log1p-u fma-neg log1p-expm1-u
pow-to-exp fma-def pow-exp
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ associate-/r/ flip--
Counts
4 → 341
Calls
4 calls:
479.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ (pow z 2) y))
43.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
14.0ms
(/ (pow x (/ 2 2)) (/ y x))
9.0ms
(/ (pow z 2) y)

series126.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ (pow z 2) y))
37.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
21.0ms
(/ (pow x (/ 2 2)) (/ y x))
21.0ms
(/ (pow z 2) y)

simplify80.0ms

Algorithm
egg-herbie
Counts
353 → 353
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
013645425
150014022

prune659.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite544.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
105×*-un-lft-identity
104×add-sqr-sqrt
99×add-cube-cbrt
42×unpow-prod-down
22×add-exp-log
14×add-cbrt-cube sqr-pow
13×associate-*r* associate-/r*
11×add-log-exp
10×div-exp div-inv
associate-/l*
pow1
cbrt-undiv expm1-log1p-u fma-neg prod-diff log1p-expm1-u
fma-def associate-*r/ associate-*l* distribute-lft-out
pow-to-exp flip3-+ diff-log pow-exp 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 → 209
Calls
4 calls:
460.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (* (fabs z) (/ (fabs z) y)))
43.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
14.0ms
(* (fabs z) (/ (fabs z) y))
15.0ms
(/ (pow x (/ 2 2)) (/ y x))

series130.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (* (fabs z) (/ (fabs z) y)))
31.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
22.0ms
(* (fabs z) (/ (fabs z) y))
21.0ms
(/ (pow x (/ 2 2)) (/ y x))

simplify112.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
08522111
142231544
250011464

prune519.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

regimes67.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
01910
11910

end0.0ms

sample850.0ms

Algorithm
intervals
Results
457.0ms13678×body80valid