Details

Time bar (total: 4.3s)

sample27.0ms

Algorithm
intervals
Results
14.0ms415×body80valid

simplify113.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.2b

Counts
2 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (fma x x (- (* y y) (* z z))) 2.0)
4.0b
(- (* y y) (* z z))
27.1b
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
322×add-sqr-sqrt
225×prod-diff
222×*-un-lft-identity
210×add-cube-cbrt
105×swap-sqr
97×associate-*l*
93×associate-*r*
84×times-frac
41×*-commutative unswap-sqr
25×difference-of-squares
19×associate-/l*
15×fma-neg
10×add-exp-log add-cbrt-cube
associate-/r* associate-/l/
div-inv
distribute-lft-out-- add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u
sub-neg flip3-- diff-log flip--
Counts
3 → 393
Calls
3 calls:
3.0ms
(/ (fma x x (- (* y y) (* z z))) 2.0)
27.0ms
(- (* y y) (* z z))
8.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

series220.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(/ (fma x x (- (* y y) (* z z))) 2.0)
36.0ms
(- (* y y) (* z z))
109.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

simplify195.0ms

Algorithm
egg-herbie
Counts
402 → 402
Iterations

Useful iterations: 2 (135.0ms)

IterNodesCost
09784625
132573483
250012820

prune376.0ms

Filtered
402 candidates to 124 candidates (30.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3957402
Fresh101
Picked101
Done000
Total3977404

Merged error: 14.3b

Counts
404 → 7

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
9.1b
(/ (pow z 2) y)
11.4b
(/ (pow x 2) y)

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
195×*-un-lft-identity
148×times-frac
144×add-sqr-sqrt
132×add-cube-cbrt
112×prod-diff
67×unpow-prod-down
32×associate-/l*
30×distribute-lft-out
28×frac-sub
23×unpow2 sqr-pow
14×flip3-+ flip-+
13×add-exp-log
12×associate-/r*
add-log-exp
add-cbrt-cube
div-exp div-inv
difference-of-squares
frac-2neg fma-neg clear-num
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-to-exp diff-log pow-exp associate--l+ distribute-lft-out--
+-commutative sub-neg flip3-- sum-log flip--
Counts
3 → 270
Calls
3 calls:
28.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
6.0ms
(/ (pow z 2) y)
6.0ms
(/ (pow x 2) y)

series99.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
22.0ms
(/ (pow z 2) y)
30.0ms
(/ (pow x 2) y)

simplify220.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 2 (166.0ms)

IterNodesCost
012205108
145753715
250013705

prune442.0ms

Filtered
279 candidates to 126 candidates (45.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2727279
Fresh516
Picked101
Done000
Total2788286

Merged error: 1.5b

Counts
286 → 8

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
222×*-un-lft-identity
199×times-frac
171×add-sqr-sqrt
159×add-cube-cbrt
112×prod-diff
55×unpow-prod-down
30×distribute-lft-out associate-/l*
28×frac-sub
25×associate-/r*
19×unpow2 sqr-pow
14×flip3-+ flip-+
13×add-exp-log
10×add-cbrt-cube div-inv
associate-/r/
add-log-exp
div-exp
frac-2neg clear-num difference-of-squares
cbrt-undiv fma-neg
pow1 expm1-log1p-u log1p-expm1-u
diff-log associate--l+ distribute-lft-out--
+-commutative pow-to-exp sub-neg flip3-- pow-exp sum-log flip--
Counts
3 → 299
Calls
3 calls:
35.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
8.0ms
(/ x (/ y x))
6.0ms
(/ (pow z 2) y)

series99.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 1 (57.0ms)

IterNodesCost
014135336
150014027

prune496.0ms

Filtered
308 candidates to 152 candidates (49.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3035308
Fresh527
Picked101
Done000
Total3097316

Merged error: 0b

Counts
316 → 7

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
182×*-un-lft-identity
155×add-sqr-sqrt
126×times-frac
121×add-cube-cbrt
92×prod-diff
65×associate-*r*
27×associate-*r/
26×distribute-lft-out
25×associate-/r*
22×frac-sub
18×associate-/l*
17×associate-*l*
13×add-exp-log add-cbrt-cube
12×unswap-sqr
11×flip3-+ flip-+
10×div-inv
associate-/r/
clear-num add-log-exp
un-div-inv
pow1 frac-2neg *-commutative
cbrt-undiv fma-neg div-exp distribute-lft-out--
expm1-log1p-u log1p-expm1-u difference-of-squares
diff-log prod-exp associate--l+ cbrt-unprod
+-commutative sub-neg flip3-- pow-prod-down sum-log flip--
Counts
3 → 266
Calls
3 calls:
39.0ms
(- (+ y (/ x (/ y x))) (* (fabs z) (/ (fabs z) y)))
7.0ms
(/ x (/ y x))
9.0ms
(* (fabs z) (/ (fabs z) y))

series103.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(- (+ y (/ x (/ y x))) (* (fabs z) (/ (fabs z) y)))
22.0ms
(/ x (/ y x))
24.0ms
(* (fabs z) (/ (fabs z) y))

simplify102.0ms

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 1 (55.0ms)

IterNodesCost
012165121
150023701

prune451.0ms

Filtered
275 candidates to 143 candidates (52.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2714275
Fresh426
Picked011
Done000
Total2757282

Merged error: 0b

Counts
282 → 7

regimes103.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0159
1159

end0.0ms

sample780.0ms

Algorithm
intervals
Results
487.0ms13869×body80valid