Details

Time bar (total: 10.8s)

analyze1.3s

Algorithm
search

sample153.0ms

Algorithm
intervals
Results
94.0ms106×body1280valid
34.0ms76×body640valid
10.0ms42×body320valid
4.0ms256×pre80true
3.0ms23×body160valid
1.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: 61.6b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
6.9b
(log (- 1.0 x))
7.0b
(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))

series22.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0515773
12021724
25002711

prune175.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New71778
Fresh000
Picked101
Done000
Total72779

Merged error: 58.9b

Counts
79 → 7

localize13.0ms

Local error

Found 3 expressions with local error:

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)))))
6.9b
(log (- 1.0 x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
92×times-frac
83×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
49×*-un-lft-identity
47×add-cube-cbrt
29×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×pow1 div-exp prod-exp add-cbrt-cube
pow-to-exp pow-exp
log-prod log-pow
log-div associate-/r/ associate-/l*
flip3-- associate-*r/ associate-*l* associate-/r* flip-- add-log-exp
cbrt-undiv div-sub frac-sub cbrt-unprod div-inv
frac-2neg flip3-+ rem-log-exp pow-prod-down clear-num *-commutative flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 163
Calls
3 calls:
18.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))

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.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))

simplify102.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010401572
144061408
250011408

prune385.0ms

Filtered
114 candidates to 172 candidates (-50.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1711172
Fresh336
Picked101
Done000
Total1754179

Merged error: 0.0b

Counts
179 → 4

localize15.0ms

Local error

Found 3 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
(/ (- (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)))))

rewrite63.0ms

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

series23.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
13.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)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
08552533
136882253
250012252

prune851.0ms

Filtered
171 candidates to 275 candidates (-60.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2732275
Fresh033
Picked101
Done000
Total2745279

Merged error: 0b

Counts
279 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
134×times-frac
124×add-sqr-sqrt
100×*-un-lft-identity
70×add-cube-cbrt
68×associate-*r*
56×unpow-prod-down
52×exp-prod
37×log-pow
29×add-exp-log
24×unpow2 sqr-pow
20×distribute-lft-out--
17×pow1 unswap-sqr
12×associate-/r/
11×add-cbrt-cube
10×div-exp prod-exp difference-of-squares
associate-*r/
pow-to-exp pow-exp frac-sub associate-/l*
add-log-exp
flip3-- flip-- div-inv
log-prod flip3-+ div-sub associate-*l* associate-/r* flip-+
cbrt-undiv exp-diff cbrt-unprod associate-/l/
log-div frac-2neg rem-log-exp pow-prod-down clear-num *-commutative rem-exp-log
Counts
4 → 230
Calls
4 calls:
21.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
14.0ms
(log (exp (/ (- (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)))))))
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)))))
12.0ms
(exp (/ (- (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))))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
9.0ms
(log (exp (/ (- (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)))))))
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)))))
10.0ms
(exp (/ (- (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))))))

simplify116.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
09723454
139883185
250013182

prune1.0s

Filtered
163 candidates to 242 candidates (-48.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2420242
Fresh044
Picked011
Done000
Total2425247

Merged error: 0b

Counts
247 → 5

regimes42.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02119
12119

end0.0ms

analyze1.3s

Algorithm
search

sample4.8s

Algorithm
intervals
Results
3.1s3409×body1280valid
1.1s2493×body640valid
290.0ms1272×body320valid
129.0ms8000×pre80true
81.0ms608×body160valid
12.0ms218×body80valid

Profiling

Loading profile data...