Details

Time bar (total: 29.6s)

sample134.0ms

Algorithm
intervals
Results
76.0ms83×body10240exit
26.0ms263×body80valid
6.0ms10×body640valid
5.0msbody1280valid
3.0msbody320valid
2.0msbody160valid

simplify18.0ms

Counts
1 → 1
Iterations
IterNodes
424
324
220
113
08

prune42.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize22.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (log1p (exp x)) (* y x))
0.3b
(log1p (exp x))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u fma-neg prod-diff
pow1 log1p-udef add-cbrt-cube diff-log add-exp-log insert-posit16 log1p-expm1-u
sub-neg flip3-- log1p-expm1 flip--
Counts
2 → 34
Calls
2 calls:
9.0ms
(- (log1p (exp x)) (* y x))
1.0ms
(log1p (exp x))

series151.0ms

Counts
2 → 6
Calls
2 calls:
80.0ms
(- (log1p (exp x)) (* y x))
71.0ms
(log1p (exp x))

simplify2.1s

Counts
40 → 40
Iterations
IterNodes
42334
3953
2314
1126
061

prune377.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize25.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (log1p (exp x)) (* y x))
0.3b
(log1p (exp x))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u fma-neg prod-diff
pow1 log1p-udef add-cbrt-cube diff-log add-exp-log insert-posit16 log1p-expm1-u
sub-neg flip3-- log1p-expm1 flip--
Counts
2 → 34
Calls
2 calls:
11.0ms
(- (log1p (exp x)) (* y x))
1.0ms
(log1p (exp x))

series138.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(- (log1p (exp x)) (* y x))
65.0ms
(log1p (exp x))

simplify2.0s

Counts
40 → 40
Iterations
IterNodes
42334
3953
2314
1126
061

prune363.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x (fma x 1/8 1/2) (log 2))
0.0b
(- (fma x (fma x 1/8 1/2) (log 2)) (* y x))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt add-log-exp
fma-neg prod-diff
expm1-log1p-u pow1 add-cbrt-cube add-exp-log fma-udef insert-posit16 log1p-expm1-u
sub-neg flip3-- diff-log associate--l+ flip--
Counts
2 → 33
Calls
2 calls:
0.0ms
(fma x (fma x 1/8 1/2) (log 2))
5.0ms
(- (fma x (fma x 1/8 1/2) (log 2)) (* y x))

series116.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(fma x (fma x 1/8 1/2) (log 2))
66.0ms
(- (fma x (fma x 1/8 1/2) (log 2)) (* y x))

simplify8.8s

Counts
39 → 39
Iterations
IterNodes
49149
31737
2353
1129
059

prune362.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize81.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))
1.4b
(fma (* y x) (fma x (fma 1/8 x 1/2) (log 2)) (fma (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)) (* (* y x) (* y x))))
3.4b
(- (* (fma x (fma 1/8 x 1/2) (log 2)) (* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))) (* (* (* y x) (* y x)) (* y x)))
19.9b
(/ (- (* (fma x (fma 1/8 x 1/2) (log 2)) (* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))) (* (* (* y x) (* y x)) (* y x))) (fma (* y x) (fma x (fma 1/8 x 1/2) (log 2)) (fma (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)) (* (* y x) (* y x)))))

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
17×*-un-lft-identity add-cube-cbrt
12×times-frac
11×pow1
add-cbrt-cube add-exp-log
fma-udef
add-log-exp
distribute-rgt-in difference-cubes distribute-lft-in cube-unmult pow3
expm1-log1p-u associate--l+ insert-posit16 log1p-expm1-u associate-/l*
associate-/r* swap-sqr associate-*r* associate-*l*
flip3-- flip-- associate-/l/
pow2 cbrt-undiv clear-num sub-neg frac-2neg pow-plus fma-neg diff-log div-sub div-exp prod-diff pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 100
Calls
4 calls:
10.0ms
(* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))
0.0ms
(fma (* y x) (fma x (fma 1/8 x 1/2) (log 2)) (fma (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)) (* (* y x) (* y x))))
72.0ms
(- (* (fma x (fma 1/8 x 1/2) (log 2)) (* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))) (* (* (* y x) (* y x)) (* y x)))
280.0ms
(/ (- (* (fma x (fma 1/8 x 1/2) (log 2)) (* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))) (* (* (* y x) (* y x)) (* y x))) (fma (* y x) (fma x (fma 1/8 x 1/2) (log 2)) (fma (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)) (* (* y x) (* y x)))))

series677.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))
122.0ms
(fma (* y x) (fma x (fma 1/8 x 1/2) (log 2)) (fma (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)) (* (* y x) (* y x))))
186.0ms
(- (* (fma x (fma 1/8 x 1/2) (log 2)) (* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))) (* (* (* y x) (* y x)) (* y x)))
306.0ms
(/ (- (* (fma x (fma 1/8 x 1/2) (log 2)) (* (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)))) (* (* (* y x) (* y x)) (* y x))) (fma (* y x) (fma x (fma 1/8 x 1/2) (log 2)) (fma (fma x (fma 1/8 x 1/2) (log 2)) (fma x (fma 1/8 x 1/2) (log 2)) (* (* y x) (* y x)))))

simplify7.8s

Counts
112 → 112
Iterations
IterNodes
311131
21873
1529
0208

prune1.6s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes109.0ms

Accuracy

0% (0.1b remaining)

Error of 0.5b against oracle of 0.3b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
27
17
06

end0.0ms

sample4.3s

Algorithm
intervals
Results
2.7s2370×body10240exit
913.0ms8423×body80valid
184.0ms277×body640valid
101.0ms189×body320valid
98.0ms107×body1280valid
20.0ms93×body160valid