Details

Time bar (total: 4.4s)

sample26.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms276×body80nan

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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:
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
2.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
12.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

series181.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
54.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
84.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
06271691
123791609
250021609

prune398.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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))) (/ 1 6.0))
0.1b
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

rewrite54.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:
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
20.0ms
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))
9.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

series207.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
85.0ms
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))
84.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
365 → 365
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
016245786
150015326

prune708.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
64×add-sqr-sqrt *-un-lft-identity
56×add-cube-cbrt
16×associate-/r*
15×add-exp-log
11×add-cbrt-cube
associate-/l*
div-exp
div-inv
expm1-log1p-u
pow1 cbrt-undiv log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
frac-2neg div-sub clear-num associate-/l/ expm1-udef
rec-exp log1p-udef expm1-log1p flip3-- 1-exp log1p-expm1 associate-/r/ flip--
Counts
4 → 137
Calls
4 calls:
5.0ms
(/ (expm1 (log1p (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) (/ 1 6.0))
0.0ms
(expm1 (log1p (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
8.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
0.0ms
(log1p (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

series636.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(/ (expm1 (log1p (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) (/ 1 6.0))
190.0ms
(expm1 (log1p (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
76.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
148.0ms
(log1p (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

simplify81.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06001880
124501577
250011497

prune358.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×times-frac
36×add-cube-cbrt *-un-lft-identity
26×associate-*l*
18×add-exp-log add-cbrt-cube
pow1
associate-*r* associate-/r* associate-/l*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 126
Calls
4 calls:
2.0ms
(/ 1.0 (fma (sqrt x) 4.0 (+ x 1.0)))
2.0ms
(/ x (fma (sqrt x) 4.0 (+ x 1.0)))
7.0ms
(* (/ x (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
8.0ms
(* (/ 1.0 (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)

series339.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ 1.0 (fma (sqrt x) 4.0 (+ x 1.0)))
99.0ms
(/ x (fma (sqrt x) 4.0 (+ x 1.0)))
105.0ms
(* (/ x (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
67.0ms
(* (/ 1.0 (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)

simplify63.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04581050
11791942
25001921

prune379.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes24.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1179

end0.0ms

sample634.0ms

Algorithm
intervals
Results
237.0ms8000×body80valid
216.0ms8072×body80nan