Details

Time bar (total: 6.8s)

analyze292.0ms (4.3%)

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 (19.6%)

Results
1.3s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify58.0ms (0.9%)

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

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.0b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.8b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

series81.0ms (1.2%)

Counts
4 → 96
Calls

4 calls:

30.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))
28.0ms
(pow.f64 (hypot.f64 a b) 4)
15.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))

rewrite121.0ms (1.8%)

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 → 91
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01466
128366
2297266
3489766
4499366
5494466

simplify106.0ms (1.6%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
0601987
12001861
26021583
323481560
442921560
549191560
650261560

prune176.0ms (2.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1352137
Fresh101
Picked101
Done000
Total1372139
Error
0b
Counts
139 → 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))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))) -1)
23.6b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4))) -1)
Compiler

Compiled 3920 to 2190 computations (44.1% saved)

localize19.0ms (0.3%)

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))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))))
0.0b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.8b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
3.2b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series40.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

30.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))))
10.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite73.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
345×log1p-udef_binary64
198×add-sqr-sqrt_binary64
198×log1p-expm1-u_binary64
198×expm1-log1p-u_binary64
189×add-log-exp_binary64
Counts
2 → 38
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02149
143149
2462449
3508049

simplify67.0ms (1%)

Algorithm
egg-herbie
Rules
609×associate-*l*_binary64
550×unswap-sqr_binary64
537×fma-def_binary64
487×cancel-sign-sub-inv_binary64
410×associate-*r*_binary64
Counts
62 → 62
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043799
1148767
2467604
31978581
44307581
55402581

prune163.0ms (2.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1250125
Fresh011
Picked011
Done000
Total1252127
Error
0b
Counts
127 → 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))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))) -1)
23.6b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4))) -1)
Compiler

Compiled 4684 to 2992 computations (36.1% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4))
0.8b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
6.3b
(-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8))
35.5b
(/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4)))

series266.0ms (3.9%)

Counts
3 → 72
Calls

3 calls:

200.0ms
(/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4)))
35.0ms
(-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8))
29.0ms
(*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4))

rewrite334.0ms (4.9%)

Algorithm
batch-egg-rewrite
Rules
766×prod-diff_binary64
362×egg-rr
206×add-sqr-sqrt_binary64
204×log1p-expm1-u_binary64
204×expm1-log1p-u_binary64
Counts
3 → 362
Calls

3 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
020126
144188
2461188
3606588

simplify138.0ms (2%)

Algorithm
egg-herbie
Rules
797×fma-def_binary64
412×associate-/l*_binary64
372×times-frac_binary64
252×associate-/r*_binary64
195×+-commutative_binary64
Counts
434 → 445
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05658146
119167764
251077764

prune1.7s (24.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New5260526
Fresh000
Picked011
Done011
Total5262528
Error
0b
Counts
528 → 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))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))) -1)
23.6b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4))) -1)
Compiler

Compiled 80454 to 43733 computations (45.6% saved)

regimes1.7s (25.2%)

Accuracy

Total 0.0b remaining (79.5%)

Threshold costs 0.0b (79.5%)

Counts
211 → 1
Compiler

Compiled 37232 to 24541 computations (34.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01843
12343
22343

end102.0ms (1.5%)

Compiler

Compiled 167 to 108 computations (35.3% saved)

Profiling

Loading profile data...