Details

Time bar (total: 23.0s)

sample302.0ms

Algorithm
intervals
Results
68.0ms192×body10240exit
63.0ms405×body80nan
16.0ms235×body80valid
3.0ms24×body160valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01012
11912
22812
34112
47612
518512
676412
done500012

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.8b
(- (exp x) 1.0)

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
51×times-frac
41×add-cube-cbrt
31×sqrt-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 155
Calls
4 calls:
64.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
72.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
18.0ms
(- (exp (* 2.0 x)) 1.0)
14.0ms
(- (exp x) 1.0)

series286.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
89.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
29.0ms
(- (exp (* 2.0 x)) 1.0)
40.0ms
(- (exp x) 1.0)

simplify1.3s

Counts
167 → 167
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02322954
15032694
215322473
done50002423

prune786.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize51.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma 1.0 (- 1.0) (exp (+ x x))) (+ (exp x) 1.0)))
0.1b
(/ (fma 1.0 (- 1.0) (exp (+ x x))) (+ (exp x) 1.0))
4.6b
(fma 1.0 (- 1.0) (exp (+ x x)))
4.6b
(- (exp (* 2.0 x)) 1.0)

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
171×*-un-lft-identity
127×add-sqr-sqrt
87×add-cube-cbrt
22×associate-/r* distribute-lft-out
20×distribute-lft-out-- difference-of-squares
15×associate-/r/
11×add-exp-log add-cbrt-cube
prod-diff
div-inv associate-/l*
flip3-+ flip-+
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
flip3-- frac-2neg clear-num flip-- associate-/l/
sub-neg diff-log div-sub fma-udef
Counts
4 → 206
Calls
4 calls:
74.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma 1.0 (- 1.0) (exp (+ x x))) (+ (exp x) 1.0)))
30.0ms
(/ (fma 1.0 (- 1.0) (exp (+ x x))) (+ (exp x) 1.0))
1.0ms
(fma 1.0 (- 1.0) (exp (+ x x)))
30.0ms
(- (exp (* 2.0 x)) 1.0)

series386.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma 1.0 (- 1.0) (exp (+ x x))) (+ (exp x) 1.0)))
115.0ms
(/ (fma 1.0 (- 1.0) (exp (+ x x))) (+ (exp x) 1.0))
45.0ms
(fma 1.0 (- 1.0) (exp (+ x x)))
35.0ms
(- (exp (* 2.0 x)) 1.0)

simplify2.2s

Counts
218 → 218
Iterations

Useful iterations: 2 (724.0ms)

IterNodesCost
03046392
18896132
243415824
done50005824

prune1.3s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (fma 1.0 (- 1.0) (exp (+ x x))) (sqrt (+ (exp x) 1.0)))
0.1b
(* (sqrt (+ (exp x) 1.0)) (/ (- (exp (* 2.0 x)) 1.0) (/ (fma 1.0 (- 1.0) (exp (+ x x))) (sqrt (+ (exp x) 1.0)))))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.6b
(fma 1.0 (- 1.0) (exp (+ x x)))

rewrite258.0ms

Algorithm
rewrite-expression-head
Rules
271×times-frac
223×*-un-lft-identity
209×add-sqr-sqrt
140×associate-*r*
127×add-cube-cbrt
86×sqrt-prod
28×distribute-lft-out-- difference-of-squares
20×distribute-lft-out
16×sqrt-div
15×add-exp-log add-cbrt-cube
13×associate-/r/
prod-diff
flip3-+ flip-+ unswap-sqr
associate-*l* associate-/r* div-inv
pow1 add-log-exp
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg prod-exp cbrt-unprod associate-/l*
frac-times associate-*l/
sub-neg flip3-- frac-2neg diff-log associate-*r/ pow-prod-down clear-num *-commutative flip-- fma-udef
Counts
4 → 262
Calls
4 calls:
17.0ms
(/ (fma 1.0 (- 1.0) (exp (+ x x))) (sqrt (+ (exp x) 1.0)))
188.0ms
(* (sqrt (+ (exp x) 1.0)) (/ (- (exp (* 2.0 x)) 1.0) (/ (fma 1.0 (- 1.0) (exp (+ x x))) (sqrt (+ (exp x) 1.0)))))
23.0ms
(- (exp (* 2.0 x)) 1.0)
0.0ms
(fma 1.0 (- 1.0) (exp (+ x x)))

series441.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(/ (fma 1.0 (- 1.0) (exp (+ x x))) (sqrt (+ (exp x) 1.0)))
157.0ms
(* (sqrt (+ (exp x) 1.0)) (/ (- (exp (* 2.0 x)) 1.0) (/ (fma 1.0 (- 1.0) (exp (+ x x))) (sqrt (+ (exp x) 1.0)))))
34.0ms
(- (exp (* 2.0 x)) 1.0)
75.0ms
(fma 1.0 (- 1.0) (exp (+ x x)))

simplify880.0ms

Counts
274 → 274
Iterations

Useful iterations: done (864.0ms)

IterNodesCost
04067538
111577060
done50006617

prune1.5s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0)) (- (exp (* 2 x)) 1.0))
0.1b
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.6b
(- (exp (* 2 x)) 1.0)

rewrite223.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt *-un-lft-identity
36×prod-diff
34×add-cube-cbrt
11×add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
flip3-- flip--
frac-times associate-/l/ add-log-exp
pow1 flip3-+ fma-neg flip-+
times-frac associate-*r* associate-/r* distribute-lft-out-- difference-of-squares
expm1-log1p-u sub-neg associate-*r/ associate-*l* associate-*l/ log1p-expm1-u
cbrt-undiv diff-log div-exp prod-exp associate-/r/ cbrt-unprod
frac-2neg pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
4 → 146
Calls
4 calls:
84.0ms
(/ (* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0)) (- (exp (* 2 x)) 1.0))
81.0ms
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
20.0ms
(- (exp (* 2.0 x)) 1.0)
31.0ms
(- (exp (* 2 x)) 1.0)

series245.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(/ (* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0)) (- (exp (* 2 x)) 1.0))
54.0ms
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
36.0ms
(- (exp (* 2.0 x)) 1.0)
29.0ms
(- (exp (* 2 x)) 1.0)

simplify2.5s

Counts
158 → 158
Iterations

Useful iterations: 2 (668.0ms)

IterNodesCost
02363252
17132869
241612429
done50002429

prune699.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes63.0ms

Accuracy

76.2% (0.6b remaining)

Error of 0.7b against oracle of 0.1b and baseline of 2.7b

bsearch80.0ms

Steps
ItersRangePoint
8
-3.092080667674878e-11
-1.991891315317258e-14
-3.031481252135206e-11

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02333
12733
done2733

end0.0ms

sample7.7s

Algorithm
intervals
Results
5.2s6601×body10240exit
1.0s12770×body80nan
517.0ms7395×body80valid
158.0ms718×body160valid