Details

Time bar (total: 11.3s)

sample75.0ms

Algorithm
intervals
Results
52.0ms187×body1280valid
5.0ms259×body80valid
5.0ms34×body640valid
2.0ms18×body320valid
1.0ms10×body160valid

simplify101.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
1148
2268
3388
4498
5548
6638
7808
8998
91068
101108
111148
done1148

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.5b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
4.2b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u sub-neg exp-diff diff-log sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 65
Calls
2 calls:
5.0ms
(- (exp x) 2.0)
28.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series75.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- (exp x) 2.0)
61.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify1.4s

Counts
71 → 71
Iterations

Useful iterations: 3 (445.0ms)

IterNodesCost
0124914
1283729
2715628
32777595
done5000595

prune168.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-exp-log
associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down
pow1 expm1-log1p-u associate-*l* prod-exp log1p-expm1-u add-log-exp unswap-sqr
fma-udef sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
3 → 47
Calls
3 calls:
0.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
0.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
6.0ms
(* 1/12 (pow x 4))

series234.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
128.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
44.0ms
(* 1/12 (pow x 4))

simplify1.6s

Counts
56 → 56
Iterations

Useful iterations: 3 (247.0ms)

IterNodesCost
080619
1147581
2345529
31348526
done5000526

prune148.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 2.0 (exp (- x)))
4.7b
(- (exp x) (- 2.0 (exp (- x))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
34×add-sqr-sqrt
33×prod-diff
24×add-cube-cbrt
11×associate--r+
add-log-exp
distribute-lft-out--
fma-neg
difference-of-squares
diff-log
sub-neg
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
associate--r-
Counts
2 → 76
Calls
2 calls:
6.0ms
(- 2.0 (exp (- x)))
22.0ms
(- (exp x) (- 2.0 (exp (- x))))

series77.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(- 2.0 (exp (- x)))
63.0ms
(- (exp x) (- 2.0 (exp (- x))))

simplify2.0s

Counts
82 → 82
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01491666
13351248
2875986
33719912
done5000906

prune145.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (- x)))
0.0b
(* (sqrt (exp (- x))) (sqrt (exp (- x))))
3.3b
(- (+ (exp (- x)) (exp x)) 2.0)
4.1b
(fma (- (sqrt (exp (- x)))) (sqrt (exp (- x))) (* (sqrt (exp (- x))) (sqrt (exp (- x)))))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
95×sqrt-pow1
86×exp-prod
69×*-un-lft-identity
57×add-sqr-sqrt
42×add-cube-cbrt
27×distribute-rgt-neg-in
23×distribute-lft-neg-in
21×sqrt-prod
20×pow1
17×pow-prod-down pow-prod-up
15×pow-sqr
14×sqrt-div
12×prod-diff
neg-mul-1 pow1/2 add-log-exp
swap-sqr
neg-sub0 exp-neg exp-diff
add-exp-log associate-*r* associate-*l* add-cbrt-cube
distribute-lft-out
expm1-log1p-u frac-times fma-neg log1p-expm1-u unswap-sqr
diff-log associate-*r/ associate-*l/ distribute-lft-out--
pow2 sub-neg rem-sqrt-square flip3-- pow-plus sqrt-unprod prod-exp associate--l+ sum-log rem-square-sqrt *-commutative flip-- cbrt-unprod fma-udef difference-of-squares
Counts
4 → 169
Calls
4 calls:
4.0ms
(sqrt (exp (- x)))
40.0ms
(* (sqrt (exp (- x))) (sqrt (exp (- x))))
82.0ms
(- (+ (exp (- x)) (exp x)) 2.0)
0.0ms
(fma (- (sqrt (exp (- x)))) (sqrt (exp (- x))) (* (sqrt (exp (- x))) (sqrt (exp (- x)))))

series196.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (exp (- x)))
7.0ms
(* (sqrt (exp (- x))) (sqrt (exp (- x))))
63.0ms
(- (+ (exp (- x)) (exp x)) 2.0)
110.0ms
(fma (- (sqrt (exp (- x)))) (sqrt (exp (- x))) (* (sqrt (exp (- x))) (sqrt (exp (- x)))))

simplify2.2s

Counts
181 → 181
Iterations

Useful iterations: done (2.2s)

IterNodesCost
02212089
14181391
29741199
335901065
done50001053

prune368.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes17.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
done1113

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.6s5613×body1280valid
185.0ms1213×body640valid
174.0ms8100×body80valid
60.0ms693×body320valid
18.0ms325×body160valid