Details

Time bar (total: 19.4s)

sample119.0ms

Algorithm
intervals
Results
68.0ms176×body1280valid
23.0ms238×body80valid
8.0ms36×body640valid
4.0ms25×body320valid
1.0ms12×body160valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1148
2268
3408
4568
5628
6718
7888
82488
97888
1031328
done50008

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize17.0ms

Local error

Found 2 expressions with local error:

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

rewrite118.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:
25.0ms
(- (exp x) 2.0)
88.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series99.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- (exp x) 2.0)
77.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify955.0ms

Counts
71 → 71
Iterations

Useful iterations: done (953.0ms)

IterNodesCost
0124914
1298735
21173637
done5002609

prune260.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.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))

rewrite31.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:
1.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
27.0ms
(* 1/12 (pow x 4))

series304.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
155.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
69.0ms
(* 1/12 (pow x 4))

simplify3.5s

Counts
56 → 56
Iterations

Useful iterations: 3 (819.0ms)

IterNodesCost
080619
1155581
2507529
33535526
done5001526

prune262.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))
2.7b
(exp (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
30.5b
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

rewrite28.0ms

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

series499.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
74.0ms
(* 1/12 (pow x 4))
86.0ms
(exp (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
133.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

simplify4.4s

Counts
80 → 80
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
01281140
12541050
2801933
34970930
done5000930

prune328.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (exp x) 2.0)
0.3b
(exp (log (+ (- (exp x) 2.0) (exp (- x)))))
6.1b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
23×add-sqr-sqrt
19×add-cube-cbrt
18×prod-diff
11×associate-+l+
10×exp-diff add-log-exp
frac-add
log-div
log-prod flip3-- fma-def exp-sum flip--
pow1 neg-sub0 exp-neg exp-prod distribute-lft-out distribute-lft-out--
add-exp-log expm1-log1p-u fma-neg add-cbrt-cube log1p-expm1-u
sub-neg flip3-+ diff-log sum-log flip-+ difference-of-squares
+-commutative associate-+l- log-pow rem-exp-log
Counts
3 → 90
Calls
3 calls:
22.0ms
(- (exp x) 2.0)
50.0ms
(exp (log (+ (- (exp x) 2.0) (exp (- x)))))
89.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series165.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(- (exp x) 2.0)
75.0ms
(exp (log (+ (- (exp x) 2.0) (exp (- x)))))
70.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify916.0ms

Counts
99 → 99
Iterations

Useful iterations: done (910.0ms)

IterNodesCost
01681439
13591154
213361015
done5001986

prune342.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes53.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
done1113

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.8s5720×body1280valid
385.0ms1224×body640valid
359.0ms7931×body80valid
81.0ms599×body320valid
27.0ms309×body160valid