Details

Time bar (total: 8.8s)

analyze1.4s (16.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
0%99.8%0.2%9
3.5%96.2%0.2%10
9.5%90.2%0.2%11
14.3%85.4%0.2%12
16.5%83.2%0.2%13
25.9%73.9%0.2%14
Compiler

Compiled 17 to 11 computations (35.3% saved)

sample1.3s (14.4%)

Results
1.1s8253×body128valid
94.0ms757×body128invalid
0.0msbody1024valid
0.0msbody512valid
0.0msbody256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify118.0ms (1.3%)

Algorithm
egg-herbie
Rules
1893×fma-neg_binary64
867×div-sub_binary64
749×fma-def_binary64
696×distribute-rgt-in_binary64
535×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01116
11816
24014
38114
416014
530214
662014
7152814
8262414
9285814
10320514
11339214
12349814
13353314
14539814

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
2.8b
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)
12.3b
(+.f64 x (/.f64 (*.f64 (-.f64 y z) t) (-.f64 a z)))
Compiler

Compiled 88 to 50 computations (43.2% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 t (-.f64 a z))
2.7b
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)

series55.0ms (0.6%)

Counts
2 → 84
Calls

2 calls:

35.0ms
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)
20.0ms
(/.f64 t (-.f64 a z))

rewrite69.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
805×prod-diff_binary64
218×log1p-udef_binary64
119×add-sqr-sqrt_binary64
113×log1p-expm1-u_binary64
113×expm1-log1p-u_binary64
Counts
2 → 58
Calls

2 calls:

67.0ms
(/.f64 t (-.f64 a z))
67.0ms
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
122321
2308021
3501721
000
100

simplify92.0ms (1%)

Algorithm
egg-herbie
Rules
636×times-frac_binary64
600×fma-def_binary64
499×associate-/l*_binary64
465×fma-neg_binary64
262×cancel-sign-sub-inv_binary64
Counts
142 → 114
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01202438
13572438
213542037
347002037
450532037

prune90.0ms (1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1113114
Fresh101
Picked011
Done000
Total1124116
Error
0.0b
Counts
116 → 4
Alt Table
StatusErrorProgram
2.4b
(+.f64 x (*.f64 t (-.f64 (/.f64 y (-.f64 a z)) (/.f64 z (-.f64 a z)))))
12.3b
(-.f64 (+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x) (/.f64 (*.f64 t z) (-.f64 a z)))
2.8b
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)
33.7b
(pow.f64 (sqrt.f64 (fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)) 2)
Compiler

Compiled 2431 to 784 computations (67.7% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 z (-.f64 a z))
0.0b
(/.f64 y (-.f64 a z))
0.0b
(-.f64 (/.f64 y (-.f64 a z)) (/.f64 z (-.f64 a z)))
3.3b
(*.f64 t (-.f64 (/.f64 y (-.f64 a z)) (/.f64 z (-.f64 a z))))

series101.0ms (1.1%)

Counts
4 → 111
Calls

4 calls:

48.0ms
(*.f64 t (-.f64 (/.f64 y (-.f64 a z)) (/.f64 z (-.f64 a z))))
25.0ms
(-.f64 (/.f64 y (-.f64 a z)) (/.f64 z (-.f64 a z)))
19.0ms
(/.f64 y (-.f64 a z))
9.0ms
(/.f64 z (-.f64 a z))

rewrite105.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
534×fma-def_binary64
283×fma-neg_binary64
254×egg-rr
228×expm1-udef_binary64
228×log1p-udef_binary64
Counts
4 → 254
Calls

4 calls:

99.0ms
(/.f64 z (-.f64 a z))
99.0ms
(/.f64 y (-.f64 a z))
99.0ms
(-.f64 (/.f64 y (-.f64 a z)) (/.f64 z (-.f64 a z)))
99.0ms
(*.f64 t (-.f64 (/.f64 y (-.f64 a z)) (/.f64 z (-.f64 a z))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01037
123437
2358637
3511237
000
100

simplify124.0ms (1.4%)

Algorithm
egg-herbie
Rules
821×fma-def_binary64
757×times-frac_binary64
673×fma-neg_binary64
495×cancel-sign-sub-inv_binary64
329×sub-neg_binary64
Counts
365 → 359
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01823449
15083422
219222937
345202937
450012937

prune604.0ms (6.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3572359
Fresh112
Picked101
Done011
Total3594363
Error
0b
Counts
363 → 4
Alt Table
StatusErrorProgram
2.6b
(+.f64 x (*.f64 t (/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z)))))
12.3b
(-.f64 (+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x) (/.f64 (*.f64 t z) (-.f64 a z)))
29.9b
(+.f64 x (pow.f64 (sqrt.f64 (*.f64 t (/.f64 (-.f64 y z) (-.f64 a z)))) 2))
2.8b
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)
Compiler

