Details

Time bar (total: 23.7s)

sample279.0ms

Algorithm
intervals
Results
136.0ms198×body10240exit
28.0ms369×body80nan
16.0ms241×body80valid
3.0ms17×body160valid

simplify3.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01012
11912
22812
34112
47612
518112
648912
7169512
done500012

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.3b
(- (exp (* 2.0 x)) 1.0)
4.5b
(- (exp x) 1.0)

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
51×times-frac
41×add-cube-cbrt
31×sqrt-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 155
Calls
4 calls:
30.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
65.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
29.0ms
(- (exp (* 2.0 x)) 1.0)
14.0ms
(- (exp x) 1.0)

series323.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
69.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
47.0ms
(- (exp (* 2.0 x)) 1.0)
39.0ms
(- (exp x) 1.0)

simplify2.5s

Counts
167 → 167
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02322954
14822688
210712471
335542362
done50002356

prune565.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (* 2.0 x)))
0.0b
(/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0))
4.5b
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))
4.5b
(- (exp x) 1.0)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
32×*-un-lft-identity
22×add-cube-cbrt
15×times-frac
prod-diff
add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/r* distribute-lft-out-- difference-of-squares
expm1-log1p-u log1p-expm1-u
sqrt-pow1 fma-neg sqrt-prod associate-/l*
flip3-- associate-/r/ flip--
cbrt-undiv sub-neg rem-sqrt-square exp-prod exp-to-pow frac-2neg pow1/2 diff-log div-exp clear-num fma-udef div-inv
Counts
4 → 94
Calls
4 calls:
4.0ms
(sqrt (exp (* 2.0 x)))
24.0ms
(/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0))
0.0ms
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))
25.0ms
(- (exp x) 1.0)

series376.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(sqrt (exp (* 2.0 x)))
169.0ms
(/ (fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0)) (- (exp x) 1.0))
150.0ms
(fma (sqrt (exp (* 2.0 x))) (sqrt (exp (* 2.0 x))) (- 1.0))
16.0ms
(- (exp x) 1.0)

simplify1.9s

Counts
106 → 106
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01571895
13051270
26721154
321751108
done50001092

prune355.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

23.2b
(sqrt (fma x (fma 0.5 x 1.0) 2.0))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
1 → 15
Calls
1 calls:
2.0ms
(sqrt (fma x (fma 0.5 x 1.0) 2.0))

series107.0ms

Counts
1 → 3
Calls
1 calls:
107.0ms
(sqrt (fma x (fma 0.5 x 1.0) 2.0))

simplify2.4s

Counts
18 → 18
Iterations

Useful iterations: done (2.4s)

IterNodesCost
053257
1124230
2337213
3993205
43021200
done5000199

prune87.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0)))
0.5b
(* (sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0))) (sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0))))
23.2b
(sqrt (fma x (fma 0.5 x 1.0) 2.0))
23.2b
(sqrt (fma x (fma 0.5 x 1.0) 2.0))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
54×add-sqr-sqrt
38×sqrt-pow1
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u rem-sqrt-square log1p-expm1-u add-log-exp
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 128
Calls
4 calls:
5.0ms
(sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0)))
41.0ms
(* (sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0))) (sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0))))
3.0ms
(sqrt (fma x (fma 0.5 x 1.0) 2.0))
3.0ms
(sqrt (fma x (fma 0.5 x 1.0) 2.0))

series606.0ms

Counts
4 → 12
Calls
4 calls:
225.0ms
(sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0)))
103.0ms
(* (sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0))) (sqrt (sqrt (fma x (fma 0.5 x 1.0) 2.0))))
134.0ms
(sqrt (fma x (fma 0.5 x 1.0) 2.0))
143.0ms
(sqrt (fma x (fma 0.5 x 1.0) 2.0))

simplify2.4s

Counts
140 → 140
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01682917
13611888
210161751
331681646
done50001589

prune412.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes28.0ms

Accuracy

80% (0.6b remaining)

Error of 0.8b against oracle of 0.2b and baseline of 3.3b

bsearch39.0ms

Steps
ItersRangePoint
8
-9.640722949014248e-05
-2.3145164395556077e-08
-3.356135868947112e-05

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01931
12031
done2031

end0.0ms

sample7.7s

Algorithm
intervals
Results
4.7s6799×body10240exit
1.5s12844×body80nan
748.0ms7436×body80valid
96.0ms687×body160valid