Details

Time bar (total: 12.9s)

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

sample112.0ms (0.9%)

Algorithm
intervals
Results
10.0ms255×body128valid
8.0ms256×pre128true
0.0msbody256valid
Compiler

Compiled 46 to 34 computations (26.1% saved)

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

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

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

prune87.0ms (0.7%)

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
(fma.f32 ux maxCos (-.f32 1 ux))
0.0b
(exp.f32 (log1p.f32 (-.f32 (*.f32 maxCos ux) ux)))
Compiler

Compiled 268 to 160 computations (40.3% saved)

localize19.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series10.1s (78.7%)

Counts
3 → 63
Calls

3 calls:

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

rewrite6.0ms (0%)

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

3 calls:

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

simplify93.0ms (0.7%)

Algorithm
egg-herbie
Rules
565×fma-neg_binary32
308×sub-neg_binary32
267×cancel-sign-sub-inv_binary32
226×unswap-sqr_binary32
223×fma-def_binary32
Counts
109 → 144
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02582337
17402054
230571971
348631971
450021971

prune136.0ms (1.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh000
Picked101
Done011
Total1442146
Error
0b
Counts
146 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (log1p.f32 (/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))))))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 2822 to 1465 computations (48.1% saved)

localize55.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos)))))
0.1b
(pow.f32 (*.f32 ux maxCos) 3)
0.2b
(*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))
0.3b
(/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))))

series159.0ms (1.2%)

Counts
4 → 96
Calls

4 calls:

81.0ms
(/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))))
52.0ms
(log1p.f32 (/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos)))))
13.0ms
(pow.f32 (*.f32 ux maxCos) 3)
12.0ms
(*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))

rewrite40.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt_binary32
46×pow1_binary32
39×times-frac_binary32
32×difference-of-squares_binary32
31×*-un-lft-identity_binary32
Counts
4 → 143
Calls

4 calls:

15.0ms
(/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))))
6.0ms
(*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))
2.0ms
(pow.f32 (*.f32 ux maxCos) 3)
0.0ms
(log1p.f32 (/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos)))))

simplify190.0ms (1.5%)

Algorithm
egg-herbie
Rules
338×sub-neg_binary32
262×fma-neg_binary32
196×+-commutative_binary32
191×associate-/l*_binary32
187×associate-*l*_binary32
Counts
239 → 239
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04037983
110407041
241226740
349596740
450166740

prune236.0ms (1.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2390239
Fresh000
Picked011
Done011
Total2392241
Error
0b
Counts
241 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (log1p.f32 (/.f32 (-.f32 (pow.f32 (*.f32 ux maxCos) 3) (pow.f32 ux 3)) (fma.f32 ux (fma.f32 ux maxCos ux) (*.f32 (*.f32 ux maxCos) (*.f32 ux maxCos))))))
0.0b
(fma.f32 ux maxCos (-.f32 1 ux))
Compiler

Compiled 9923 to 4719 computations (52.4% saved)

regimes339.0ms (2.6%)

Accuracy

Total 0.0b remaining (70.7%)

Threshold costs 0.0b (70.7%)

Counts
92 → 1
Compiler

Compiled 6294 to 4001 computations (36.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary32
*-commutative_binary32
sub-neg_binary32
distribute-neg-frac_binary32
/-rgt-identity_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11513
22013
32213
42313
52213

end0.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

sample1.2s (9%)

Algorithm
intervals
Results
326.0ms7997×body128valid
278.0ms8000×pre128true
0.0msbody256valid
Compiler

Compiled 85 to 55 computations (35.3% saved)

Profiling

Loading profile data...