Details

Time bar (total: 9.1s)

sample174.0ms

Algorithm
intervals
Results
102.0ms106×body1280valid
46.0ms92×body640valid
8.0ms32×body320valid
5.0ms256×pre80true
2.0ms18×body160valid
1.0msbody80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
6.2b
(log (+ 1.0 x))
6.4b
(log (- 1.0 x))

rewrite15.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*
expm1-log1p-u log1p-expm1-u 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 → 75
Calls
3 calls:
6.0ms
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
3.0ms
(log (+ 1.0 x))
4.0ms
(log (- 1.0 x))

series227.0ms

Counts
3 → 9
Calls
3 calls:
136.0ms
(/ (log (- 1.0 x)) (log (+ 1.0 x)))
42.0ms
(log (+ 1.0 x))
49.0ms
(log (- 1.0 x))

simplify45.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0452686
11669638
25001623

prune199.0ms

Filtered
84 candidates to 61 candidates (72.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New77784
Fresh000
Picked011
Done000
Total77885

Merged error: 59.9b

Counts
85 → 8

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.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-/l*
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv flip3-- div-sub flip-- cbrt-unprod div-inv
frac-2neg associate-*r/ rem-log-exp pow-prod-down clear-num *-commutative distribute-lft-out-- difference-of-squares
Counts
3 → 165
Calls
3 calls:
6.0ms
(/ (log (- 1.0 x)) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))
21.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
4.0ms
(log (- 1.0 x))

series246.0ms

Counts
3 → 9
Calls
3 calls:
140.0ms
(/ (log (- 1.0 x)) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))
56.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
49.0ms
(log (- 1.0 x))

simplify90.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09281453
138371286
250011286

prune419.0ms

Filtered
174 candidates to 116 candidates (66.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1731174
Fresh426
Picked101
Done101
Total1793182

Merged error: 0.0b

Counts
182 → 3

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

rewrite68.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*
log-pow cbrt-unprod difference-of-squares
cbrt-undiv expm1-log1p-u associate-/r* log1p-expm1-u div-inv add-log-exp
associate-*r/ pow-prod-down *-commutative associate-/l/
flip3-- frac-2neg div-sub clear-num flip--
Counts
3 → 268
Calls
3 calls:
24.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
20.0ms
(* 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))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

series230.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
53.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
124.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

simplify88.0ms

Algorithm
egg-herbie
Counts
277 → 277
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07532429
131742138
250012135

prune755.0ms

Filtered
277 candidates to 173 candidates (62.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2752277
Fresh022
Picked011
Done000
Total2755280

Merged error: 0.0b

Counts
280 → 5

localize19.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
(log1p (expm1 (/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (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))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

rewrite71.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--
associate-*l* associate-/l*
expm1-log1p-u log-pow cbrt-unprod log1p-expm1-u add-log-exp difference-of-squares
cbrt-undiv associate-/r* div-inv
associate-*r/ pow-prod-down *-commutative associate-/l/
log1p-udef flip3-- frac-2neg div-sub log1p-expm1 clear-num flip--
Counts
4 → 279
Calls
4 calls:
21.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
24.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
1.0ms
(log1p (expm1 (/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))))
10.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

series497.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
49.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
258.0ms
(log1p (expm1 (/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))))
135.0ms
(/ (- (log 1.0) (+ (* 1.0 x) (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2))))))

simplify92.0ms

Algorithm
egg-herbie
Counts
291 → 291
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07662671
131922346
250022342

prune794.0ms

Filtered
291 candidates to 184 candidates (63.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2910291
Fresh033
Picked011
Done011
Total2915296

Merged error: 0.0b

Counts
296 → 5

regimes28.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01816
11816

end0.0ms

sample5.0s

Algorithm
intervals
Results
3.1s3406×body1280valid
1.1s2516×body640valid
298.0ms1251×body320valid
139.0ms8000×pre80true
88.0ms638×body160valid
11.0ms189×body80valid

Profiling

Loading profile data...