Details

Time bar (total: 41.9s)

sample74.0ms

Algorithm
intervals
Results
51.0ms179×body1280valid
5.0ms231×body80valid
5.0ms32×body640valid
2.0ms23×body320valid
1.0ms18×body160valid

simplify28.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
1148
2268
3408
4528
5698
6978
71608
83298
917798
done50008

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
6.5b
(+ (- (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)
29.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series68.0ms

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

simplify3.4s

Counts
71 → 71
Iterations

Useful iterations: 3 (480.0ms)

IterNodesCost
0124914
1288729
2908619
34859557
done5000557

prune160.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.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 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
5.0ms
(* 1/12 (pow x 4))

series214.0ms

Counts
3 → 9
Calls
3 calls:
120.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
57.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
36.0ms
(* 1/12 (pow x 4))

simplify2.1s

Counts
56 → 56
Iterations

Useful iterations: 3 (286.0ms)

IterNodesCost
080619
1148581
2498529
32541526
done5000526

prune141.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x x (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.6b
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

rewrite9.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 x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
5.0ms
(* 1/12 (pow x 4))
1.0ms
(exp (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
1.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

series253.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
41.0ms
(* 1/12 (pow x 4))
59.0ms
(exp (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
99.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

simplify2.8s

Counts
80 → 80
Iterations

Useful iterations: 3 (411.0ms)

IterNodesCost
01251186
12401095
2750959
33438956
done5000956

prune202.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

3.8b
(exp (* (cbrt (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))) (cbrt (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))))
30.6b
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))
30.6b
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))
30.6b
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
log-prod
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
rem-log-exp log-pow
exp-prod exp-to-pow rem-exp-log
Counts
4 → 54
Calls
4 calls:
1.0ms
(exp (* (cbrt (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))) (cbrt (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))))
1.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))
1.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))
1.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

series587.0ms

Counts
4 → 12
Calls
4 calls:
296.0ms
(exp (* (cbrt (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))) (cbrt (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))))
100.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))
96.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))
95.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

simplify662.0ms

Counts
66 → 66
Iterations

Useful iterations: 2 (198.0ms)

IterNodesCost
02322524
16562375
226212118
done50012118

prune308.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes18.0ms

Accuracy

0% (0.6b 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

sample2.2s

Algorithm
intervals
Results
1.6s5698×body1280valid
184.0ms1243×body640valid
175.0ms8117×body80valid
53.0ms588×body320valid
19.0ms314×body160valid