Details

Time bar (total: 35.8s)

analyze8.0ms (0%)

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)

sample182.0ms (0.5%)

Algorithm
intervals
Results
22.0ms256×body128valid
18.0ms256×pre128true
Compiler

Compiled 46 to 34 computations (26.1% saved)

simplify38.0ms (0.1%)

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

prune6.0ms (0%)

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)

localize35.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series10.0ms (0%)

Counts
1 → 24
Calls

1 calls:

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

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
add-exp-log_binary32
Counts
1 → 10
Calls

1 calls:

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

simplify95.0ms (0.3%)

Algorithm
egg-herbie
Rules
555×fma-neg_binary32
470×times-frac_binary32
313×distribute-rgt-in_binary32
309×neg-sub0_binary32
301×distribute-lft-in_binary32
Counts
34 → 26
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
025331
145278
299277
3292277
41097277
52072277
64492277
75251277

prune50.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New25126
Fresh000
Picked011
Done000
Total25227
Error
0.0b
Counts
27 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 268 to 160 computations (40.3% saved)

localize51.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f32 (*.f32 maxCos ux) ux)
0.0b
(*.f32 maxCos ux)
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
0.0b
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))

series21.0s (58.5%)

Counts
4 → 63
Calls

4 calls:

20.9s
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
37.0ms
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))
11.0ms
(-.f32 (*.f32 maxCos ux) ux)
8.0ms
(*.f32 maxCos ux)

rewrite24.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary32
10×*-un-lft-identity_binary32
add-cube-cbrt_binary32
add-log-exp_binary32
add-cbrt-cube_binary32
Counts
4 → 66
Calls

4 calls:

8.0ms
(*.f32 maxCos ux)
6.0ms
(-.f32 (*.f32 maxCos ux) ux)
2.0ms
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
1.0ms
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))

simplify115.0ms (0.3%)

Algorithm
egg-herbie
Rules
370×fma-neg_binary32
309×sub-neg_binary32
275×cancel-sign-sub-inv_binary32
225×fma-def_binary32
216×unswap-sqr_binary32
Counts
129 → 172
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02792491
17682188
231792084
349202084

prune197.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1711172
Fresh000
Picked101
Done011
Total1722174
Error
0b
Counts
174 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.1b
(exp.f32 (log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))))
Compiler

Compiled 3104 to 1595 computations (48.6% saved)

localize57.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux))))
0.0b
(exp.f32 (log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))))
0.0b
(expm1.f32 (-.f32 (*.f32 maxCos ux) ux))
0.1b
(log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))

series11.1s (31.1%)

Counts
4 → 96
Calls

4 calls:

11.1s
(exp.f32 (log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))))
36.0ms
(log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux))))
19.0ms
(expm1.f32 (-.f32 (*.f32 maxCos ux) ux))
9.0ms
(log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))

rewrite7.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-log-exp_binary32
log1p-expm1-u_binary32
Counts
4 → 47
Calls

4 calls:

2.0ms
(exp.f32 (log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))))
1.0ms
(expm1.f32 (-.f32 (*.f32 maxCos ux) ux))
1.0ms
(log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))
1.0ms
(log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux))))

simplify193.0ms (0.5%)

Algorithm
egg-herbie
Rules
482×times-frac_binary32
409×fma-neg_binary32
373×sub-neg_binary32
283×fma-def_binary32
247×associate-+r+_binary32
Counts
143 → 164
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02902948
18852649
233102565
349222565
450742565

prune201.0ms (0.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1640164
Fresh000
Picked011
Done011
Total1642166
Error
0b
Counts
166 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.1b
(exp.f32 (log1p.f32 (log1p.f32 (expm1.f32 (-.f32 (*.f32 maxCos ux) ux)))))
Compiler

Compiled 3498 to 1800 computations (48.5% saved)

regimes212.0ms (0.6%)

Accuracy

Total 0.0b remaining (79.4%)

Threshold costs 0.0b (79.4%)

Counts
23 → 1
Compiler

Compiled 990 to 721 computations (27.2% saved)

simplify4.0ms (0%)

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

end1.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

sample2.2s (6.2%)

Algorithm
intervals
Results
633.0ms7998×body128valid
516.0ms8000×pre128true
0.0msbody256valid
Compiler

Compiled 66 to 48 computations (27.3% saved)

Profiling

Loading profile data...