Details

Time bar (total: 7.9s)

sample32.0ms

Algorithm
intervals
Results
17.0ms102×body1280valid
4.0ms125×body80valid
2.0ms17×body640valid
1.0msbody320valid
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.5b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

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

series837.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
262.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
101.0ms
(/ 1.0 (hypot 1.0 x))
366.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify58.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05331129
12036878
25001876

prune238.0ms

Filtered
104 candidates to 84 candidates (80.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1004104
Fresh000
Picked101
Done000
Total1014105

Merged error: 15.8b

Counts
105 → 4

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

rewrite17.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 (hypot 1.0 x))
7.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(+ 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))

series679.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ 1.0 (hypot 1.0 x))
107.0ms
(/ 1.0 (hypot 1.0 x))
318.0ms
(+ 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))

simplify46.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0430681
11662625
25001623

prune300.0ms

Filtered
97 candidates to 85 candidates (87.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh123
Picked101
Done000
Total974101

Merged error: 0.3b

Counts
101 → 4

localize21.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.5b
(expm1 (log1p (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
1.0b
(log1p (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.4b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt expm1-log1p-u add-cube-cbrt
pow1 add-exp-log add-cbrt-cube log1p-expm1-u
fma-def
+-commutative log1p-udef expm1-log1p flip3-+ log1p-expm1 sum-log flip-+ fma-udef distribute-lft-out expm1-udef
Counts
4 → 49
Calls
4 calls:
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.0ms
(expm1 (log1p (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
1.0ms
(log1p (+ 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.5s

Counts
4 → 12
Calls
4 calls:
317.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.1s
(expm1 (log1p (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
922.0ms
(log1p (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
157.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0583861
12521783
25002781

prune256.0ms

Filtered
61 candidates to 56 candidates (91.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New61061
Fresh033
Picked011
Done000
Total61465

Merged error: 0.3b

Counts
65 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(log1p (expm1 (/ 1.0 (hypot 1.0 x))))
0.5b
(expm1 (/ 1.0 (hypot 1.0 x)))
1.9b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (log1p (expm1 (/ 1.0 (hypot 1.0 x))))))))

rewrite11.0ms

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

series1.4s

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ 1.0 (hypot 1.0 x))
555.0ms
(log1p (expm1 (/ 1.0 (hypot 1.0 x))))
176.0ms
(expm1 (/ 1.0 (hypot 1.0 x)))
543.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (log1p (expm1 (/ 1.0 (hypot 1.0 x))))))))

simplify56.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05121181
11948852
25002848

prune240.0ms

Filtered
94 candidates to 75 candidates (79.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh022
Picked101
Done011
Total94498

Merged error: 0.3b

Counts
98 → 4

regimes261.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04437
14437

end0.0ms

sample880.0ms

Algorithm
intervals
Results
510.0ms2909×body1280valid
128.0ms4032×body80valid
84.0ms611×body640valid
32.0ms285×body320valid
10.0ms163×body160valid