Details

Time bar (total: 8.4s)

sample30.0ms

Algorithm
intervals
Results
13.0ms76×body1280valid
6.0ms55×body640valid
3.0ms167×body80valid
1.0ms19×body320valid
1.0ms19×body160valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
056
1106
2136
3156
done156

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.2b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
4.9b
(- (exp x) 1.0)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
pow1 flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
11.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series58.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(/ (- (exp x) 1.0) x)
14.0ms
(- (exp x) 1.0)

simplify2.2s

Counts
58 → 58
Iterations

Useful iterations: 4 (1.2s)

IterNodesCost
099596
1221572
2501542
31229537
44072536
done5000536

prune121.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (* x 1/6) 1/2))
0.4b
(* x 1/6)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp unswap-sqr
distribute-rgt-in distribute-lft-in flip3-+ flip-+
Counts
2 → 40
Calls
2 calls:
11.0ms
(* x (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series77.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(* x (+ (* x 1/6) 1/2))
18.0ms
(* x 1/6)

simplify1.2s

Counts
46 → 46
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
070356
1182328
2462298
31382298
done5001298

prune75.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* x (+ (* x 1/6) 1/2)))
0.1b
(* x (+ (* x 1/6) 1/2))
0.4b
(* x 1/6)
5.0b
(log (exp (* x (+ (* x 1/6) 1/2))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
associate-*r* associate-*l*
log-prod
exp-sum
distribute-rgt-in distribute-lft-in log-pow
exp-prod exp-to-pow associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
flip3-+ rem-log-exp flip-+ rem-exp-log
Counts
4 → 68
Calls
4 calls:
3.0ms
(exp (* x (+ (* x 1/6) 1/2)))
10.0ms
(* x (+ (* x 1/6) 1/2))
5.0ms
(* x 1/6)
2.0ms
(log (exp (* x (+ (* x 1/6) 1/2))))

series151.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(exp (* x (+ (* x 1/6) 1/2)))
58.0ms
(* x (+ (* x 1/6) 1/2))
17.0ms
(* x 1/6)
59.0ms
(log (exp (* x (+ (* x 1/6) 1/2))))

simplify1.2s

Counts
80 → 80
Iterations

Useful iterations: 3 (300.0ms)

IterNodesCost
0105722
1230648
2562585
31737583
done5000583

prune149.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) x)
4.1b
(- (/ (exp x) x) (/ 1.0 x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×*-un-lft-identity
19×times-frac
12×add-cube-cbrt
add-cbrt-cube distribute-lft-out-- add-log-exp difference-of-squares
add-exp-log associate-/r* div-inv associate-/l*
pow1
cbrt-undiv sub-neg flip3-- distribute-rgt-out-- frac-2neg diff-log div-exp clear-num frac-sub flip-- sub-div
Counts
2 → 50
Calls
2 calls:
3.0ms
(/ (exp x) x)
19.0ms
(- (/ (exp x) x) (/ 1.0 x))

series77.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(/ (exp x) x)
50.0ms
(- (/ (exp x) x) (/ 1.0 x))

simplify1.9s

Counts
56 → 56
Iterations

Useful iterations: 4 (1.0s)

IterNodesCost
0105581
1215530
2479507
31191505
43924502
done5000502

prune102.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes24.0ms

Accuracy

98.9% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 22.1b

bsearch24.0ms

Steps
ItersRangePoint
7
-0.0009113054925467739
-1.3606912768451591e-05
-0.00019061484402488725

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01823
12423
done2423

end0.0ms

sample864.0ms

Algorithm
intervals
Results
392.0ms2306×body1280valid
168.0ms1617×body640valid
102.0ms5519×body80valid
53.0ms798×body320valid
17.0ms391×body160valid