Details

Time bar (total: 8.8s)

sample34.0ms

Algorithm
intervals
Results
17.0ms97×body1280valid
4.0ms29×body640valid
4.0ms121×body80valid
1.0msbody160valid
0.0msbody320valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0196
1266
2336
3356
4416
5446
6446

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.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
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
fma-def fma-neg associate-/r* sqrt-prod associate-/l*
cbrt-undiv +-commutative sub-neg hypot-udef flip3-- frac-2neg flip3-+ diff-log div-exp clear-num sum-log flip-- flip-+ div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 87
Calls
4 calls:
1.0ms
(hypot 1.0 x)
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series714.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(hypot 1.0 x)
115.0ms
(/ 1.0 (hypot 1.0 x))
112.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
428.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0539998
12059745
25001742

prune274.0ms

Filtered
99 candidates to 81 candidates (81.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 14.0b

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

rewrite15.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:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
5.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)))))))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series1.7s

Counts
4 → 12
Calls
4 calls:
118.0ms
(/ 1.0 (hypot 1.0 x))
109.0ms
(/ 1.0 (hypot 1.0 x))
1.3s
(/ (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)))))))
165.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify90.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07641571
135391461
250011448

prune460.0ms

Filtered
115 candidates to 97 candidates (84.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ (fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.9b
(fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0))
2.8b
(log (exp (/ 1.0 (hypot 1.0 x))))

rewrite18.0ms

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

series1.7s

Counts
4 → 12
Calls
4 calls:
112.0ms
(/ 1.0 (hypot 1.0 x))
1.3s
(/ (fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
165.0ms
(fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0))
109.0ms
(log (exp (/ 1.0 (hypot 1.0 x))))

simplify101.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08161673
136191535
250011516

prune474.0ms

Filtered
113 candidates to 96 candidates (85.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(/ (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0)))
0.9b
(fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0))
2.8b
(log (exp (/ 1.0 (hypot 1.0 x))))

rewrite20.0ms

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

series1.4s

Counts
4 → 12
Calls
4 calls:
124.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
996.0ms
(/ (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0)))
169.0ms
(fma (- 0.5) (+ 1.0 (log (exp (/ 1.0 (hypot 1.0 x))))) (* 1.0 1.0))
117.0ms
(log (exp (/ 1.0 (hypot 1.0 x))))

simplify85.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08141489
134681365
250011362

prune596.0ms

Filtered
101 candidates to 88 candidates (87.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes148.0ms

Accuracy

100% (0.0b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04738
14738

end0.0ms

sample887.0ms

Algorithm
intervals
Results
513.0ms2849×body1280valid
131.0ms4082×body80valid
90.0ms645×body640valid
27.0ms283×body320valid
9.0ms141×body160valid