Details

Time bar (total: 10.5s)

sample115.0ms

Algorithm
intervals
Results
32.0ms78×body10240exit
30.0ms61×body1280valid
19.0ms331×body80valid
12.0ms43×body640valid
3.0ms18×body320valid
2.0ms15×body160valid

simplify559.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (100.0ms)

IterNodesCost
01929
14729
212429
333427
4125626
done500126

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 32.4b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
74×exp-neg
72×frac-times
56×neg-sub0 exp-diff
38×associate-*l/
36×associate-*r/
28×flip3-- flip3-+ flip-- flip-+
18×un-div-inv
12×exp-prod
10×add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u associate-*l* log1p-expm1-u rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 158
Calls
4 calls:
4.0ms
(exp (- (* (- 1.0 eps) x)))
9.0ms
(* (+ 1.0 eps) x)
3.0ms
(exp (- (* (+ 1.0 eps) x)))
29.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series275.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(exp (- (* (- 1.0 eps) x)))
26.0ms
(* (+ 1.0 eps) x)
29.0ms
(exp (- (* (+ 1.0 eps) x)))
192.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify1.7s

Counts
170 → 170
Iterations

Useful iterations: 2 (459.0ms)

IterNodesCost
03817574
112856798
243426366
done50006366

prune429.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 0.6666666666666667 (pow x 3) 2.0)
4.8b
(- (fma 0.6666666666666667 (pow x 3) 2.0) (* 1.0 (pow x 2)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
sub-neg flip3-- diff-log associate--l+ flip--
Counts
2 → 31
Calls
2 calls:
0.0ms
(fma 0.6666666666666667 (pow x 3) 2.0)
3.0ms
(- (fma 0.6666666666666667 (pow x 3) 2.0) (* 1.0 (pow x 2)))

series112.0ms

Counts
2 → 6
Calls
2 calls:
74.0ms
(fma 0.6666666666666667 (pow x 3) 2.0)
38.0ms
(- (fma 0.6666666666666667 (pow x 3) 2.0) (* 1.0 (pow x 2)))

simplify1.5s

Counts
37 → 37
Iterations

Useful iterations: done (1.5s)

IterNodesCost
053544
1120518
2454468
32875433
done5000430

prune113.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
4.8b
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))

rewrite15.0ms

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

series75.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* 0.6666666666666667 (pow x 3))
40.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (pow x 2))))

simplify427.0ms

Counts
60 → 60
Iterations

Useful iterations: done (425.0ms)

IterNodesCost
098684
1247603
2903558
done5000536

prune146.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize14.0ms

Local error

Found 4 expressions with local error:

4.8b
(+ (* (* (cbrt (* 0.6666666666666667 (pow x 3))) (cbrt (* 0.6666666666666667 (pow x 3)))) (cbrt (* 0.6666666666666667 (pow x 3)))) (- 2.0 (* 1.0 (pow x 2))))
41.0b
(cbrt (* 0.6666666666666667 (pow x 3)))
41.0b
(cbrt (* 0.6666666666666667 (pow x 3)))
41.0b
(cbrt (* 0.6666666666666667 (pow x 3)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod pow1/3 prod-diff
sum-log
+-commutative associate-+r- sub-neg fma-def flip3-+ diff-log flip-+
Counts
4 → 54
Calls
4 calls:
18.0ms
(+ (* (* (cbrt (* 0.6666666666666667 (pow x 3))) (cbrt (* 0.6666666666666667 (pow x 3)))) (cbrt (* 0.6666666666666667 (pow x 3)))) (- 2.0 (* 1.0 (pow x 2))))
2.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
2.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
2.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(+ (* (* (cbrt (* 0.6666666666666667 (pow x 3))) (cbrt (* 0.6666666666666667 (pow x 3)))) (cbrt (* 0.6666666666666667 (pow x 3)))) (- 2.0 (* 1.0 (pow x 2))))
37.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
35.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))
39.0ms
(cbrt (* 0.6666666666666667 (pow x 3)))

simplify1.4s

Counts
66 → 66
Iterations

Useful iterations: 3 (236.0ms)

IterNodesCost
0711126
11811078
2527599
32970566
done5000566

prune188.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.0b

regimes86.0ms

Accuracy

96.5% (0.6b remaining)

Error of 1.0b against oracle of 0.5b and baseline of 16.3b

bsearch128.0ms

Steps
ItersRangePoint
8
1.1588875362171251
7686.007879781806
95.54164031582988

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03882
15682
26482
done6482

end0.0ms

sample2.9s

Algorithm
intervals
Results
806.0ms1963×body10240exit
783.0ms1763×body1280valid
561.0ms9939×body80valid
341.0ms1288×body640valid
105.0ms614×body320valid
37.0ms338×body160valid