Details

Time bar (total: 2.9s)

sample21.0ms

Algorithm
intervals
Results
12.0ms441×body80valid

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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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

series35.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
18452
226752
3108952
4500252

prune24.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New11213
Fresh101
Picked011
Done000
Total12315

Merged error: 0.1b

Counts
15 → 3

localize7.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))))
5.1b
(sqrt (fma 3 (* y y) (* x x)))
5.1b
(sqrt (fma 3 (* y y) (* x x)))

rewrite11.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)))
1.0ms
(sqrt (fma 3 (* y y) (* x x)))

series174.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0127542
1462484
22877464
35002449

prune161.0ms

Filtered
103 candidates to 62 candidates (60.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New976103
Fresh101
Picked011
Done011
Total988106

Merged error: 0.0b

Counts
106 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
0.7b
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3)
5.1b
(sqrt (fma 3 (* y y) (* x x)))
5.1b
(sqrt (fma 3 (* y y) (* x x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
93×sqrt-prod
70×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×associate-*l* unswap-sqr
23×add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log
associate-*r*
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
pow-plus *-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 145
Calls
4 calls:
14.0ms
(* (pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
4.0ms
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3)
2.0ms
(sqrt (fma 3 (* y y) (* x x)))
2.0ms
(sqrt (fma 3 (* y y) (* x x)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3) (sqrt (sqrt (fma 3 (* y y) (* x x)))))
159.0ms
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3)
56.0ms
(sqrt (fma 3 (* y y) (* x x)))
53.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify67.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03241492
114471194
250011060

prune240.0ms

Filtered
157 candidates to 78 candidates (49.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1534157
Fresh235
Picked011
Done112
Total1569165

Merged error: 0.0b

Counts
165 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3/2)
5.1b
(sqrt (fma 3 (* y y) (* x x)))
5.1b
(sqrt (fma 3 (* y y) (* x x)))
5.1b
(sqrt (fma 3 (* y y) (* x x)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod
14×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×pow1
unpow-prod-down
sqrt-pow1
add-exp-log pow-pow pow1/2
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square pow-unpow
pow-to-exp pow-exp sqrt-pow2 sqr-pow
Counts
4 → 75
Calls
4 calls:
4.0ms
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3/2)
2.0ms
(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)))

series325.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(pow (sqrt (sqrt (fma 3 (* y y) (* x x)))) 3/2)
54.0ms
(sqrt (fma 3 (* y y) (* x x)))
51.0ms
(sqrt (fma 3 (* y y) (* x x)))
54.0ms
(sqrt (fma 3 (* y y) (* x x)))

simplify72.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0196524
1581494
22276494
35002489

prune229.0ms

Filtered
87 candidates to 66 candidates (75.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New85287
Fresh156
Picked101
Done022
Total87996

Merged error: 0.0b

Counts
96 → 9

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

sample615.0ms

Algorithm
intervals
Results
394.0ms14185×body80valid