Details

Time bar (total: 3.7s)

sample29.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
9.0ms252×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (sqrt x) 4.0 (+ x 1.0))
0.1b
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
0.1b
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
128×times-frac
95×add-sqr-sqrt *-un-lft-identity
67×add-cube-cbrt
16×associate-/r*
14×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
flip3-- div-sub associate-/r/ flip-- fma-udef
Counts
3 → 142
Calls
3 calls:
1.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
3.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
9.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

series158.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
44.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
77.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06271691
123791609
250021609

prune362.0ms

Filtered
151 candidates to 117 candidates (77.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1456151
Fresh101
Picked101
Done000
Total1476153

Merged error: 0b

Counts
153 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (sqrt x) 4.0 (+ x 1.0))
0.0b
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
0.0b
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
37×*-un-lft-identity
31×times-frac
23×add-cube-cbrt
19×associate-*l*
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l*
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
flip3-- frac-2neg div-sub pow-prod-down associate-*l/ clear-num *-commutative flip-- fma-udef
Counts
3 → 90
Calls
3 calls:
1.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
8.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
6.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

series190.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
79.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
73.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0357827
11182752
25001738

prune202.0ms

Filtered
99 candidates to 77 candidates (77.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New98199
Fresh145
Picked011
Done000
Total996105

Merged error: 0b

Counts
105 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) 6.0)
0.0b
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
0.1b
(log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
0.5b
(expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
16×add-cube-cbrt
15×times-frac
add-exp-log add-cbrt-cube
pow1
log1p-expm1-u associate-/l*
expm1-log1p-u distribute-lft-out-- add-log-exp difference-of-squares
associate-*r* associate-*l* associate-/r*
associate-/l/
cbrt-undiv log1p-udef expm1-log1p flip3-- frac-2neg div-sub log1p-expm1 div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv expm1-udef unswap-sqr
Counts
4 → 82
Calls
4 calls:
3.0ms
(* (log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) 6.0)
6.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
1.0ms
(log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
1.0ms
(expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

series535.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(* (log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) 6.0)
71.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
171.0ms
(log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
111.0ms
(expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

simplify40.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0342847
11091748
25001729

prune205.0ms

Filtered
94 candidates to 74 candidates (78.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh044
Picked011
Done011
Total946100

Merged error: 0b

Counts
100 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (sqrt x) 4.0 (+ x 1.0))
0.0b
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
0.1b
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
652×times-frac
371×add-sqr-sqrt *-un-lft-identity
279×add-cube-cbrt
46×distribute-lft-out-- difference-of-squares
36×div-inv
27×add-exp-log
24×associate-/l*
17×div-exp add-cbrt-cube
16×associate-/r*
cbrt-undiv
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/ add-log-exp
rec-exp frac-2neg 1-exp clear-num
flip3-- associate-/r/ flip-- fma-udef
Counts
3 → 356
Calls
3 calls:
1.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
6.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
14.0ms
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))

series182.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
69.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
79.0ms
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))

simplify86.0ms

Algorithm
egg-herbie
Counts
365 → 365
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
016245786
150015326

prune616.0ms

Filtered
365 candidates to 204 candidates (55.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3650365
Fresh033
Picked011
Done022
Total3656371

Merged error: 0b

Counts
371 → 6

regimes24.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1126

end0.0ms

sample830.0ms

Algorithm
intervals
Results
334.0ms8000×body80valid
296.0ms7954×body80nan

Profiling

Loading profile data...