Details

Time bar (total: 2.5s)

analyze189.0ms (7.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.2s (48.6%)

Results
1.1s8256×body128valid
5.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify61.0ms (2.4%)

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

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

Local error

Found 4 expressions with local error:

NewErrorProgram
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
(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))

series59.0ms (2.4%)

Counts
4 → 84
Calls

4 calls:

35.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))
11.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
11.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
2.0ms
(fma.f64 a -3 1)

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
fma-udef_binary64
Counts
4 → 53
Calls

4 calls:

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

simplify104.0ms (4.2%)

Algorithm
egg-herbie
Rules
786×fma-def_binary64
528×fma-neg_binary64
415×associate-+l+_binary64
313×cancel-sign-sub-inv_binary64
229×associate-+r+_binary64
Counts
137 → 125
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01252754
13182352
29692192
331842169
448182143
549832143

prune134.0ms (5.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1241125
Fresh101
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))) (pow.f64 (hypot.f64 a b) 4)) -1)
11.4b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
Compiler

Compiled 3502 to 1951 computations (44.3% saved)

localize11.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series103.0ms (4.1%)

Counts
3 → 48
Calls

3 calls:

98.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 a (+.f64 4 a))

rewrite24.0ms (1%)

Algorithm
rewrite-expression-head
Rules
15×add-cbrt-cube_binary64
15×add-exp-log_binary64
15×pow1_binary64
12×associate-*r/_binary64
11×add-sqr-sqrt_binary64
Counts
3 → 75
Calls

3 calls:

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

simplify80.0ms (3.2%)

Algorithm
egg-herbie
Rules
351×associate-*l*_binary64
309×associate-+r+_binary64
304×associate-+l+_binary64
283×associate-*r*_binary64
270×fma-neg_binary64
Counts
123 → 128
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01692230
15371802
221991784
340271782
451311782

prune115.0ms (4.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh000
Picked011
Done011
Total1282130
Error
0b
Counts
130 → 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)
11.4b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
Compiler

Compiled 3649 to 2268 computations (37.8% saved)

regimes262.0ms (10.5%)

Accuracy

Total 0.0b remaining (64.9%)

Threshold costs 0.0b (64.9%)

Counts
51 → 1
Compiler

Compiled 5533 to 3962 computations (28.4% saved)

simplify2.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

end117.0ms (4.7%)

Compiler

Compiled 86 to 55 computations (36% saved)

Profiling

Loading profile data...