Details

Time bar (total: 9.2s)

sample172.0ms

Algorithm
intervals
Results
106.0ms107×body1280valid
39.0ms85×body640valid
9.0ms40×body320valid
4.0ms256×pre80true
2.0ms18×body160valid
0.0msbody80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

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: 61.2b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

series220.0ms

Counts
3 → 9
Calls
3 calls:
131.0ms
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
40.0ms
(log (+ 1.0 x))
48.0ms
(log (- 1.0 x))

simplify44.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0425668
11561624
25001599

prune172.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New71778
Fresh000
Picked011
Done000
Total71879

Merged error: 59.0b

Counts
79 → 8

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

rewrite44.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:
19.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)))))
8.0ms
(log (- 1.0 x))

series240.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
134.0ms
(/ (log (- 1.0 x)) (- (+ (* 1.0 x) (log 1.0)) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))
50.0ms
(log (- 1.0 x))

simplify104.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09951550
142131389
250011389

prune403.0ms

Filtered
172 candidates to 114 candidates (66.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1711172
Fresh426
Picked101
Done011
Total1764180

Merged error: 0.0b

Counts
180 → 4

localize13.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)))))

rewrite70.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:
20.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
24.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)))))

series233.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
08552533
136882253
250012252

prune638.0ms

Filtered
275 candidates to 171 candidates (62.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2732275
Fresh022
Picked011
Done011
Total2736279

Merged error: 0b

Counts
279 → 6

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
208×add-sqr-sqrt
171×associate-*r*
132×*-un-lft-identity
112×unpow-prod-down
108×add-cube-cbrt
57×add-exp-log
53×sqrt-prod
48×unpow2 sqr-pow
40×unswap-sqr
22×prod-exp
21×add-cbrt-cube
20×div-exp
18×pow1
16×distribute-lft-out--
15×associate-*l*
12×pow-to-exp pow-exp
associate-/l*
associate-/r/ log-pow difference-of-squares
associate-*r/
sqrt-div cbrt-unprod
flip3-- flip--
cbrt-undiv frac-sub div-inv add-log-exp
pow-prod-down associate-/r* *-commutative
frac-times flip3-+ associate-*l/ flip-+ associate-/l/
frac-2neg clear-num
Counts
4 → 345
Calls
4 calls:
19.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
23.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
26.0ms
(* (sqrt (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))) (/ (sqrt (- (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))))))
13.0ms
(/ (sqrt (- (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)))))

series557.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
58.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
124.0ms
(* (sqrt (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))) (/ (sqrt (- (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))))))
318.0ms
(/ (sqrt (- (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)))))

simplify78.0ms

Algorithm
egg-herbie
Counts
357 → 357
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011625279
150014684

prune995.0ms

Filtered
357 candidates to 219 candidates (61.3%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3570357
Fresh033
Picked011
Done022
Total3576363

Merged error: 0b

Counts
363 → 6

regimes58.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
01917
11917

end0.0ms

sample4.9s

Algorithm
intervals
Results
3.1s3401×body1280valid
1.1s2523×body640valid
283.0ms1237×body320valid
124.0ms8000×pre80true
88.0ms623×body160valid
12.0ms216×body80valid

Profiling

Loading profile data...