Details

Time bar (total: 13.6s)

sample96.0ms

Algorithm
intervals
Results
61.0ms173×body1280valid
10.0ms48×body640valid
7.0ms253×body80valid
2.0ms17×body320valid
1.0ms14×body160valid

simplify163.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite108.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:
18.0ms
(- (exp x) 2.0)
86.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series94.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(- (exp x) 2.0)
80.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify2.5s

Counts
71 → 71
Iterations

Useful iterations: done (2.5s)

IterNodesCost
0124914
1274729
2709628
33051557
done5000554

prune259.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

series330.0ms

Counts
3 → 9
Calls
3 calls:
100.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
176.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
53.0ms
(* 1/12 (pow x 4))

simplify1.3s

Counts
56 → 56
Iterations

Useful iterations: 3 (327.0ms)

IterNodesCost
080619
1146581
2344529
31278526
done5000526

prune193.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 2.0)
0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(/ (* (+ (exp x) 2.0) (fma (exp x) (- (exp x) 2.0) 1)) (* (+ (exp x) 2.0) (exp x)))
2.6b
(fma (exp x) (- (exp x) 2.0) 1)

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
18×add-cbrt-cube
15×add-exp-log
11×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
pow1 associate-*l/ add-log-exp
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u flip3-+ div-exp associate-*l* flip-+ log1p-expm1-u
fma-def associate-*r*
associate-/r/ associate-/l/ distribute-lft-out
+-commutative frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative fma-udef div-inv associate-/l* unswap-sqr
Counts
4 → 77
Calls
4 calls:
18.0ms
(+ (exp x) 2.0)
38.0ms
(* (+ (exp x) 2.0) (exp x))
41.0ms
(/ (* (+ (exp x) 2.0) (fma (exp x) (- (exp x) 2.0) 1)) (* (+ (exp x) 2.0) (exp x)))
0.0ms
(fma (exp x) (- (exp x) 2.0) 1)

series242.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (exp x) 2.0)
46.0ms
(* (+ (exp x) 2.0) (exp x))
114.0ms
(/ (* (+ (exp x) 2.0) (fma (exp x) (- (exp x) 2.0) 1)) (* (+ (exp x) 2.0) (exp x)))
72.0ms
(fma (exp x) (- (exp x) 2.0) 1)

simplify1.2s

Counts
89 → 89
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01351383
13681209
21647869
done5000855

prune225.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (+ (exp x) 2.0) (fma (exp x) (- (exp x) 2.0) 1)) (* (+ (pow (exp x) 3) (pow 2.0 3)) (exp x)))
0.0b
(* (exp x) (exp x))
0.0b
(pow (exp x) 3)
2.6b
(fma (exp x) (- (exp x) 2.0) 1)

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
21×exp-prod
20×add-sqr-sqrt
19×add-cbrt-cube
18×add-cube-cbrt *-un-lft-identity
14×add-exp-log
12×pow1
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u pow-pow div-exp pow-prod-down associate-*l/ pow-sqr pow-prod-up log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow cube-prod swap-sqr associate-*r* associate-*l*
flip3-+ associate-/r/ flip-+ associate-/l/
pow2 cube-mult pow-to-exp frac-2neg times-frac pow-plus unpow3 pow-exp clear-num associate-/r* *-commutative fma-udef div-inv associate-/l* rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 101
Calls
4 calls:
75.0ms
(/ (* (+ (exp x) 2.0) (fma (exp x) (- (exp x) 2.0) 1)) (* (+ (pow (exp x) 3) (pow 2.0 3)) (exp x)))
17.0ms
(* (exp x) (exp x))
5.0ms
(pow (exp x) 3)
0.0ms
(fma (exp x) (- (exp x) 2.0) 1)

series453.0ms

Counts
4 → 12
Calls
4 calls:
335.0ms
(/ (* (+ (exp x) 2.0) (fma (exp x) (- (exp x) 2.0) 1)) (* (+ (pow (exp x) 3) (pow 2.0 3)) (exp x)))
14.0ms
(* (exp x) (exp x))
32.0ms
(pow (exp x) 3)
72.0ms
(fma (exp x) (- (exp x) 2.0) 1)

simplify2.1s

Counts
113 → 113
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01861657
15081479
226581189
done50011162

prune558.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Accuracy

0% (0.5b 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

sample3.5s

Algorithm
intervals
Results
2.4s5686×body1280valid
271.0ms1209×body640valid
260.0ms8093×body80valid
84.0ms626×body320valid
28.0ms321×body160valid