Details

Time bar (total: 3.7s)

sample28.0ms

Algorithm
intervals
Results
14.0ms460×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.7b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
3.2b
(- (+ (* x x) (* y y)) (* z z))
25.7b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

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

series154.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (* y y))
42.0ms
(- (+ (* x x) (* y y)) (* z z))
86.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0365571
11599486
25002469

prune194.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 9.4b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
8.5b
(/ (pow z 2) y)
9.3b
(/ (pow x 2) y)

rewrite174.0ms

Algorithm
rewrite-expression-head
Rules
189×*-un-lft-identity
148×times-frac
138×add-sqr-sqrt
126×add-cube-cbrt
112×prod-diff
61×unpow-prod-down
30×distribute-lft-out
21×unpow2 sqr-pow
16×associate-/l*
13×add-exp-log
add-log-exp
add-cbrt-cube
div-exp associate-/r* div-inv
difference-of-squares
fma-neg
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg diff-log pow-exp clear-num frac-sub distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 243
Calls
3 calls:
152.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series80.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
23.0ms
(/ (pow z 2) y)
19.0ms
(/ (pow x 2) y)

simplify104.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
09574380
132313066
250022871

prune408.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite240.0ms

Algorithm
rewrite-expression-head
Rules
214×*-un-lft-identity
199×times-frac
163×add-sqr-sqrt
151×add-cube-cbrt
112×prod-diff
49×unpow-prod-down
30×distribute-lft-out
17×unpow2 sqr-pow
16×associate-/r*
13×add-exp-log
11×associate-/l*
10×add-cbrt-cube div-inv
add-log-exp
div-exp
difference-of-squares
cbrt-undiv fma-neg
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg diff-log clear-num frac-sub distribute-lft-out--
pow-to-exp sub-neg flip3-- flip3-+ pow-exp associate--l+ sum-log associate-/r/ flip-- flip-+
Counts
3 → 264
Calls
3 calls:
213.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
5.0ms
(/ x (/ y x))
4.0ms
(/ (pow z 2) y)

series80.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
18.0ms
(/ x (/ y x))
19.0ms
(/ (pow z 2) y)

simplify131.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
011424591
145543151
250013146

prune465.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite213.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
60×add-sqr-sqrt
59×*-un-lft-identity
55×add-cube-cbrt
13×add-exp-log associate-*r* associate-/r* add-cbrt-cube
add-log-exp
div-inv
pow1
cbrt-undiv fma-neg div-exp prod-diff
expm1-log1p-u associate-*r/ associate-*l* log1p-expm1-u associate-/l*
diff-log prod-exp frac-sub cbrt-unprod distribute-lft-out unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ pow-prod-down associate--l+ clear-num sum-log associate-/r/ *-commutative flip-- flip-+
Counts
3 → 132
Calls
3 calls:
195.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
7.0ms
(* z (/ z y))
5.0ms
(/ x (/ y x))

series77.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
21.0ms
(* z (/ z y))
18.0ms
(/ x (/ y x))

simplify79.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0621878
13047791
25001775

prune310.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes60.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample705.0ms

Algorithm
intervals
Results
434.0ms13648×body80valid