Details

Time bar (total: 11.1s)

sample99.0ms

Algorithm
intervals
Results
29.0ms330×body80valid
23.0ms42×body1280valid
14.0ms36×body640valid
6.0ms22×body320valid
5.0ms57×body80overflowed
2.0ms12×body160valid

simplify536.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
01929
14629
212229
330727
4113927
done500027

prune14.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 26.3b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
0.0b
(exp (neg (* (- 1.0 eps) x)))
0.0b
(exp (neg (* (+ 1.0 eps) x)))
2.4b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
78×exp-neg
76×frac-times
59×neg-sub0 exp-diff
38×associate-*r/ associate-*l/
30×flip3-+ flip-+
28×flip3-- flip--
19×un-div-inv
12×exp-prod
10×add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-cbrt-cube
add-exp-log
associate-*l* rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 155
Calls
4 calls:
14.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
5.0ms
(exp (neg (* (- 1.0 eps) x)))
3.0ms
(exp (neg (* (+ 1.0 eps) x)))
20.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series81.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(exp (neg (* (- 1.0 eps) x)))
7.0ms
(exp (neg (* (+ 1.0 eps) x)))
56.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify977.0ms

Counts
167 → 167
Iterations

Useful iterations: done (968.0ms)

IterNodesCost
03607789
111697198
237406612
done50016609

prune371.0ms

Filtered
91 candidates to 167 candidates (-83.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1643167
Fresh000
Picked101
Done000
Total1653168

Merged error: 0.3b

Counts
168 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x 2)
0.3b
(* 0.6666666666666667 (pow x 3))
7.0b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×associate-*r*
add-exp-log add-cube-cbrt *-un-lft-identity
add-log-exp
unpow-prod-down
add-cbrt-cube
pow1 cube-prod unswap-sqr
pow-unpow associate-*l* prod-exp sqr-pow
pow-to-exp diff-log pow-exp
cube-mult sub-neg flip3-- pow-pow unpow3 associate--l+ sum-log *-commutative flip-- cbrt-unprod unpow2
Counts
3 → 63
Calls
3 calls:
2.0ms
(pow x 2)
7.0ms
(* 0.6666666666666667 (pow x 3))
8.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(pow x 2)
4.0ms
(* 0.6666666666666667 (pow x 3))
5.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify422.0ms

Counts
72 → 72
Iterations

Useful iterations: done (420.0ms)

IterNodesCost
0105699
1261644
2919575
done5001539

prune122.0ms

Filtered
46 candidates to 72 candidates (-56.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh022
Picked011
Done000
Total71475

Merged error: 0.3b

Counts
75 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 0.6666666666666667 (pow x 3))
0.3b
(* 0.6666666666666667 (pow x 3))
11.8b
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
13.3b
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
94×add-sqr-sqrt
40×*-un-lft-identity difference-of-squares
39×times-frac
34×sqr-pow
30×add-cube-cbrt
24×associate-*r*
18×unpow-prod-down cube-prod
16×add-exp-log
13×associate-/l*
10×add-cbrt-cube
unswap-sqr
associate-*l* prod-exp add-log-exp
difference-cubes distribute-lft-out--
pow1
associate-/r*
cube-mult pow-to-exp flip3-- unpow3 pow-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 156
Calls
4 calls:
7.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(* 0.6666666666666667 (pow x 3))
16.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
28.0ms
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))))

series35.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* 0.6666666666666667 (pow x 3))
4.0ms
(* 0.6666666666666667 (pow x 3))
11.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
15.0ms
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))))

simplify670.0ms

Counts
168 → 168
Iterations

Useful iterations: done (661.0ms)

IterNodesCost
02386935
16036667
222066391
done50016389

prune879.0ms

Filtered
120 candidates to 168 candidates (-40.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1671168
Fresh022
Picked101
Done011
Total1684172

Merged error: 0.3b

Counts
172 → 4

localize36.0ms

Local error

Found 4 expressions with local error:

2.5b
(sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))))
7.0b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
11.7b
(/ (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) (sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667))))))))
12.2b
(/ (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)) (* (* 1.0 (pow x 2)) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))) (sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667))))))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt times-frac
35×add-cube-cbrt *-un-lft-identity
27×sqrt-prod
24×flip3-+ flip-+
20×associate-*r/ associate-/l/
16×frac-add
12×associate-/r*
add-log-exp
add-exp-log frac-times add-cbrt-cube
sqrt-div associate-/l*
pow1
associate-*l/ associate-/r/
cbrt-undiv flip3-- frac-2neg diff-log div-exp clear-num flip-- div-inv
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 div-sub associate--l+ sum-log
Counts
4 → 132
Calls
4 calls:
7.0ms
(sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))))
9.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
17.0ms
(/ (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) (sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667))))))))
28.0ms
(/ (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)) (* (* 1.0 (pow x 2)) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))) (sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667))))))))

series55.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))))
5.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
15.0ms
(/ (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) (sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667))))))))
24.0ms
(/ (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)) (* (* 1.0 (pow x 2)) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667)))))) (sqrt (+ (* (* 1.0 1.0) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ 2.0 (* (pow x 2) (+ 1.0 (* x 0.6666666666666667))))))))

simplify950.0ms

Counts
144 → 144
Iterations

Useful iterations: done (932.0ms)

IterNodesCost
03239831
19109281
236138744
done50008742

prune2.1s

Filtered
111 candidates to 144 candidates (-29.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh022
Picked101
Done011
Total1444148

Merged error: 0.3b

Counts
148 → 4

regimes133.0ms

Accuracy

95.8% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 15.6b

bsearch98.0ms

Steps
ItersRangePoint
9
0.0012906900159990226
483.8343007553032
223.69169998523014

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03147
14347
24947
done4947

end0.0ms

sample3.2s

Algorithm
intervals
Results
926.0ms1632×body1280valid
916.0ms10220×body80valid
462.0ms1235×body640valid
179.0ms1963×body80overflowed
162.0ms613×body320valid
57.0ms331×body160valid

Profiling

Loading profile data...