Details

Time bar (total: 3.8s)

analyze186.0ms (4.9%)

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.2s (32.5%)

Results
1.2s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify51.0ms (1.3%)

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
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
217036
354236
4186732
5328132
6488132
7495832
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 (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)
Compiler

Compiled 172 to 108 computations (37.2% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 4)
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
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.4b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

series71.0ms (1.9%)

Counts
4 → 96
Calls

4 calls:

28.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))
24.0ms
(pow.f64 (hypot.f64 a b) 4)
11.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
8.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

rewrite98.0ms (2.6%)

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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01466
128366
2297266
3489766
4499366
5494466
Stop Event
node limit
Counts
4 → 87
Calls

4 calls:

96.0ms
(pow.f64 (hypot.f64 a b) 4)
96.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))
96.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
96.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

simplify91.0ms (2.4%)

Algorithm
egg-herbie
Rules
668×fma-def_binary64
562×sub-neg_binary64
420×fma-neg_binary64
418×associate--l+_binary64
402×associate-+l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0601987
12001861
26021583
323481560
442921560
549191560
650261560
Stop Event
node limit
Counts
183 → 133

prune158.0ms (4.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1303133
Fresh101
Picked011
Done000
Total1314135
Error
0b
Counts
135 → 4
Alt Table
StatusErrorProgram
6.0b
(+.f64 (fma.f64 4 (exp.f64 (log.f64 (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 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))) -1)
10.9b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
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)
Compiler

Compiled 3813 to 2144 computations (43.8% saved)

localize20.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series34.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

21.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)))
12.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

rewrite53.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
879×prod-diff_binary64
166×add-sqr-sqrt_binary64
159×log1p-expm1-u_binary64
159×expm1-log1p-u_binary64
158×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01864
136064
2375664
3531064
Stop Event
node limit
Counts
2 → 47
Calls

2 calls:

51.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)))
51.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

simplify69.0ms (1.8%)

Algorithm
egg-herbie
Rules
616×associate-*l*_binary64
564×fma-def_binary64
550×unswap-sqr_binary64
489×cancel-sign-sub-inv_binary64
417×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0451207
11541169
2482982
32006959
44335959
55434959
Stop Event
node limit
Counts
95 → 77

prune246.0ms (6.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1380138
Fresh022
Picked011
Done011
Total1384142
Error
0b
Counts
142 → 4
Alt Table
StatusErrorProgram
6.0b
(+.f64 (fma.f64 4 (exp.f64 (log.f64 (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 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))) -1)
10.9b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
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)
Compiler

Compiled 5176 to 2706 computations (47.7% saved)

localize36.0ms (1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.4b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
3.8b
(exp.f64 (log.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))))
8.6b
(log.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))))

series63.0ms (1.6%)

Counts
2 → 48
Calls

2 calls:

35.0ms
(log.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))))
27.0ms
(exp.f64 (log.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))))

rewrite48.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
879×log1p-expm1-u_binary64
879×expm1-log1p-u_binary64
300×prod-diff_binary64
103×add-sqr-sqrt_binary64
95×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01240
121240
2229640
3595040
Stop Event
node limit
Counts
2 → 44
Calls

2 calls:

47.0ms
(exp.f64 (log.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))))
47.0ms
(log.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))))

simplify59.0ms (1.6%)

Algorithm
egg-herbie
Rules
825×associate-/l*_binary64
784×fma-def_binary64
341×cancel-sign-sub-inv_binary64
262×sub-neg_binary64
134×+-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01762176
15702024
222021780
355831780
Stop Event
node limit
Counts
92 → 105

prune206.0ms (5.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1660166
Fresh011
Picked011
Done022
Total1664170
Error
0b
Counts
170 → 4
Alt Table
StatusErrorProgram
6.0b
(+.f64 (fma.f64 4 (exp.f64 (log.f64 (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 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))) -1)
10.9b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
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)
Compiler

Compiled 6141 to 3854 computations (37.2% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series22.0ms (0.6%)

Counts
4 → 60
Calls

4 calls:

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

rewrite66.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
359×fma-neg_binary64
259×expm1-udef_binary64
259×log1p-udef_binary64
147×add-sqr-sqrt_binary64
145×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01347
130243
2391743
3498443
Stop Event
node limit
Counts
4 → 100
Calls

4 calls:

64.0ms
(+.f64 4 (*.f64 2 (*.f64 b b)))
64.0ms
(*.f64 2 (*.f64 b b))
64.0ms
(*.f64 a (+.f64 4 a))
64.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b)))))

simplify110.0ms (2.9%)

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
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028904
179759
2205738
3590676
41947676
53498676
63881676
74300676
84512676
94747676
104864676
Stop Event
node limit
Counts
160 → 123

prune165.0ms (4.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1230123
Fresh000
Picked011
Done033
Total1234127
Error
0b
Counts
127 → 4
Alt Table
StatusErrorProgram
6.0b
(+.f64 (fma.f64 4 (exp.f64 (log.f64 (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 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))) -1)
10.9b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
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)
Compiler

Compiled 2961 to 1857 computations (37.3% saved)

regimes575.0ms (15%)

Accuracy

Total 0.0b remaining (63.4%)

Threshold costs 0.0b (63.4%)

Counts
104 → 1
Compiler

Compiled 11941 to 8489 computations (28.9% 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
01941
13041
23741
34741
45441
55941
66141
76041
Stop Event
saturated

end122.0ms (3.2%)

Compiler

Compiled 168 to 115 computations (31.5% saved)

Profiling

Loading profile data...