Details

Time bar (total: 3.6s)

analyze546.0ms (15.2%)

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
14%85.8%0.1%7
22.6%77.2%0.1%8
23.8%74.5%1.7%9
40%56.4%3.7%10
46.9%48.7%4.4%11
48%45.8%6.2%12
58.1%32.2%9.7%13
62.1%27.2%10.6%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample1.1s (29.7%)

Results
842.0ms8256×body128valid
120.0ms1138×body128invalid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify58.0ms (1.6%)

Algorithm
egg-herbie
Rules
823×div-sub_binary64
529×fma-neg_binary64
475×distribute-rgt-in_binary64
409×fma-def_binary64
380×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0913
12511
25011
315611
433111
566611
6174411
7398811
8495311

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
12.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.4b
(/.f64 (*.f64 x (+.f64 (-.f64 y z) 1)) z)
Compiler

Compiled 44 to 26 computations (40.9% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (+.f64 (-.f64 y z) 1))
11.6b
(/.f64 (*.f64 x (+.f64 (-.f64 y z) 1)) z)

series25.0ms (0.7%)

Counts
2 → 72
Calls

2 calls:

14.0ms
(/.f64 (*.f64 x (+.f64 (-.f64 y z) 1)) z)
11.0ms
(*.f64 x (+.f64 (-.f64 y z) 1))

rewrite95.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
623×prod-diff_binary64
353×fma-def_binary64
308×fma-neg_binary64
183×log1p-udef_binary64
181×expm1-udef_binary64
Counts
2 → 90
Calls

2 calls:

93.0ms
(*.f64 x (+.f64 (-.f64 y z) 1))
93.0ms
(/.f64 (*.f64 x (+.f64 (-.f64 y z) 1)) z)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
120619
2286319
3496819
4498819
000
100

simplify101.0ms (2.8%)

Algorithm
egg-herbie
Rules
651×div-sub_binary64
545×sub-neg_binary64
410×neg-mul-1_binary64
396×associate-/l*_binary64
395×fma-neg_binary64
Counts
162 → 108
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027760
164760
2118760
3282637
4524637
51437637
62897637
74071637
84983637
95062637

prune71.0ms (2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1035108
Fresh000
Picked101
Done000
Total1045109
Error
0b
Counts
109 → 5
Alt Table
StatusErrorProgram
5.1b
(*.f64 (/.f64 x 1) (/.f64 (+.f64 (-.f64 y z) 1) z))
5.8b
(-.f64 (+.f64 (/.f64 (*.f64 y x) z) (/.f64 x z)) x)
37.1b
(/.f64 (fma.f64 (sqrt.f64 (*.f64 x (-.f64 y z))) (sqrt.f64 (*.f64 x (-.f64 y z))) x) z)
35.9b
(/.f64 (fma.f64 (sqrt.f64 (-.f64 y z)) (*.f64 (sqrt.f64 (-.f64 y z)) x) x) z)
5.8b
(*.f64 (/.f64 x z) (+.f64 (-.f64 y z) 1))
Compiler

Compiled 1517 to 506 computations (66.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 (-.f64 y z) 1) z)
4.8b
(*.f64 (/.f64 x 1) (/.f64 (+.f64 (-.f64 y z) 1) z))

series20.0ms (0.6%)

Counts
2 → 60
Calls

2 calls:

14.0ms
(*.f64 (/.f64 x 1) (/.f64 (+.f64 (-.f64 y z) 1) z))
6.0ms
(/.f64 (+.f64 (-.f64 y z) 1) z)

rewrite132.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
495×prod-diff_binary64
400×fma-udef_binary64
373×fma-def_binary64
277×fma-neg_binary64
186×log1p-udef_binary64
Counts
2 → 79
Calls

2 calls:

131.0ms
(/.f64 (+.f64 (-.f64 y z) 1) z)
131.0ms
(*.f64 (/.f64 x 1) (/.f64 (+.f64 (-.f64 y z) 1) z))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121323
2291121
3483021
4483421
5506821
000
100

simplify88.0ms (2.5%)

Algorithm
egg-herbie
Rules
943×fma-neg_binary64
877×fma-def_binary64
472×times-frac_binary64
462×neg-mul-1_binary64
439×neg-sub0_binary64
Counts
139 → 94
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
027688
157688
2111626
3179623
4466569
51130569
62741569
74355569
85030569

