Details

Time bar (total: 3.3m)

sample218.0ms

Algorithm
intervals
Results
157.0ms233×body10240exit
19.0ms13×body640valid
16.0ms204×body80valid
8.0ms30×body320valid
3.0ms15×body160valid

simplify229.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
229.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.7b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite162.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 insert-posit16 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 → 168
Calls
4 calls:
Slowest
65.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))
57.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
19.0ms
(* wj (exp wj))
16.0ms
(+ (exp wj) (* wj (exp wj)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
77.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))
65.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
46.0ms
(+ (exp wj) (* wj (exp wj)))
29.0ms
(* wj (exp wj))

simplify37.5s

Counts
207 → 180
Calls
207 calls:
Slowest
931.0ms
(fma (- (/ (- (* wj (exp wj)) x) (+ 1 wj))) (/ 1 (exp wj)) (* (/ (- (* wj (exp wj)) x) (+ 1 wj)) (/ 1 (exp wj))))
649.0ms
(/ (* wj (exp wj)) (+ (exp wj) (* wj (exp wj))))
544.0ms
(fma (- (/ (- (* wj (exp wj)) x) (+ 1 wj))) (/ 1 (exp wj)) (* (/ (- (* wj (exp wj)) x) (+ 1 wj)) (/ 1 (exp wj))))
499.0ms
(fma (- (/ (- (* wj (exp wj)) x) (+ 1 wj))) (/ 1 (exp wj)) (* (/ (- (* wj (exp wj)) x) (+ 1 wj)) (/ 1 (exp wj))))
495.0ms
(- (sqrt wj) (sqrt (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))))

prune1.9s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 0 expressions with local error:

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0
Calls
0 calls:
Slowest

series0.0ms

Counts
0 → 0
Calls
0 calls:
Slowest

simplify0.0ms

Counts
0 → 0
Calls
0 calls:
Slowest

prune26.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize34.0ms

Local error

Found 3 expressions with local error:

4.6b
(- wj (/ (- wj (/ x (exp wj))) (+ wj 1)))
0.0b
(/ (- wj (/ x (exp wj))) (+ wj 1))
0.0b
(/ x (exp wj))

rewrite102.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-+
expm1-log1p-u pow1 fma-neg insert-posit16 log1p-expm1-u
cbrt-undiv clear-num frac-2neg flip3-- div-sub div-exp flip-- associate-/l/
sub-neg diff-log associate--r-
Counts
3 → 196
Calls
3 calls:
Slowest
49.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ wj 1)))
44.0ms
(/ (- wj (/ x (exp wj))) (+ wj 1))
5.0ms
(/ x (exp wj))

series167.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
70.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ wj 1)))
63.0ms
(/ (- wj (/ x (exp wj))) (+ wj 1))
33.0ms
(/ x (exp wj))

simplify49.6s

Counts
286 → 205
Calls
286 calls:
Slowest
869.0ms
(fma 1 wj (- (* (/ (- wj (/ x (exp wj))) (+ wj 1)) (/ 1 1))))
670.0ms
(fma (* (cbrt wj) (cbrt wj)) (cbrt wj) (- (* (/ (- wj (/ x (exp wj))) (cbrt (+ wj 1))) (/ 1 (* (cbrt (+ wj 1)) (cbrt (+ wj 1)))))))
464.0ms
(fma (- (/ (- wj (/ x (exp wj))) (+ wj 1))) (/ 1 1) (* (/ (- wj (/ x (exp wj))) (+ wj 1)) (/ 1 1)))
460.0ms
(fma (- (/ (- wj (/ x (exp wj))) (+ wj 1))) (/ 1 1) (* (/ (- wj (/ x (exp wj))) (+ wj 1)) (/ 1 1)))
458.0ms
(fma (- (/ (- wj (/ x (exp wj))) (+ wj 1))) (/ 1 1) (* (/ (- wj (/ x (exp wj))) (+ wj 1)) (/ 1 1)))

prune1.8s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.3b

localize27.0ms

Local error

Found 4 expressions with local error:

6.6b
(- wj (/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x))))
0.5b
(/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x))
0.2b
(/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x)))
0.0b
(+ (exp wj) (* wj (exp wj)))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
468×times-frac
338×*-un-lft-identity
303×add-sqr-sqrt
289×add-cube-cbrt
204×prod-diff
44×distribute-rgt-out distribute-rgt1-in
32×associate-/r/
24×associate-/r*
19×div-inv
17×add-exp-log
15×flip3-- flip--
11×add-cbrt-cube
div-exp associate-/l* add-log-exp
pow1 difference-of-squares
expm1-log1p-u cbrt-undiv insert-posit16 log1p-expm1-u
fma-def fma-neg
rec-exp clear-num frac-2neg flip3-+ 1-exp flip-+ distribute-lft-out-- associate-/l/
+-commutative sum-log sub-neg diff-log pow-flip inv-pow
Counts
4 → 401
Calls
4 calls:
Slowest
52.0ms
(- wj (/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x))))
34.0ms
(/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x))
29.0ms
(/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x)))
8.0ms
(+ (exp wj) (* wj (exp wj)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
138.0ms
(/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x))
68.0ms
(- wj (/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x))))
53.0ms
(/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x)))
44.0ms
(+ (exp wj) (* wj (exp wj)))

simplify1.6m

Counts
641 → 413
Calls
641 calls:
Slowest
582.0ms
(fma (* (cbrt wj) (cbrt wj)) (cbrt wj) (- (* (/ (sqrt 1) (/ (sqrt (+ (exp wj) (* wj (exp wj)))) (sqrt (- (* wj (exp wj)) x)))) (/ (sqrt 1) (/ (sqrt (+ (exp wj) (* wj (exp wj)))) (sqrt (- (* wj (exp wj)) x)))))))
534.0ms
(fma (sqrt wj) (sqrt wj) (- (* (/ (cbrt 1) (/ (+ (exp wj) (* wj (exp wj))) (cbrt (- (* wj (exp wj)) x)))) (/ (* (cbrt 1) (cbrt 1)) (/ 1 (* (cbrt (- (* wj (exp wj)) x)) (cbrt (- (* wj (exp wj)) x))))))))
529.0ms
(/ (sqrt 1) (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x)))
522.0ms
(fma (sqrt wj) (sqrt wj) (- (* (/ 1 (/ (+ 1 wj) (cbrt (- (* wj (exp wj)) x)))) (/ 1 (/ (exp wj) (* (cbrt (- (* wj (exp wj)) x)) (cbrt (- (* wj (exp wj)) x))))))))
476.0ms
(fma (* (cbrt wj) (cbrt wj)) (cbrt wj) (- (* (sqrt (/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x)))) (sqrt (/ 1 (/ (+ (exp wj) (* wj (exp wj))) (- (* wj (exp wj)) x)))))))

prune2.8s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.3b

regimes70.0ms

Accuracy

97% (0.1b remaining)

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

bsearch81.0ms

end0.0ms

sample5.6s

Algorithm
intervals
Results
4.4s7624×body10240exit
498.0ms6305×body80valid
164.0ms452×body640valid
159.0ms781×body320valid
108.0ms547×body160valid