Details

Time bar (total: 2.9s)

sample28.0ms

Algorithm
intervals
Results
15.0ms470×body80valid

simplify58.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.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.3b
(- (+ (* x x) (* y y)) (* z z))
25.5b
(/ (- (+ (* 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))

series151.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* x x) (* y y))
40.0ms
(- (+ (* x x) (* y y)) (* z z))
79.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0365571
11599486
25002469

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 10.1b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
10.1b
(/ (pow x 2) y)
10.2b
(/ (pow z 2) y)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
40×*-un-lft-identity
38×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
add-log-exp
pow1 expm1-log1p-u fma-def log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 119
Calls
3 calls:
12.0ms
(+ y (/ (pow x 2) y))
4.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series71.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0338574
11172513
25001507

prune335.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.3b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
99×times-frac
65×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
16×associate-/r*
13×add-exp-log
12×unpow-prod-down
11×associate-/l*
10×add-cbrt-cube
div-exp div-inv
add-log-exp
cbrt-undiv unpow2 sqr-pow
pow1 expm1-log1p-u fma-def log1p-expm1-u
frac-2neg clear-num
+-commutative pow-to-exp flip3-+ pow-exp sum-log associate-/r/ flip-+ distribute-lft-out
Counts
3 → 140
Calls
3 calls:
12.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ z (/ y z))
4.0ms
(/ (pow x 2) y)

series69.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ y (/ (pow x 2) y))
18.0ms
(/ z (/ y z))
24.0ms
(/ (pow x 2) y)

simplify69.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0516785
12391711
25002705

prune359.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series62.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ y (* (fabs x) (/ (fabs x) y)))
18.0ms
(/ z (/ y z))
24.0ms
(* (fabs x) (/ (fabs x) y))

simplify76.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0529791
12689711
25002700

prune344.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

sample734.0ms

Algorithm
intervals
Results
460.0ms13708×body80valid