Details

Time bar (total: 5.0s)

analyze6.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0.1%99.9%0
0.1%0%99.9%1
Compiler

Compiled 33 to 24 computations (27.3% saved)

sample1.6s (32.3%)

Results
1.5s8256×body128valid
Compiler

Compiled 76 to 55 computations (27.6% saved)

simplify19.0ms (0.4%)

Algorithm
egg-herbie
Rules
199×fma-def_binary32
155×fma-neg_binary32
47×cancel-sign-sub-inv_binary32
34×sub-neg_binary32
26×unsub-neg_binary32
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
1158
2358
3638
41428
52628
63818
74348
84588
94638
104288

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 34 to 22 computations (35.3% saved)

localize13.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))

series4.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

4.0ms
(fma.f32 ux maxCos (-.f32 1 ux))

rewrite84.0ms (1.7%)

Algorithm
egg-rewrite
Rules
48×egg
Counts
1 → 48
Calls

1 calls:

83.0ms
(fma.f32 ux maxCos (-.f32 1 ux))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11238
214548
349608
449658

simplify26.0ms (0.5%)

Algorithm
egg-herbie
Rules
161×fma-def_binary32
149×fma-neg_binary32
26×associate--r+_binary32
26×sub-neg_binary32
24×distribute-rgt-in_binary32
Counts
72 → 56
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014207
133171
269171
3120171
4206171
5332171
6438171
7446171
8457171
9422171

prune37.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New54256
Fresh000
Picked011
Done000
Total54357
Error
0.0b
Counts
57 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.4b
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))) (*.f32 ux maxCos))
0.5b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2))
Compiler

Compiled 684 to 403 computations (41.1% saved)

localize39.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f32 1 (fma.f32 ux ux ux))
0.0b
(-.f32 1 (pow.f32 ux 3))
0.1b
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))) (*.f32 ux maxCos))
0.4b
(/.f32 1 (+.f32 1 (fma.f32 ux ux ux)))

series42.0ms (0.8%)

Counts
4 → 51
Calls

4 calls:

32.0ms
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))) (*.f32 ux maxCos))
3.0ms
(/.f32 1 (+.f32 1 (fma.f32 ux ux ux)))
3.0ms
(+.f32 1 (fma.f32 ux ux ux))
3.0ms
(-.f32 1 (pow.f32 ux 3))

rewrite311.0ms (6.2%)

Algorithm
egg-rewrite
Rules
59×egg
48×egg
32×egg
24×egg
Counts
4 → 163
Calls

4 calls:

108.0ms
(-.f32 1 (pow.f32 ux 3))
88.0ms
(+.f32 1 (fma.f32 ux ux ux))
61.0ms
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))) (*.f32 ux maxCos))
51.0ms
(/.f32 1 (+.f32 1 (fma.f32 ux ux ux)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
112811
2151011
3510811
01224
126123
2308523
3504423
067
11277
213567
348577
449227
550497
058
11028
211948
348468
463408

simplify167.0ms (3.3%)

Algorithm
egg-herbie
Rules
611×times-frac_binary32
493×unswap-sqr_binary32
336×div-sub_binary32
279×fma-def_binary32
271×associate-*l*_binary32
Counts
214 → 196
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046772
1119680
2302680
3730678
42202678
54568678
64975678

prune144.0ms (2.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1951196
Fresh011
Picked011
Done011
Total1954199
Error
0b
Counts
199 → 4
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.4b
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))) (*.f32 ux maxCos))
1.2b
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (+.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))))) (cbrt.f32 (exp.f32 (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))))))) (log.f32 (cbrt.f32 (exp.f32 (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))))))) (*.f32 ux maxCos))
0.5b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2))
Compiler

Compiled 4547 to 2675 computations (41.2% saved)

localize28.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.1b
(cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux)))
0.2b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2))
0.4b
(pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2)

series104.0ms (2.1%)

Counts
3 → 72
Calls

3 calls:

67.0ms
(pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2)
32.0ms
(cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux)))
5.0ms
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2))

rewrite233.0ms (4.7%)

Algorithm
egg-rewrite
Rules
33×egg
23×egg
19×egg
Counts
3 → 75
Calls

3 calls:

138.0ms
(cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux)))
47.0ms
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2))
46.0ms
(pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
118311
2193111
3495911
0108
11868
219438
349878
0710
114010
2163810
3482310
4494310
5498510
6493710

simplify121.0ms (2.4%)

Algorithm
egg-herbie
Rules
378×sub-neg_binary32
368×fma-def_binary32
299×fma-neg_binary32
247×+-commutative_binary32
233×associate-/r*_binary32
Counts
147 → 174
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03404211
111613999
243093869
351053869

prune390.0ms (7.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3501351
Fresh101
Picked011
Done022
Total3514355
Error
0b
Counts
355 → 4
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.7b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2))
0.4b
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))) (*.f32 ux maxCos))
0.5b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2))
Compiler

Compiled 13012 to 8600 computations (33.9% saved)

localize81.0ms (1.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux)))
0.2b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2))
0.4b
(pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2)
0.4b
(pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2)

series244.0ms (4.9%)

Counts
3 → 72
Calls

3 calls:

172.0ms
(pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2)
66.0ms
(pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2)
5.0ms
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2))

rewrite166.0ms (3.3%)

Algorithm
egg-rewrite
Rules
34×egg
28×egg
26×egg
Counts
3 → 88
Calls

3 calls:

58.0ms
(pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2)
54.0ms
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2))
51.0ms
(pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
123711
2231411
3577711
01011
121510
2216010
3544610
0138
12378
223298
358118

simplify337.0ms (6.8%)

Algorithm
egg-herbie
Rules
382×fma-def_binary32
311×fma-neg_binary32
244×+-commutative_binary32
233×associate-/r*_binary32
211×associate-*r*_binary32
Counts
160 → 184
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03444383
111694176
245134166
350324166

prune552.0ms (11.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2490249
Fresh000
Picked011
Done033
Total2494253
Error
0b
Counts
253 → 4
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.7b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (pow.f32 (pow.f32 (fma.f32 ux maxCos (-.f32 1 ux)) 1/6) 2) 2))
0.4b
(fma.f32 (-.f32 1 (pow.f32 ux 3)) (/.f32 1 (+.f32 1 (fma.f32 ux ux ux))) (*.f32 ux maxCos))
0.5b
(*.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (pow.f32 (cbrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) 2))
Compiler

Compiled 11373 to 7857 computations (30.9% saved)

regimes159.0ms (3.2%)

Accuracy

Total 0.0b remaining (72%)

Threshold costs 0.0b (72%)

Counts
36 → 1
Compiler

Compiled 2494 to 1829 computations (26.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary32
sub-neg_binary32
*-commutative_binary32
neg-sub0_binary32
neg-mul-1_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
2148
3168
4178
5168

end62.0ms (1.2%)

Compiler

Compiled 90 to 63 computations (30% saved)

Profiling

Loading profile data...