Details

Time bar (total: 6.0s)

analyze1.8s (29.4%)

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
1.6%98.1%0.3%13
2.3%97.4%0.3%14
Compiler

Compiled 22 to 14 computations (36.4% saved)

sample1.9s (31.7%)

Results
1.2s8256×body128valid
604.0ms3895×body128invalid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify9.0ms (0.2%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01422
12716
26615
312213
415713
516413
616713
716713

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
2.0b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
2.8b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
Compiler

Compiled 105 to 60 computations (42.9% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
2.0b
(fma.f64 a (fma.f64 z b t) x)

series41.0ms (0.7%)

Counts
2 → 132
Calls

2 calls:

26.0ms
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
15.0ms
(fma.f64 a (fma.f64 z b t) x)

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 a (fma.f64 z b t) x)
0.0ms
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))

simplify53.0ms (0.9%)

Algorithm
egg-herbie
Rules
739×associate-+l+_binary64
732×associate-+r+_binary64
701×fma-def_binary64
559×associate-*l*_binary64
480×associate-*r*_binary64
Counts
152 → 66
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0551737
1971579
22491579
310631579
457211579

prune44.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New64266
Fresh011
Picked011
Done000
Total64468
Error
0.0b
Counts
68 → 4
Alt Table
StatusErrorProgram
31.9b
(fma.f64 y z (*.f64 (sqrt.f64 (fma.f64 a (fma.f64 z b t) x)) (sqrt.f64 (fma.f64 a (fma.f64 z b t) x))))
2.0b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
2.8b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
Compiler

Compiled 995 to 233 computations (76.6% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
1.7b
(fma.f64 z (fma.f64 a b y) x)

series39.0ms (0.6%)

Counts
2 → 132
Calls

2 calls:

23.0ms
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
15.0ms
(fma.f64 z (fma.f64 a b y) x)

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 z (fma.f64 a b y) x)
0.0ms
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))

simplify119.0ms (2%)

Algorithm
egg-herbie
Rules
576×fma-def_binary64
520×associate-+r+_binary64
505×associate-*l*_binary64
470×associate-+l+_binary64
444×associate-*r*_binary64
Counts
152 → 52
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0561796
11031579
22361579
39061579
435481579
537711579
646611579
748881579
848881579

prune41.0ms (0.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh022
Picked011
Done011
Total52456
Error
0.0b
Counts
56 → 4
Alt Table
StatusErrorProgram
31.9b
(fma.f64 y z (*.f64 (sqrt.f64 (fma.f64 a (fma.f64 z b t) x)) (sqrt.f64 (fma.f64 a (fma.f64 z b t) x))))
2.0b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
2.8b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
Compiler

Compiled 754 to 182 computations (75.9% saved)

localize18.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series49.0ms (0.8%)

Counts
3 → 168
Calls

3 calls:

28.0ms
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
12.0ms
(+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a))
8.0ms
(*.f64 (*.f64 a z) b)

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×add-log-exp_binary64
sum-log_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
Counts
3 → 57
Calls

3 calls:

11.0ms
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
4.0ms
(+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a))
4.0ms
(*.f64 (*.f64 a z) b)

simplify99.0ms (1.7%)

Algorithm
egg-herbie
Rules
704×distribute-rgt-in_binary64
704×fma-def_binary64
676×distribute-lft-in_binary64
542×fma-neg_binary64
164×cancel-sign-sub-inv_binary64
Counts
225 → 110
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01182565
13402260
212872248
347642248
451362248

prune75.0ms (1.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1082110
Fresh011
Picked011
Done022
Total1086114
Error
0b
Counts
114 → 6
Alt Table
StatusErrorProgram
31.9b
(fma.f64 y z (*.f64 (sqrt.f64 (fma.f64 a (fma.f64 z b t) x)) (sqrt.f64 (fma.f64 a (fma.f64 z b t) x))))
2.0b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
2.8b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
34.0b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
3.0b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b)))
Compiler

Compiled 2382 to 458 computations (80.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 b) (cbrt.f64 b))
0.6b
(cbrt.f64 b)
1.0b
(*.f64 (*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b))
3.9b
(*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b)))

series745.0ms (12.5%)

Counts
4 → 96
Calls

4 calls:

652.0ms
(*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b)))
37.0ms
(*.f64 (cbrt.f64 b) (cbrt.f64 b))
33.0ms
(cbrt.f64 b)
24.0ms
(*.f64 (*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b))

rewrite29.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
41×pow1_binary64
36×add-exp-log_binary64
23×add-sqr-sqrt_binary64
23×pow-prod-down_binary64
22×cbrt-prod_binary64
Counts
4 → 111
Calls

4 calls:

9.0ms
(*.f64 (*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b))
7.0ms
(*.f64 (cbrt.f64 b) (cbrt.f64 b))
6.0ms
(*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b)))
1.0ms
(cbrt.f64 b)

simplify128.0ms (2.1%)

Algorithm
egg-herbie
Rules
801×fma-def_binary64
709×unswap-sqr_binary64
597×*-commutative_binary64
434×log-prod_binary64
299×associate-*l*_binary64
Counts
207 → 154
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01252286
12591919
210851784
318121756
439051744
548931744
650171744

prune144.0ms (2.4%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1920192
Fresh022
Picked011
Done033
Total1926198
Error
0b
Counts
198 → 6
Alt Table
StatusErrorProgram
31.9b
(fma.f64 y z (*.f64 (sqrt.f64 (fma.f64 a (fma.f64 z b t) x)) (sqrt.f64 (fma.f64 a (fma.f64 z b t) x))))
2.0b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
2.8b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
34.0b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
3.0b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (*.f64 (cbrt.f64 b) (cbrt.f64 b))) (cbrt.f64 b)))
Compiler

Compiled 5213 to 1102 computations (78.9% saved)

regimes532.0ms (8.9%)

Accuracy

Total 0.3b remaining (97.1%)

Threshold costs 0.3b (97.1%)

Counts
54 → 3
Compiler

Compiled 5817 to 3703 computations (36.3% saved)

bsearch1.0ms (0%)

Compiler

Compiled 21 to 13 computations (38.1% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
if-if-or-not_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02787
13887
23887

end93.0ms (1.6%)

Compiler

Compiled 264 to 125 computations (52.7% saved)

Profiling

Loading profile data...