Details

Time bar (total: 3.5s)

sample63.0ms

Algorithm
intervals
Results
35.0ms73×body1280valid
12.0ms49×body640valid
3.0ms21×body320valid
3.0ms99×body80valid
1.0ms87×body80nan
1.0ms14×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052
152

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.9b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

3.4b
(log (+ 1.0 x))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
log-prod *-un-lft-identity
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-div
flip3-+ rem-log-exp log-pow add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
1 → 15
Calls
1 calls:
3.0ms
(log (+ 1.0 x))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(log (+ 1.0 x))

simplify38.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
012897
135487
2128081
3500178

prune34.0ms

Filtered
18 candidates to 13 candidates (27.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New16218
Fresh000
Picked011
Done000
Total16319

Merged error: 0.3b

Counts
19 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
0.0b
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
70×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
36×add-cube-cbrt *-un-lft-identity
25×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow-to-exp pow-exp add-log-exp
pow1
associate-*r/ associate-*l*
diff-log frac-sub cbrt-unprod
cbrt-undiv sub-neg flip3-- flip3-+ pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 126
Calls
2 calls:
19.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
6.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))

series10.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
5.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))

simplify72.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0676880
12962757
25002753

prune202.0ms

Filtered
132 candidates to 81 candidates (38.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1320132
Fresh011
Picked011
Done011
Total1323135

Merged error: 0.3b

Counts
135 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
2.3b
(log (- (* 1.0 1.0) (* x x)))
3.4b
(log (- 1.0 x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
18×log-prod
15×*-un-lft-identity
13×add-sqr-sqrt
pow1
log-div
add-cube-cbrt
log-pow distribute-lft-out--
add-exp-log flip3-- flip-- associate--r+ difference-of-squares
associate--l+
add-cbrt-cube add-log-exp
associate--l- rem-log-exp associate--r-
sub-neg diff-log
Counts
3 → 61
Calls
3 calls:
9.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
3.0ms
(log (- (* 1.0 1.0) (* x x)))
3.0ms
(log (- 1.0 x))

series16.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
6.0ms
(log (- (* 1.0 1.0) (* x x)))
3.0ms
(log (- 1.0 x))

simplify172.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (164.0ms)

IterNodesCost
0361557
11160525
24983479
35002469

prune116.0ms

Filtered
70 candidates to 55 candidates (21.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New67370
Fresh000
Picked101
Done022
Total68573

Merged error: 0.1b

Counts
73 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- 1.0 (* 1.0 x)))
0.0b
(+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
0.2b
(* 1/3 (/ (pow x 3) (pow 1.0 3)))
7.2b
(+ (+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (* x (- 1.0 (* 1.0 x))))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
160×times-frac
151×associate-*r*
124×add-sqr-sqrt
80×add-cube-cbrt unpow-prod-down *-un-lft-identity cube-prod
32×sqr-pow
29×add-exp-log
24×cube-mult unpow3
18×unswap-sqr
15×associate-*r/
11×prod-exp add-cbrt-cube add-log-exp
div-exp frac-add
pow1
pow-to-exp associate-*l* pow-exp
distribute-rgt-in sub-neg associate-+r+ flip3-- distribute-lft-in flip3-+ sum-log flip-- flip-+
cbrt-unprod
+-commutative pow-prod-down *-commutative
cbrt-undiv associate-+l+ div-inv
Counts
4 → 249
Calls
4 calls:
5.0ms
(* x (- 1.0 (* 1.0 x)))
14.0ms
(+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
35.0ms
(* 1/3 (/ (pow x 3) (pow 1.0 3)))
20.0ms
(+ (+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (* x (- 1.0 (* 1.0 x))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* x (- 1.0 (* 1.0 x)))
14.0ms
(+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
7.0ms
(* 1/3 (/ (pow x 3) (pow 1.0 3)))
7.0ms
(+ (+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (* x (- 1.0 (* 1.0 x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010581966
150011778

prune489.0ms

Filtered
261 candidates to 136 candidates (47.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2583261
Fresh022
Picked101
Done112
Total2606266

Merged error: 0.1b

Counts
266 → 6

regimes130.0ms

Accuracy

99.5% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 21.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.1s2280×body1280valid
382.0ms1678×body640valid
99.0ms838×body320valid
70.0ms2816×body80valid
45.0ms2686×body80nan
29.0ms388×body160valid

Profiling

Loading profile data...