Details

Time bar (total: 5.3s)

analyze474.0ms (8.9%)

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
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
25%74.9%0.1%8
31.2%64%4.8%9
31.2%42.1%26.7%10
35.9%37.1%27.1%11
38.2%32.2%29.6%12
47.8%21.6%30.6%13
50.2%19%30.8%14
Compiler

Compiled 19 to 9 computations (52.6% saved)

sample28.0ms (0.5%)

Algorithm
intervals
Results
10.0ms256×body128valid
1.0ms17×body128invalid
Compiler

Compiled 40 to 20 computations (50% saved)

simplify8.0ms (0.1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
11715
23411
35411
46811
57211
67011

prune3.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.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
Compiler

Compiled 84 to 41 computations (51.2% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))
0.0b
(+.f64 (*.f64 x y) (*.f64 z z))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))

series42.0ms (0.8%)

Counts
3 → 108
Calls

3 calls:

21.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))
13.0ms
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
8.0ms
(+.f64 (*.f64 x y) (*.f64 z z))

rewrite34.0ms (0.6%)

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:

14.0ms
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
10.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))
6.0ms
(+.f64 (*.f64 x y) (*.f64 z z))

simplify156.0ms (2.9%)

Algorithm
egg-herbie
Rules
700×fma-neg_binary64
652×fma-def_binary64
387×distribute-rgt-in_binary64
335×distribute-lft-in_binary64
267×associate-*l*_binary64
Counts
159 → 93
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0781788
12461682
27751595
331421591
446401591
551151591

prune122.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New89493
Fresh011
Picked011
Done000
Total89695
Error
0b
Counts
95 → 6
Alt Table
StatusErrorProgram
38.1b
(+.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)))) (*.f64 z z))
17.1b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (*.f64 z z))
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
11.5b
(+.f64 (+.f64 (expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x)))) (*.f64 z z)) (*.f64 z z))
17.2b
(*.f64 (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))) (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))))
Compiler

Compiled 2229 to 506 computations (77.3% saved)

localize10.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))

series228.0ms (4.3%)

Counts
1 → 36
Calls

1 calls:

228.0ms
(fma.f64 z (*.f64 z 3) (*.f64 x y))

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:

1.0ms
(fma.f64 z (*.f64 z 3) (*.f64 x y))

simplify111.0ms (2.1%)

Algorithm
egg-herbie
Rules
893×fma-def_binary64
483×distribute-rgt-out_binary64
466×distribute-rgt-in_binary64
458×distribute-lft-in_binary64
301×*-commutative_binary64
Counts
46 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
023508
134485
265485
3184485
4750485
52905485
63790485
74921485

prune36.0ms (0.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New23023
Fresh044
Picked011
Done011
Total23629
Error
0b
Counts
29 → 6
Alt Table
StatusErrorProgram
38.1b
(+.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)))) (*.f64 z z))
17.1b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (*.f64 z z))
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
11.5b
(+.f64 (+.f64 (expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x)))) (*.f64 z z)) (*.f64 z z))
17.2b
(*.f64 (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))) (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))))
Compiler

Compiled 544 to 240 computations (55.9% saved)

localize21.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (fma.f64 z z (*.f64 y x)))
0.0b
(fma.f64 z z (*.f64 y x))
0.1b
(+.f64 (+.f64 (expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x)))) (*.f64 z z)) (*.f64 z z))
2.6b
(expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x))))

series164.0ms (3.1%)

Counts
4 → 144
Calls

4 calls:

100.0ms
(log1p.f64 (fma.f64 z z (*.f64 y x)))
28.0ms
(+.f64 (+.f64 (expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x)))) (*.f64 z z)) (*.f64 z z))
22.0ms
(fma.f64 z z (*.f64 y x))
14.0ms
(expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x))))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
expm1-log1p-u_binary64
Counts
4 → 51
Calls

4 calls:

9.0ms
(+.f64 (+.f64 (expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x)))) (*.f64 z z)) (*.f64 z z))
1.0ms
(fma.f64 z z (*.f64 y x))
1.0ms
(expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x))))
1.0ms
(log1p.f64 (fma.f64 z z (*.f64 y x)))

simplify195.0ms (3.7%)

Algorithm
egg-herbie
Rules
385×sub-neg_binary64
382×distribute-rgt-in_binary64
347×cancel-sign-sub-inv_binary64
289×fma-neg_binary64
208×+-commutative_binary64
Counts
195 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02483676
17373504
229523359
347163355
450473355

prune183.0ms (3.4%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1460146
Fresh033
Picked011
Done022
Total1466152
Error
0b
Counts
152 → 6
Alt Table
StatusErrorProgram
38.1b
(+.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)))) (*.f64 z z))
17.1b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (*.f64 z z))
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
11.5b
(+.f64 (+.f64 (expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x)))) (*.f64 z z)) (*.f64 z z))
17.2b
(*.f64 (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))) (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))))
Compiler

Compiled 5083 to 2100 computations (58.7% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))
0.0b
(+.f64 (*.f64 x y) (*.f64 z z))
0.2b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (*.f64 z z))
2.2b
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)))

series773.0ms (14.6%)

Counts
2 → 40
Calls

2 calls:

668.0ms
(fma.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (*.f64 z z))
104.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
sqrt-prod_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
2 → 28
Calls

2 calls:

9.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)))
1.0ms
(fma.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (*.f64 z z))

simplify127.0ms (2.4%)

Algorithm
egg-herbie
Rules
467×associate-*l*_binary64
447×associate-/l*_binary64
431×fma-def_binary64
386×associate-/r*_binary64
316×fma-neg_binary64
Counts
68 → 75
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01181775
13271404
211461370
348941370
450551370

prune287.0ms (5.4%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New2430243
Fresh022
Picked011
Done033
Total2436249
Error
0b
Counts
249 → 6
Alt Table
StatusErrorProgram
38.1b
(+.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)))) (*.f64 z z))
17.1b
(fma.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (sqrt.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))) (*.f64 z z))
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
11.5b
(+.f64 (+.f64 (expm1.f64 (log1p.f64 (fma.f64 z z (*.f64 y x)))) (*.f64 z z)) (*.f64 z z))
17.2b
(*.f64 (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))) (sqrt.f64 (fma.f64 3 (*.f64 z z) (*.f64 y x))))
Compiler

Compiled 8725 to 1857 computations (78.7% saved)

regimes1.5s (27.5%)

Accuracy

Total 0.1b remaining (85.2%)

Threshold costs 0.1b (85.2%)

Counts
100 → 1
Compiler

Compiled 15582 to 7502 computations (51.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
1911
2911

end6.0ms (0.1%)

Remove

(sort x y)

Compiler

Compiled 33 to 21 computations (36.4% saved)

sample791.0ms (14.9%)

Algorithm
intervals
Results
380.0ms8000×body128valid
17.0ms459×body128invalid
Compiler

Compiled 177 to 76 computations (57.1% saved)

Profiling

Loading profile data...