Details

Time bar (total: 10.3s)

sample60.0ms

Algorithm
intervals
Results
22.0ms68×body1280valid
10.0ms178×body80valid
9.0ms47×body640valid
4.0ms29×body320valid
1.0ms10×body160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1106
2136
3156
done156

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.7b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.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:
24.0ms
(/ (- (exp x) 1.0) x)
10.0ms
(- (exp x) 1.0)

series102.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(/ (- (exp x) 1.0) x)
32.0ms
(- (exp x) 1.0)

simplify2.1s

Counts
58 → 58
Iterations

Useful iterations: 4 (1.2s)

IterNodesCost
099596
1221572
2503542
31095537
42836536
done5001536

prune147.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1/2 (* 1/6 x))
0.1b
(* x (+ 1/2 (* 1/6 x)))
0.3b
(* 1/6 x)

rewrite41.0ms

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

series136.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ 1/2 (* 1/6 x))
69.0ms
(* x (+ 1/2 (* 1/6 x)))
22.0ms
(* 1/6 x)

simplify2.1s

Counts
60 → 60
Iterations

Useful iterations: 2 (154.0ms)

IterNodesCost
078480
1204439
2572397
31768397
done5000397

prune125.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (* x x) (+ 1/2 (* 1/6 x))))
0.1b
(* (* x x) (+ 1/2 (* 1/6 x)))
0.3b
(* 1/6 x)
2.4b
(/ (+ x (* (* x x) (+ 1/2 (* 1/6 x)))) x)

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
13×add-exp-log add-cbrt-cube
11×pow1
times-frac
associate-*r* add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in associate-+r+ distribute-lft-in associate-*r/ *-commutative associate-/l/ unswap-sqr
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 83
Calls
4 calls:
7.0ms
(+ x (* (* x x) (+ 1/2 (* 1/6 x))))
49.0ms
(* (* x x) (+ 1/2 (* 1/6 x)))
7.0ms
(* 1/6 x)
29.0ms
(/ (+ x (* (* x x) (+ 1/2 (* 1/6 x)))) x)

series184.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ x (* (* x x) (+ 1/2 (* 1/6 x))))
83.0ms
(* (* x x) (+ 1/2 (* 1/6 x)))
18.0ms
(* 1/6 x)
47.0ms
(/ (+ x (* (* x x) (+ 1/2 (* 1/6 x)))) x)

simplify1.3s

Counts
95 → 95
Iterations

Useful iterations: 2 (419.0ms)

IterNodesCost
01411382
13561280
213371168
done50001168

prune204.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* x x) (+ 1/2 (* 1/6 x)))
0.1b
(/ 1 (/ x (+ x (* (* x x) (+ 1/2 (* 1/6 x))))))
0.3b
(* 1/6 x)
2.6b
(/ x (+ x (* (* x x) (+ 1/2 (* 1/6 x)))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
62×add-sqr-sqrt
59×add-cube-cbrt *-un-lft-identity
24×add-exp-log
18×associate-/r* add-cbrt-cube
12×pow1
11×associate-/r/
div-exp
flip3-+ associate-*r* flip-+ div-inv associate-/l*
cbrt-undiv associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rec-exp frac-2neg 1-exp associate-*r/ clear-num *-commutative unswap-sqr
distribute-rgt-in pow-flip distribute-lft-in inv-pow
Counts
4 → 154
Calls
4 calls:
28.0ms
(* (* x x) (+ 1/2 (* 1/6 x)))
15.0ms
(/ 1 (/ x (+ x (* (* x x) (+ 1/2 (* 1/6 x))))))
7.0ms
(* 1/6 x)
19.0ms
(/ x (+ x (* (* x x) (+ 1/2 (* 1/6 x)))))

series192.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (* x x) (+ 1/2 (* 1/6 x)))
50.0ms
(/ 1 (/ x (+ x (* (* x x) (+ 1/2 (* 1/6 x))))))
14.0ms
(* 1/6 x)
55.0ms
(/ x (+ x (* (* x x) (+ 1/2 (* 1/6 x)))))

simplify1.7s

Counts
166 → 166
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02573560
16053204
217862925
done50002897

prune358.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes27.0ms

Accuracy

98.8% (0.2b remaining)

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

bsearch50.0ms

Steps
ItersRangePoint
8
-0.1517943218839364
-1.6640733670284383e-05
-0.00013926054794957644

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02741
13641
done3641

end0.0ms

sample1.2s

Algorithm
intervals
Results
502.0ms2218×body1280valid
250.0ms1716×body640valid
137.0ms5418×body80valid
74.0ms823×body320valid
23.0ms397×body160valid