Details

Time bar (total: 3.7s)

analyze175.0ms (4.7%)

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%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 20 computations (37.5% saved)

sample1.4s (37.7%)

Results
1.3s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 95 to 59 computations (37.9% saved)

simplify58.0ms (1.5%)

Algorithm
egg-herbie
Rules
620×fma-def_binary64
556×cancel-sign-sub-inv_binary64
552×unswap-sqr_binary64
357×unsub-neg_binary64
344×+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01939
15737
216837
349237
4160433
5289133
6430933
7521433

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
0.3b
(-.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 3 a))))) 1)
Compiler

Compiled 166 to 104 computations (37.3% saved)

localize17.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
0.1b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
0.5b
(*.f64 (*.f64 b b) (+.f64 a 3))

series69.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

31.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
19.0ms
(fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)
11.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
7.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite83.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
307×expm1-udef_binary64
306×log1p-udef_binary64
176×add-sqr-sqrt_binary64
173×log1p-expm1-u_binary64
173×expm1-log1p-u_binary64
Counts
4 → 108
Calls

4 calls:

79.0ms
(fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1)
79.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
79.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
79.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01787
137187
2430587
3509687

simplify94.0ms (2.5%)

Algorithm
egg-herbie
Rules
909×fma-def_binary64
688×fma-neg_binary64
518×associate-+l+_binary64
424×distribute-lft-out_binary64
374×associate--l+_binary64
Counts
204 → 169
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0772043
12471828
28091668
332721643
449001643
549751643

prune218.0ms (5.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1654169
Fresh101
Picked101
Done000
Total1674171
Error
0.0b
Counts
171 → 4
Alt Table
StatusErrorProgram
25.1b
(log.f64 (exp.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
15.3b
(fma.f64 b (*.f64 b (fma.f64 b b 12)) -1)
11.5b
(fma.f64 (*.f64 a a) (+.f64 (fma.f64 a a 4) (*.f64 a -4)) -1)
0.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
Compiler

Compiled 5090 to 2996 computations (41.1% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1)
0.0b
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
0.5b
(*.f64 (+.f64 3 a) (*.f64 b b))

series71.0ms (1.9%)

Counts
4 → 96
Calls

4 calls:

32.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
16.0ms
(fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1)
15.0ms
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
7.0ms
(*.f64 (+.f64 3 a) (*.f64 b b))

rewrite87.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
300×expm1-udef_binary64
300×log1p-udef_binary64
169×add-sqr-sqrt_binary64
168×log1p-expm1-u_binary64
168×expm1-log1p-u_binary64
Counts
4 → 121
Calls

4 calls:

84.0ms
(fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1)
84.0ms
(-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3))
84.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
84.0ms
(*.f64 (+.f64 3 a) (*.f64 b b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01687
135687
2424087
3501787

simplify105.0ms (2.8%)

Algorithm
egg-herbie
Rules
909×fma-def_binary64
688×fma-neg_binary64
518×associate-+l+_binary64
424×distribute-lft-out_binary64
374×associate--l+_binary64
Counts
217 → 182
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0772043
12471828
28091668
332721643
449001643
549751643

prune199.0ms (5.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1820182
Fresh033
Picked011
Done000
Total1824186
Error
0.0b
Counts
186 → 4
Alt Table
StatusErrorProgram
25.1b
(log.f64 (exp.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
15.3b
(fma.f64 b (*.f64 b (fma.f64 b b 12)) -1)
11.5b
(fma.f64 (*.f64 a a) (+.f64 (fma.f64 a a 4) (*.f64 a -4)) -1)
0.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
Compiler

Compiled 5567 to 3449 computations (38% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 a a 4) (*.f64 a -4))
0.2b
(fma.f64 (*.f64 a a) (+.f64 (fma.f64 a a 4) (*.f64 a -4)) -1)

series7.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(fma.f64 (*.f64 a a) (+.f64 (fma.f64 a a 4) (*.f64 a -4)) -1)
2.0ms
(+.f64 (fma.f64 a a 4) (*.f64 a -4))

rewrite101.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
759×prod-diff_binary64
563×fma-udef_binary64
299×fma-def_binary64
197×fma-neg_binary64
171×expm1-udef_binary64
Counts
2 → 83
Calls

2 calls:

99.0ms
(+.f64 (fma.f64 a a 4) (*.f64 a -4))
99.0ms
(fma.f64 (*.f64 a a) (+.f64 (fma.f64 a a 4) (*.f64 a -4)) -1)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01029
120725
2233725
3476425
4463825
5489525

simplify63.0ms (1.7%)

Algorithm
egg-herbie
Rules
804×unswap-sqr_binary64
646×cancel-sign-sub-inv_binary64
389×fma-def_binary64
318×difference-of-squares_binary64
270×sub-neg_binary64
Counts
107 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024277
176250
2164217
3464198
41450198
52774198
64907198

prune96.0ms (2.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh022
Picked101
Done011
Total1044108
Error
0.0b
Counts
108 → 4
Alt Table
StatusErrorProgram
25.1b
(log.f64 (exp.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
15.3b
(fma.f64 b (*.f64 b (fma.f64 b b 12)) -1)
11.5b
(fma.f64 (*.f64 a a) (fma.f64 a (+.f64 a -4) 4) -1)
0.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
Compiler

Compiled 1942 to 1177 computations (39.4% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (+.f64 a -4) 4)
0.2b
(fma.f64 (*.f64 a a) (fma.f64 a (+.f64 a -4) 4) -1)

series5.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(fma.f64 (*.f64 a a) (fma.f64 a (+.f64 a -4) 4) -1)
2.0ms
(fma.f64 a (+.f64 a -4) 4)

rewrite48.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
820×log1p-expm1-u_binary64
820×expm1-log1p-u_binary64
98×prod-diff_binary64
88×add-sqr-sqrt_binary64
85×add-cbrt-cube_binary64
Counts
2 → 46
Calls

2 calls:

47.0ms
(fma.f64 a (+.f64 a -4) 4)
47.0ms
(fma.f64 (*.f64 a a) (fma.f64 a (+.f64 a -4) 4) -1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
118823
2205723
3505123

simplify49.0ms (1.3%)

Algorithm
egg-herbie
Rules
804×unswap-sqr_binary64
646×cancel-sign-sub-inv_binary64
389×fma-def_binary64
318×difference-of-squares_binary64
270×sub-neg_binary64
Counts
70 → 67
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024277
176250
2164217
3464198
41450198
52774198
64907198

prune52.0ms (1.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New67067
Fresh022
Picked011
Done011
Total67471
Error
0.0b
Counts
71 → 4
Alt Table
StatusErrorProgram
25.1b
(log.f64 (exp.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))))
15.3b
(fma.f64 b (*.f64 b (fma.f64 b b 12)) -1)
11.5b
(fma.f64 (*.f64 a a) (fma.f64 a (+.f64 a -4) 4) -1)
0.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (-.f64 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) (pow.f64 a 3)) -1))
Compiler

Compiled 1056 to 677 computations (35.9% saved)

regimes589.0ms (15.7%)

Accuracy

Total 0.0b remaining (54.6%)

Threshold costs 0.0b (54.6%)

Counts
91 → 1
Compiler

Compiled 9938 to 6978 computations (29.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01835
12735
23035
33235
43335
53235

end112.0ms (3%)

Compiler

Compiled 128 to 88 computations (31.3% saved)

Profiling

Loading profile data...