Details

Time bar (total: 8.1s)

sample30.0ms

Algorithm
intervals
Results
15.0ms93×body1280valid
4.0ms129×body80valid
2.0ms18×body640valid
1.0ms10×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: 16.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series445.0ms

Counts
2 → 6
Calls
2 calls:
98.0ms
(/ 1.0 (hypot 1.0 x))
346.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0422844
11629601
25001599

prune165.0ms

Filtered
66 candidates to 50 candidates (75.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New60666
Fresh000
Picked101
Done000
Total61667

Merged error: 16.3b

Counts
67 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

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

series639.0ms

Counts
4 → 12
Calls
4 calls:
300.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
97.0ms
(/ 1.0 (hypot 1.0 x))
100.0ms
(/ 1.0 (hypot 1.0 x))
142.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0430681
11662625
25001623

prune381.0ms

Filtered
97 candidates to 85 candidates (87.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New94397
Fresh415
Picked101
Done000
Total994103

Merged error: 0.1b

Counts
103 → 4

localize27.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))
1.6b
(fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0))
4.5b
(log (exp (/ 1.0 (hypot 1.0 x))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
14×log-pow
13×exp-prod
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
log-prod div-inv
cbrt-undiv frac-2neg div-exp clear-num
rem-log-exp fma-udef
Counts
4 → 95
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
1.0ms
(fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0))
4.0ms
(log (exp (/ 1.0 (hypot 1.0 x))))

series470.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ 1.0 (hypot 1.0 x))
97.0ms
(/ 1.0 (hypot 1.0 x))
146.0ms
(fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0))
123.0ms
(log (exp (/ 1.0 (hypot 1.0 x))))

simplify175.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (167.0ms)

IterNodesCost
0290639
1922581
24602574
35001567

prune394.0ms

Filtered
107 candidates to 93 candidates (86.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh033
Picked011
Done000
Total1074111

Merged error: 0.1b

Counts
111 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
fma-udef
Counts
4 → 58
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
3.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
3.0ms
(cbrt (+ 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))

series3.8s

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

simplify53.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04191369
116471263
250021251

prune372.0ms

Filtered
70 candidates to 64 candidates (91.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh022
Picked101
Done011
Total69574

Merged error: 0.1b

Counts
74 → 5

regimes212.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04637
14637

end0.0ms

sample804.0ms

Algorithm
intervals
Results
465.0ms2908×body1280valid
117.0ms3983×body80valid
77.0ms614×body640valid
27.0ms313×body320valid
10.0ms182×body160valid