Details

Time bar (total: 3.0s)

sample20.0ms

Algorithm
intervals
Results
10.0ms447×body80valid

simplify280.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0146
1294
2504
3703
4823
51253
62293
73213
83363
94363
107903
1134923
1250013

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (* y y) (* x x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma 3 (* y y) (* x x))

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(fma 3 (* y y) (* x x))

simplify54.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
18452
226752
3108952
4500252

prune28.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 3 (* y y) (* x x))
0.2b
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
6.5b
(sqrt (fma 3 (* y y) (* x x)))
6.5b
(sqrt (fma 3 (* y y) (* x x)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
1.0ms
(fma 3 (* y y) (* x x))
6.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))

series182.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma 3 (* y y) (* x x))
33.0ms
(* (sqrt (fma 3 (* y y) (* x x))) (sqrt (fma 3 (* y y) (* x x))))
57.0ms
(sqrt (fma 3 (* y y) (* x x)))
54.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify132.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0127542
1462484
22877464
35002450

prune187.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
6.5b
(sqrt (fma 3 (* y y) (* x x)))
6.5b
(sqrt (fma 3 (* y y) (* x x)))
6.5b
(sqrt (fma 3 (* y y) (* x x)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
75×sqrt-prod
52×add-sqr-sqrt
35×sqrt-pow1
30×pow1
19×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 122
Calls
4 calls:
9.0ms
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
56.0ms
(sqrt (fma 3 (* y y) (* x x)))
57.0ms
(sqrt (fma 3 (* y y) (* x x)))
53.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify161.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0142798
1531731
23148710
35001683

prune262.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3))
0.6b
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3)
6.5b
(sqrt (fma 3 (* y y) (* x x)))
6.5b
(sqrt (fma 3 (* y y) (* x x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
93×sqrt-prod
70×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×associate-*r* unswap-sqr
23×add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log
associate-*l*
add-cbrt-cube
sqrt-pow1
pow-pow sqr-pow
expm1-log1p-u pow1/2 log1p-expm1-u add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 pow-exp
*-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 144
Calls
4 calls:
13.0ms
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3))
7.0ms
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3)
1.0ms
(sqrt (fma 3 (* y y) (* x x)))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (sqrt (sqrt (fma 3 (* y y) (* x x)))) (pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3))
168.0ms
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3)
59.0ms
(sqrt (fma 3 (* y y) (* x x)))
57.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify69.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
03221792
115061213
250011078

prune270.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes163.0ms

Accuracy

0% (0.1b 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
063

end0.0ms

sample548.0ms

Algorithm
intervals
Results
323.0ms14250×body80valid