Details

Time bar (total: 5.8s)

sample38.0ms

Algorithm
intervals
Results
20.0ms97×body1280valid
5.0ms125×body80valid
4.0ms22×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: 14.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(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))
2.1b
(- 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)
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))))))

series773.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(hypot 1.0 x)
273.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
99.0ms
(/ 1.0 (hypot 1.0 x))
346.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05331074
12023830
25002827

prune232.0ms

Filtered
97 candidates to 79 candidates (81.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New92597
Fresh000
Picked101
Done000
Total93598

Merged error: 13.7b

Counts
98 → 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))
1.6b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite12.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))

series689.0ms

Counts
4 → 12
Calls
4 calls:
322.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
108.0ms
(/ 1.0 (hypot 1.0 x))
103.0ms
(/ 1.0 (hypot 1.0 x))
155.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 (38.0ms)

IterNodesCost
0430681
11662625
25001623

prune308.0ms

Filtered
97 candidates to 85 candidates (87.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh134
Picked101
Done000
Total975102

Merged error: 0.3b

Counts
102 → 5

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

rewrite11.0ms

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

series521.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ 1.0 (hypot 1.0 x))
103.0ms
(/ 1.0 (hypot 1.0 x))
157.0ms
(exp (log (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
154.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify160.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 3 (151.0ms)

IterNodesCost
0273648
1913592
24559571
35001565

prune328.0ms

Filtered
97 candidates to 82 candidates (84.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New96197
Fresh044
Picked101
Done000
Total975102

Merged error: 0.3b

Counts
102 → 5

localize17.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.1b
(pow E (log (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
1.6b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite12.0ms

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

series801.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/ 1.0 (hypot 1.0 x))
103.0ms
(/ 1.0 (hypot 1.0 x))
427.0ms
(pow E (log (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
161.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0359776
11368725
25002716

prune341.0ms

Filtered
104 candidates to 85 candidates (81.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh044
Picked011
Done000
Total1045109

Merged error: 0.3b

Counts
109 → 5

regimes289.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04638
14638

end0.0ms

sample1.0s

Algorithm
intervals
Results
609.0ms2883×body1280valid
152.0ms4029×body80valid
105.0ms637×body640valid
35.0ms284×body320valid
15.0ms167×body160valid