Details

Time bar (total: 6.1s)

sample98.0ms

Algorithm
intervals
Results
26.0ms59×body10240exit
21.0ms49×body1280valid
16.0ms321×body80valid
11.0ms46×body640valid
3.0ms18×body320valid
1.0ms11×body160valid

simplify38.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
04716
112416
236516
3137616
4500115
done500115

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 28.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
76×exp-neg frac-times
57×neg-sub0 exp-diff
40×associate-*l/
38×associate-*r/
31×flip3-- flip--
29×flip3-+ flip-+
19×un-div-inv
18×add-sqr-sqrt
15×*-un-lft-identity
10×associate-*l*
add-cube-cbrt
pow1 add-cbrt-cube add-log-exp
add-exp-log
associate-*r*
expm1-log1p-u log1p-expm1-u
fma-def
pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out difference-of-squares unswap-sqr
+-commutative sub-neg times-frac fma-neg diff-log prod-diff sum-log distribute-lft-out--
Counts
4 → 169
Calls
4 calls:
11.0ms
(+ 1.0 (/ 1.0 eps))
69.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
21.0ms
(* (+ 1.0 eps) x)
50.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series319.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ 1.0 (/ 1.0 eps))
57.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
28.0ms
(* (+ 1.0 eps) x)
205.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify149.0ms

Counts
181 → 181
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
013343889
149833592
250013592
done50013592

prune485.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

series40.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))

simplify30.0ms

Counts
13 → 13
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
04289
113678
272278
3500275
done500275

prune45.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

8.2b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
13.0b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
13.0b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
13.0b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
1.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
1.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
1.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

series482.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
149.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
142.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
148.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

simplify77.0ms

Counts
61 → 61
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0190752
1639693
22777627
35001621
done5001621

prune243.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.3b

localize18.0ms

Local error

Found 4 expressions with local error:

8.2b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
8.2b
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
13.0b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
13.0b
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 fma-udef
Counts
4 → 46
Calls
4 calls:
0.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
0.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
4.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
1.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

series383.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
40.0ms
(fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2))))
152.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))
146.0ms
(cbrt (fma (pow x 3) 0.6666666666666667 (- 2.0 (* 1.0 (pow x 2)))))

simplify79.0ms

Counts
58 → 58
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0190620
1639566
22777522
35001514
done5001514

prune265.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.3b

regimes73.0ms

Accuracy

96.2% (0.6b remaining)

Error of 1.1b against oracle of 0.4b and baseline of 17.3b

bsearch135.0ms

Steps
ItersRangePoint
9
0.02319676823116778
6068.335987417336
273.9633798024049

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05427
16727
26727
done6727

end0.0ms

sample2.9s

Algorithm
intervals
Results
776.0ms1951×body10240exit
717.0ms1705×body1280valid
533.0ms10034×body80valid
299.0ms1209×body640valid
111.0ms676×body320valid
30.0ms284×body160valid