Details

Time bar (total: 5.8s)

sample43.0ms

Algorithm
intervals
Results
28.0ms449×body80valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.5b

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series40.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* x x) (* y y))
12.0ms
(- (+ (* x x) (* y y)) (* z z))
22.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0365571
11599486
25002469

prune528.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 13.4b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite184.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:
161.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series24.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow x 2) y)
7.0ms
(/ (pow z 2) y)

simplify111.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
09574506
135653066
250022874

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
119×add-sqr-sqrt
110×times-frac
104×*-un-lft-identity
102×add-cube-cbrt
84×prod-diff
40×unpow-prod-down
14×unpow2 sqr-pow
13×add-exp-log associate-*r*
10×add-cbrt-cube
associate-/l* add-log-exp
pow1 div-inv difference-of-squares
div-exp
expm1-log1p-u fma-neg associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv diff-log prod-exp frac-sub cbrt-unprod unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg flip3-+ associate-*r/ pow-prod-down pow-exp associate--l+ clear-num sum-log *-commutative flip-- flip-+ distribute-lft-out--
Counts
3 → 196
Calls
3 calls:
30.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
10.0ms
(* x (/ x y))
5.0ms
(/ (pow z 2) y)

series20.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
3.0ms
(* x (/ x y))
4.0ms
(/ (pow z 2) y)

simplify120.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
09853474
136142386
250022238

prune1.0s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
26×associate-*r*
21×add-cube-cbrt *-un-lft-identity
20×times-frac
13×add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u fma-neg prod-diff log1p-expm1-u
cbrt-undiv diff-log div-exp pow-prod-down *-commutative frac-sub div-inv
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 92
Calls
3 calls:
16.0ms
(- (+ y (* x (/ x y))) (* (fabs z) (/ (fabs z) y)))
8.0ms
(* x (/ x y))
8.0ms
(* (fabs z) (/ (fabs z) y))

series26.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(- (+ y (* x (/ x y))) (* (fabs z) (/ (fabs z) y)))
3.0ms
(* x (/ x y))
8.0ms
(* (fabs z) (/ (fabs z) y))

simplify69.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0463691
12218593
25002580

prune730.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes271.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
0169
1169

end0.0ms

sample1.2s

Algorithm
intervals
Results
868.0ms13909×body80valid