Details

Time bar (total: 24.5s)

sample32.0ms

Algorithm
intervals
Results
14.0ms85×body1280valid
4.0ms129×body80valid
4.0ms26×body640valid
1.0ms12×body320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1266
2336
3356
4416
5446
6446

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.9b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot 1.0 x)
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.6b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
12×prod-diff
times-frac
pow1
add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u sqrt-prod log1p-expm1-u
fma-neg associate-/r* associate-/l*
sqrt-pow1 sqrt-div associate-*r/
cbrt-undiv sub-neg hypot-udef flip3-- frac-2neg flip3-+ pow1/2 diff-log div-exp pow-prod-down clear-num flip-- flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 85
Calls
4 calls:
1.0ms
(hypot 1.0 x)
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series776.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(hypot 1.0 x)
102.0ms
(/ 1.0 (hypot 1.0 x))
263.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
350.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05331074
12023830
25002827

prune222.0ms

Filtered
97 candidates to 79 candidates (81.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New93497
Fresh000
Picked101
Done000
Total94498

Merged error: 14.2b

Counts
98 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.1b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log associate-/r* add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
associate-/r/
flip3-+ flip-+ fma-udef
Counts
4 → 103
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ 1.0 (hypot 1.0 x))
109.0ms
(/ 1.0 (hypot 1.0 x))
1.2s
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
153.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify90.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07641571
135391461
250011448

prune368.0ms

Filtered
115 candidates to 97 candidates (84.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1114115
Fresh213
Picked101
Done000
Total1145119

Merged error: 0.1b

Counts
119 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.1b
(exp (log (/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
1.1b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
33×times-frac
30×add-sqr-sqrt add-cube-cbrt
18×log-prod exp-sum
add-exp-log add-cbrt-cube
associate-/r* distribute-lft-out
associate-/l*
pow1
expm1-log1p-u exp-prod associate-/r/ log1p-expm1-u add-log-exp
div-inv
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+
log-div exp-diff log-pow fma-udef rem-exp-log
Counts
4 → 107
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
6.0ms
(exp (log (/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series2.6s

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ 1.0 (hypot 1.0 x))
1.2s
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.2s
(exp (log (/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
154.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify99.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
08832503
138832358
250012335

prune448.0ms

Filtered
119 candidates to 97 candidates (81.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1172119
Fresh044
Picked101
Done000
Total1186124

Merged error: 0.1b

Counts
124 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.1b
(pow E (log (/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
1.1b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
33×times-frac
31×add-sqr-sqrt add-cube-cbrt
18×unpow-prod-up log-prod
add-exp-log
add-cbrt-cube
associate-/r* distribute-lft-out
pow1 associate-/l*
expm1-log1p-u pow-unpow associate-/r/ log1p-expm1-u add-log-exp
unpow-prod-down div-inv
cbrt-undiv frac-2neg flip3-+ div-exp pow-exp clear-num flip-+
pow-to-exp log-div e-exp-1 pow-pow log-pow fma-udef pow-sub sqr-pow
Counts
4 → 114
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
7.0ms
(pow E (log (/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series15.7s

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ 1.0 (hypot 1.0 x))
1.2s
(/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
14.2s
(pow E (log (/ (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
159.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify106.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
027864866
150014765

prune767.0ms

Filtered
126 candidates to 101 candidates (80.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1251126
Fresh055
Picked101
Done000
Total1266132

Merged error: 0.1b

Counts
132 → 6

regimes527.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch140.0ms

Steps
ItersRangePoint
8
2.0999504916654036e-06
0.011261476250181132
0.0018659222512888611
9
-3.7752751361666412
-2.6386627092684764e-08
-0.00030511795405864343

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05967
15967

end0.0ms

sample833.0ms

Algorithm
intervals
Results
475.0ms2852×body1280valid
118.0ms4007×body80valid
87.0ms659×body640valid
28.0ms313×body320valid
10.0ms169×body160valid