Details

Time bar (total: 19.7s)

sample78.0ms

Algorithm
intervals
Results
25.0ms74×body1280valid
18.0ms78×body10240exit
12.0ms56×body640valid
4.0ms91×body80valid
3.0ms22×body320valid
1.0ms13×body160valid

simplify18.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
177
287
done87

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.9b

localize5.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
4.4b
(- (exp x) 1.0)

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log fma-neg associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 67
Calls
2 calls:
26.0ms
(/ (exp x) (- (exp x) 1.0))
14.0ms
(- (exp x) 1.0)

series56.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ (exp x) (- (exp x) 1.0))
16.0ms
(- (exp x) 1.0)

simplify3.1s

Counts
73 → 73
Iterations

Useful iterations: done (3.1s)

IterNodesCost
0117900
1239790
2511706
31486679
done5001650

prune219.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (fma x (* x (fma x 1/6 1/2)) x))
0.0b
(fma x (* x (fma x 1/6 1/2)) x)
0.1b
(* x (fma x 1/6 1/2))
0.1b
(fma x 1/6 1/2)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
times-frac
add-cbrt-cube
add-exp-log
pow1
expm1-log1p-u fma-udef log1p-expm1-u add-log-exp
associate-*r* associate-*l* associate-/r* associate-/l*
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 71
Calls
4 calls:
13.0ms
(/ (exp x) (fma x (* x (fma x 1/6 1/2)) x))
1.0ms
(fma x (* x (fma x 1/6 1/2)) x)
14.0ms
(* x (fma x 1/6 1/2))
0.0ms
(fma x 1/6 1/2)

series241.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (exp x) (fma x (* x (fma x 1/6 1/2)) x))
47.0ms
(fma x (* x (fma x 1/6 1/2)) x)
91.0ms
(* x (fma x 1/6 1/2))
43.0ms
(fma x 1/6 1/2)

simplify1.6s

Counts
83 → 83
Iterations

Useful iterations: 2 (205.0ms)

IterNodesCost
01281105
12441076
2612964
31836964
done5002964

prune331.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/12 x (/ 1 x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma 1/12 x (/ 1 x))

series67.0ms

Counts
1 → 3
Calls
1 calls:
67.0ms
(fma 1/12 x (/ 1 x))

simplify4.9s

Counts
13 → 13
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
016108
121105
24493
314593
444693
5179393
done500193

prune66.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (exp x))
0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
4.4b
(- 1 (/ 1.0 (exp x)))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
79×*-un-lft-identity
70×times-frac
59×add-cube-cbrt
39×prod-diff
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
div-inv distribute-lft-out-- add-log-exp
pow1
expm1-log1p-u fma-neg div-exp log1p-expm1-u
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip--
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 145
Calls
3 calls:
10.0ms
(/ 1.0 (exp x))
36.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
33.0ms
(- 1 (/ 1.0 (exp x)))

series162.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ 1.0 (exp x))
82.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
54.0ms
(- 1 (/ 1.0 (exp x)))

simplify5.6s

Counts
154 → 154
Iterations

Useful iterations: done (5.5s)

IterNodesCost
02573113
15402570
212172026
340251756
done50001755

prune245.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes76.0ms

Accuracy

34.9% (0.6b remaining)

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

bsearch1.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02339
13039
done3039

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.2s2555×body10240exit
685.0ms2246×body1280valid
328.0ms1636×body640valid
94.0ms2903×body80valid
88.0ms809×body320valid
29.0ms408×body160valid