Details

Time bar (total: 8.6s)

sample30.0ms

Algorithm
intervals
Results
15.0ms92×body1280valid
4.0ms137×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.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:
2.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series446.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0422844
11629601
25001599

prune174.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 12.5b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.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:
6.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)))))))
2.0ms
(/ 1.0 (hypot 1.0 x))
2.0ms
(/ 1.0 (hypot 1.0 x))
0.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series1.6s

Counts
4 → 12
Calls
4 calls:
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)))))))
103.0ms
(/ 1.0 (hypot 1.0 x))
99.0ms
(/ 1.0 (hypot 1.0 x))
153.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07641571
135391461
250011448

prune425.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
18×log-prod exp-sum
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1
expm1-log1p-u exp-prod log1p-expm1-u add-log-exp
div-inv distribute-lft-out
cbrt-undiv frac-2neg div-exp clear-num associate-/r/
log-div flip3-+ exp-diff log-pow flip-+ fma-udef rem-exp-log
Counts
4 → 101
Calls
4 calls:
2.0ms
(/ 1.0 (hypot 1.0 x))
2.0ms
(/ 1.0 (hypot 1.0 x))
5.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)))))))))
0.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series1.6s

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ 1.0 (hypot 1.0 x))
104.0ms
(/ 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)))))))))
155.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify91.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
08391578
136491497
250011453

prune466.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.1b
(exp (log (/ (log (exp (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.8b
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
0.8b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
38×log-prod
37×times-frac
35×exp-sum
31×add-sqr-sqrt add-cube-cbrt
21×log-pow
19×exp-prod
10×pow1
distribute-lft-out
add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
associate-/r/ fma-udef div-inv
cbrt-undiv log-div frac-2neg flip3-+ exp-diff div-exp rem-log-exp clear-num flip-+ rem-exp-log
Counts
4 → 106
Calls
4 calls:
2.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(exp (log (/ (log (exp (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
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
0.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series1.6s

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ 1.0 (hypot 1.0 x))
1.2s
(exp (log (/ (log (exp (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)))))))))
155.0ms
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
159.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
09562092
139301945
250011933

prune467.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes189.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch168.0ms

Steps
ItersRangePoint
10
3.2824798326487284e-15
0.08347146558812443
0.0020644081023471453
9
-5.7596417613087905
-6.7357437175194845e-09
-0.00010893735711112895

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05453
15453

end0.0ms

sample1.0s

Algorithm
intervals
Results
660.0ms2825×body1280valid
117.0ms4065×body80valid
88.0ms637×body640valid
30.0ms331×body320valid
8.0ms142×body160valid