Details

Time bar (total: 10.4s)

sample78.0ms

Algorithm
intervals
Results
34.0ms58×body1280valid
15.0ms59×body640valid
4.0ms29×body320valid
4.0ms95×body80valid
4.0ms90×body80overflowed
2.0ms16×body160valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01012
11912
22812
34012
47412
517012
646412
7149012
done500012

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.0b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
0.2b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
5.7b
(- (exp (* 2.0 x)) 1.0)
5.7b
(- (exp x) 1.0)

rewrite44.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:
17.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
10.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
4.0ms
(- (exp (* 2.0 x)) 1.0)
6.0ms
(- (exp x) 1.0)

series35.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
12.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
3.0ms
(- (exp (* 2.0 x)) 1.0)
11.0ms
(- (exp x) 1.0)

simplify1.1s

Counts
135 → 135
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01892376
13882279
28982167
324002156
done50002154

prune373.0ms

Filtered
92 candidates to 135 candidates (-46.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1332135
Fresh000
Picked101
Done000
Total1342136

Merged error: 0.2b

Counts
136 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))) (* 0.5 (/ x (sqrt 2.0))))
0.2b
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
0.3b
(/ (pow x 2) (sqrt 2.0))
0.4b
(/ x (sqrt 2.0))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
108×add-sqr-sqrt
83×*-un-lft-identity
81×add-cube-cbrt
67×sqrt-prod
52×associate-*l*
41×unpow-prod-down
21×add-exp-log
15×unpow2 sqr-pow
13×add-cbrt-cube
12×associate-/r*
11×associate-/l*
associate-*r/ unswap-sqr
div-exp
pow1 associate-*r* add-log-exp
frac-add
distribute-rgt-in frac-times sub-neg associate-+l+ flip3-- distribute-lft-in prod-exp flip--
cbrt-undiv div-inv
pow-to-exp frac-2neg associate-*l/ pow-exp clear-num cbrt-unprod difference-of-squares
+-commutative flip3-+ pow-prod-down sum-log *-commutative flip-+ distribute-lft-out--
Counts
4 → 226
Calls
4 calls:
16.0ms
(+ (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))) (* 0.5 (/ x (sqrt 2.0))))
22.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
7.0ms
(/ (pow x 2) (sqrt 2.0))
5.0ms
(/ x (sqrt 2.0))

series42.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))) (* 0.5 (/ x (sqrt 2.0))))
7.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
8.0ms
(/ (pow x 2) (sqrt 2.0))
10.0ms
(/ x (sqrt 2.0))

simplify1.0s

Counts
238 → 238
Iterations

Useful iterations: done (1.0s)

IterNodesCost
02913592
16833327
224173025
done50013005

prune532.0ms

Filtered
151 candidates to 238 candidates (-57.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2362238
Fresh011
Picked101
Done000
Total2373240

Merged error: 0.2b

Counts
240 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (pow x 2) (sqrt 2.0))
0.4b
(/ x (sqrt 2.0))
3.1b
(exp (log (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
27.8b
(log (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
52×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
39×sqrt-prod
22×add-exp-log
21×unpow-prod-down
12×associate-/r*
11×associate-/l*
10×pow1 log-div
add-cbrt-cube
div-exp unpow2 sqr-pow
exp-prod exp-diff rem-log-exp
frac-times flip3-- associate-*r/ prod-exp log-pow flip-- add-log-exp
cbrt-undiv pow-to-exp log-prod frac-2neg pow-prod-down associate-*l/ pow-exp clear-num div-inv
exp-sum rem-exp-log
Counts
4 → 154
Calls
4 calls:
7.0ms
(/ (pow x 2) (sqrt 2.0))
5.0ms
(/ x (sqrt 2.0))
19.0ms
(exp (log (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
14.0ms
(log (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))

series41.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (pow x 2) (sqrt 2.0))
6.0ms
(/ x (sqrt 2.0))
7.0ms
(exp (log (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
21.0ms
(log (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))

simplify1.7s

Counts
166 → 166
Iterations

Useful iterations: 3 (882.0ms)

IterNodesCost
02312119
14141883
211291706
342791701
done50001701

prune371.0ms

Filtered
98 candidates to 166 candidates (-69.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1651166
Fresh112
Picked011
Done000
Total1663169

Merged error: 0.2b

Counts
169 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))
0.2b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))))
5.7b
(- (exp (* 2.0 x)) 1.0)
5.7b
(- (exp (+ x x)) (* 1.0 1.0))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
253×times-frac
208×*-un-lft-identity
178×add-sqr-sqrt
135×sqrt-prod
92×add-cube-cbrt
79×difference-of-squares
31×distribute-lft-out
27×distribute-lft-out--
26×exp-sum
13×associate-/r/
add-log-exp
div-inv
add-exp-log flip3-+ add-cbrt-cube flip-+
pow1 associate-/l*
associate-/r*
rem-sqrt-square flip3-- flip--
sub-neg diff-log associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 222
Calls
4 calls:
13.0ms
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))
26.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))))
4.0ms
(- (exp (* 2.0 x)) 1.0)
8.0ms
(- (exp (+ x x)) (* 1.0 1.0))

series32.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))
19.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))))
3.0ms
(- (exp (* 2.0 x)) 1.0)
3.0ms
(- (exp (+ x x)) (* 1.0 1.0))

simplify959.0ms

Counts
234 → 234
Iterations

Useful iterations: 2 (389.0ms)

IterNodesCost
05107530
110877251
231836927
done50006927

prune544.0ms

Filtered
158 candidates to 234 candidates (-48.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2331234
Fresh011
Picked011
Done011
Total2334237

Merged error: 0.2b

Counts
237 → 4

regimes47.0ms

Accuracy

98.7% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 21.0b

bsearch19.0ms

Steps
ItersRangePoint
9
-0.0001616040529746431
-1.1951251334293225e-11
-4.599158930389739e-07

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03449
14049
done4049

end0.0ms

sample1.6s

Algorithm
intervals
Results
716.0ms2297×body1280valid
346.0ms1663×body640valid
120.0ms2864×body80valid
112.0ms802×body320valid
100.0ms2519×body80overflowed
40.0ms423×body160valid

Profiling

Loading profile data...