Details

Time bar (total: 15.1s)

sample140.0ms

Algorithm
intervals
Results
99.0ms286×body10240exit
9.0ms202×body80valid
4.0ms28×body320valid
3.0ms12×body640valid
2.0ms17×body160valid

simplify684.0ms

Counts
1 → 1
Iterations
IterNodes
done5000
4419
3115
252
121
08

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(+ (exp wj) (* wj (exp wj)))
0.5b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
4.5b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
63×prod-diff
61×times-frac
14×distribute-rgt-out distribute-rgt1-in
add-cbrt-cube associate-/r/ add-log-exp
add-exp-log
pow1
associate-/r* flip3-+ flip-+
expm1-log1p-u log1p-expm1-u div-inv
fma-def fma-neg associate-*r* associate-*l* associate-/l*
flip3-- div-sub flip-- difference-of-squares associate-/l/
cbrt-undiv +-commutative clear-num sum-log sub-neg frac-2neg diff-log div-exp pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 164
Calls
4 calls:
11.0ms
(* wj (exp wj))
14.0ms
(+ (exp wj) (* wj (exp wj)))
34.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
66.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series245.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* wj (exp wj))
62.0ms
(+ (exp wj) (* wj (exp wj)))
61.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
71.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify2.4s

Counts
176 → 176
Iterations
IterNodes
done5000
23751
1852
0317

prune1.3s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.5b

localize11.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations
IterNodes
done0
00

prune19.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

localize36.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (- (* wj (exp wj)) x) (exp wj))
0.5b
(/ (- (* wj (exp wj)) x) (exp wj))
2.2b
(fma (- (/ (- (* wj (exp wj)) x) (exp wj))) (/ 1 (+ wj 1)) (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1))))
4.5b
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
18×times-frac
add-cbrt-cube
associate-/r* add-exp-log associate-/l*
expm1-log1p-u pow1 log1p-expm1-u add-log-exp associate-/l/
cbrt-undiv clear-num frac-2neg flip3-- div-sub div-exp fma-udef div-inv flip--
Counts
4 → 84
Calls
4 calls:
30.0ms
(/ (- (* wj (exp wj)) x) (exp wj))
37.0ms
(/ (- (* wj (exp wj)) x) (exp wj))
0.0ms
(fma (- (/ (- (* wj (exp wj)) x) (exp wj))) (/ 1 (+ wj 1)) (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1))))
0.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))

series316.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (- (* wj (exp wj)) x) (exp wj))
67.0ms
(/ (- (* wj (exp wj)) x) (exp wj))
109.0ms
(fma (- (/ (- (* wj (exp wj)) x) (exp wj))) (/ 1 (+ wj 1)) (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1))))
77.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))

simplify1.0s

Counts
96 → 96
Iterations
IterNodes
done5000
2912
1244
0104

prune718.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

localize74.0ms

Local error

Found 4 expressions with local error:

2.2b
(fma (- (/ (- (* wj (exp wj)) x) (exp wj))) (/ 1 (+ wj 1)) (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1))))
4.5b
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))
4.5b
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))
4.5b
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef log1p-expm1-u add-log-exp
Counts
4 → 40
Calls
4 calls:
0.0ms
(fma (- (/ (- (* wj (exp wj)) x) (exp wj))) (/ 1 (+ wj 1)) (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1))))
0.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))
0.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))
1.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(fma (- (/ (- (* wj (exp wj)) x) (exp wj))) (/ 1 (+ wj 1)) (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1))))
82.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))
106.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))
95.0ms
(fma 1 wj (- (* (/ (- (* wj (exp wj)) x) (exp wj)) (/ 1 (+ wj 1)))))

simplify1.3s

Counts
52 → 52
Iterations
IterNodes
done5000
31262
2254
193
045

prune438.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

regimes123.0ms

Accuracy

0% (1.6b remaining)

Error of 2.1b against oracle of 0.4b and baseline of 2.1b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done7
17
06

end0.0ms

sample5.6s

Algorithm
intervals
Results
4.1s7750×body10240exit
538.0ms836×body320valid
411.0ms6220×body80valid
114.0ms465×body640valid
59.0ms548×body160valid