Details

Time bar (total: 12.1s)

sample30.0ms

Algorithm
intervals
Results
15.0ms95×body1280valid
4.0ms128×body80valid
2.0ms14×body640valid
1.0ms12×body160valid
1.0msbody320valid

simplify23.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0912
11912
22412
33012
43212
53812
64112
done4112

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.6b

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

rewrite16.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:
0.0ms
(hypot 1.0 x)
2.0ms
(/ 1.0 (hypot 1.0 x))
8.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series806.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(hypot 1.0 x)
102.0ms
(/ 1.0 (hypot 1.0 x))
271.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
373.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify601.0ms

Counts
97 → 97
Iterations

Useful iterations: 2 (280.0ms)

IterNodesCost
02252149
15311724
216081489
done50011489

prune263.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 14.9b

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

rewrite17.0ms

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

series597.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ 1.0 (hypot 1.0 x))
108.0ms
(/ 1.0 (hypot 1.0 x))
269.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
116.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify593.0ms

Counts
101 → 101
Iterations

Useful iterations: 2 (255.0ms)

IterNodesCost
01911467
14771369
215561266
done50001266

prune341.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 14.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))
0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
3.1b
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
11×pow1
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
sqrt-div associate-*r/ add-log-exp
add-exp-log sqrt-prod add-cbrt-cube
cube-div expm1-log1p-u pow-pow sqrt-pow1 log1p-expm1-u
pow-unpow flip3-+ flip-+
cube-mult cbrt-div pow1/2 unpow3 pow-prod-down sqr-pow
pow-to-exp sub-neg flip3-- fma-neg pow1/3 diff-log prod-diff pow-exp sqrt-pow2 flip-- rem-cbrt-cube rem-cube-cbrt
Counts
4 → 91
Calls
4 calls:
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
2.0ms
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))
12.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
3.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series1.4s

Counts
4 → 12
Calls
4 calls:
281.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
281.0ms
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))
705.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
118.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify762.0ms

Counts
103 → 103
Iterations

Useful iterations: 2 (316.0ms)

IterNodesCost
02312366
16251930
223681824
done50001824

prune360.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow 1.0 6) (pow (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) 3)) (fma (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) (fma 1.0 1.0 (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (pow 1.0 4)))
0.0b
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))
0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
3.1b
(- (pow 1.0 6) (pow (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) 3))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
85×add-sqr-sqrt
60×*-un-lft-identity
56×prod-diff
52×unpow-prod-down
50×add-cube-cbrt
43×sqr-pow
30×times-frac difference-of-squares
15×cube-prod
14×cbrt-prod
10×associate-/l*
cube-mult unpow3
pow1
add-exp-log fma-neg add-cbrt-cube
add-log-exp
distribute-lft-out--
cube-div expm1-log1p-u pow-pow sqrt-div associate-*r/ sqrt-prod log1p-expm1-u
pow-unpow associate-/r*
cbrt-div flip3-- sqrt-pow1 flip3-+ flip-- flip-+ associate-/l/
cbrt-undiv pow-to-exp sub-neg frac-2neg pow1/2 pow1/3 diff-log div-sub div-exp pow-prod-down pow-exp clear-num sqrt-pow2 rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 204
Calls
4 calls:
31.0ms
(/ (- (pow 1.0 6) (pow (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) 3)) (fma (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) (fma 1.0 1.0 (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (pow 1.0 4)))
2.0ms
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))
8.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
16.0ms
(- (pow 1.0 6) (pow (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) 3))

series3.6s

Counts
4 → 12
Calls
4 calls:
2.2s
(/ (- (pow 1.0 6) (pow (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) 3)) (fma (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) (fma 1.0 1.0 (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (pow 1.0 4)))
280.0ms
(cbrt (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))
714.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
432.0ms
(- (pow 1.0 6) (pow (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5) 3))

simplify487.0ms

Counts
216 → 216
Iterations

Useful iterations: done (475.0ms)

IterNodesCost
057411886
114809169
done50008771

prune912.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

regimes195.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch155.0ms

Steps
ItersRangePoint
9
6.379368274952145e-05
25.411711264148785
0.0017653455068687579
7
-0.0009113054925467739
-1.3606912768451591e-05
-0.0008764990404917051

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
056148
162148
done62148

end0.0ms

sample825.0ms

Algorithm
intervals
Results
480.0ms2872×body1280valid
121.0ms4044×body80valid
80.0ms621×body640valid
26.0ms295×body320valid
10.0ms168×body160valid