Details

Time bar (total: 24.5s)

sample75.0ms

Algorithm
intervals
Results
33.0ms65×body1280valid
14.0ms62×body640valid
8.0ms200×body80valid
2.0ms16×body320valid
1.0ms12×body160valid

simplify18.0ms

Counts
1 → 1
Iterations
IterNodes
done15
315
213
110
05

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.2b

localize15.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
3.4b
(- (exp x) 1.0)

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
fma-neg associate-/r*
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 68
Calls
2 calls:
52.0ms
(/ (- (exp x) 1.0) x)
23.0ms
(- (exp x) 1.0)

series109.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(/ (- (exp x) 1.0) x)
36.0ms
(- (exp x) 1.0)

simplify3.7s

Counts
74 → 74
Iterations
IterNodes
done5002
32400
2723
1293
0127

prune451.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma x (fma 1/6 x 1/2) 1)
0.1b
(fma 1/6 x 1/2)

rewrite2.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
2 → 20
Calls
2 calls:
1.0ms
(fma x (fma 1/6 x 1/2) 1)
1.0ms
(fma 1/6 x 1/2)

series110.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(fma x (fma 1/6 x 1/2) 1)
61.0ms
(fma 1/6 x 1/2)

simplify3.8s

Counts
26 → 26
Iterations
IterNodes
done5008
41916
3420
2122
157
033

prune172.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize41.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 1/6 x 1/2)
0.1b
(fma 1/6 x 1/2)
0.1b
(fma 1/6 x 1/2)
8.7b
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))

rewrite32.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 log1p-expm1-u add-log-exp
fma-udef
cbrt-prod pow1/3 pow3 rem-cbrt-cube
Counts
4 → 42
Calls
4 calls:
1.0ms
(fma 1/6 x 1/2)
1.0ms
(fma 1/6 x 1/2)
1.0ms
(fma 1/6 x 1/2)
29.0ms
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(fma 1/6 x 1/2)
60.0ms
(fma 1/6 x 1/2)
76.0ms
(fma 1/6 x 1/2)
48.0ms
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))

simplify5.5s

Counts
54 → 54
Iterations
IterNodes
done5000
42508
3477
2130
161
037

prune460.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize114.0ms

Local error

Found 4 expressions with local error:

8.7b
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))
8.7b
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))
9.6b
(sqrt (cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1))))
9.6b
(sqrt (cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod expm1-log1p-u sqrt-pow1 pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square pow1/2 pow3 rem-cbrt-cube
Counts
4 → 58
Calls
4 calls:
28.0ms
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))
29.0ms
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))
10.0ms
(sqrt (cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1))))
10.0ms
(sqrt (cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1))))

series345.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))
47.0ms
(cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1)))
115.0ms
(sqrt (cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1))))
130.0ms
(sqrt (cbrt (* (* (fma x (fma 1/6 x 1/2) 1) (fma x (fma 1/6 x 1/2) 1)) (fma x (fma 1/6 x 1/2) 1))))

simplify5.7s

Counts
70 → 70
Iterations
IterNodes
done5000
44324
31121
2344
1134
065

prune615.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes183.0ms

Accuracy

97.3% (0.6b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 21.5b

bsearch2.0ms

simplify6.0ms

Iterations
IterNodes
done22
122
019

end0.0ms

sample2.7s

Algorithm
intervals
Results
968.0ms1599×body640valid
870.0ms2289×body1280valid
315.0ms5474×body80valid
151.0ms845×body320valid
60.0ms450×body160valid