Details

Time bar (total: 23.5s)

sample64.0ms

Algorithm
intervals
Results
32.0ms92×body1280valid
8.0ms133×body80valid
5.0ms20×body640valid
2.0msbody320valid
0.0msbody160valid

simplify60.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11912
22612
33212
43412
54012
64212
done4212

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.1b

localize12.0ms

Local error

Found 1 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×prod-diff
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
fma-neg sqrt-prod add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
1 → 31
Calls
1 calls:
22.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series522.0ms

Counts
1 → 3
Calls
1 calls:
522.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify2.0s

Counts
34 → 34
Iterations

Useful iterations: 3 (915.0ms)

IterNodesCost
01221329
1298968
2899773
34118657
done5000657

prune96.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 13.5b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
associate-/r*
pow1 expm1-log1p-u fma-def log1p-expm1-u associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num sum-log div-inv
Counts
3 → 71
Calls
3 calls:
27.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)))))))
6.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
9.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

series2.2s

Counts
3 → 9
Calls
3 calls:
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)))))))
468.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
158.0ms
(- (* 1.0 1.0) (* (+ 1.0 (/ 1.0 (hypot 1.0 x))) 0.5))

simplify1.9s

Counts
80 → 80
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02723051
18542885
235812645
done50002637

prune451.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite192.0ms

Algorithm
rewrite-expression-head
Rules
118×add-sqr-sqrt
99×unpow-prod-down
80×*-un-lft-identity
58×add-cube-cbrt
56×prod-diff
47×sqr-pow
45×difference-of-squares
42×times-frac
14×associate-/l*
10×distribute-lft-out--
pow1 sqrt-prod add-log-exp
add-exp-log fma-neg
add-cbrt-cube
expm1-log1p-u pow-pow log1p-expm1-u
pow-unpow fma-def associate-/r*
flip3-- sqrt-pow1 flip-- associate-/l/
cbrt-undiv +-commutative pow-to-exp sub-neg frac-2neg flip3-+ pow1/2 diff-log div-sub div-exp pow-prod-down pow-exp clear-num sum-log sqrt-pow2 flip-+ div-inv distribute-lft-out
Counts
4 → 205
Calls
4 calls:
10.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
99.0ms
(/ (- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4)) (fma 1.0 1.0 (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
24.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4)
40.0ms
(- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))

series3.2s

Counts
4 → 12
Calls
4 calls:
433.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.5s
(/ (- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4)) (fma 1.0 1.0 (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
708.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4)
555.0ms
(- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))

simplify3.1s

Counts
217 → 217
Iterations

Useful iterations: done (3.0s)

IterNodesCost
051811330
113469278
245477580
done50007577

prune1.1s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (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))))) 4)
1.0b
(log (exp (- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))))
1.0b
(- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))

rewrite196.0ms

Algorithm
rewrite-expression-head
Rules
127×unpow-prod-down
112×prod-diff
95×add-sqr-sqrt
81×*-un-lft-identity
71×add-cube-cbrt
61×log-prod
58×exp-sum
44×sqr-pow
18×difference-of-squares
15×sqrt-prod log-pow
14×exp-prod
pow1
add-log-exp
fma-neg
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u distribute-lft-out--
pow-unpow fma-def
sub-neg sqrt-pow1
+-commutative pow-to-exp log-div flip3-- flip3-+ pow1/2 exp-diff diff-log rem-log-exp pow-prod-down pow-exp sum-log sqrt-pow2 flip-- flip-+ distribute-lft-out
Counts
4 → 216
Calls
4 calls:
9.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
17.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4)
128.0ms
(log (exp (- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))))
25.0ms
(- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))

series2.4s

Counts
4 → 12
Calls
4 calls:
516.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
772.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4)
562.0ms
(log (exp (- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))))
589.0ms
(- (pow 1.0 4) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 4))

simplify2.4s

Counts
228 → 228
Iterations

Useful iterations: done (2.4s)

IterNodesCost
047313007
19269144
224676670
done50004625

prune837.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

regimes288.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch276.0ms

Steps
ItersRangePoint
9
5.155942382976535e-09
0.21963308938311268
0.0028097389045321224
11
-2445851338.3862987
-4.2674702477225e-16
-0.002686087558037088

simplify12.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
049144
151144
done51144

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.2s2838×body1280valid
278.0ms4087×body80valid
155.0ms607×body640valid
152.0ms327×body320valid
16.0ms141×body160valid