Details

Time bar (total: 3.4s)

analyze173.0ms (5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 34 to 22 computations (35.3% saved)

sample1.3s (38.5%)

Results
1.3s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify33.0ms (0.9%)

Algorithm
egg-herbie
Rules
693×fma-def_binary64
312×+-commutative_binary64
277×fma-neg_binary64
232×associate-+l+_binary64
211×associate-*l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
219336
374236
4286732
5488232
Stop Event
node limit
Counts
1 → 2

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1)))) -1))
Compiler

Compiled 172 to 109 computations (36.6% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a -3 1)
0.0b
(*.f64 b (fma.f64 a -3 1))
0.0b
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
0.1b
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))

series27.0ms (0.8%)

Counts
4 → 84
Calls

4 calls:

11.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
8.0ms
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
6.0ms
(*.f64 b (fma.f64 a -3 1))
1.0ms
(fma.f64 a -3 1)

rewrite49.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
830×log1p-expm1-u_binary64
830×expm1-log1p-u_binary64
328×prod-diff_binary64
95×add-sqr-sqrt_binary64
87×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01043
119543
2224343
Stop Event
node limit
Counts
4 → 80
Calls

4 calls:

48.0ms
(fma.f64 a -3 1)
48.0ms
(*.f64 b (fma.f64 a -3 1))
48.0ms
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
48.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))

simplify39.0ms (1.1%)

Algorithm
egg-herbie
Rules
571×cancel-sign-sub-inv_binary64
533×fma-neg_binary64
443×fma-def_binary64
375×associate-*l*_binary64
262×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0301149
1861002
2240838
3692834
42630834
Stop Event
node limit
Counts
164 → 107

prune103.0ms (3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done000
Total1072109
Error
0.0b
Counts
109 → 2
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1)))) -1))
Compiler

Compiled 2862 to 1625 computations (43.2% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 3 a))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.4b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series24.0ms (0.7%)

Counts
4 → 63
Calls

4 calls:

10.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
10.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
2.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
1.0ms
(-.f64 1 (*.f64 3 a))

rewrite64.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
266×expm1-udef_binary64
265×log1p-udef_binary64
155×add-sqr-sqrt_binary64
155×log1p-expm1-u_binary64
155×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01541
133638
2429038
Stop Event
node limit
Counts
4 → 109
Calls

4 calls:

59.0ms
(-.f64 1 (*.f64 3 a))
59.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
59.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
59.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify40.0ms (1.1%)

Algorithm
egg-herbie
Rules
901×fma-def_binary64
551×unswap-sqr_binary64
541×associate-*l*_binary64
397×associate-*r*_binary64
183×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
027816
171792
2192726
3609726
42589726
Stop Event
node limit
Counts
172 → 132

prune168.0ms (4.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1302132
Fresh000
Picked011
Done101
Total1313134
Error
0b
Counts
134 → 3
Alt Table
StatusErrorProgram
18.5b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 4921 to 2850 computations (42.1% saved)

localize23.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 3 a))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.6b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series10.0ms (0.3%)

Counts
1 → 0
Calls

1 calls:

10.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite32.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
528×log1p-expm1-u_binary64
528×expm1-log1p-u_binary64
399×unpow-prod-down_binary64
296×log-prod_binary64
161×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
11447
216077
Stop Event
node limit
Counts
1 → 18
Calls

1 calls:

32.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
18 → 18

prune172.0ms (5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh011
Picked011
Done011
Total1123115
Error
0b
Counts
115 → 3
Alt Table
StatusErrorProgram
18.5b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 4901 to 3459 computations (29.4% saved)

localize23.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.2b
(*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2))
24.3b
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))

series71.0ms (2.1%)

Counts
2 → 48
Calls

2 calls:

49.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))
22.0ms
(*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2))

rewrite59.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
267×log1p-udef_binary64
160×log1p-expm1-u_binary64
160×expm1-log1p-u_binary64
158×add-sqr-sqrt_binary64
156×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01550
134726
2470426
Stop Event
node limit
Counts
2 → 76
Calls

2 calls:

57.0ms
(*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2))
57.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))

simplify38.0ms (1.1%)

Algorithm
egg-herbie
Rules
685×fma-def_binary64
449×fma-neg_binary64
355×cancel-sign-sub-inv_binary64
298×difference-of-squares_binary64
196×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
029888
184858
2239834
31040834
43968834
Stop Event
node limit
Counts
124 → 98

prune218.0ms (6.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh000
Picked011
Done022
Total1593162
Error
0b
Counts
162 → 3
Alt Table
StatusErrorProgram
18.5b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(-.f64 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 7160 to 4099 computations (42.8% saved)

regimes599.0ms (17.4%)

Accuracy

Total 0.0b remaining (35.1%)

Threshold costs 0.0b (35.1%)

Counts
99 → 1
Compiler

Compiled 16924 to 11814 computations (30.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02555
14755
25655
36055
46355
56455
Stop Event
saturated

end110.0ms (3.2%)

Compiler

Compiled 197 to 139 computations (29.4% saved)

Profiling

Loading profile data...