Details

Time bar (total: 2.3s)

analyze70.0ms

Algorithm
search

sample24.0ms

Algorithm
intervals
Results
11.0ms236×body80valid
3.0msbody640valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize7.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)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
log-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log log-div associate--l+
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log log-pow flip--
Counts
3 → 45
Calls
3 calls:
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(+ 1.0 (exp x))
4.0ms
(log (+ 1.0 (exp x)))

series22.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune85.0ms

Filtered
40 candidates to 54 candidates (-35.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New51354
Fresh000
Picked101
Done000
Total52355

Merged error: 0b

Counts
55 → 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)))) (* x y))
0.9b
(log (sqrt (+ 1.0 (exp x))))
0.9b
(log (sqrt (+ 1.0 (exp x))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
21×log-prod
18×*-un-lft-identity
12×sqrt-prod
10×add-sqr-sqrt add-cube-cbrt
pow1
associate--l+ add-log-exp
add-exp-log log-div sqrt-div log-pow
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
associate--l- sqrt-pow1 pow1/2 rem-log-exp
+-commutative sub-neg flip3-- diff-log sum-log flip--
Counts
4 → 73
Calls
4 calls:
3.0ms
(+ 1.0 (exp x))
7.0ms
(- (log (sqrt (+ 1.0 (exp x)))) (* x y))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))

series47.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ 1.0 (exp x))
15.0ms
(- (log (sqrt (+ 1.0 (exp x)))) (* x y))
14.0ms
(log (sqrt (+ 1.0 (exp x))))
16.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify60.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0227617
1620580
21867562
35002554

prune155.0ms

Filtered
62 candidates to 85 candidates (-37.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New85085
Fresh022
Picked011
Done000
Total85388

Merged error: 0b

Counts
88 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
log-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log log-div
flip3-+ associate--l+ sum-log add-cbrt-cube flip-+
associate--l-
+-commutative sub-neg associate-+r+ flip3-- diff-log rem-log-exp log-pow flip--
Counts
3 → 44
Calls
3 calls:
8.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
6.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
6.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series17.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
3.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
4.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify130.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0292480
11010443
24638436
35002436

prune99.0ms

Filtered
43 candidates to 53 candidates (-23.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New53053
Fresh011
Picked011
Done011
Total53356

Merged error: 0b

Counts
56 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(log (+ 1.0 (exp x)))
0.6b
(* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y)))
0.7b
(pow (log (+ 1.0 (exp x))) 3)
13.8b
(/ (- (pow (log (+ 1.0 (exp x))) 3) (pow (* x y) 3)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
39×times-frac
38×*-un-lft-identity
32×difference-of-squares
28×add-cube-cbrt
25×sqr-pow
13×associate-/l*
12×unpow-prod-down cube-prod
11×pow1
10×add-exp-log
add-cbrt-cube
difference-cubes log-prod associate-*l* log-pow distribute-lft-out-- add-log-exp
pow-unpow flip3-+ associate-*r* associate-/r* flip-+
log-div associate-*r/ associate-/r/ associate-/l/
cbrt-undiv distribute-rgt-in cube-mult pow-to-exp flip3-- pow-pow frac-2neg distribute-lft-in unpow3 div-sub div-exp rem-log-exp pow-prod-down pow-exp prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out rem-cube-cbrt unswap-sqr
Counts
4 → 135
Calls
4 calls:
3.0ms
(log (+ 1.0 (exp x)))
6.0ms
(* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y)))
3.0ms
(pow (log (+ 1.0 (exp x))) 3)
20.0ms
(/ (- (pow (log (+ 1.0 (exp x))) 3) (pow (* x y) 3)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y))))

series90.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(log (+ 1.0 (exp x)))
23.0ms
(* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y)))
16.0ms
(pow (log (+ 1.0 (exp x))) 3)
40.0ms
(/ (- (pow (log (+ 1.0 (exp x))) 3) (pow (* x y) 3)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y))))

simplify121.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06933202
133293080
250013030

prune362.0ms

Filtered
97 candidates to 147 candidates (-51.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1470147
Fresh000
Picked011
Done022
Total1473150

Merged error: 0b

Counts
150 → 3

regimes77.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

analyze64.0ms

Algorithm
search

sample682.0ms

Algorithm
intervals
Results
338.0ms7345×body80valid
77.0ms245×body640valid
74.0ms135×body1280valid
29.0ms157×body320valid
13.0ms118×body160valid
2.0ms40×body80invalid
0.0msbody80overflowed

Profiling

Loading profile data...