Details

Time bar (total: 2.8s)

sample18.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
0146
1256
2316
3326
4326

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* z z))
35.5b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity
50×distribute-lft-out
37×associate-*l*
23×add-sqr-sqrt fma-def
14×swap-sqr sqrt-prod
10×add-cube-cbrt add-log-exp
hypot-def
pow1 sum-log
add-exp-log +-commutative expm1-log1p-u flip3-+ associate-*r* add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+ sqrt-div *-commutative unswap-sqr
rem-sqrt-square sqrt-pow1 pow1/2
Counts
3 → 101
Calls
3 calls:
18.0ms
(+ (* x x) (* y y))
28.0ms
(+ (+ (* x x) (* y y)) (* z z))
35.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series203.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* x x) (* y y))
45.0ms
(+ (+ (* x x) (* y y)) (* z z))
126.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify154.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
0222476
11007434
23537423
35001419

prune186.0ms

Filtered
110 candidates to 67 candidates (60.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1046110
Fresh000
Picked101
Done000
Total1056111

Merged error: 13.9b

Counts
111 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(hypot (sqrt (+ (* x x) (* y y))) z)
29.7b
(sqrt (+ (* x x) (* y y)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
33×*-un-lft-identity
26×hypot-def
17×swap-sqr
15×fma-def
11×associate-*l* *-commutative unswap-sqr
10×distribute-lft-out
add-cube-cbrt
sqrt-prod
add-log-exp
pow1
add-exp-log expm1-log1p-u associate-*r* add-cbrt-cube log1p-expm1-u
+-commutative flip3-+ sqrt-div flip-+
rem-sqrt-square hypot-udef sqrt-pow1 pow1/2 sum-log
Counts
3 → 91
Calls
3 calls:
22.0ms
(+ (* x x) (* y y))
1.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
19.0ms
(sqrt (+ (* x x) (* y y)))

series274.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (* x x) (* y y))
195.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
44.0ms
(sqrt (+ (* x x) (* y y)))

simplify100.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0149268
1587243
21730238
35001236

prune158.0ms

Filtered
100 candidates to 64 candidates (64.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New982100
Fresh505
Picked101
Done000
Total1042106

Merged error: 0.0b

Counts
106 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot y x)
0.0b
(hypot (hypot y x) z)

rewrite2.0ms

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

series279.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(hypot y x)
222.0ms
(hypot (hypot y x) z)

simplify192.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
03868
14360
24960
35760
48560
515960
666060
7220260
8500160

prune55.0ms

Filtered
26 candidates to 26 candidates (100.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh011
Picked011
Done000
Total26228

Merged error: 0.0b

Counts
28 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(fma z z (fma x x (* y y)))
35.5b
(sqrt (fma z z (fma x x (* y y))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u sqrt-prod add-cbrt-cube log1p-expm1-u add-log-exp
fma-udef
rem-sqrt-square sqrt-pow1 pow1/2
Counts
3 → 35
Calls
3 calls:
1.0ms
(fma x x (* y y))
1.0ms
(fma z z (fma x x (* y y)))
2.0ms
(sqrt (fma z z (fma x x (* y y))))

series233.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(fma x x (* y y))
58.0ms
(fma z z (fma x x (* y y)))
133.0ms
(sqrt (fma z z (fma x x (* y y))))

simplify160.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
071187
1178162
2626162
33160161
45001161

prune90.0ms

Filtered
44 candidates to 35 candidates (79.5%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New44044
Fresh000
Picked011
Done011
Total44246

Merged error: 0.0b

Counts
46 → 2

regimes61.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 (1.0ms)

IterNodesCost
052

end0.0ms

sample423.0ms

Algorithm
intervals
Results
253.0ms8000×body80valid