Details

Time bar (total: 3.7s)

sample27.0ms

Algorithm
intervals
Results
14.0ms446×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.6b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
5.0b
(- (+ (* x x) (* y y)) (* z z))
27.4b
(/ (- (+ (* 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))
23.0ms
(- (+ (* x x) (* y y)) (* z z))
35.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series159.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0365571
11599486
25002469

prune210.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 11.6b

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

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

series122.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
30.0ms
(+ y (/ (pow x 2) y))
22.0ms
(/ (pow z 2) y)
28.0ms
(/ (pow x 2) y)

simplify111.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09664460
132723145
250012950

prune489.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.9b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.0ms

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

series120.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
224 → 224
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
09943551
136672455
250012446

prune461.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

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

series125.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (+ y (* x (/ x y))) (* (fabs z) (/ (fabs z) y)))
35.0ms
(+ y (* x (/ x y)))
22.0ms
(* (fabs z) (/ (fabs z) y))
21.0ms
(* x (/ x y))

simplify69.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0472768
12271662
25001648

prune336.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

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

end0.0ms

sample733.0ms

Algorithm
intervals
Results
459.0ms13676×body80valid