prune65.0ms (1.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh134
Picked011
Done000
Total94599
Error
0b
Counts
99 → 5
Alt Table
StatusErrorProgram
5.8b
(*.f64 (/.f64 x z) (+.f64 (-.f64 y z) 1))
4.5b
(/.f64 x (/.f64 z (+.f64 1 (-.f64 y z))))
5.1b
(*.f64 (/.f64 x 1) (/.f64 (+.f64 (-.f64 y z) 1) z))
5.8b
(-.f64 (+.f64 (/.f64 (*.f64 y x) z) (/.f64 x z)) x)
35.9b
(/.f64 (fma.f64 (sqrt.f64 (-.f64 y z)) (*.f64 (sqrt.f64 (-.f64 y z)) x) x) z)
Compiler

Compiled 1346 to 688 computations (48.9% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 z (+.f64 1 (-.f64 y z)))
4.2b
(/.f64 x (/.f64 z (+.f64 1 (-.f64 y z))))

series30.0ms (0.8%)

Counts
2 → 60
Calls

2 calls:

15.0ms
(/.f64 x (/.f64 z (+.f64 1 (-.f64 y z))))
15.0ms
(/.f64 z (+.f64 1 (-.f64 y z)))

rewrite99.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
607×prod-diff_binary64
444×fma-udef_binary64
337×fma-def_binary64
189×expm1-udef_binary64
189×log1p-udef_binary64
Counts
2 → 97
Calls

2 calls:

97.0ms
(/.f64 z (+.f64 1 (-.f64 y z)))
97.0ms
(/.f64 x (/.f64 z (+.f64 1 (-.f64 y z))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
120623
2294623
3495923
4499123
000
100

simplify73.0ms (2%)

Algorithm
egg-herbie
Rules
673×fma-neg_binary64
443×fma-def_binary64
363×times-frac_binary64
279×associate-/l*_binary64
218×associate-/r*_binary64
Counts
157 → 134
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01141433
13181409
211951292
348581292
454691292

prune87.0ms (2.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1331134
Fresh123
Picked011
Done011
Total1345139
Error
0b
Counts
139 → 5
Alt Table
StatusErrorProgram
5.1b
(*.f64 (/.f64 x 1) (/.f64 (+.f64 (-.f64 y z) 1) z))
5.8b
(-.f64 (+.f64 (/.f64 (*.f64 y x) z) (/.f64 x z)) x)
5.8b
(fma.f64 (-.f64 y z) (/.f64 x z) (/.f64 x z))
35.9b
(/.f64 (fma.f64 (sqrt.f64 (-.f64 y z)) (*.f64 (sqrt.f64 (-.f64 y z)) x) x) z)
4.5b
(/.f64 x (/.f64 z (+.f64 1 (-.f64 y z))))
Compiler

Compiled 2413 to 1260 computations (47.8% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
5.8b
(fma.f64 (-.f64 y z) (/.f64 x z) (/.f64 x z))

series19.0ms (0.5%)

Counts
1 → 36
Calls

1 calls:

18.0ms
(fma.f64 (-.f64 y z) (/.f64 x z) (/.f64 x z))

rewrite55.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
866×log1p-expm1-u_binary64
866×expm1-log1p-u_binary64
584×prod-diff_binary64
82×add-sqr-sqrt_binary64
76×add-log-exp_binary64
Counts
1 → 25
Calls

1 calls:

54.0ms
(fma.f64 (-.f64 y z) (/.f64 x z) (/.f64 x z))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
115513
2213213
3646313
000
100

simplify79.0ms (2.2%)

Algorithm
egg-herbie
Rules
846×fma-def_binary64
572×fma-neg_binary64
160×distribute-rgt-in_binary64
145×distribute-lft-in_binary64
127×associate-*l*_binary64
Counts
61 → 36
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
023515
152515
2116455
3251455
4564365
5917365
61311365
71390365
81402365
91402365
101323365

prune40.0ms (1.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New35136
Fresh112
Picked011
Done022
Total36541
Error
0b
Counts
41 → 5
Alt Table
StatusErrorProgram
5.8b
(fma.f64 (-.f64 y z) (/.f64 x z) (/.f64 x z))
35.9b
(/.f64 (fma.f64 (sqrt.f64 (-.f64 y z)) (*.f64 (sqrt.f64 (-.f64 y z)) x) x) z)
4.5b
(/.f64 x (/.f64 z (+.f64 1 (-.f64 y z))))
5.8b
(-.f64 (/.f64 (fma.f64 x y x) z) x)
5.1b
(*.f64 (/.f64 x 1) (/.f64 (+.f64 (-.f64 y z) 1) z))
Compiler

Compiled 525 to 219 computations (58.3% saved)

regimes720.0ms (20%)

Accuracy

Total 0.3b remaining (97.5%)

Threshold costs 0.3b (97.5%)

Counts
79 → 3
Compiler

Compiled 4104 to 2586 computations (37% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify9.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02677
13677
24477
34877
45077
54977

end89.0ms (2.5%)

Compiler

Compiled 179 to 100 computations (44.1% saved)

Profiling

Loading profile data...