Details

Time bar (total: 13.8s)

sample134.0ms

Algorithm
intervals
Results
90.0ms177×body1280valid
11.0ms40×body640valid
10.0ms222×body80valid
4.0ms24×body320valid
1.0ms11×body160valid

simplify154.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.8b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite81.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:
17.0ms
(- (exp x) 2.0)
60.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series137.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- (exp x) 2.0)
115.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify2.5s

Counts
71 → 71
Iterations

Useful iterations: done (2.5s)

IterNodesCost
0124914
1274729
2709628
33051557
done5000554

prune260.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite23.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:
7.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
14.0ms
(* 1/12 (pow x 4))

series243.0ms

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

simplify1.9s

Counts
43 → 43
Iterations

Useful iterations: 3 (308.0ms)

IterNodesCost
067403
1125371
2284345
3930342
done5000342

prune187.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (exp (+ x x)) (* 2.0 2.0))
0.0b
(/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0))
4.4b
(+ (/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (- x)))

rewrite671.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
40×times-frac
36×add-sqr-sqrt
26×add-cube-cbrt fma-def
20×difference-of-squares
12×exp-sum distribute-lft-out
add-log-exp
add-exp-log add-cbrt-cube associate-/l*
fma-neg prod-diff associate-/r* associate-/r/
pow1 expm1-log1p-u flip3-+ flip-+ log1p-expm1-u
flip3-- div-sub frac-add flip-- div-inv associate-/l/
cbrt-undiv +-commutative neg-sub0 exp-neg associate-+l- sub-neg frac-2neg exp-diff diff-log div-exp clear-num sum-log
Counts
3 → 115
Calls
3 calls:
62.0ms
(- (exp (+ x x)) (* 2.0 2.0))
152.0ms
(/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0))
451.0ms
(+ (/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (- x)))

series240.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (exp (+ x x)) (* 2.0 2.0))
50.0ms
(/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0))
152.0ms
(+ (/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (- x)))

simplify2.1s

Counts
124 → 124
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01801866
14441780
214761630
done50001283

prune416.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes26.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
done1113

end0.0ms

sample4.7s

Algorithm
intervals
Results
3.2s5582×body1280valid
458.0ms1264×body640valid
423.0ms8085×body80valid
103.0ms651×body320valid
33.0ms324×body160valid