Details

Time bar (total: 3.5s)

analyze225.0ms (6.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.4s (40.2%)

Results
1.3s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify61.0ms (1.8%)

Algorithm
egg-herbie
Rules
725×fma-def_binary64
669×unsub-neg_binary64
596×cancel-sign-sub-inv_binary64
340×+-commutative_binary64
277×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
217036
354236
4186732
5328132
6488132
7495832

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.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -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 172 to 108 computations (37.2% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series58.0ms (1.7%)

Counts
4 → 84
Calls

4 calls:

33.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
13.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
11.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
1.0ms
(fma.f64 a -3 1)

rewrite115.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
440×prod-diff_binary64
320×fma-udef_binary64
233×expm1-udef_binary64
233×log1p-udef_binary64
209×log-pow_binary64
Counts
4 → 98
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01464
128364
2297264
3489764
4499364
5494464
000
100

simplify86.0ms (2.5%)

Algorithm
egg-herbie
Rules
645×fma-def_binary64
541×+-commutative_binary64
524×sub-neg_binary64
420×associate--l+_binary64
415×fma-neg_binary64
Counts
182 → 142
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0591651
11951531
25881259
323201236
442661236
550791236

prune150.0ms (4.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1402142
Fresh101
Picked011
Done000
Total1413144
Error
0b
Counts
144 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
0.1b
(+.f64 (+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))) (pow.f64 a 4)) -1)
15.3b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 a 4)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
Compiler

Compiled 3933 to 2211 computations (43.8% saved)

localize17.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))) (pow.f64 a 4))
0.0b
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12)))
0.0b
(fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12)))))
0.7b
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))

series88.0ms (2.5%)

Counts
4 → 96
Calls

4 calls:

27.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))
25.0ms
(+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))) (pow.f64 a 4))
24.0ms
(fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12)))))
13.0ms
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12)))

rewrite93.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
581×prod-diff_binary64
205×add-sqr-sqrt_binary64
204×log1p-expm1-u_binary64
204×expm1-log1p-u_binary64
196×add-log-exp_binary64
Counts
4 → 117
Calls

4 calls:

89.0ms
(+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))) (pow.f64 a 4))
89.0ms
(+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12)))
89.0ms
(fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12)))))
89.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019106
143298
2476998
3585898
000
100

simplify148.0ms (4.3%)

Algorithm
egg-herbie
Rules
816×fma-def_binary64
676×associate-*l*_binary64
473×associate-*r*_binary64
465×associate-+l+_binary64
359×fma-neg_binary64
Counts
213 → 171
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0622671
12152256
26271880
324411800
448551800
549981800
649981800
749761800

prune215.0ms (6.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh011
Picked011
Done011
Total1713174
Error
0b
Counts
174 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
0.1b
(+.f64 (+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))) (pow.f64 a 4)) -1)
15.3b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 a 4)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
Compiler

Compiled 6312 to 4092 computations (35.2% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 b b))
0.0b
(*.f64 a (+.f64 a 4))
1.3b
(*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 a 4)) (+.f64 4 (*.f64 2 (*.f64 b b)))))

series23.0ms (0.7%)

Counts
3 → 48
Calls

3 calls:

16.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 a 4)) (+.f64 4 (*.f64 2 (*.f64 b b)))))
4.0ms
(*.f64 2 (*.f64 b b))
2.0ms
(*.f64 a (+.f64 a 4))

rewrite70.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
368×fma-neg_binary64
259×expm1-udef_binary64
259×log1p-udef_binary64
147×add-sqr-sqrt_binary64
145×log1p-expm1-u_binary64
Counts
3 → 69
Calls

3 calls:

68.0ms
(*.f64 2 (*.f64 b b))
68.0ms
(*.f64 a (+.f64 a 4))
68.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 a 4)) (+.f64 4 (*.f64 2 (*.f64 b b)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01337
130235
2390635
3497935
000
100

simplify119.0ms (3.4%)

Algorithm
egg-herbie
Rules
676×fma-def_binary64
466×distribute-rgt-out_binary64
452×unswap-sqr_binary64
449×associate-*l*_binary64
369×associate-+l+_binary64
Counts
117 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028799
179672
2205651
3590589
41947589
53498589
63881589
74300589
84512589
94747589
104864589

prune84.0ms (2.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh000
Picked011
Done022
Total88391
Error
0b
Counts
91 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
0.1b
(+.f64 (+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (+.f64 (*.f64 a 2) -12))))) (pow.f64 a 4)) -1)
15.3b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 a 4)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
Compiler

Compiled 2070 to 1292 computations (37.6% saved)

regimes403.0ms (11.6%)

Accuracy

Total 0.1b remaining (84.4%)

Threshold costs 0.1b (84.4%)

Counts
76 → 1
Compiler

Compiled 8887 to 6316 computations (28.9% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
*-rgt-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01425
11825
21725

end82.0ms (2.4%)

Compiler

Compiled 118 to 77 computations (34.7% saved)

Profiling

Loading profile data...