Details

Time bar (total: 3.8s)

analyze192.0ms (5.1%)

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

Results
1.2s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify60.0ms (1.6%)

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

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

series64.0ms (1.7%)

Counts
4 → 84
Calls

4 calls:

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

rewrite8.0ms (0.2%)

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:

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

simplify105.0ms (2.8%)

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

prune156.0ms (4.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1232125
Fresh011
Picked011
Done000
Total1234127
Error
0.0b
Counts
127 → 4
Alt Table
StatusErrorProgram
11.2b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -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)
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 (fma.f64 a 2 -12))))) (pow.f64 a 4)) -1)
Compiler

Compiled 3630 to 2035 computations (43.9% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a a (pow.f64 a 3))
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 (fma.f64 a 2 -12))))) (pow.f64 a 4))
0.0b
(*.f64 a (fma.f64 a 2 -12))
1.1b
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))

series51.0ms (1.4%)

Counts
4 → 72
Calls

4 calls:

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 (fma.f64 a 2 -12))))) (pow.f64 a 4))
19.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))
4.0ms
(*.f64 a (fma.f64 a 2 -12))
3.0ms
(fma.f64 a a (pow.f64 a 3))

rewrite18.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
11×pow1_binary64
10×*-un-lft-identity_binary64
Counts
4 → 75
Calls

4 calls:

8.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))
3.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 (fma.f64 a 2 -12))))) (pow.f64 a 4))
3.0ms
(*.f64 a (fma.f64 a 2 -12))
0.0ms
(fma.f64 a a (pow.f64 a 3))

simplify118.0ms (3.1%)

Algorithm
egg-herbie
Rules
636×fma-neg_binary64
571×associate-+l+_binary64
397×*-commutative_binary64
380×associate-+r+_binary64
317×exp-sum_binary64
Counts
147 → 156
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01713705
14682785
216692717
337002717
449992717
549262717

prune219.0ms (5.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh022
Picked101
Done011
Total1564160
Error
0b
Counts
160 → 4
Alt Table
StatusErrorProgram
11.2b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -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)
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 b (*.f64 b (fma.f64 a (fma.f64 2 a -12) (fma.f64 b b 4))))) (pow.f64 a 4)) -1)
Compiler

Compiled 5907 to 3840 computations (35% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series70.0ms (1.9%)

Counts
3 → 72
Calls

3 calls:

27.0ms
(+.f64 (fma.f64 4 (fma.f64 a a (pow.f64 a 3)) (*.f64 b (*.f64 b (fma.f64 a (fma.f64 2 a -12) (fma.f64 b b 4))))) (pow.f64 a 4))
22.0ms
(*.f64 b (*.f64 b (fma.f64 a (fma.f64 2 a -12) (fma.f64 b b 4))))
21.0ms
(*.f64 b (fma.f64 a (fma.f64 2 a -12) (fma.f64 b b 4)))

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 64
Calls

3 calls:

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

simplify103.0ms (2.7%)

Algorithm
egg-herbie
Rules
462×associate-+l+_binary64
433×distribute-rgt-in_binary64
416×distribute-lft-in_binary64
414×fma-neg_binary64
272×associate-+r+_binary64
Counts
136 → 127
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01544085
14133508
213322889
346642889
449702889

prune193.0ms (5.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh022
Picked011
Done011
Total1444148
Error
0b
Counts
148 → 4
Alt Table
StatusErrorProgram
11.2b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -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)
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 b (*.f64 b (fma.f64 a (fma.f64 2 a -12) (fma.f64 b b 4))))) (pow.f64 a 4)) -1)
Compiler

Compiled 5177 to 3390 computations (34.5% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.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))))))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.2b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series58.0ms (1.5%)

Counts
4 → 84
Calls

4 calls:

30.0ms
(+.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))))))
13.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
12.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
3.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))

rewrite31.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
15×add-exp-log_binary64
15×pow1_binary64
14×add-cbrt-cube_binary64
14×*-un-lft-identity_binary64
14×add-sqr-sqrt_binary64
Counts
4 → 102
Calls

4 calls:

10.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
6.0ms
(+.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))))))
6.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
4.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify91.0ms (2.4%)

Algorithm
egg-herbie
Rules
870×distribute-rgt-in_binary64
807×distribute-lft-in_binary64
278×cancel-sign-sub-inv_binary64
257×associate-*l*_binary64
213×associate-*r*_binary64
Counts
186 → 195
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02093661
15773211
219973007
358193007

prune250.0ms (6.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1950195
Fresh011
Picked011
Done022
Total1954199
Error
0b
Counts
199 → 4
Alt Table
StatusErrorProgram
11.2b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -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)
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 b (*.f64 b (fma.f64 a (fma.f64 2 a -12) (fma.f64 b b 4))))) (pow.f64 a 4)) -1)
Compiler

Compiled 7326 to 4164 computations (43.2% saved)

regimes473.0ms (12.6%)

Accuracy

Total 0.0b remaining (83.9%)

Threshold costs 0.0b (83.9%)

Counts
75 → 1
Compiler

Compiled 9237 to 6487 computations (29.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01225
11325
21325

end105.0ms (2.8%)

Compiler

Compiled 149 to 96 computations (35.6% saved)

Profiling

Loading profile data...