Details

Time bar (total: 7.8s)

sample67.0ms

Algorithm
intervals
Results
19.0ms58×body1280valid
16.0ms59×body640valid
5.0ms95×body80valid
4.0ms29×body320valid
4.0ms90×body80overflowed
2.0ms16×body160valid

simplify870.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01012
11912
22812
34012
47412
517212
648412
7156812
done500112

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)

rewrite37.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:
10.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)
7.0ms
(- (exp x) 1.0)

series36.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
13.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)

simplify681.0ms

Counts
135 → 135
Iterations

Useful iterations: done (670.0ms)

IterNodesCost
01892376
13882279
29632167
325382156
done50002154

prune259.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

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 0.5 (/ x (sqrt 2.0))) (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))

rewrite54.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*
unswap-sqr
div-exp
pow1 associate-*r* add-log-exp
prod-exp
cbrt-undiv div-inv
distribute-rgt-in frac-times pow-to-exp sub-neg flip3-- frac-2neg distribute-lft-in associate-*r/ pow-exp clear-num flip-- cbrt-unprod difference-of-squares
+-commutative flip3-+ pow-prod-down associate-*l/ sum-log *-commutative flip-+ distribute-lft-out--
Counts
4 → 217
Calls
4 calls:
7.0ms
(+ (* 0.5 (/ x (sqrt 2.0))) (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))

series31.0ms

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

simplify537.0ms

Counts
229 → 229
Iterations

Useful iterations: done (530.0ms)

IterNodesCost
02693092
16262896
223622591
done50002577

prune504.0ms

Filtered
141 candidates to 229 candidates (-62.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2281229
Fresh011
Picked101
Done000
Total2292231

Merged error: 0.2b

Counts
231 → 2

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))))

rewrite51.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))
16.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))))

simplify980.0ms

Counts
166 → 166
Iterations

Useful iterations: 3 (384.0ms)

IterNodesCost
02312119
14221909
212421706
349021701
done50001701

prune373.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1651166
Fresh011
Picked011
Done000
Total1653168

Merged error: 0.2b

Counts
168 → 3

localize18.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))

rewrite67.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))

series38.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ (- (exp (+ x x)) (* 1.0 1.0)) (+ (exp x) 1.0))
24.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))

simplify793.0ms

Counts
234 → 234
Iterations

Useful iterations: 2 (310.0ms)

IterNodesCost
05107530
110887251
234696811
done50006811

prune532.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

regimes48.0ms

Accuracy

98.7% (0.3b remaining)

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

bsearch20.0ms

Steps
ItersRangePoint
9
-0.0001616040529746431
-1.1951251334293225e-11
-1.2211091000924002e-05

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03752
14352
done4352

end0.0ms

sample1.7s

Algorithm
intervals
Results
729.0ms2297×body1280valid
354.0ms1663×body640valid
127.0ms2864×body80valid
116.0ms802×body320valid
105.0ms2519×body80overflowed
40.0ms423×body160valid

Profiling

Loading profile data...