Details

Time bar (total: 8.6s)

sample166.0ms

Algorithm
intervals
Results
106.0ms114×body1280valid
34.0ms75×body640valid
8.0ms37×body320valid
4.0ms256×pre80true
3.0ms21×body160valid
0.0msbody80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 60.8b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
5.8b
(log (+ 1.0 x))
5.8b
(log (- 1.0 x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-sqr-sqrt
16×times-frac
15×pow1 add-cube-cbrt
12×log-pow
log-prod
add-exp-log
log-div
add-cbrt-cube
associate-/r* associate-/l*
add-log-exp
flip3-- div-sub rem-log-exp flip--
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
3 → 69
Calls
3 calls:
6.0ms
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
3.0ms
(log (+ 1.0 x))
3.0ms
(log (- 1.0 x))

series20.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
3.0ms
(log (+ 1.0 x))
3.0ms
(log (- 1.0 x))

simplify53.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0515773
12021724
25002711

prune175.0ms

Filtered
56 candidates to 78 candidates (-39.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New72678
Fresh000
Picked011
Done000
Total72779

Merged error: 58.1b

Counts
79 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
92×times-frac
84×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
50×*-un-lft-identity
48×add-cube-cbrt
30×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
11×pow1 add-cbrt-cube
10×div-exp prod-exp
add-log-exp
pow-to-exp pow-exp
log-prod associate-*r/ log-pow
log-div flip3-- associate-/r/ frac-sub flip-- associate-/l*
associate-*l* associate-/r*
cbrt-undiv flip3-+ diff-log div-sub cbrt-unprod flip-+ div-inv
sub-neg frac-2neg rem-log-exp pow-prod-down associate--l+ clear-num sum-log *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 179
Calls
4 calls:
6.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
21.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
10.0ms
(/ (log (- 1.0 x)) (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))
3.0ms
(log (- 1.0 x))

series23.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
11.0ms
(/ (log (- 1.0 x)) (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))
3.0ms
(log (- 1.0 x))

simplify113.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
010811822
145861639
250011636

prune449.0ms

Filtered
127 candidates to 191 candidates (-50.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1901191
Fresh325
Picked101
Done101
Total1953198

Merged error: 0.0b

Counts
198 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
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))))
0.0b
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
178×times-frac
159×add-sqr-sqrt
136×associate-*r*
112×unpow-prod-down
95×*-un-lft-identity
83×add-cube-cbrt
52×add-exp-log
48×unpow2 sqr-pow
34×unswap-sqr
20×prod-exp
19×div-exp
16×add-cbrt-cube
12×pow1 pow-to-exp pow-exp
distribute-lft-out-- add-log-exp
associate-*r/ associate-*l* associate-/l*
associate-/r/ log-pow frac-sub cbrt-unprod difference-of-squares
cbrt-undiv flip3-- associate-/r* flip-- div-inv
flip3-+ diff-log pow-prod-down *-commutative flip-+ associate-/l/
sub-neg frac-2neg div-sub associate--l+ clear-num sum-log
Counts
4 → 282
Calls
4 calls:
19.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
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))))
12.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

series24.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
4.0ms
(- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
9.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

simplify107.0ms

Algorithm
egg-herbie
Counts
294 → 294
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08962783
138792484
250012481

prune942.0ms

Filtered
184 candidates to 294 candidates (-59.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2913294
Fresh022
Picked011
Done000
Total2916297

Merged error: 0b

Counts
297 → 6

localize14.0ms

Local error

Found 4 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))))
0.0b
(/ 1 (/ (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (- (log 1.0) (+ (* 1.0 x) (* 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)))) (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
242×times-frac
180×add-sqr-sqrt
162×*-un-lft-identity
114×add-cube-cbrt
68×associate-*r*
56×unpow-prod-down
40×add-exp-log
32×distribute-lft-out--
30×associate-/r*
24×unpow2 sqr-pow
23×pow1
17×div-exp unswap-sqr
16×log-pow add-cbrt-cube difference-of-squares
11×associate-/r/
10×prod-exp
add-log-exp
flip3-- flip-- div-inv
pow-to-exp pow-exp associate-/l*
cbrt-undiv associate-*r/
frac-sub associate-/l/
associate-*l*
rec-exp frac-2neg flip3-+ diff-log 1-exp clear-num cbrt-unprod flip-+
sub-neg pow-flip div-sub pow-prod-down associate--l+ sum-log *-commutative inv-pow
Counts
4 → 292
Calls
4 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))))
16.0ms
(/ 1 (/ (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))))
13.0ms
(/ (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

series32.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012095884
150015410

prune1.2s

Filtered
179 candidates to 304 candidates (-69.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3040304
Fresh044
Picked011
Done011
Total3046310

Merged error: 0b

Counts
310 → 6

regimes95.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01917
11917

end0.0ms

sample4.9s

Algorithm
intervals
Results
3.1s3430×body1280valid
1.1s2433×body640valid
293.0ms1268×body320valid
129.0ms8000×pre80true
85.0ms637×body160valid
13.0ms232×body80valid

Profiling

Loading profile data...