Details

Time bar (total: 4.1s)

sample53.0ms

Algorithm
intervals
Results
29.0ms71×body10240exit
10.0ms271×body80valid
2.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 1

localize8.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.5b
(log (+ 1.0 (exp x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
48×prod-diff
44×add-sqr-sqrt
43×*-un-lft-identity
31×add-cube-cbrt
19×pow1
16×log-pow
14×associate-*l*
12×associate-*r*
log-prod add-log-exp
unswap-sqr
add-exp-log log-div fma-neg associate--l+ *-commutative distribute-lft-out--
expm1-log1p-u fma-def flip3-+ add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
associate--l- diff-log difference-of-squares
+-commutative sub-neg flip3-- rem-log-exp sum-log flip--
Counts
3 → 113
Calls
3 calls:
11.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(+ 1.0 (exp x))
4.0ms
(log (+ 1.0 (exp x)))

series133.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04241368
11299988
25002966

prune158.0ms

Filtered
122 candidates to 61 candidates (50.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1184122
Fresh000
Picked101
Done000
Total1194123

Merged error: 0.2b

Counts
123 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(+ 1.0 (exp x))
1.2b
(log (sqrt (+ 1.0 (exp x))))
1.2b
(log (sqrt (+ 1.0 (exp x))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
14×log-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 sqrt-prod add-log-exp
add-exp-log fma-def log-pow
expm1-log1p-u log-div flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
+-commutative sqrt-pow1 pow1/2 rem-log-exp sum-log
Counts
4 → 78
Calls
4 calls:
3.0ms
(+ 1.0 (exp x))
3.0ms
(+ 1.0 (exp x))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))

series239.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ 1.0 (exp x))
8.0ms
(+ 1.0 (exp x))
116.0ms
(log (sqrt (+ 1.0 (exp x))))
106.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify45.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0163504
1419460
21196448
35001438

prune216.0ms

Filtered
90 candidates to 68 candidates (75.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New89190
Fresh123
Picked101
Done000
Total91394

Merged error: 0.2b

Counts
94 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

1.2b
(log (sqrt (+ 1.0 (exp x))))
1.2b
(log (sqrt (+ 1.0 (exp x))))
1.2b
(log (sqrt (+ 1.0 (exp x))))
1.2b
(log (sqrt (+ 1.0 (exp x))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
28×log-prod
20×*-un-lft-identity
16×sqrt-prod
12×pow1 add-sqr-sqrt add-cube-cbrt log-pow
add-exp-log log-div sqrt-div
expm1-log1p-u sqrt-pow1 flip3-+ pow1/2 rem-log-exp add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
Counts
4 → 88
Calls
4 calls:
4.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
5.0ms
(log (sqrt (+ 1.0 (exp x))))

series440.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(log (sqrt (+ 1.0 (exp x))))
105.0ms
(log (sqrt (+ 1.0 (exp x))))
107.0ms
(log (sqrt (+ 1.0 (exp x))))
114.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify193.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0132748
1325684
2928660
34984640
45001640

prune294.0ms

Filtered
100 candidates to 76 candidates (76.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh022
Picked011
Done000
Total1003103

Merged error: 0.2b

Counts
103 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
48×prod-diff
43×add-sqr-sqrt
36×*-un-lft-identity
30×add-cube-cbrt
19×pow1
16×log-pow
14×associate-*l*
12×associate-*r*
log-prod add-log-exp
unswap-sqr
add-exp-log fma-neg *-commutative distribute-lft-out--
expm1-log1p-u associate--l+ add-cbrt-cube log1p-expm1-u
diff-log difference-of-squares
sub-neg flip3-- rem-log-exp flip-- fma-udef
Counts
3 → 100
Calls
3 calls:
1.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
12.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
2.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series165.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
85.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
54.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04191473
113611074
250011050

prune146.0ms

Filtered
109 candidates to 52 candidates (47.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh011
Picked101
Done011
Total1093112

Merged error: 0.2b

Counts
112 → 3

regimes37.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01724
11724

end0.0ms

sample1.7s

Algorithm
intervals
Results
988.0ms2424×body10240exit
322.0ms8334×body80valid
74.0ms277×body640valid
63.0ms126×body1280valid
34.0ms190×body320valid
9.0ms96×body160valid