Details

Time bar (total: 6.3s)

analyze2.1s (33.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%99.7%0.3%8
0%99.7%0.3%9
0%99.7%0.3%10
0%99.7%0.3%11
0%99.7%0.3%12
0%99.7%0.3%13
0%99.7%0.3%14
Compiler

Compiled 25 to 18 computations (28% saved)

sample2.1s (32.9%)

Symmetry

(sort x y)

(sort z t)

(sort a b)

Results
1.3s8256×body128valid
636.0ms4088×body128invalid
Compiler

Compiled 74 to 53 computations (28.4% saved)

simplify104.0ms (1.7%)

Algorithm
egg-herbie
Rules
1251×fma-neg_binary64
530×fma-def_binary64
258×cancel-sign-sub-inv_binary64
148×distribute-rgt-in_binary64
135×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01823
13423
27722
315621
433219
567419
695919
7136519
8181519
9183519
10184519
11184619
12184619
13216219
14216619
15216619
16205519

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))
Compiler

Compiled 80 to 51 computations (36.3% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 a b) -1/4 c)
0.0b
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))

series41.0ms (0.7%)

Counts
2 → 120
Calls

2 calls:

34.0ms
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))
7.0ms
(fma.f64 (*.f64 a b) -1/4 c)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

0.0ms
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))
0.0ms
(fma.f64 (*.f64 a b) -1/4 c)

simplify95.0ms (1.5%)

Algorithm
egg-herbie
Rules
384×distribute-lft-in_binary64
384×distribute-rgt-in_binary64
363×fma-def_binary64
307×associate-*l*_binary64
285×associate-*r*_binary64
Counts
140 → 47
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0532333
1972083
22011949
36361949
427701949
547021949
650461949

prune38.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked011
Done000
Total44448
Error
0b
Counts
48 → 4
Alt Table
StatusErrorProgram
0.0b
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))
0.0b
(fma.f64 a (*.f64 b -1/4) (fma.f64 y x (fma.f64 1/16 (*.f64 t z) c)))
16.0b
(fma.f64 1/16 (*.f64 t z) (fma.f64 (*.f64 a b) -1/4 c))
35.2b
(*.f64 (sqrt.f64 (fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))) (sqrt.f64 (fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))))
Compiler

Compiled 989 to 500 computations (49.4% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y x (fma.f64 1/16 (*.f64 t z) c))
0.0b
(fma.f64 1/16 (*.f64 t z) c)

series21.0ms (0.3%)

Counts
2 → 96
Calls

2 calls:

14.0ms
(fma.f64 y x (fma.f64 1/16 (*.f64 t z) c))
7.0ms
(fma.f64 1/16 (*.f64 t z) c)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

0.0ms
(fma.f64 1/16 (*.f64 t z) c)
0.0ms
(fma.f64 y x (fma.f64 1/16 (*.f64 t z) c))

simplify76.0ms (1.2%)

Algorithm
egg-herbie
Rules
946×distribute-lft-in_binary64
946×distribute-rgt-in_binary64
433×associate-*l*_binary64
431×fma-def_binary64
361×associate-*r*_binary64
Counts
116 → 34
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0351177
1501135
21401135
35951135
446841135
548121135
649981135

prune33.0ms (0.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New33134
Fresh112
Picked101
Done011
Total35338
Error
0b
Counts
38 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))
16.0b
(fma.f64 1/16 (*.f64 t z) (fma.f64 (*.f64 a b) -1/4 c))
32.9b
(fma.f64 a (*.f64 b -1/4) (fma.f64 y x (*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)))))
Compiler

Compiled 712 to 361 computations (49.3% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 a b) -1/4 c)
0.0b
(fma.f64 1/16 (*.f64 t z) (fma.f64 (*.f64 a b) -1/4 c))

series21.0ms (0.3%)

Counts
1 → 60
Calls

1 calls:

21.0ms
(fma.f64 1/16 (*.f64 t z) (fma.f64 (*.f64 a b) -1/4 c))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 1/16 (*.f64 t z) (fma.f64 (*.f64 a b) -1/4 c))

simplify52.0ms (0.8%)

Algorithm
egg-herbie
Rules
822×associate-+r+_binary64
791×associate-+l+_binary64
352×distribute-lft-in_binary64
352×distribute-rgt-in_binary64
227×distribute-lft-neg-out_binary64
Counts
70 → 29
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0291180
154959
2110959
3370959
41808959
56091959

prune26.0ms (0.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done011
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))
16.0b
(fma.f64 1/16 (*.f64 t z) (fma.f64 (*.f64 a b) -1/4 c))
32.9b
(fma.f64 a (*.f64 b -1/4) (fma.f64 y x (*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)))))
Compiler

Compiled 712 to 354 computations (50.3% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y x (*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c))))
0.0b
(fma.f64 1/16 (*.f64 t z) c)
0.0b
(sqrt.f64 (fma.f64 1/16 (*.f64 t z) c))
0.2b
(*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)))

series65.0ms (1%)

Counts
3 → 108
Calls

3 calls:

41.0ms
(sqrt.f64 (fma.f64 1/16 (*.f64 t z) c))
16.0ms
(fma.f64 y x (*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c))))
7.0ms
(*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
19×pow1_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
Counts
3 → 78
Calls

3 calls:

5.0ms
(*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)))
1.0ms
(sqrt.f64 (fma.f64 1/16 (*.f64 t z) c))
0.0ms
(fma.f64 y x (*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c))))

simplify118.0ms (1.9%)

Algorithm
egg-herbie
Rules
540×associate-*l*_binary64
508×associate-*r*_binary64
437×unswap-sqr_binary64
380×cancel-sign-sub-inv_binary64
266×fma-neg_binary64
Counts
186 → 118
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01292460
12732292
27922242
330912214
449392214
549942214
649392214

prune147.0ms (2.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1780178
Fresh000
Picked011
Done022
Total1783181
Error
0b
Counts
181 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 x y (fma.f64 z (/.f64 t 16) (fma.f64 (*.f64 a b) -1/4 c)))
16.0b
(fma.f64 1/16 (*.f64 t z) (fma.f64 (*.f64 a b) -1/4 c))
32.9b
(fma.f64 a (*.f64 b -1/4) (fma.f64 y x (*.f64 (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)) (sqrt.f64 (fma.f64 1/16 (*.f64 t z) c)))))
Compiler

Compiled 5305 to 2830 computations (46.7% saved)

regimes958.0ms (15.3%)

Accuracy

Total 0.0b remaining (19%)

Threshold costs 0.0b (19%)

Counts
59 → 1
Compiler

Compiled 20391 to 14530 computations (28.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01519
11619
21619

end238.0ms (3.8%)

Remove

(sort a b)

(sort z t)

(sort x y)

Compiler

Compiled 237 to 158 computations (33.3% saved)

Profiling

Loading profile data...