Details

Time bar (total: 6.4s)

analyze118.0ms (1.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%1.5%98.5%0
0%1.5%98.5%1
0%1.5%98.5%2
0.8%0.8%98.5%3
0.8%0.8%98.5%4
1.2%0.4%98.5%5
1.2%0.4%98.5%6
1.4%0.2%98.5%7
1.4%0.2%98.5%8
1.4%0.1%98.5%9
1.4%0.1%98.5%10
1.5%0%98.5%11
1.5%0%98.5%12
1.5%0%98.5%13
1.5%0%98.5%14
Compiler

Compiled 27 to 21 computations (22.2% saved)

sample2.3s (35.8%)

Results
1.8s8256×body128valid
Compiler

Compiled 66 to 52 computations (21.2% saved)

simplify24.0ms (0.4%)

Algorithm
egg-herbie
Rules
175×fma-neg_binary32
156×fma-def_binary32
46×cancel-sign-sub-inv_binary32
46×sub-neg_binary32
29×distribute-rgt-in_binary32
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01014
12411
23811
36411
48311
511011
614411
719411
824411
929111
1031911
1136211
1240111
1347811
1449111
1544311

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
11.7b
(*.f32 s (log.f32 (/.f32 1 (-.f32 1 (*.f32 4 u)))))
Compiler

Compiled 61 to 49 computations (19.7% saved)

localize21.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))

series337.0ms (5.3%)

Counts
2 → 36
Calls

2 calls:

334.0ms
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
3.0ms
(log1p.f32 (*.f32 u -4))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×associate-*r*_binary32
add-sqr-sqrt_binary32
*-un-lft-identity_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
Counts
2 → 39
Calls

2 calls:

5.0ms
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
0.0ms
(log1p.f32 (*.f32 u -4))

simplify68.0ms (1.1%)

Algorithm
egg-herbie
Rules
715×fma-neg_binary32
622×fma-def_binary32
409×unsub-neg_binary32
304×times-frac_binary32
234×associate-+l+_binary32
Counts
75 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01571231
14411117
214151071
336451067
451071067

prune100.0ms (1.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New937100
Fresh101
Picked101
Done000
Total957102
Error
0.0b
Counts
102 → 7
Alt Table
StatusErrorProgram
0.2b
(log1p.f32 (expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (cbrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
2.8b
(+.f32 (*.f32 8 (*.f32 s (pow.f32 u 2))) (+.f32 (*.f32 64/3 (*.f32 s (pow.f32 u 3))) (+.f32 (*.f32 64 (*.f32 s (pow.f32 u 4))) (*.f32 4 (*.f32 s u)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.7b
(*.f32 s (neg.f32 (*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (log1p.f32 (*.f32 u -4)))) (cbrt.f32 (log1p.f32 (*.f32 u -4))))))
Compiler

Compiled 1729 to 1262 computations (27% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.0b
(log1p.f32 (expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.1b
(expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))

series390.0ms (6.1%)

Counts
2 → 48
Calls

2 calls:

368.0ms
(log1p.f32 (expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
22.0ms
(expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
Counts
2 → 22
Calls

2 calls:

0.0ms
(expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.0ms
(log1p.f32 (expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))

simplify65.0ms (1%)

Algorithm
egg-herbie
Rules
619×times-frac_binary32
430×associate-/l*_binary32
298×associate-/r*_binary32
250×fma-def_binary32
156×associate-+r+_binary32
Counts
70 → 92
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02272111
16541938
222811761
350471761

prune178.0ms (2.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1911192
Fresh156
Picked011
Done000
Total1927199
Error
0.0b
Counts
199 → 7
Alt Table
StatusErrorProgram
0.2b
(log1p.f32 (expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
2.7b
(fma.f32 8 (*.f32 s (*.f32 u u)) (fma.f32 64/3 (*.f32 s (pow.f32 u 3)) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64 (pow.f32 u 4))))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (cbrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.7b
(*.f32 s (neg.f32 (*.f32 (*.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))) (cbrt.f32 (log1p.f32 (*.f32 u -4)))) (cbrt.f32 (log1p.f32 (*.f32 u -4))))))
Compiler

Compiled 4337 to 3216 computations (25.8% saved)

localize37.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.1b
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))
0.3b
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.3b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))

series734.0ms (11.5%)

Counts
3 → 48
Calls

3 calls:

370.0ms
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
353.0ms
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
11.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
31×sqrt-prod_binary32
26×associate-*r*_binary32
20×add-sqr-sqrt_binary32
15×*-un-lft-identity_binary32
15×add-cube-cbrt_binary32
Counts
3 → 83
Calls

3 calls:

8.0ms
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
5.0ms
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
1.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))

simplify118.0ms (1.9%)

Algorithm
egg-herbie
Rules
435×times-frac_binary32
418×fma-neg_binary32
366×cancel-sign-sub-inv_binary32
291×associate-/r*_binary32
291×associate-/l*_binary32
Counts
131 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02583444
17372979
223592881
347012859
449462859

prune304.0ms (4.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2542256
Fresh145
Picked011
Done011
Total2558263
Error
0b
Counts
263 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f32 (*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (fabs.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))))
0.2b
(log1p.f32 (expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.6b
(*.f32 (*.f32 s (pow.f32 (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))) 3/2)) (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))))
2.7b
(fma.f32 8 (*.f32 s (*.f32 u u)) (fma.f32 64/3 (*.f32 s (pow.f32 u 3)) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64 (pow.f32 u 4))))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (cbrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
Compiler

Compiled 7599 to 6096 computations (19.8% saved)

localize31.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 u -4))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
0.5b
(*.f32 (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
1.0b
(sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))

series184.0ms (2.9%)

Counts
2 → 20
Calls

2 calls:

144.0ms
(*.f32 (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
39.0ms
(sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
54×pow1_binary32
30×sqrt-pow1_binary32
21×pow-prod-down_binary32
11×pow1/2_binary32
10×pow-prod-up_binary32
Counts
2 → 64
Calls

2 calls:

7.0ms
(*.f32 (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
2.0ms
(sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))

simplify57.0ms (0.9%)

Algorithm
egg-herbie
Rules
661×associate-/l*_binary32
645×associate-/r*_binary32
460×fma-def_binary32
185×unswap-sqr_binary32
117×associate-*r*_binary32
Counts
84 → 112
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01642084
14161805
215981589
353411589

prune341.0ms (5.4%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New3480348
Fresh055
Picked011
Done022
Total3488356
Error
0b
Counts
356 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f32 (*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (fabs.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (*.f32 u -4))))))
0.2b
(log1p.f32 (expm1.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.6b
(*.f32 (*.f32 s (pow.f32 (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))) 3/2)) (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))))
2.7b
(fma.f32 8 (*.f32 s (*.f32 u u)) (fma.f32 64/3 (*.f32 s (pow.f32 u 3)) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64 (pow.f32 u 4))))))
0.5b
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (cbrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
Compiler

Compiled 9662 to 7300 computations (24.4% saved)

regimes779.0ms (12.2%)

Accuracy

Total 0.2b remaining (91.9%)

Threshold costs 0.2b (91.9%)

Counts
101 → 1
Compiler

Compiled 12371 to 9754 computations (21.2% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11815
22515
33115
43415
53515
63515

end126.0ms (2%)

Compiler

Compiled 170 to 132 computations (22.4% saved)

Profiling

Loading profile data...