Details

Time bar (total: 13.0s)

sample70.0ms

Algorithm
intervals
Results
24.0ms76×body1280valid
16.0ms74×body10240exit
9.0ms46×body640valid
4.0ms100×body80valid
3.0ms24×body320valid
1.0ms10×body160valid

simplify7.0ms

Counts
1 → 1
Iterations
IterNodes
done8
28
17
05

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.3b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
3.6b
(- (exp x) 1.0)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
fma-neg add-exp-log associate-/l*
expm1-log1p-u pow1 flip3-- associate-/r/ log1p-expm1-u flip--
cbrt-undiv clear-num sub-neg frac-2neg diff-log div-exp div-inv
Counts
2 → 67
Calls
2 calls:
14.0ms
(/ (exp x) (- (exp x) 1.0))
9.0ms
(- (exp x) 1.0)

series67.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(/ (exp x) (- (exp x) 1.0))
31.0ms
(- (exp x) 1.0)

simplify1.6s

Counts
73 → 73
Iterations
IterNodes
done5001
32050
2672
1252
0117

prune205.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (fma x 1/12 (/ 1 x)) 1/2)
0.1b
(fma x 1/12 (/ 1 x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt fma-def add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log fma-udef log1p-expm1-u
+-commutative associate-+l+ sum-log flip3-+ flip-+ distribute-lft-out
Counts
2 → 28
Calls
2 calls:
4.0ms
(+ (fma x 1/12 (/ 1 x)) 1/2)
0.0ms
(fma x 1/12 (/ 1 x))

series71.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(+ (fma x 1/12 (/ 1 x)) 1/2)
54.0ms
(fma x 1/12 (/ 1 x))

simplify1.2s

Counts
34 → 34
Iterations
IterNodes
done5009
3880
2225
196
042

prune145.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize41.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (exp x) (exp x) (* (+ (exp x) 1.0) 1.0))
0.0b
(exp (fma 2 x x))
0.0b
(/ (exp x) (/ (- (exp (fma 2 x x)) (* (* 1.0 1.0) 1.0)) (fma (exp x) (exp x) (* (+ (exp x) 1.0) 1.0))))
4.0b
(- (exp (fma 2 x x)) (* (* 1.0 1.0) 1.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
49×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
13×associate-/r*
add-cbrt-cube
add-exp-log add-log-exp
div-inv
expm1-log1p-u pow1 fma-neg prod-diff fma-udef log1p-expm1-u
cbrt-undiv exp-prod div-exp exp-sum associate-/l*
clear-num sub-neg frac-2neg flip3-- diff-log associate-/r/ flip-- rem-exp-log
Counts
4 → 118
Calls
4 calls:
1.0ms
(fma (exp x) (exp x) (* (+ (exp x) 1.0) 1.0))
3.0ms
(exp (fma 2 x x))
21.0ms
(/ (exp x) (/ (- (exp (fma 2 x x)) (* (* 1.0 1.0) 1.0)) (fma (exp x) (exp x) (* (+ (exp x) 1.0) 1.0))))
10.0ms
(- (exp (fma 2 x x)) (* (* 1.0 1.0) 1.0))

series279.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(fma (exp x) (exp x) (* (+ (exp x) 1.0) 1.0))
22.0ms
(exp (fma 2 x x))
144.0ms
(/ (exp x) (/ (- (exp (fma 2 x x)) (* (* 1.0 1.0) 1.0)) (fma (exp x) (exp x) (* (+ (exp x) 1.0) 1.0))))
46.0ms
(- (exp (fma 2 x x)) (* (* 1.0 1.0) 1.0))

simplify2.0s

Counts
130 → 130
Iterations
IterNodes
done5000
21825
1588
0232

prune922.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize73.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- (exp (* x 3)) (* 1.0 (* 1.0 1.0))))
0.0b
(fma (exp x) (exp x) (* 1.0 (+ (exp x) 1.0)))
0.0b
(exp (* x 3))
4.0b
(- (exp (* x 3)) (* 1.0 (* 1.0 1.0)))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
18×times-frac
17×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
15×difference-cubes cube-unmult
13×add-log-exp
add-exp-log
exp-lft-cube exp-prod associate-/r* add-cbrt-cube exp-to-pow
pow1
expm1-log1p-u log1p-expm1-u
fma-neg prod-diff associate-/l*
flip3-- div-exp associate-/r/ flip--
cbrt-undiv rec-exp clear-num sub-neg frac-2neg diff-log 1-exp fma-udef div-inv pow-flip inv-pow rem-exp-log
Counts
4 → 93
Calls
4 calls:
53.0ms
(/ 1 (- (exp (* x 3)) (* 1.0 (* 1.0 1.0))))
0.0ms
(fma (exp x) (exp x) (* 1.0 (+ (exp x) 1.0)))
6.0ms
(exp (* x 3))
36.0ms
(- (exp (* x 3)) (* 1.0 (* 1.0 1.0)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ 1 (- (exp (* x 3)) (* 1.0 (* 1.0 1.0))))
63.0ms
(fma (exp x) (exp x) (* 1.0 (+ (exp x) 1.0)))
7.0ms
(exp (* x 3))
29.0ms
(- (exp (* x 3)) (* 1.0 (* 1.0 1.0)))

simplify2.6s

Counts
105 → 105
Iterations
IterNodes
done5029
32306
2774
1311
0145

prune537.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes75.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.6b against oracle of 0.4b and baseline of 21.5b

bsearch1.0ms

simplify10.0ms

Iterations
IterNodes
done33
133
024

end0.0ms

sample2.8s

Algorithm
intervals
Results
750.0ms2240×body1280valid
727.0ms2638×body10240exit
597.0ms828×body320valid
340.0ms1645×body640valid
105.0ms2866×body80valid
33.0ms421×body160valid