Details

Time bar (total: 4.4s)

sample61.0ms

Algorithm
intervals
Results
33.0ms83×body10240exit
10.0ms262×body80valid
4.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

series126.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune102.0ms

Filtered
54 candidates to 40 candidates (74.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New51354
Fresh000
Picked101
Done000
Total52355

Merged error: 0.4b

Counts
55 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.9b
(cbrt (+ 1.0 (exp x)))
0.9b
(cbrt (+ 1.0 (exp x)))
0.9b
(cbrt (+ 1.0 (exp x)))
1.4b
(log (* (cbrt (+ 1.0 (exp x))) (cbrt (+ 1.0 (exp x)))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
13×*-un-lft-identity
12×pow1 cbrt-prod
flip3-+ pow1/3 log-pow flip-+
log-div
add-exp-log add-sqr-sqrt add-cube-cbrt
frac-times add-cbrt-cube add-log-exp
distribute-lft-out
associate-*r/ rem-log-exp pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 log-prod pow-plus prod-exp
Counts
4 → 69
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 (exp x)))
3.0ms
(cbrt (+ 1.0 (exp x)))
3.0ms
(cbrt (+ 1.0 (exp x)))
9.0ms
(log (* (cbrt (+ 1.0 (exp x))) (cbrt (+ 1.0 (exp x)))))

series512.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(cbrt (+ 1.0 (exp x)))
109.0ms
(cbrt (+ 1.0 (exp x)))
113.0ms
(cbrt (+ 1.0 (exp x)))
177.0ms
(log (* (cbrt (+ 1.0 (exp x))) (cbrt (+ 1.0 (exp x)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0212675
1498601
21640579
35001578

prune213.0ms

Filtered
81 candidates to 64 candidates (79.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh022
Picked011
Done000
Total81384

Merged error: 0.4b

Counts
84 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series166.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* 1/2 (pow x 2))
16.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
72.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
51.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0371575
11439529
25001520

prune157.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New82183
Fresh011
Picked101
Done011
Total83386

Merged error: 0.4b

Counts
86 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
17×add-log-exp
10×*-un-lft-identity
add-exp-log associate-*r*
add-cube-cbrt associate-*l*
sum-log
add-cbrt-cube
sub-neg unpow-prod-down difference-of-squares
pow1 distribute-rgt-in associate-+l+ associate-+r+ distribute-lft-in times-frac unswap-sqr
log-prod diff-log prod-exp unpow2 sqr-pow
+-commutative flip3-- flip3-+ associate-*r/ flip-- flip-+
pow-to-exp pow-exp associate--l+ *-commutative cbrt-unprod distribute-lft-out--
Counts
4 → 85
Calls
4 calls:
19.0ms
(* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))
8.0ms
(- (+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x)) (* x y))
5.0ms
(+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x))
4.0ms
(+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))

series557.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))
71.0ms
(- (+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x)) (* x y))
57.0ms
(+ (+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2))))) (* 0.5 x))
353.0ms
(+ (log 2.0) (* (pow x 2) (- 0.25 (/ 1/2 (pow 2.0 2)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0442901
11771849
25001840

prune216.0ms

Filtered
97 candidates to 68 candidates (70.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh011
Picked101
Done011
Total964100

Merged error: 0.4b

Counts
100 → 4

regimes46.0ms

Accuracy

80.6% (0.3b remaining)

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

bsearch53.0ms

Steps
ItersRangePoint
6
-7888799.454350161
-902290.5721441875
-915233.3327664499

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04137
14137

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.0s2466×body10240exit
337.0ms8397×body80valid
71.0ms140×body1280valid
71.0ms261×body640valid
27.0ms167×body320valid
12.0ms117×body160valid

Profiling

Loading profile data...