Details

Time bar (total: 20.2s)

sample130.0ms

Algorithm
intervals
Results
78.0ms236×body10240exit
10.0ms195×body80valid
6.0ms34×body320valid
4.0ms14×body640valid
2.0ms16×body160valid

simplify4.7s

Counts
1 → 1
Iterations

Useful iterations: 5 (244.0ms)

IterNodesCost
0816
12115
25215
311115
420614
568612
6278912
done500112

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.3b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- wj (/ x (exp wj))) (+ 1 wj))
0.2b
(/ x (exp wj))
6.1b
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

rewrite218.0ms

Algorithm
rewrite-expression-head
Rules
177×add-sqr-sqrt
173×*-un-lft-identity
123×times-frac
90×prod-diff
87×add-cube-cbrt
36×difference-of-squares
25×distribute-lft-out
18×distribute-lft-out--
associate-/l*
associate-/r/
associate-/r* add-cbrt-cube
add-exp-log
div-inv add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u fma-neg log1p-expm1-u
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- associate-/l/
sub-neg diff-log associate--r-
Counts
3 → 193
Calls
3 calls:
85.0ms
(/ (- wj (/ x (exp wj))) (+ 1 wj))
7.0ms
(/ x (exp wj))
112.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

series138.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ (- wj (/ x (exp wj))) (+ 1 wj))
34.0ms
(/ x (exp wj))
58.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

simplify2.0s

Counts
202 → 202
Iterations

Useful iterations: done (2.0s)

IterNodesCost
03318699
18247901
222325818
done50014977

prune463.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (* wj x) -2 (fma wj wj x))

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 (* wj x) -2 (fma wj wj x))

series45.0ms

Counts
1 → 3
Calls
1 calls:
45.0ms
(fma (* wj x) -2 (fma wj wj x))

simplify2.6s

Counts
13 → 13
Iterations

Useful iterations: 4 (1.1s)

IterNodesCost
021158
140155
2106134
3457134
42765108
done5000108

prune67.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ wj (+ 1 wj))
0.0b
(/ (/ x (exp wj)) (+ 1 wj))
0.2b
(/ x (exp wj))
5.5b
(- wj (/ wj (+ 1 wj)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
169×*-un-lft-identity
155×times-frac
118×add-sqr-sqrt
113×add-cube-cbrt
54×prod-diff
27×distribute-lft-out
19×associate-/l*
13×add-cbrt-cube
11×add-exp-log associate-/r* div-inv
10×associate-/r/
add-log-exp
cbrt-undiv flip3-+ div-exp flip-+
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg fma-neg clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 226
Calls
4 calls:
11.0ms
(/ wj (+ 1 wj))
23.0ms
(/ (/ x (exp wj)) (+ 1 wj))
7.0ms
(/ x (exp wj))
28.0ms
(- wj (/ wj (+ 1 wj)))

series142.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ wj (+ 1 wj))
51.0ms
(/ (/ x (exp wj)) (+ 1 wj))
32.0ms
(/ x (exp wj))
35.0ms
(- wj (/ wj (+ 1 wj)))

simplify2.3s

Counts
238 → 238
Iterations

Useful iterations: done (2.3s)

IterNodesCost
03705110
18624525
221713611
done50003145

prune736.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma wj wj (pow wj 4))
0.0b
(- (fma wj wj (pow wj 4)) (pow wj 3))
0.0b
(/ (/ x (exp wj)) (+ 1 wj))
0.2b
(/ x (exp wj))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
113×*-un-lft-identity
106×times-frac
90×add-sqr-sqrt
83×add-cube-cbrt
36×prod-diff
16×associate-/l*
14×distribute-lft-out
11×add-cbrt-cube
10×unpow-prod-down cube-prod
add-exp-log
associate-/r* div-inv
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u difference-of-squares sqr-pow
cube-mult fma-neg unpow3
frac-2neg clear-num associate-/r/ fma-udef
sub-neg flip3-- flip3-+ diff-log associate--l+ flip-- flip-+ associate-/l/ distribute-lft-out--
Counts
4 → 186
Calls
4 calls:
0.0ms
(fma wj wj (pow wj 4))
13.0ms
(- (fma wj wj (pow wj 4)) (pow wj 3))
35.0ms
(/ (/ x (exp wj)) (+ 1 wj))
11.0ms
(/ x (exp wj))

series257.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(fma wj wj (pow wj 4))
41.0ms
(- (fma wj wj (pow wj 4)) (pow wj 3))
62.0ms
(/ (/ x (exp wj)) (+ 1 wj))
42.0ms
(/ x (exp wj))

simplify2.0s

Counts
198 → 198
Iterations

Useful iterations: done (2.0s)

IterNodesCost
03053851
16713147
217912776
done50002454

prune688.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

regimes45.0ms

Accuracy

34.3% (0.7b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 1.1b

bsearch59.0ms

Steps
ItersRangePoint
7
9.104077427347524e-22
7.510757351113632e-20
7.377123706691067e-20

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02548
13048
done3048

end0.0ms

sample3.3s

Algorithm
intervals
Results
2.1s7507×body10240exit
292.0ms6302×body80valid
114.0ms467×body640valid
109.0ms777×body320valid
56.0ms544×body160valid