Details

Time bar (total: 22.5s)

sample71.0ms

Algorithm
intervals
Results
36.0ms91×body1280valid
9.0ms125×body80valid
6.0ms19×body640valid
4.0ms18×body320valid
0.0msbody160valid

simplify70.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0912
11912
22612
33212
43412
54012
64212
done4212

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.6b

localize39.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
12×prod-diff
times-frac
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-prod
expm1-log1p-u fma-neg associate-/r* log1p-expm1-u associate-/l*
sqrt-pow1 sqrt-div associate-*r/
cbrt-undiv sub-neg 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
3 → 75
Calls
3 calls:
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
5.0ms
(/ 1.0 (hypot 1.0 x))
14.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series1.0s

Counts
3 → 9
Calls
3 calls:
361.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
146.0ms
(/ 1.0 (hypot 1.0 x))
523.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify1.0s

Counts
84 → 84
Iterations

Useful iterations: done (1.0s)

IterNodesCost
02072042
14921618
214411398
done50001265

prune345.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 17.0b

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

rewrite71.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*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u distribute-lft-out
cbrt-undiv frac-2neg div-exp clear-num div-inv
flip3-- associate-/r/ flip-- associate-/l/
sub-neg flip3-+ fma-neg diff-log div-sub prod-diff flip-+
Counts
4 → 112
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ 1.0 (hypot 1.0 x))
40.0ms
(/ (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
18.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series2.0s

Counts
4 → 12
Calls
4 calls:
182.0ms
(/ 1.0 (hypot 1.0 x))
143.0ms
(/ 1.0 (hypot 1.0 x))
1.5s
(/ (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
145.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify2.1s

Counts
124 → 124
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02973324
18693167
235102896
done50022888

prune591.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 16.9b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
37×times-frac
32×add-sqr-sqrt add-cube-cbrt
24×log-pow
18×exp-prod
10×pow1 associate-/l*
add-exp-log add-cbrt-cube distribute-lft-out
associate-/r*
log-prod add-log-exp
expm1-log1p-u log1p-expm1-u
exp-sum
cbrt-undiv sub-neg log-div frac-2neg exp-diff div-exp prod-diff clear-num associate-/r/ div-inv
flip3-- flip3-+ fma-neg diff-log div-sub rem-log-exp flip-- flip-+
Counts
4 → 122
Calls
4 calls:
10.0ms
(/ 1.0 (hypot 1.0 x))
68.0ms
(/ (log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
15.0ms
(log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
16.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series2.3s

Counts
4 → 12
Calls
4 calls:
144.0ms
(/ 1.0 (hypot 1.0 x))
1.8s
(/ (log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
159.0ms
(log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
159.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify2.7s

Counts
134 → 134
Iterations

Useful iterations: done (2.7s)

IterNodesCost
03474444
18954100
234483803
done50013795

prune776.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

localize53.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (sqrt (log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))) (/ (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (sqrt (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
1.3b
(log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
1.3b
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))
1.3b
(fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
544×times-frac
390×*-un-lft-identity
335×sqrt-prod
258×add-sqr-sqrt add-cube-cbrt
120×log-pow
90×exp-prod
66×distribute-lft-out
34×pow1
28×associate-/r*
12×div-inv
10×associate-/l*
add-exp-log add-cbrt-cube
log-prod add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp exp-sum
sub-neg prod-diff
log-div flip3-- frac-2neg exp-diff fma-neg diff-log rem-log-exp clear-num associate-/r/ flip-- fma-udef
Counts
4 → 382
Calls
4 calls:
70.0ms
(/ (sqrt (log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))) (/ (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (sqrt (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
20.0ms
(log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
16.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))
0.0ms
(fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series3.8s

Counts
4 → 12
Calls
4 calls:
3.2s
(/ (sqrt (log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))) (/ (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (sqrt (fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
198.0ms
(log (exp (- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))))
170.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))
211.0ms
(fma 1.0 1.0 (- (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify1.3s

Counts
394 → 394
Iterations

Useful iterations: done (1.2s)

IterNodesCost
063329738
1152926221
done500024218

prune1.2s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

regimes373.0ms

Accuracy

99.7% (0.0b remaining)

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

bsearch3.0ms

simplify7.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04192
14392
done4392

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.5s2897×body1280valid
386.0ms4006×body80valid
147.0ms609×body640valid
55.0ms332×body320valid
17.0ms156×body160valid