Details

Time bar (total: 21.6s)

sample138.0ms

Algorithm
intervals
Results
89.0ms174×body1280valid
13.0ms43×body640valid
11.0ms243×body80valid
4.0ms22×body320valid
1.0ms11×body160valid

simplify3.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1148
2268
3408
4568
5628
6718
7888
82488
97888
1031328
done50008

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.3b

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite89.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:
14.0ms
(- (exp x) 2.0)
72.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series100.0ms

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

simplify984.0ms

Counts
71 → 71
Iterations

Useful iterations: done (977.0ms)

IterNodesCost
0124914
1298735
21173637
done5002609

prune337.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 3 expressions with local error:

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

series293.0ms

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

simplify4.9s

Counts
56 → 56
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
080619
1155581
2552529
34320526
done5000526

prune263.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

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

series396.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (exp x) 2.0)
256.0ms
(/ (fma (- (exp (+ x x)) (* 2.0 2.0)) (exp x) (+ (exp x) 2.0)) (* (exp x) (+ (exp x) 2.0)))
31.0ms
(* (exp x) (+ (exp x) 2.0))
94.0ms
(fma (- (exp (+ x x)) (* 2.0 2.0)) (exp x) (+ (exp x) 2.0))

simplify1.9s

Counts
89 → 89
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01331501
13491459
218001260
done50001257

prune481.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.0ms

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

series378.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (exp x) 2.0)
256.0ms
(/ (fma (- (exp (+ x x)) (* 2.0 2.0)) (exp x) (+ (exp x) 2.0)) (* (exp x) (+ (exp x) 2.0)))
33.0ms
(* (exp x) (+ (exp x) 2.0))
81.0ms
(fma (- (exp (+ x x)) (* 2.0 2.0)) (exp x) (+ (exp x) 2.0))

simplify2.5s

Counts
89 → 89
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01331501
13491459
218001260
done50001257

prune473.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes30.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
done1113

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.3s5675×body1280valid
785.0ms7887×body80valid
424.0ms1257×body640valid
105.0ms607×body320valid
83.0ms308×body160valid