Details

Time bar (total: 17.7s)

sample115.0ms

Algorithm
intervals
Results
79.0ms186×body1280valid
10.0ms285×body80valid
8.0ms40×body640valid
2.0ms18×body320valid
1.0msbody160valid

simplify194.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)
3.2b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite120.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:
27.0ms
(- (exp x) 2.0)
90.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series85.0ms

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

simplify2.4s

Counts
71 → 71
Iterations

Useful iterations: done (2.4s)

IterNodesCost
0124914
1274729
2709628
33051557
done5000554

prune197.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
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
11×add-sqr-sqrt
add-exp-log
associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down
pow1 expm1-log1p-u associate-*l* prod-exp log1p-expm1-u add-log-exp unswap-sqr
fma-udef sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
3 → 47
Calls
3 calls:
0.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
0.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
12.0ms
(* 1/12 (pow x 4))

series254.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
148.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
45.0ms
(* 1/12 (pow x 4))

simplify1.4s

Counts
56 → 56
Iterations

Useful iterations: 3 (357.0ms)

IterNodesCost
080619
1146581
2344529
31278526
done5000526

prune241.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 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))
0.0b
(+ (exp x) 2.0)
3.4b
(+ (/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (- x)))

rewrite780.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
40×times-frac
38×add-sqr-sqrt
29×fma-def
28×add-cube-cbrt
20×difference-of-squares
13×distribute-lft-out
12×exp-sum
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u flip3-+ fma-neg prod-diff associate-/r* associate-/r/ flip-+ log1p-expm1-u
+-commutative flip3-- div-sub frac-add sum-log flip-- div-inv associate-/l/
cbrt-undiv neg-sub0 exp-neg associate-+l- sub-neg frac-2neg exp-diff diff-log div-exp clear-num
Counts
4 → 132
Calls
4 calls:
73.0ms
(- (exp (+ x x)) (* 2.0 2.0))
225.0ms
(/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0))
9.0ms
(+ (exp x) 2.0)
467.0ms
(+ (/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (- x)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (exp (+ x x)) (* 2.0 2.0))
50.0ms
(/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0))
15.0ms
(+ (exp x) 2.0)
154.0ms
(+ (/ (- (exp (+ x x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (- x)))

simplify2.2s

Counts
144 → 144
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01931988
14721896
215221737
done50001390

prune666.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (sqrt (exp (+ x x))) 2.0)
1.0b
(/ (- (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0)))
1.0b
(/ (+ (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0)))
57.1b
(fma (/ (+ (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0))) (/ (- (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0))) (exp (- x)))

rewrite539.0ms

Algorithm
rewrite-expression-head
Rules
121×*-un-lft-identity
106×add-sqr-sqrt
86×sqrt-prod
77×times-frac
61×add-cube-cbrt
27×difference-of-squares
21×prod-diff distribute-lft-out
14×associate-/r*
13×exp-sum
11×associate-/l*
distribute-lft-out--
add-exp-log add-cbrt-cube
fma-neg
add-log-exp
pow1 expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u associate-/l/
flip3-+ flip-+
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
sub-neg diff-log div-sub fma-udef
Counts
4 → 195
Calls
4 calls:
100.0ms
(- (sqrt (exp (+ x x))) 2.0)
221.0ms
(/ (- (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0)))
200.0ms
(/ (+ (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0)))
1.0ms
(fma (/ (+ (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0))) (/ (- (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0))) (exp (- x)))

series607.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (sqrt (exp (+ x x))) 2.0)
161.0ms
(/ (- (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0)))
121.0ms
(/ (+ (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0)))
288.0ms
(fma (/ (+ (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0))) (/ (- (sqrt (exp (+ x x))) 2.0) (sqrt (+ (exp x) 2.0))) (exp (- x)))

simplify1.3s

Counts
207 → 207
Iterations

Useful iterations: done (1.3s)

IterNodesCost
03074741
16794282
216413425
done50003388

prune870.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes34.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
done1113

end0.0ms

sample5.3s

Algorithm
intervals
Results
3.9s5670×body1280valid
477.0ms8287×body80valid
353.0ms1222×body640valid
150.0ms630×body320valid
33.0ms305×body160valid