Details

Time bar (total: 3.6s)

sample30.0ms

Algorithm
intervals
Results
17.0ms419×body80valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.6b

localize9.0ms

Local error

Found 2 expressions with local error:

5.2b
(- (+ (* x x) (* y y)) (* z z))
27.6b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite17.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))
9.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series136.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0299503
11242422
25001407

prune168.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 11.4b

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

rewrite60.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:
23.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
10.0ms
(+ y (/ (pow x 2) y))
9.0ms
(/ (pow x 2) y)
6.0ms
(/ (pow z 2) y)

series119.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
09664460
132723145
250012953

prune503.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 1.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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

series128.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0460747
11930676
25001670

prune374.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.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:
27.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (* z (/ z y)))
24.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
7.0ms
(* z (/ z y))
9.0ms
(/ (pow x (/ 2 2)) (/ y x))

series131.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (* z (/ z y)))
33.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
22.0ms
(* z (/ z y))
23.0ms
(/ (pow x (/ 2 2)) (/ y x))

simplify135.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
08451511
141621304
250011289

prune485.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes100.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188
1208
2208

end0.0ms

sample760.0ms

Algorithm
intervals
Results
472.0ms13528×body80valid