Details

Time bar (total: 5.2s)

sample75.0ms

Algorithm
intervals
Results
40.0ms101×body10240exit
14.0ms257×body80valid
4.0ms14×body640valid
4.0msbody1280valid
1.0msbody160valid
0.0msbody320valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 1.0b

Counts
2 → 1

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

rewrite23.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:
3.0ms
(+ 1.0 (exp x))
11.0ms
(- (log (+ 1.0 (exp x))) (* x y))
4.0ms
(log (+ 1.0 (exp x)))

series131.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04301368
11352988
25001966

prune202.0ms

Filtered
122 candidates to 61 candidates (50.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1193122
Fresh000
Picked101
Done000
Total1203123

Merged error: 0.7b

Counts
123 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
312×prod-diff
300×log-pow
264×*-un-lft-identity
224×pow1
213×add-sqr-sqrt
156×add-cube-cbrt
130×distribute-rgt-out
117×distribute-lft-out
83×associate-*l*
80×sqrt-pow1 pow1/2
78×associate-*r*
28×log-prod
27×unswap-sqr
26×distribute-lft1-in fma-neg distribute-rgt1-in *-commutative
16×associate--l+ sqrt-prod add-log-exp
13×count-2
10×distribute-lft-out--
log-div sqrt-div
associate-+l+ associate-+r+
add-exp-log
flip3-+ diff-log sum-log flip-+
associate--l- expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-def
+-commutative associate-+l- associate-+r- rem-log-exp difference-of-squares
sub-neg flip3-- flip--
Counts
4 → 449
Calls
4 calls:
3.0ms
(+ 1.0 (exp x))
39.0ms
(- (+ (log (sqrt (+ 1.0 (exp x)))) (log (sqrt (+ 1.0 (exp x))))) (* x y))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))

series375.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ 1.0 (exp x))
153.0ms
(- (+ (log (sqrt (+ 1.0 (exp x)))) (log (sqrt (+ 1.0 (exp x))))) (* x y))
105.0ms
(log (sqrt (+ 1.0 (exp x))))
108.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify124.0ms

Algorithm
egg-herbie
Counts
461 → 461
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
08248109
123544947
250014704

prune611.0ms

Filtered
461 candidates to 109 candidates (23.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4601461
Fresh022
Picked011
Done000
Total4604464

Merged error: 0.7b

Counts
464 → 4

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))
8.3b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite18.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))
11.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
1.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series144.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
76.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
51.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04231473
114101074
250011050

prune191.0ms

Filtered
109 candidates to 52 candidates (47.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh022
Picked101
Done011
Total1094113

Merged error: 0.7b

Counts
113 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (log (sqrt (+ 1.0 (exp x)))) (log (sqrt (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
0.7b
(log (sqrt (fma 1/2 (pow x 2) (+ x 2.0))))
1.6b
(log (sqrt (+ 1.0 (exp x))))
8.0b
(sqrt (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
129×*-un-lft-identity
118×log-pow
108×prod-diff
95×pow1
88×distribute-lft-out
77×add-sqr-sqrt
53×add-cube-cbrt
32×associate-*l*
29×sqrt-pow1 pow1/2
27×associate-*r*
26×log-prod
17×sqrt-prod
15×associate--l+
14×add-log-exp
10×distribute-lft-out-- unswap-sqr
fma-neg *-commutative
associate-+l+
add-exp-log associate-+r+
diff-log
expm1-log1p-u log-div sqrt-div sum-log add-cbrt-cube log1p-expm1-u
associate--l- associate-+l- flip3-+ rem-log-exp flip-+ difference-of-squares
+-commutative sub-neg rem-sqrt-square flip3-- flip--
Counts
4 → 220
Calls
4 calls:
28.0ms
(- (+ (log (sqrt (+ 1.0 (exp x)))) (log (sqrt (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
2.0ms
(log (sqrt (fma 1/2 (pow x 2) (+ x 2.0))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
2.0ms
(sqrt (fma 1/2 (pow x 2) (+ x 2.0)))

series696.0ms

Counts
4 → 12
Calls
4 calls:
349.0ms
(- (+ (log (sqrt (+ 1.0 (exp x)))) (log (sqrt (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
169.0ms
(log (sqrt (fma 1/2 (pow x 2) (+ x 2.0))))
102.0ms
(log (sqrt (+ 1.0 (exp x))))
75.0ms
(sqrt (fma 1/2 (pow x 2) (+ x 2.0)))

simplify110.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07554154
126043265
250023246

prune476.0ms

Filtered
232 candidates to 96 candidates (41.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2311232
Fresh022
Picked101
Done011
Total2324236

Merged error: 0.7b

Counts
236 → 4

regimes47.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01211
11211

end0.0ms

sample1.7s

Algorithm
intervals
Results
985.0ms2410×body10240exit
314.0ms8289×body80valid
77.0ms290×body640valid
64.0ms128×body1280valid
29.0ms182×body320valid
8.0ms87×body160valid