Details

Time bar (total: 6.2s)

sample31.0ms

Algorithm
intervals
Results
14.0ms89×body1280valid
4.0ms135×body80valid
2.0ms18×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: 14.4b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.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:
15.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
10.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
5.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series768.0ms

Counts
4 → 12
Calls
4 calls:
247.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
96.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
93.0ms
(/ 1.0 (hypot 1.0 x))
332.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05331129
12036878
25001876

prune276.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 13.7b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
10.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
0.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series427.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
95.0ms
(/ 1.0 (hypot 1.0 x))
95.0ms
(/ 1.0 (hypot 1.0 x))
137.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0319561
11141522
25001520

prune343.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

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

rewrite17.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 log-prod log-pow log1p-expm1-u add-log-exp
exp-prod
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
rem-log-exp exp-sum
Counts
4 → 86
Calls
4 calls:
7.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ 1.0 (hypot 1.0 x))
0.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
3.0ms
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))

series480.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ 1.0 (hypot 1.0 x))
97.0ms
(/ 1.0 (hypot 1.0 x))
146.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
139.0ms
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))

simplify160.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (151.0ms)

IterNodesCost
0279665
1931600
24763594
35001592

prune388.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(log (- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.1b
(exp (log (- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
2.2b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite30.0ms

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

series1.5s

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ 1.0 (hypot 1.0 x))
730.0ms
(log (- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
347.0ms
(exp (log (- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
350.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify69.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06411561
126691266
250021244

prune310.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

regimes334.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04437
14437

end0.0ms

sample847.0ms

Algorithm
intervals
Results
472.0ms2841×body1280valid
124.0ms4139×body80valid
75.0ms587×body640valid
25.0ms289×body320valid
8.0ms144×body160valid