Details

Time bar (total: 6.5s)

sample23.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
6.0ms245×body80nan

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

series175.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
49.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))

simplify74.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06271691
123791609
250021609

prune370.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
168×times-frac
104×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
32×associate-/r*
18×add-exp-log add-cbrt-cube
12×div-inv associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/r/
Counts
4 → 202
Calls
4 calls:
2.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
2.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
5.0ms
(/ 1.0 (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
5.0ms
(/ x (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

series262.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
51.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
61.0ms
(/ 1.0 (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
100.0ms
(/ x (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

simplify86.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06682123
127992002
250012002

prune607.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
130×times-frac
118×add-sqr-sqrt
87×add-cube-cbrt *-un-lft-identity
79×sqrt-prod
20×pow1
18×swap-sqr
16×add-exp-log associate-*r* associate-*l* add-cbrt-cube
14×associate-/r*
11×div-inv
sqrt-pow1 pow1/2 sqrt-div unswap-sqr
associate-/l*
cbrt-undiv div-exp pow-prod-up
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
pow-prod-down pow-sqr
frac-times rem-sqrt-square frac-2neg associate-*r/ associate-*l/ prod-exp clear-num cbrt-unprod
pow2 pow-plus sqrt-unprod rem-square-sqrt *-commutative
Counts
4 → 214
Calls
4 calls:
2.0ms
(sqrt (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
9.0ms
(/ 1.0 (* (sqrt (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)) (sqrt (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))))
5.0ms
(/ x (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
22.0ms
(* (sqrt (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)) (sqrt (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)))

series519.0ms

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

simplify148.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (122.0ms)

IterNodesCost
08072439
146142185
250022175

prune661.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite272.0ms

Algorithm
rewrite-expression-head
Rules
839×times-frac
755×add-sqr-sqrt
580×*-un-lft-identity
519×sqrt-prod
348×add-cube-cbrt
203×associate-*r*
180×difference-of-squares
90×distribute-lft-out--
34×add-exp-log associate-*l* add-cbrt-cube
31×associate-/r*
26×distribute-lft-out
24×div-inv
20×associate-/l*
14×cbrt-undiv div-exp
12×unswap-sqr
pow1 prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
frac-2neg clear-num
associate-/r/
frac-times flip3-- flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 622
Calls
4 calls:
168.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0)))) (/ (- (sqrt x) (sqrt 1.0)) (/ (sqrt (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)))
17.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))
3.0ms
(/ (sqrt (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
31.0ms
(/ (- (sqrt x) (sqrt 1.0)) (/ (sqrt (fma (sqrt x) 4.0 (+ x 1.0))) 6.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
471.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0)))) (/ (- (sqrt x) (sqrt 1.0)) (/ (sqrt (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)))
262.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))
103.0ms
(/ (sqrt (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
325.0ms
(/ (- (sqrt x) (sqrt 1.0)) (/ (sqrt (fma (sqrt x) 4.0 (+ x 1.0))) 6.0))

simplify148.0ms

Algorithm
egg-herbie
Counts
634 → 634
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0188912378
1500211852

prune1.2s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes23.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01418
11418

end0.0ms

sample636.0ms

Algorithm
intervals
Results
233.0ms8000×body80valid
214.0ms8078×body80nan