Details

Time bar (total: 14.8s)

sample83.0ms

Algorithm
intervals
Results
40.0ms66×body10240exit
20.0ms267×body80valid
3.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify9.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1129
2199
3239
done239

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.0b
(+ 1.0 (exp x))
0.3b
(log (+ 1.0 (exp x)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod
pow1 add-log-exp
add-exp-log log-div fma-neg prod-diff associate--l+
expm1-log1p-u fma-def flip3-+ log-pow add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log flip--
Counts
3 → 62
Calls
3 calls:
13.0ms
(- (log (+ 1.0 (exp x))) (* x y))
7.0ms
(+ 1.0 (exp x))
6.0ms
(log (+ 1.0 (exp x)))

series466.0ms

Counts
3 → 9
Calls
3 calls:
390.0ms
(- (log (+ 1.0 (exp x))) (* x y))
11.0ms
(+ 1.0 (exp x))
65.0ms
(log (+ 1.0 (exp x)))

simplify2.9s

Counts
71 → 71
Iterations

Useful iterations: done (2.9s)

IterNodesCost
0105724
1237686
2579635
31595618
43745590
done5000589

prune235.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt log-prod *-un-lft-identity
pow1
fma-neg prod-diff
add-exp-log associate--l+ log-pow add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log rem-log-exp flip--
Counts
2 → 39
Calls
2 calls:
14.0ms
(- (log (fma (fma 1/2 x 1) x 2.0)) (* x y))
2.0ms
(log (fma (fma 1/2 x 1) x 2.0))

series196.0ms

Counts
2 → 6
Calls
2 calls:
119.0ms
(- (log (fma (fma 1/2 x 1) x 2.0)) (* x y))
76.0ms
(log (fma (fma 1/2 x 1) x 2.0))

simplify3.2s

Counts
45 → 45
Iterations

Useful iterations: done (3.2s)

IterNodesCost
093722
1222681
2564626
31582596
43752567
done5000566

prune171.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))) (log 2.0))
0.0b
(fma x 0.5 (fma (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))) (log 2.0)))

rewrite2.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
2 → 20
Calls
2 calls:
1.0ms
(fma (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))) (log 2.0))
1.0ms
(fma x 0.5 (fma (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))) (log 2.0)))

series456.0ms

Counts
2 → 6
Calls
2 calls:
406.0ms
(fma (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))) (log 2.0))
50.0ms
(fma x 0.5 (fma (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))) (log 2.0)))

simplify1.5s

Counts
26 → 26
Iterations

Useful iterations: done (1.5s)

IterNodesCost
039446
160443
2139382
3471378
42255363
done5000353

prune122.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log (fma (fma 1/2 x 1) x 2.0)) (* x y))
0.7b
(pow (- (log (fma (fma 1/2 x 1) x 2.0)) (* x y)) 3)
4.9b
(log (fma (fma 1/2 x 1) x 2.0))
11.8b
(cbrt (pow (- (log (fma (fma 1/2 x 1) x 2.0)) (* x y)) 3))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×cbrt-prod
pow1
add-exp-log unpow-prod-down log-prod cube-prod
add-cbrt-cube add-log-exp
cube-div expm1-log1p-u fma-neg prod-diff log1p-expm1-u
pow-unpow flip3-- associate--l+ log-pow flip--
cube-mult cbrt-div unpow3 sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log rem-log-exp pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 91
Calls
4 calls:
9.0ms
(- (log (fma (fma 1/2 x 1) x 2.0)) (* x y))
10.0ms
(pow (- (log (fma (fma 1/2 x 1) x 2.0)) (* x y)) 3)
1.0ms
(log (fma (fma 1/2 x 1) x 2.0))
14.0ms
(cbrt (pow (- (log (fma (fma 1/2 x 1) x 2.0)) (* x y)) 3))

series572.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(- (log (fma (fma 1/2 x 1) x 2.0)) (* x y))
269.0ms
(pow (- (log (fma (fma 1/2 x 1) x 2.0)) (* x y)) 3)
78.0ms
(log (fma (fma 1/2 x 1) x 2.0))
106.0ms
(cbrt (pow (- (log (fma (fma 1/2 x 1) x 2.0)) (* x y)) 3))

simplify953.0ms

Counts
103 → 103
Iterations

Useful iterations: done (947.0ms)

IterNodesCost
01772212
14401939
213261756
done50001700

prune368.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes93.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1109
done109

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.5s2465×body10240exit
1.0s8447×body80valid
87.0ms134×body1280valid
82.0ms225×body640valid
79.0ms186×body320valid
14.0ms100×body160valid