Details

Time bar (total: 17.3s)

sample133.0ms

Algorithm
intervals
Results
87.0ms179×body1280valid
12.0ms274×body80valid
9.0ms36×body640valid
4.0ms22×body320valid
1.0ms12×body160valid

simplify162.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

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite127.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:
12.0ms
(- (exp x) 2.0)
112.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series115.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(- (exp x) 2.0)
99.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify2.5s

Counts
71 → 71
Iterations

Useful iterations: done (2.5s)

IterNodesCost
0124914
1274729
2709628
33051557
done5000554

prune277.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.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))

rewrite14.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:
0.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
12.0ms
(* 1/12 (pow x 4))

series220.0ms

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

simplify2.0s

Counts
43 → 43
Iterations

Useful iterations: 3 (305.0ms)

IterNodesCost
067403
1125371
2284345
3930342
done5000342

prune163.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.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)))

rewrite187.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:
25.0ms
(- (exp x) 2.0)
17.0ms
(- (exp x) 2.0)
75.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
57.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (exp (* x -2)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(- (exp x) 2.0)
22.0ms
(- (exp x) 2.0)
44.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
131.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (exp (* x -2)))

simplify1.3s

Counts
174 → 174
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02043047
14452309
213511937
done50001786

prune669.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize24.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)) (exp (- x)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
22×cbrt-prod
17×*-un-lft-identity
15×add-cube-cbrt
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u unswap-sqr
fma-def
pow-prod-down pow-sqr pow-prod-up
+-commutative pow2 associate-+l+ flip3-+ pow-plus prod-exp sum-log *-commutative cbrt-unprod flip-+ fma-udef distribute-lft-out
Counts
4 → 86
Calls
4 calls:
4.0ms
(cbrt (exp x))
5.0ms
(cbrt (exp x))
32.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
19.0ms
(+ (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- 2.0)) (exp (- x)))

series1.1s

Counts
4 → 12
Calls
4 calls:
126.0ms
(cbrt (exp x))
145.0ms
(cbrt (exp x))
194.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
597.0ms
(+ (fma (* (cbrt (exp x)) (cbrt (exp x))) (cbrt (exp x)) (- 2.0)) (exp (- x)))

simplify2.5s

Counts
98 → 98
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01121060
1235979
2603787
31931682
done5000640

prune365.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes26.0ms

Accuracy

44.6% (0.3b remaining)

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

bsearch62.0ms

Steps
ItersRangePoint
8
-0.7718806003288846
-0.0008047768791668974
-0.03372358286109268

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02540
12740
done2740

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.2s5661×body1280valid
839.0ms7952×body80valid
407.0ms1239×body640valid
152.0ms634×body320valid
33.0ms318×body160valid