Details

Time bar (total: 3.2s)

sample28.0ms

Algorithm
intervals
Results
14.0ms436×body80valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 27.7b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (- (* y y) (* z z)))
4.4b
(- (* y y) (* z z))
25.9b
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
45×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×associate-/l*
add-exp-log add-cbrt-cube
div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u
sub-neg flip3-- frac-2neg fma-neg diff-log prod-diff clear-num flip-- fma-udef associate-/l/ difference-of-squares
Counts
3 → 99
Calls
3 calls:
1.0ms
(fma x x (- (* y y) (* z z)))
4.0ms
(- (* y y) (* z z))
7.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

series197.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(fma x x (- (* y y) (* z z)))
42.0ms
(- (* y y) (* z z))
103.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

simplify70.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04661096
118811029
250011026

prune349.0ms

Filtered
108 candidates to 87 candidates (80.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New999108
Fresh000
Picked101
Done000
Total1009109

Merged error: 12.4b

Counts
109 → 9

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
7.6b
(/ (pow x 2) y)
9.4b
(/ (pow z 2) y)

rewrite30.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:
10.0ms
(+ y (/ (pow x 2) y))
10.0ms
(/ (pow x 2) y)
6.0ms
(/ (pow z 2) y)

series73.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ y (/ (pow x 2) y))
20.0ms
(/ (pow x 2) y)
22.0ms
(/ (pow z 2) y)

simplify56.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0338574
11172513
25001507

prune569.0ms

Filtered
128 candidates to 85 candidates (66.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1235128
Fresh538
Picked101
Done000
Total1298137

Merged error: 0.8b

Counts
137 → 8

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt times-frac
31×*-un-lft-identity
29×add-cube-cbrt
13×add-exp-log associate-*r*
12×unpow-prod-down
10×add-cbrt-cube
associate-/l*
pow1 add-log-exp
div-exp unpow2 sqr-pow
expm1-log1p-u fma-def associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative pow-to-exp frac-2neg flip3-+ associate-*r/ pow-prod-down pow-exp clear-num sum-log *-commutative flip-+ distribute-lft-out
Counts
3 → 102
Calls
3 calls:
10.0ms
(+ y (/ (pow x 2) y))
7.0ms
(* z (/ z y))
6.0ms
(/ (pow x 2) y)

series75.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ y (/ (pow x 2) y))
20.0ms
(* z (/ z y))
25.0ms
(/ (pow x 2) y)

simplify61.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0358466
11462414
25001411

prune262.0ms

Filtered
111 candidates to 75 candidates (67.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh257
Picked101
Done000
Total1118119

Merged error: 0.0b

Counts
119 → 8

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

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

series77.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ y (* x (/ x y)))
25.0ms
(* x (/ x y))
21.0ms
(* z (/ z y))

simplify66.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0368355
11778305
25002305

prune193.0ms

Filtered
93 candidates to 65 candidates (69.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New90393
Fresh257
Picked101
Done000
Total938101

Merged error: 0b

Counts
101 → 8

regimes152.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1126

end0.0ms

sample765.0ms

Algorithm
intervals
Results
477.0ms13810×body80valid

Profiling

Loading profile data...