Details

Time bar (total: 6.3s)

analyze2.0s (31.2%)

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

Compiled 24 to 16 computations (33.3% saved)

sample2.4s (37.7%)

Symmetry

(sort x y)

(sort z t)

(sort a b)

(sort c i)

Results
1.4s8256×body128valid
874.0ms5685×body128invalid
Compiler

Compiled 71 to 47 computations (33.8% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
58×fma-def_binary64
24×associate-+l+_binary64
22×associate-+r+_binary64
17×+-commutative_binary64
*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01620
12816
26116
310516
412116
512316
612316

prune4.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.0b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
0.0b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i))
Compiler

Compiled 121 to 72 computations (40.5% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i))
0.0b
(+.f64 (*.f64 x y) (*.f64 z t))
0.0b
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b))

series67.0ms (1.1%)

Counts
3 → 216
Calls

3 calls:

38.0ms
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i))
19.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b))
9.0ms
(+.f64 (*.f64 x y) (*.f64 z t))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
19×add-log-exp_binary64
10×sum-log_binary64
fma-def_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 51
Calls

3 calls:

7.0ms
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i))
5.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b))
3.0ms
(+.f64 (*.f64 x y) (*.f64 z t))

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Rules
799×distribute-rgt-in_binary64
781×fma-def_binary64
756×distribute-lft-in_binary64
490×associate-*l*_binary64
140×fma-neg_binary64
Counts
267 → 104
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01023294
13353229
212363217
350043217

prune72.0ms (1.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1013104
Fresh011
Picked101
Done000
Total1024106
Error
0b
Counts
106 → 4
Alt Table
StatusErrorProgram
30.6b
(+.f64 (+.f64 (*.f64 (sqrt.f64 (fma.f64 t z (*.f64 y x))) (sqrt.f64 (fma.f64 t z (*.f64 y x)))) (*.f64 a b)) (*.f64 c i))
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
0.0b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
14.7b
(+.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c i))
Compiler

Compiled 2401 to 452 computations (81.2% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
0.0b
(fma.f64 t z (*.f64 c i))
0.0b
(fma.f64 a b (fma.f64 t z (*.f64 c i)))

series65.0ms (1%)

Counts
3 → 216
Calls

3 calls:

32.0ms
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
23.0ms
(fma.f64 a b (fma.f64 t z (*.f64 c i)))
9.0ms
(fma.f64 t z (*.f64 c i))

rewrite3.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
3 → 30
Calls

3 calls:

1.0ms
(fma.f64 t z (*.f64 c i))
0.0ms
(fma.f64 a b (fma.f64 t z (*.f64 c i)))
0.0ms
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))

simplify81.0ms (1.3%)

Algorithm
egg-herbie
Rules
814×associate-+r+_binary64
749×associate-+l+_binary64
681×fma-def_binary64
440×associate-*l*_binary64
356×associate-*r*_binary64
Counts
246 → 57
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0572908
1872833
22312833
310552833
455062833

prune41.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh123
Picked011
Done000
Total57461
Error
0b
Counts
61 → 4
Alt Table
StatusErrorProgram
20.1b
(fma.f64 y x (fma.f64 t z (*.f64 a b)))
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
0.0b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
14.7b
(+.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c i))
Compiler

Compiled 1000 to 228 computations (77.2% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
0.0b
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
0.0b
(fma.f64 x y (*.f64 z t))

series64.0ms (1%)

Counts
3 → 216
Calls

3 calls:

33.0ms
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
20.0ms
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
11.0ms
(fma.f64 x y (*.f64 z t))

rewrite2.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
3 → 30
Calls

3 calls:

0.0ms
(fma.f64 x y (*.f64 z t))
0.0ms
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
0.0ms
(fma.f64 a b (fma.f64 x y (*.f64 z t)))

simplify114.0ms (1.8%)

Algorithm
egg-herbie
Rules
864×unswap-sqr_binary64
587×fma-def_binary64
579×associate-+r+_binary64
555×associate-+l+_binary64
395×associate-*l*_binary64
Counts
246 → 75
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0612908
1952833
22242833
39252833
432982833
534432833
649722833

prune46.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh112
Picked101
Done011
Total76379
Error
0b
Counts
79 → 3
Alt Table
StatusErrorProgram
16.0b
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
14.7b
(+.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c i))
Compiler

Compiled 1315 to 280 computations (78.7% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c i))

series20.0ms (0.3%)

Counts
1 → 72
Calls

1 calls:

19.0ms
(+.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c i))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
fma-def_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 17
Calls

1 calls:

2.0ms
(+.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c i))

simplify84.0ms (1.3%)

Algorithm
egg-herbie
Rules
833×fma-neg_binary64
790×sub-neg_binary64
455×cancel-sign-sub-inv_binary64
352×*-commutative_binary64
288×associate--r+_binary64
Counts
89 → 39
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0411034
11171009
24031005
316411005
421401005
545951005
653841005

prune19.0ms (0.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh011
Picked011
Done011
Total39342
Error
0b
Counts
42 → 3
Alt Table
StatusErrorProgram
16.0b
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
14.7b
(+.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c i))
Compiler

Compiled 662 to 135 computations (79.6% saved)

regimes840.0ms (13.3%)

Accuracy

Total 0.0b remaining (58.2%)

Threshold costs 0.0b (58.2%)

Counts
43 → 1
Compiler

Compiled 13099 to 8761 computations (33.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01316
11416
21416

end295.0ms (4.7%)

Remove

(sort c i)

(sort a b)

(sort z t)

(sort x y)

Compiler

Compiled 255 to 155 computations (39.2% saved)

Profiling

Loading profile data...