Details

Time bar (total: 4.4s)

analyze6.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
99.7%0%0.3%1
Compiler

Compiled 28 to 20 computations (28.6% saved)

sample2.0s (45.3%)

Results
1.9s8250×body128valid
2.0msbody512valid
1.0msbody256valid
Compiler

Compiled 83 to 59 computations (28.9% saved)

simplify83.0ms (1.9%)

Algorithm
egg-herbie
Rules
494×fma-neg_binary64
474×distribute-neg-in_binary64
463×associate--l-_binary64
362×associate--r-_binary64
354×+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01931
14927
214125
346625
4161525
5379425
6454725
7496625

prune7.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
2.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
2.5b
(fma.f64 (-.f64 (+.f64 y t) 2) b (fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x)))
Compiler

Compiled 93 to 60 computations (35.5% saved)

localize24.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (-.f64 1 t) x)
0.5b
(fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x))
2.0b
(fma.f64 (-.f64 (+.f64 y t) 2) b (fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x)))

series100.0ms (2.3%)

Counts
3 → 168
Calls

3 calls:

56.0ms
(fma.f64 (-.f64 (+.f64 y t) 2) b (fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x)))
31.0ms
(fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x))
12.0ms
(fma.f64 a (-.f64 1 t) x)

rewrite4.0ms (0.1%)

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

simplify226.0ms (5.1%)

Algorithm
egg-herbie
Rules
759×fma-neg_binary64
482×associate--l+_binary64
437×sub-neg_binary64
413×associate-+l+_binary64
409×associate-*l*_binary64
Counts
198 → 87
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01103636
12883535
28563328
330263326
448733326
553763326

prune83.0ms (1.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New85287
Fresh000
Picked011
Done000
Total85388
Error
0b
Counts
88 → 3
Alt Table
StatusErrorProgram
20.6b
(+.f64 x (+.f64 (+.f64 a z) (fma.f64 t (-.f64 b a) (*.f64 b -2))))
2.5b
(fma.f64 (-.f64 (+.f64 y t) 2) b (fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x)))
15.0b
(+.f64 a (+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2))))
Compiler

Compiled 1761 to 872 computations (50.5% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y (-.f64 b z) (*.f64 b -2))
0.0b
(+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2)))
0.0b
(+.f64 a (+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2))))

series49.0ms (1.1%)

Counts
3 → 144
Calls

3 calls:

24.0ms
(+.f64 a (+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2))))
16.0ms
(+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2)))
9.0ms
(fma.f64 y (-.f64 b z) (*.f64 b -2))

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64
17×add-log-exp_binary64
10×distribute-lft-out_binary64
sum-log_binary64
fma-def_binary64
Counts
3 → 54
Calls

3 calls:

7.0ms
(+.f64 a (+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2))))
5.0ms
(+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2)))
1.0ms
(fma.f64 y (-.f64 b z) (*.f64 b -2))

simplify100.0ms (2.3%)

Algorithm
egg-herbie
Rules
567×fma-neg_binary64
497×sub-neg_binary64
416×fma-def_binary64
379×associate-+l+_binary64
290×associate-+r+_binary64
Counts
198 → 109
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01153321
13413106
210302860
334802860
448832860

prune112.0ms (2.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh011
Picked011
Done011
Total1093112
Error
0b
Counts
112 → 3
Alt Table
StatusErrorProgram
20.6b
(+.f64 x (+.f64 (+.f64 a z) (fma.f64 t (-.f64 b a) (*.f64 b -2))))
2.5b
(fma.f64 (-.f64 (+.f64 y t) 2) b (fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x)))
15.0b
(+.f64 a (+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2))))
Compiler

Compiled 2100 to 868 computations (58.7% saved)

localize14.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 t (-.f64 b a) (*.f64 b -2))
0.0b
(+.f64 (+.f64 a z) (fma.f64 t (-.f64 b a) (*.f64 b -2)))

series26.0ms (0.6%)

Counts
2 → 84
Calls

2 calls:

14.0ms
(+.f64 (+.f64 a z) (fma.f64 t (-.f64 b a) (*.f64 b -2)))
12.0ms
(fma.f64 t (-.f64 b a) (*.f64 b -2))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
add-log-exp_binary64
distribute-lft-out_binary64
fma-def_binary64
sum-log_binary64
Counts
2 → 32
Calls

2 calls:

5.0ms
(+.f64 (+.f64 a z) (fma.f64 t (-.f64 b a) (*.f64 b -2)))
0.0ms
(fma.f64 t (-.f64 b a) (*.f64 b -2))

simplify139.0ms (3.2%)

Algorithm
egg-herbie
Rules
830×fma-neg_binary64
445×distribute-rgt-in_binary64
418×distribute-lft-in_binary64
285×cancel-sign-sub-inv_binary64
245×exp-sum_binary64
Counts
116 → 70
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0841759
12191600
25891492
329281492
442921492
550691492

prune109.0ms (2.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New70070
Fresh000
Picked011
Done022
Total70373
Error
0b
Counts
73 → 3
Alt Table
StatusErrorProgram
20.6b
(+.f64 x (+.f64 (+.f64 a z) (fma.f64 t (-.f64 b a) (*.f64 b -2))))
2.5b
(fma.f64 (-.f64 (+.f64 y t) 2) b (fma.f64 z (-.f64 1 y) (fma.f64 a (-.f64 1 t) x)))
15.0b
(+.f64 a (+.f64 (+.f64 z x) (fma.f64 y (-.f64 b z) (*.f64 b -2))))
Compiler

Compiled 1287 to 551 computations (57.2% saved)

regimes1.2s (26.4%)

Accuracy

Total 1.4b remaining (99.7%)

Threshold costs 0b (0%)

Counts
99 → 2
Compiler

Compiled 11541 to 8034 computations (30.4% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 27 to 19 computations (29.6% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
21×+-commutative_binary64
16×sub-neg_binary64
12×*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03581
16881
29681
311281
412181
512281
611881

end115.0ms (2.6%)

Compiler

Compiled 188 to 118 computations (37.2% saved)

Profiling

Loading profile data...