Details

Time bar (total: 5.3s)

sample420.0ms

Algorithm
intervals
Results
64.0ms224×body10240exit
14.0ms425×body80nan
8.0ms235×body80valid
2.0ms27×body160valid

simplify71.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017
done50017

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.5b

localize11.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))
5.9b
(- (exp (* 2.0 x)) 1.0)
6.0b
(- (exp x) 1.0)

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
75×*-un-lft-identity
51×times-frac
31×sqrt-prod
27×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
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 → 123
Calls
4 calls:
28.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
43.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
12.0ms
(- (exp (* 2.0 x)) 1.0)
13.0ms
(- (exp x) 1.0)

series197.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
60.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
25.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify117.0ms

Counts
135 → 135
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
03871380
110541314
242871301
350031293
done50031293

prune315.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (* 2.0 x)))
0.0b
(sqrt (exp (* 2.0 x)))
6.0b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
6.0b
(- (exp x) 1.0)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×*-un-lft-identity sqrt-prod
10×add-log-exp
pow1 add-cube-cbrt sqrt-pow1
difference-of-squares
add-exp-log add-cbrt-cube
distribute-lft-out--
sub-neg rem-sqrt-square exp-prod flip3-- exp-to-pow pow1/2 diff-log flip--
Counts
4 → 62
Calls
4 calls:
3.0ms
(sqrt (exp (* 2.0 x)))
5.0ms
(sqrt (exp (* 2.0 x)))
17.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
10.0ms
(- (exp x) 1.0)

series107.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt (exp (* 2.0 x)))
24.0ms
(sqrt (exp (* 2.0 x)))
46.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify101.0ms

Counts
74 → 74
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0168382
1414365
21068363
33163361
45001361
done5001361

prune215.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (* 2.0 x)))
0.0b
(* (sqrt (sqrt (exp (* 2.0 x)))) (sqrt (sqrt (exp (* 2.0 x)))))
6.0b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
6.0b
(- (exp x) 1.0)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
83×sqrt-pow1
75×sqrt-prod
58×add-sqr-sqrt
28×pow1
23×*-un-lft-identity
21×add-log-exp
17×add-cube-cbrt pow1/2
15×swap-sqr
13×exp-prod exp-to-pow pow-prod-up
associate-*r* associate-*l* pow-prod-down pow-sqr unswap-sqr
add-exp-log add-cbrt-cube
difference-of-squares
distribute-lft-out--
sub-neg flip3-- diff-log flip--
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
3.0ms
(sqrt (exp (* 2.0 x)))
32.0ms
(* (sqrt (sqrt (exp (* 2.0 x)))) (sqrt (sqrt (exp (* 2.0 x)))))
20.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
10.0ms
(- (exp x) 1.0)

series108.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt (exp (* 2.0 x)))
22.0ms
(* (sqrt (sqrt (exp (* 2.0 x)))) (sqrt (sqrt (exp (* 2.0 x)))))
49.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify226.0ms

Counts
146 → 146
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0280774
1984713
24935689
35001689
done5001689

prune307.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ 1.0 (* 0.5 x)))
28.8b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l* sqrt-prod
flip3-+ sqrt-div associate-*r/ flip-+ add-log-exp
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 37
Calls
2 calls:
15.0ms
(* x (+ 1.0 (* 0.5 x)))
16.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series136.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(* x (+ 1.0 (* 0.5 x)))
76.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify36.0ms

Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0279281
11132268
25002256
done5002256

prune73.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes22.0ms

Accuracy

77.6% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 3.3b

bsearch43.0ms

Steps
ItersRangePoint
8
-0.001391736753177052
-2.391427350769765e-06
-1.0296566467916756e-05

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03522
13522
done3522

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.3s6898×body10240exit
402.0ms12822×body80nan
256.0ms7407×body80valid
58.0ms730×body160valid