Details

Time bar (total: 4.1s)

sample32.0ms

Algorithm
intervals
Results
12.0ms267×body80valid
3.0ms83×body80overflowed
3.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

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
(+ 1.0 (exp x))
0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.5b
(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:
3.0ms
(+ 1.0 (exp x))
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(log (+ 1.0 (exp x)))

series133.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ 1.0 (exp x))
61.0ms
(- (log (+ 1.0 (exp x))) (* x y))
64.0ms
(log (+ 1.0 (exp x)))

simplify50.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune115.0ms

Filtered
54 candidates to 40 candidates (74.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New51354
Fresh000
Picked011
Done000
Total51455

Merged error: 0.2b

Counts
55 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series156.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0344470
11288435
25002426

prune145.0ms

Filtered
67 candidates to 50 candidates (74.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New66167
Fresh022
Picked101
Done011
Total67471

Merged error: 0.2b

Counts
71 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(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)
15.5b
(/ (- (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))))

rewrite39.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)))
6.0ms
(pow (log (+ 1.0 (exp x))) 3)
19.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))))

series546.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(log (+ 1.0 (exp x)))
124.0ms
(* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y)))
120.0ms
(pow (log (+ 1.0 (exp x))) 3)
237.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))))

simplify127.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
06933202
133293080
250013030

prune480.0ms

Filtered
147 candidates to 97 candidates (66.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1452147
Fresh022
Picked101
Done011
Total1465151

Merged error: 0.2b

Counts
151 → 5

localize44.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y)))
0.7b
(pow (log (+ (exp x) 1.0)) 2)
11.0b
(* (+ (* (* x y) (+ (* x y) (log (+ 1.0 (exp x))))) (pow (log (+ (exp x) 1.0)) 2)) (/ (- (log (+ 1.0 (exp x))) (* x y)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y)))))
11.0b
(/ (- (log (+ 1.0 (exp x))) (* x y)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
19×times-frac
18×associate-*r*
14×add-exp-log
13×add-cbrt-cube
11×pow1
associate-*l*
flip3-+ flip-+
unpow-prod-down associate-/r/ add-log-exp
pow-unpow associate-*r/ prod-exp associate-/r* cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv frac-times div-exp pow-prod-down associate-*l/ log-pow *-commutative div-inv associate-/l/
distribute-rgt-in pow-to-exp flip3-- pow-pow frac-2neg distribute-lft-in div-sub pow-exp clear-num flip-- unpow2 sqr-pow
Counts
4 → 112
Calls
4 calls:
6.0ms
(* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y)))
3.0ms
(pow (log (+ (exp x) 1.0)) 2)
23.0ms
(* (+ (* (* x y) (+ (* x y) (log (+ 1.0 (exp x))))) (pow (log (+ (exp x) 1.0)) 2)) (/ (- (log (+ 1.0 (exp x))) (* x y)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y)))))
14.0ms
(/ (- (log (+ 1.0 (exp x))) (* x y)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y))))

series525.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y)))
85.0ms
(pow (log (+ (exp x) 1.0)) 2)
61.0ms
(* (+ (* (* x y) (+ (* x y) (log (+ 1.0 (exp x))))) (pow (log (+ (exp x) 1.0)) 2)) (/ (- (log (+ 1.0 (exp x))) (* x y)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y)))))
255.0ms
(/ (- (log (+ 1.0 (exp x))) (* x y)) (+ (* (log (+ (exp x) 1.0)) (+ (log (+ 1.0 (exp x))) (* x y))) (* (* x y) (* x y))))

simplify136.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
06933034
139672712
250012687

prune401.0ms

Filtered
124 candidates to 92 candidates (74.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh033
Picked011
Done011
Total1245129

Merged error: 0.2b

Counts
129 → 5

regimes81.0ms

Accuracy

0% (0.3b remaining)

Error of 0.7b against oracle of 0.4b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample914.0ms

Algorithm
intervals
Results
393.0ms8398×body80valid
102.0ms2449×body80overflowed
78.0ms136×body1280valid
75.0ms244×body640valid
37.0ms182×body320valid
12.0ms109×body160valid

Profiling

Loading profile data...