Details

Time bar (total: 3.4s)

sample24.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
6.0ms237×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.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
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)

rewrite35.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))
24.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
5.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)

series145.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
06271691
123791609
250021609

prune340.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite50.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:
30.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
17.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

series179.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
33.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
70.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0357827
11182752
25001738

prune238.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
56×times-frac
41×add-sqr-sqrt *-un-lft-identity
25×add-cube-cbrt
22×add-exp-log
17×add-cbrt-cube
10×div-exp associate-/r*
div-inv distribute-lft-out-- difference-of-squares
cbrt-undiv
associate-/l*
prod-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg 1-exp clear-num cbrt-unprod associate-/l/
flip3-- div-sub associate-/r/ flip-- fma-udef
Counts
3 → 104
Calls
3 calls:
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
22.0ms
(/ (- x 1.0) (/ (* 1 (fma (sqrt x) 4.0 (+ x 1.0))) 6.0))
13.0ms
(/ (* 1 (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)

series151.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
68.0ms
(/ (- x 1.0) (/ (* 1 (fma (sqrt x) 4.0 (+ x 1.0))) 6.0))
46.0ms
(/ (* 1 (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)

simplify57.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05181051
12014948
25001947

prune222.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))
0.0b
(log (pow (exp (/ (- 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)))
1.2b
(pow (exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))) 6.0)

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt *-un-lft-identity
45×times-frac
38×exp-prod
36×add-cube-cbrt
20×pow-pow
10×distribute-lft-out-- difference-of-squares
add-exp-log log-prod
unpow-prod-down add-cbrt-cube
pow1 associate-/l* add-log-exp
expm1-log1p-u log1p-expm1-u
pow-unpow rem-log-exp associate-/r* div-inv
pow-to-exp div-sub pow-exp associate-/l/ sqr-pow
cbrt-undiv flip3-- frac-2neg exp-diff div-exp clear-num log-pow flip-- rem-exp-log
Counts
4 → 128
Calls
4 calls:
18.0ms
(exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))
13.0ms
(log (pow (exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))) 6.0))
16.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
28.0ms
(pow (exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))) 6.0)

series566.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))
238.0ms
(log (pow (exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))) 6.0))
62.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
173.0ms
(pow (exp (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))) 6.0)

simplify54.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04791272
116531179
250021169

prune403.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes17.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

sample654.0ms

Algorithm
intervals
Results
223.0ms8000×body80valid
198.0ms8191×body80nan