Details

Time bar (total: 14.6s)

sample37.0ms

Algorithm
intervals
Results
13.0ms70×body1280valid
6.0ms54×body640valid
5.0ms202×body80valid
2.0ms28×body320valid
1.0ms11×body160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1106
2136
3156
done156

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.0b

localize5.0ms

Local error

Found 1 expressions with local error:

3.1b
(- (exp x) 1.0)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
1 → 28
Calls
1 calls:
14.0ms
(- (exp x) 1.0)

series17.0ms

Counts
1 → 3
Calls
1 calls:
17.0ms
(- (exp x) 1.0)

simplify3.4s

Counts
31 → 31
Iterations

Useful iterations: 4 (1.2s)

IterNodesCost
066376
1142288
2272231
3799204
42411175
done5001175

prune72.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (pow x 2) (fma x 1/6 1/2) x)
0.1b
(fma x 1/6 1/2)
3.8b
(/ (fma (pow x 2) (fma x 1/6 1/2) x) x)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
0.0ms
(fma (pow x 2) (fma x 1/6 1/2) x)
0.0ms
(fma x 1/6 1/2)
7.0ms
(/ (fma (pow x 2) (fma x 1/6 1/2) x) x)

series115.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(fma (pow x 2) (fma x 1/6 1/2) x)
35.0ms
(fma x 1/6 1/2)
50.0ms
(/ (fma (pow x 2) (fma x 1/6 1/2) x) x)

simplify1.4s

Counts
58 → 58
Iterations

Useful iterations: done (1.4s)

IterNodesCost
084809
1147783
2344709
31062706
done5001703

prune208.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ 1.0 (exp x)))
3.0b
(- (exp (+ x x)) (* 1.0 1.0))

rewrite278.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
23×add-sqr-sqrt
20×times-frac
17×add-cube-cbrt
12×difference-of-squares
exp-sum
distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube associate-/l*
fma-neg prod-diff associate-/r*
pow1 expm1-log1p-u fma-def log1p-expm1-u
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 89
Calls
3 calls:
9.0ms
(+ 1.0 (exp x))
185.0ms
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ 1.0 (exp x)))
80.0ms
(- (exp (+ x x)) (* 1.0 1.0))

series96.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(+ 1.0 (exp x))
57.0ms
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ 1.0 (exp x)))
22.0ms
(- (exp (+ x x)) (* 1.0 1.0))

simplify2.7s

Counts
98 → 98
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01471493
13541441
29951308
332341293
done50001287

prune291.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* (exp (+ x x)) (exp (+ x x))) (* (* 1.0 1.0) (* 1.0 1.0))) (* (fma 1.0 1.0 (exp (* 2 x))) (+ 1.0 (exp x))))
0.0b
(* (fma 1.0 1.0 (exp (* 2 x))) (+ 1.0 (exp x)))
0.0b
(* (exp (+ x x)) (exp (+ x x)))
3.0b
(- (* (exp (+ x x)) (exp (+ x x))) (* (* 1.0 1.0) (* 1.0 1.0)))

rewrite920.0ms

Algorithm
rewrite-expression-head
Rules
116×exp-prod
90×*-un-lft-identity
72×add-sqr-sqrt
42×add-cube-cbrt
31×distribute-lft-out
24×distribute-rgt-out pow-prod-down
19×pow-sqr pow-prod-up
14×distribute-lft1-in distribute-rgt1-in
13×pow1 add-cbrt-cube
11×add-exp-log
10×count-2
associate-*r* exp-sum
associate-*l*
add-log-exp
unswap-sqr
expm1-log1p-u times-frac associate-*r/ swap-sqr log1p-expm1-u associate-/l*
prod-exp cbrt-unprod difference-of-squares
cbrt-undiv flip3-- flip3-+ div-exp associate-/r/ *-commutative flip-- flip-+ associate-/l/
pow2 distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-plus fma-neg diff-log div-sub prod-diff clear-num associate-/r* div-inv
Counts
4 → 163
Calls
4 calls:
479.0ms
(/ (- (* (exp (+ x x)) (exp (+ x x))) (* (* 1.0 1.0) (* 1.0 1.0))) (* (fma 1.0 1.0 (exp (* 2 x))) (+ 1.0 (exp x))))
51.0ms
(* (fma 1.0 1.0 (exp (* 2 x))) (+ 1.0 (exp x)))
209.0ms
(* (exp (+ x x)) (exp (+ x x)))
170.0ms
(- (* (exp (+ x x)) (exp (+ x x))) (* (* 1.0 1.0) (* 1.0 1.0)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (- (* (exp (+ x x)) (exp (+ x x))) (* (* 1.0 1.0) (* 1.0 1.0))) (* (fma 1.0 1.0 (exp (* 2 x))) (+ 1.0 (exp x))))
84.0ms
(* (fma 1.0 1.0 (exp (* 2 x))) (+ 1.0 (exp x)))
37.0ms
(* (exp (+ x x)) (exp (+ x x)))
40.0ms
(- (* (exp (+ x x)) (exp (+ x x))) (* (* 1.0 1.0) (* 1.0 1.0)))

simplify1.6s

Counts
175 → 175
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02193011
15742379
222801806
done50011792

prune672.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes23.0ms

Accuracy

98.7% (0.3b remaining)

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

bsearch59.0ms

Steps
ItersRangePoint
9
-108.06719872485291
-1.20447477858732e-06
-0.0001470771277477194

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02647
12947
done2947

end0.0ms

sample2.3s

Algorithm
intervals
Results
747.0ms2262×body1280valid
656.0ms5539×body80valid
465.0ms1670×body640valid
102.0ms781×body320valid
38.0ms447×body160valid