Compiled 9459 to 3102 computations (67.2% saved)

localize16.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 a z) (-.f64 y z))
0.5b
(/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z)))
3.3b
(*.f64 t (/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z))))

series144.0ms (1.6%)

Counts
3 → 120
Calls

3 calls:

68.0ms
(*.f64 t (/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z))))
41.0ms
(/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z)))
35.0ms
(/.f64 (-.f64 a z) (-.f64 y z))

rewrite243.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
961×prod-diff_binary64
306×egg-rr
129×add-sqr-sqrt_binary64
122×log1p-expm1-u_binary64
122×expm1-log1p-u_binary64
Counts
3 → 306
Calls

3 calls:

208.0ms
(/.f64 (-.f64 a z) (-.f64 y z))
208.0ms
(/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z)))
208.0ms
(*.f64 t (/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01136
125033
2348333
3536833
000
100

simplify194.0ms (2.2%)

Algorithm
egg-herbie
Rules
798×cancel-sign-sub-inv_binary64
527×fma-neg_binary64
488×sub-neg_binary64
223×unsub-neg_binary64
213×associate--l+_binary64
Counts
426 → 408
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02293699
16683618
225583092
343103080
450213080

prune645.0ms (7.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4080408
Fresh022
Picked011
Done011
Total4084412
Error
0b
Counts
412 → 4
Alt Table
StatusErrorProgram
2.6b
(+.f64 x (*.f64 t (/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z)))))
12.3b
(-.f64 (+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x) (/.f64 (*.f64 t z) (-.f64 a z)))
29.9b
(+.f64 x (pow.f64 (sqrt.f64 (*.f64 t (/.f64 (-.f64 y z) (-.f64 a z)))) 2))
2.8b
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)
Compiler

Compiled 17490 to 5354 computations (69.4% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x) (/.f64 (*.f64 t z) (-.f64 a z)))
0.0b
(+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x)
6.1b
(/.f64 (*.f64 y t) (-.f64 a z))
12.3b
(/.f64 (*.f64 t z) (-.f64 a z))

series232.0ms (2.6%)

Counts
4 → 144
Calls

4 calls:

94.0ms
(-.f64 (+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x) (/.f64 (*.f64 t z) (-.f64 a z)))
57.0ms
(/.f64 (*.f64 y t) (-.f64 a z))
52.0ms
(+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x)
29.0ms
(/.f64 (*.f64 t z) (-.f64 a z))

rewrite147.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
294×log1p-udef_binary64
181×egg-rr
160×add-sqr-sqrt_binary64
154×log1p-expm1-u_binary64
154×expm1-log1p-u_binary64
Counts
4 → 181
Calls

4 calls:

137.0ms
(-.f64 (+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x) (/.f64 (*.f64 t z) (-.f64 a z)))
137.0ms
(+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x)
137.0ms
(/.f64 (*.f64 y t) (-.f64 a z))
137.0ms
(/.f64 (*.f64 t z) (-.f64 a z))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01358
130458
2471058
3520558
000
100

simplify196.0ms (2.2%)

Algorithm
egg-herbie
Rules
678×fma-def_binary64
629×times-frac_binary64
546×fma-neg_binary64
482×associate-/l*_binary64
456×cancel-sign-sub-inv_binary64
Counts
325 → 274
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01463767
14503767
214663013
345963013
450273013

prune360.0ms (4.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2740274
Fresh011
Picked011
Done022
Total2744278
Error
0b
Counts
278 → 4
Alt Table
StatusErrorProgram
2.6b
(+.f64 x (*.f64 t (/.f64 1 (/.f64 (-.f64 a z) (-.f64 y z)))))
12.3b
(-.f64 (+.f64 (/.f64 (*.f64 y t) (-.f64 a z)) x) (/.f64 (*.f64 t z) (-.f64 a z)))
29.9b
(+.f64 x (pow.f64 (sqrt.f64 (*.f64 t (/.f64 (-.f64 y z) (-.f64 a z)))) 2))
2.8b
(fma.f64 (-.f64 y z) (/.f64 t (-.f64 a z)) x)
Compiler

Compiled 7688 to 1770 computations (77% saved)

regimes2.3s (26.3%)

Accuracy

Total 0.2b remaining (92.6%)

Threshold costs 0.2b (92.6%)

Counts
131 → 3
Compiler

Compiled 16340 to 10488 computations (35.8% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify26.0ms (0.3%)

Algorithm
egg-herbie
Rules
54×distribute-rgt-neg-in_binary64
48×cancel-sign-sub-inv_binary64
37×distribute-lft-neg-in_binary64
35×neg-sub0_binary64
35×neg-mul-1_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03197
15197
27595
310793
413493
515293
616593
718593
821193
924993
1028593
1130693
1231093
1330693

end162.0ms (1.8%)

Compiler

Compiled 210 to 104 computations (50.5% saved)

Profiling

Loading profile data...