Details

Time bar (total: 16.6s)

sample31.0ms

Algorithm
intervals
Results
16.0ms102×body1280valid
4.0ms132×body80valid
1.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1266
2336
3356
4416
5446
6446
done446

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

localize8.0ms

Local error

Found 4 expressions with local error:

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

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

series790.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
253.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
98.0ms
(/ 1.0 (hypot 1.0 x))
340.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify55.0ms

Counts
104 → 104
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05331129
12036878
25001876
done5001876

prune256.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 12.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series1.7s

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ 1.0 (hypot 1.0 x))
309.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.1s
(/ (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)))))))
149.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify95.0ms

Counts
103 → 103
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08671615
139611498
250011488
done50011488

prune376.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
36×log-prod times-frac
30×add-sqr-sqrt add-cube-cbrt
18×exp-sum
10×distribute-lft-out
add-exp-log
pow1 associate-/r/ add-cbrt-cube
expm1-log1p-u exp-prod associate-/r* log1p-expm1-u add-log-exp
flip3-+ flip-+ div-inv associate-/l*
log-div div-exp rem-log-exp log-pow
cbrt-undiv frac-2neg exp-diff clear-num fma-udef rem-exp-log
Counts
4 → 109
Calls
4 calls:
6.0ms
(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))))))))
11.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)))))))
9.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))

series8.6s

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

simplify77.0ms

Counts
121 → 121
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
020084727
150014591
done50014591

prune685.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
0.6b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
1.4b
(- (* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

rewrite205.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*r/
62×sqrt-div
57×pow1
31×flip3-+ flip-+
30×sqrt-pow1
21×pow-prod-down
16×frac-sub
13×add-sqr-sqrt
12×frac-times
11×add-cube-cbrt *-un-lft-identity pow1/2
10×pow-prod-up
associate-*l/
add-exp-log add-cbrt-cube
sqrt-prod pow-sqr add-log-exp
expm1-log1p-u unpow-prod-down pow-pow cube-prod swap-sqr associate-*r* associate-*l* log1p-expm1-u sub-div
pow-unpow
cube-div
pow2 cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- pow-plus fma-neg sqrt-unprod diff-log unpow3 prod-diff pow-exp prod-exp rem-square-sqrt *-commutative sqrt-pow2 flip-- cbrt-unprod fma-udef rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 139
Calls
4 calls:
81.0ms
(* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
13.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
0.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
103.0ms
(- (* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

series1.6s

Counts
4 → 12
Calls
4 calls:
179.0ms
(* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
659.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
154.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
634.0ms
(- (* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

simplify46.0ms

Counts
151 → 151
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010002498
150012117
done50012117

prune642.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

regimes256.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch154.0ms

Steps
ItersRangePoint
10
4.250299402880914e-15
0.02319676823116778
0.0013432917583302852
7
-0.15939393977811658
-0.001391736753177052
-0.0028685451481684785

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06699
16699
done6699

end0.0ms

sample816.0ms

Algorithm
intervals
Results
444.0ms2809×body1280valid
116.0ms4070×body80valid
86.0ms673×body640valid
24.0ms287×body320valid
9.0ms161×body160valid