Details

Time bar (total: 12.3s)

sample53.0ms

Algorithm
intervals
Results
24.0ms62×body10240exit
9.0ms261×body80valid
3.0msbody1280valid
3.0msbody640valid
1.0msbody320valid

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.5b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.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:
7.0ms
(+ 1.0 (exp x))
13.0ms
(- (log (+ 1.0 (exp x))) (* x y))
6.0ms
(log (+ 1.0 (exp x)))

series139.0ms

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

simplify2.2s

Counts
71 → 71
Iterations

Useful iterations: done (2.2s)

IterNodesCost
0105724
1237686
2579635
31589618
43745590
done5000589

prune171.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
12.0ms
(- (log (fma (fma 1/2 x 1) x 2.0)) (* x y))
1.0ms
(log (fma (fma 1/2 x 1) x 2.0))

series138.0ms

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

simplify2.4s

Counts
45 → 45
Iterations

Useful iterations: done (2.4s)

IterNodesCost
093722
1222681
2564626
31582596
43752567
done5000566

prune123.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (expm1 (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (* x y))
0.0b
(log1p (log (fma (fma 1/2 x 1) x 2.0)))
0.3b
(expm1 (log1p (log (fma (fma 1/2 x 1) x 2.0))))
7.8b
(log (fma (fma 1/2 x 1) x 2.0))

rewrite12.0ms

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

series595.0ms

Counts
4 → 12
Calls
4 calls:
229.0ms
(- (expm1 (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (* x y))
123.0ms
(log1p (log (fma (fma 1/2 x 1) x 2.0)))
190.0ms
(expm1 (log1p (log (fma (fma 1/2 x 1) x 2.0))))
53.0ms
(log (fma (fma 1/2 x 1) x 2.0))

simplify1.9s

Counts
69 → 69
Iterations

Useful iterations: 3 (885.0ms)

IterNodesCost
01701316
14271148
212781069
347621006
done50001006

prune238.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))))
0.3b
(expm1 (* (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0))))))
7.8b
(log (fma (fma 1/2 x 1) x 2.0))
7.8b
(log (fma (fma 1/2 x 1) x 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×pow1
18×sqrt-prod
14×add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-pow1 pow1/2 swap-sqr
log-prod associate-*r* associate-*l* add-cbrt-cube
pow-prod-up log1p-expm1-u
expm1-log1p-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-log-exp log-pow
pow2 expm1-log1p pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod expm1-udef
Counts
4 → 90
Calls
4 calls:
13.0ms
(* (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))))
0.0ms
(expm1 (* (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0))))))
1.0ms
(log (fma (fma 1/2 x 1) x 2.0))
1.0ms
(log (fma (fma 1/2 x 1) x 2.0))

series466.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(* (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))))
173.0ms
(expm1 (* (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0)))) (sqrt (log1p (log (fma (fma 1/2 x 1) x 2.0))))))
52.0ms
(log (fma (fma 1/2 x 1) x 2.0))
58.0ms
(log (fma (fma 1/2 x 1) x 2.0))

simplify1.6s

Counts
102 → 102
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01652372
13671617
210831423
340191331
done50001328

prune330.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes74.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1109
done109

end0.0ms

sample1.7s

Algorithm
intervals
Results
911.0ms2339×body10240exit
307.0ms8362×body80valid
71.0ms278×body640valid
68.0ms139×body1280valid
30.0ms200×body320valid
9.0ms97×body160valid