Details

Time bar (total: 34.1s)

sample30.0ms

Algorithm
intervals
Results
16.0ms96×body1280valid
4.0ms128×body80valid
2.0ms14×body640valid
1.0ms11×body320valid
0.0msbody160valid

simplify12.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: 15.7b

Counts
2 → 1

localize36.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series806.0ms

Counts
3 → 9
Calls
3 calls:
88.0ms
(hypot 1.0 x)
163.0ms
(/ 1.0 (hypot 1.0 x))
556.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify103.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06382117
122151548
250021520

prune265.0ms

Filtered
117 candidates to 74 candidates (63.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1125117
Fresh000
Picked101
Done000
Total1135118

Merged error: 15.0b

Counts
118 → 5

localize12.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))
2.7b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite20.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:
11.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))

series998.0ms

Counts
4 → 12
Calls
4 calls:
460.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
151.0ms
(/ 1.0 (hypot 1.0 x))
150.0ms
(/ 1.0 (hypot 1.0 x))
237.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0426681
11597625
25002623

prune382.0ms

Filtered
97 candidates to 85 candidates (87.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh224
Picked101
Done000
Total984102

Merged error: 0.2b

Counts
102 → 4

localize42.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)))))))
2.7b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite35.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:
11.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.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))

series19.5s

Counts
4 → 12
Calls
4 calls:
1.9s
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
15.6s
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.8s
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
235.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify114.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
04141369
115911263
250011251

prune525.0ms

Filtered
70 candidates to 64 candidates (91.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New68270
Fresh033
Picked101
Done000
Total69574

Merged error: 0.2b

Counts
74 → 5

localize25.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
(expm1 (log1p (cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
2.7b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite42.0ms

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

series8.9s

Counts
4 → 12
Calls
4 calls:
1.7s
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.7s
(cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
5.2s
(expm1 (log1p (cbrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
224.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify135.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
06921603
131281476
250011465

prune490.0ms

Filtered
66 candidates to 59 candidates (89.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New64266
Fresh134
Picked101
Done000
Total66571

Merged error: 0.2b

Counts
71 → 5

regimes478.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04956
14956

end0.0ms

sample1.1s

Algorithm
intervals
Results
664.0ms2898×body1280valid
147.0ms3947×body80valid
94.0ms640×body640valid
51.0ms329×body320valid
11.0ms186×body160valid