Details

Time bar (total: 5.0s)

sample28.0ms

Algorithm
intervals
Results
16.0ms428×body80valid

simplify60.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: 27.6b

localize9.0ms

Local error

Found 2 expressions with local error:

3.5b
(- (+ (* x x) (* y y)) (* z z))
25.9b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite58.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:
20.0ms
(- (+ (* x x) (* y y)) (* z z))
36.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series142.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(- (+ (* x x) (* y y)) (* z z))
91.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

prune165.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 10.5b

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

rewrite207.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:
170.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
14.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series125.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
09664460
132723145
250012950

prune495.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.3b

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

rewrite504.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:
430.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ (pow z 2) y))
38.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
8.0ms
(/ (pow x (/ 2 2)) (/ y x))
5.0ms
(/ (pow z 2) y)

series126.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
353 → 353
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
013645425
150014022

prune675.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

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

rewrite490.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:
425.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (* z (/ z y)))
39.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
8.0ms
(* z (/ z y))
8.0ms
(/ (pow x (/ 2 2)) (/ y x))

series140.0ms

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

simplify149.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 2 (122.0ms)

IterNodesCost
08451511
141621304
250011289

prune508.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

regimes103.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02213
12313
22313

end0.0ms

sample731.0ms

Algorithm
intervals
Results
452.0ms13521×body80valid