Details

Time bar (total: 17.7s)

sample102.0ms

Algorithm
intervals
Results
64.0ms179×body1280valid
9.0ms274×body80valid
7.0ms36×body640valid
3.0ms22×body320valid
1.0ms12×body160valid

simplify195.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1148
2268
3408
4498
5548
6638
7808
8958
91038
101118
done1118

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
5.2b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite150.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:
24.0ms
(- (exp x) 2.0)
121.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series130.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(- (exp x) 2.0)
110.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify2.7s

Counts
71 → 71
Iterations

Useful iterations: done (2.7s)

IterNodesCost
0124914
1274729
2709628
33051557
done5000554

prune310.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 37
Calls
2 calls:
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
33.0ms
(* 1/12 (pow x 4))

series238.0ms

Counts
2 → 6
Calls
2 calls:
193.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
45.0ms
(* 1/12 (pow x 4))

simplify2.1s

Counts
43 → 43
Iterations

Useful iterations: 3 (285.0ms)

IterNodesCost
067403
1125371
2284345
3930342
done5000342

prune189.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp x) 2.0)
0.0b
(- (exp x) 2.0)
0.0b
(* (- (exp x) 2.0) (- (exp x) 2.0))
5.4b
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (exp (* x -2)))

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
62×add-sqr-sqrt
57×prod-diff
47×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in associate--l+
11×pow1
10×add-log-exp
flip3-- flip--
distribute-lft-out--
sub-neg fma-neg swap-sqr difference-of-squares
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u frac-times log1p-expm1-u
diff-log
associate-*r/ associate-*l/
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 162
Calls
4 calls:
13.0ms
(- (exp x) 2.0)
13.0ms
(- (exp x) 2.0)
78.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
56.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (exp (* x -2)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (exp x) 2.0)
31.0ms
(- (exp x) 2.0)
61.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
141.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (exp (* x -2)))

simplify1.3s

Counts
174 → 174
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02043047
14452309
213511937
done50001786

prune627.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (exp x))
0.0b
(cbrt (exp x))
0.0b
(* (cbrt (exp x)) (cbrt (exp x)))
5.4b
(+ (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- (* 2.0 1))) (- (exp (- x)) 0))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
26×*-un-lft-identity
22×cbrt-prod
21×add-cube-cbrt
11×pow1 associate-+r+
prod-diff add-log-exp
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u unswap-sqr
fma-def
pow-prod-down sum-log pow-sqr pow-prod-up distribute-lft-out
+-commutative pow2 associate-+r- sub-neg associate-+l+ flip3-+ pow-plus diff-log prod-exp *-commutative cbrt-unprod flip-+ fma-udef distribute-lft-out--
Counts
4 → 100
Calls
4 calls:
2.0ms
(cbrt (exp x))
2.0ms
(cbrt (exp x))
25.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
63.0ms
(+ (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- (* 2.0 1))) (- (exp (- x)) 0))

series1.2s

Counts
4 → 12
Calls
4 calls:
108.0ms
(cbrt (exp x))
155.0ms
(cbrt (exp x))
118.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
868.0ms
(+ (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- (* 2.0 1))) (- (exp (- x)) 0))

simplify2.2s

Counts
112 → 112
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01501535
13081285
2746977
32610805
done5001798

prune473.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes31.0ms

Accuracy

44.6% (0.3b remaining)

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

bsearch46.0ms

Steps
ItersRangePoint
8
-0.7718806003288846
-0.0008047768791668974
-0.03372358286109268

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02540
12740
done2740

end0.0ms

sample5.0s

Algorithm
intervals
Results
3.6s5661×body1280valid
398.0ms7952×body80valid
324.0ms1239×body640valid
172.0ms634×body320valid
33.0ms318×body160valid