Details

Time bar (total: 17.2s)

sample27.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
8.0ms276×body80nan

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

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:
1.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
11.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
4.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)

series203.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
97.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
57.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)

simplify93.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
06271691
123791609
250021609

prune452.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite22.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))
10.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
8.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

series229.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0357827
11182752
25001738

prune299.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize16.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)))) (/ (- (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0)))))
0.0b
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))
0.1b
(/ (- (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
227×add-sqr-sqrt
200×sqrt-prod
197×*-un-lft-identity
180×times-frac
93×add-cube-cbrt
61×associate-*r*
52×difference-of-squares
38×add-exp-log add-cbrt-cube
35×associate-*l*
26×distribute-lft-out distribute-lft-out--
14×associate-/l*
13×prod-exp cbrt-unprod
12×associate-/r*
11×pow1
10×cbrt-undiv div-exp
unswap-sqr
associate-*l/
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv associate-/l/ add-log-exp
frac-times frac-2neg associate-*r/ clear-num *-commutative
flip3-- flip3-+ div-sub flip-- flip-+
Counts
4 → 295
Calls
4 calls:
25.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)
56.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)))))
10.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))
15.0ms
(/ (- (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))

series1.6s

Counts
4 → 12
Calls
4 calls:
525.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)
448.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)))))
280.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))
309.0ms
(/ (- (sqrt x) (sqrt 1.0)) (sqrt (fma (sqrt x) 4.0 (+ x 1.0))))

simplify95.0ms

Algorithm
egg-herbie
Counts
307 → 307
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
010325867
150015258

prune901.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (* (/ (+ (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)))))) (cbrt (* (/ (+ (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)))))))
0.1b
(cbrt (* (/ (+ (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))))))
0.1b
(cbrt (* (/ (+ (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))))))
0.1b
(cbrt (* (/ (+ (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))))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
20×frac-times
14×associate-*r/ associate-*l/
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 90
Calls
4 calls:
7.0ms
(* (cbrt (* (/ (+ (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)))))) (cbrt (* (/ (+ (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)))))))
21.0ms
(cbrt (* (/ (+ (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))))))
24.0ms
(cbrt (* (/ (+ (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))))))
21.0ms
(cbrt (* (/ (+ (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))))))

series11.4s

Counts
4 → 12
Calls
4 calls:
4.3s
(* (cbrt (* (/ (+ (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)))))) (cbrt (* (/ (+ (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)))))))
2.4s
(cbrt (* (/ (+ (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))))))
2.4s
(cbrt (* (/ (+ (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))))))
2.3s
(cbrt (* (/ (+ (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))))))

simplify125.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
015985580
150025225

prune670.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes31.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1126

end0.0ms

sample677.0ms

Algorithm
intervals
Results
250.0ms8000×body80valid
224.0ms7781×body80nan