Details

Time bar (total: 28.9s)

sample262.0ms

Algorithm
intervals
Results
174.0ms249×body10240exit
36.0ms16×body640valid
23.0ms203×body80valid
8.0ms23×body320valid
3.0ms15×body160valid

simplify2.0s

Counts
1 → 1
Iterations
IterNodes
62372
5596
4193
3102
250
121
08

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.5b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.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:
15.0ms
(* wj (exp wj))
15.0ms
(+ (exp wj) (* wj (exp wj)))
37.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
40.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series249.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* wj (exp wj))
54.0ms
(+ (exp wj) (* wj (exp wj)))
62.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
92.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify1.2s

Counts
176 → 176
Iterations
IterNodes
22417
1832
0317

prune1.9s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity fma-neg prod-diff add-cube-cbrt add-log-exp
associate--r+
distribute-rgt-in expm1-log1p-u pow1 sub-neg distribute-lft-in flip3-- add-cbrt-cube diff-log associate--l+ add-exp-log fma-udef log1p-expm1-u flip--
Counts
1 → 23
Calls
1 calls:
4.0ms
(- (fma wj wj x) (* x (+ wj wj)))

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(- (fma wj wj x) (* x (+ wj wj)))

simplify731.0ms

Counts
26 → 26
Iterations
IterNodes
32176
2425
1131
053

prune309.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
387×times-frac
342×*-un-lft-identity
265×add-sqr-sqrt
254×add-cube-cbrt
174×prod-diff
43×distribute-lft-out
28×associate-/r/
21×associate-/l*
18×div-inv
14×flip3-+ flip-+
13×add-cbrt-cube
10×add-exp-log
associate-/r*
pow1 add-log-exp
div-sub
expm1-log1p-u cbrt-undiv div-exp log1p-expm1-u
fma-neg associate-*r* associate-*l* difference-of-squares associate-/l/
clear-num frac-2neg flip3-- flip--
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 347
Calls
4 calls:
10.0ms
(* wj (exp wj))
28.0ms
(/ (- (* wj (exp wj)) x) (+ wj 1))
47.0ms
(/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj))
45.0ms
(- wj (/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* wj (exp wj))
54.0ms
(/ (- (* wj (exp wj)) x) (+ wj 1))
53.0ms
(/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj))
80.0ms
(- wj (/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj)))

simplify3.9s

Counts
359 → 359
Iterations
IterNodes
25143
11646
0610

prune4.2s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* (exp wj) wj) x) (fma wj wj -1))
0.0b
(* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1))
1.0b
(/ (* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1)) (exp wj))
4.5b
(- wj (/ (* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1)) (exp wj)))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
53×*-un-lft-identity
48×add-cube-cbrt
39×prod-diff
31×times-frac
20×add-cbrt-cube
17×add-exp-log
13×associate-*l*
11×distribute-rgt-in distribute-lft-in
associate-*r* associate-/l/
pow1 cbrt-undiv associate-/r* flip3-- div-exp div-inv flip-- add-log-exp
expm1-log1p-u frac-times prod-exp associate-*r/ cbrt-unprod log1p-expm1-u associate-/l*
sub-neg fma-neg difference-of-squares
clear-num frac-2neg associate-*l/ distribute-lft-out-- unswap-sqr
diff-log difference-of-sqr-1 div-sub pow-prod-down *-commutative
Counts
4 → 166
Calls
4 calls:
30.0ms
(/ (- (* (exp wj) wj) x) (fma wj wj -1))
57.0ms
(* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1))
21.0ms
(/ (* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1)) (exp wj))
15.0ms
(- wj (/ (* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1)) (exp wj)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(/ (- (* (exp wj) wj) x) (fma wj wj -1))
63.0ms
(* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1))
79.0ms
(/ (* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1)) (exp wj))
137.0ms
(- wj (/ (* (/ (- (* (exp wj) wj) x) (fma wj wj -1)) (- wj 1)) (exp wj)))

simplify1.7s

Counts
178 → 178
Iterations
IterNodes
22858
1867
0316

prune1.9s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

regimes78.0ms

Accuracy

35.6% (1.1b remaining)

Error of 1.6b against oracle of 0.5b and baseline of 2.2b

bsearch85.0ms

Steps
ItersRangePoint
10
-0.005936836396315717
-1.8413813923692078e-16
-8.775235746042734e-09

simplify7.0ms

Iterations
IterNodes
223
123
020

end0.0ms

sample9.2s

Algorithm
intervals
Results
7.2s7696×body10240exit
1.1s6318×body80valid
217.0ms752×body320valid
209.0ms495×body640valid
102.0ms524×body160valid