Details

Time bar (total: 12.3s)

analyze10.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.5s (12.1%)

Results
1.4s8256×body128valid
Compiler

Compiled 76 to 55 computations (27.6% saved)

simplify17.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

prune3.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)

localize14.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0%)

Counts
1 → 24
Calls

1 calls:

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

rewrite1.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:

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

simplify59.0ms (0.5%)

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

prune19.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh000
Picked011
Done000
Total24327
Error
0b
Counts
27 → 3
Alt Table
StatusErrorProgram
0.4b
(*.f32 (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
Compiler

Compiled 304 to 184 computations (39.5% saved)

localize19.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series10.0s (81.6%)

Counts
2 → 48
Calls

2 calls:

10.0s
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
17.0ms
(log1p.f32 (-.f32 (*.f32 maxCos ux) ux))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
exp-prod_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-log-exp_binary32
Counts
2 → 25
Calls

2 calls:

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

simplify62.0ms (0.5%)

Algorithm
egg-herbie
Rules
482×times-frac_binary32
299×sub-neg_binary32
216×distribute-neg-in_binary32
200×distribute-rgt-in_binary32
200×cancel-sign-sub-inv_binary32
Counts
73 → 108
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02152004
16541755
223861691
350671691

prune79.0ms (0.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1080108
Fresh011
Picked011
Done011
Total1083111
Error
0b
Counts
111 → 3
Alt Table
StatusErrorProgram
0.4b
(*.f32 (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
Compiler

Compiled 2357 to 1318 computations (44.1% saved)

localize24.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.1b
(sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux)))
0.4b
(*.f32 (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))))

series64.0ms (0.5%)

Counts
2 → 32
Calls

2 calls:

60.0ms
(sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux)))
4.0ms
(*.f32 (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary32
21×sqrt-prod_binary32
18×pow1_binary32
11×*-un-lft-identity_binary32
11×add-cube-cbrt_binary32
Counts
2 → 68
Calls

2 calls:

5.0ms
(*.f32 (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))))
3.0ms
(sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux)))

simplify96.0ms (0.8%)

Algorithm
egg-herbie
Rules
579×associate-*l*_binary32
524×fma-def_binary32
489×associate-*r*_binary32
419×sub-neg_binary32
210×associate-+l+_binary32
Counts
100 → 108
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01201523
13061329
29921262
343651228
449581228
549451228

prune167.0ms (1.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1960196
Fresh000
Picked011
Done022
Total1963199
Error
0b
Counts
199 → 3
Alt Table
StatusErrorProgram
0.4b
(*.f32 (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))) (sqrt.f32 (fma.f32 ux maxCos (-.f32 1 ux))))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
Compiler

Compiled 4246 to 2762 computations (35% saved)

regimes79.0ms (0.6%)

Accuracy

Total 0.0b remaining (83.6%)

Threshold costs 0.0b (83.6%)

Counts
18 → 1
Compiler

Compiled 846 to 625 computations (26.1% saved)

simplify2.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

end47.0ms (0.4%)

Compiler

Compiled 55 to 37 computations (32.7% saved)

Profiling

Loading profile data...