Details

Time bar (total: 10.6s)

analyze210.0ms (2%)

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)

sample3.4s (31.7%)

Results
2.7s8256×body128valid
Compiler

Compiled 66 to 52 computations (21.2% saved)

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

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
Compiler

Compiled 37 to 29 computations (21.6% saved)

localize38.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series559.0ms (5.3%)

Counts
2 → 36
Calls

2 calls:

553.0ms
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
6.0ms
(log1p.f32 (*.f32 u -4))

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

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

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

prune146.0ms (1.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New928100
Fresh000
Picked011
Done000
Total929101
Error
0.0b
Counts
101 → 9
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
2.7b
(exp.f32 (log.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
1.6b
(*.f32 s (neg.f32 (neg.f32 (+.f32 (*.f32 64 (pow.f32 u 4)) (+.f32 (*.f32 64/3 (pow.f32 u 3)) (+.f32 (*.f32 8 (pow.f32 u 2)) (*.f32 4 u)))))))
2.2b
(+.f32 (*.f32 8 (*.f32 s (pow.f32 u 2))) (+.f32 (*.f32 64/3 (*.f32 s (pow.f32 u 3))) (*.f32 4 (*.f32 s u))))
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.7b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (cbrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
0.6b
(*.f32 (*.f32 (sqrt.f32 s) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (*.f32 (sqrt.f32 s) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))))
Compiler

Compiled 1792 to 1311 computations (26.8% saved)

localize63.0ms (0.6%)

Local error

Found 3 expressions with local error:

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

series446.0ms (4.2%)

Counts
2 → 32
Calls

2 calls:

411.0ms
(*.f32 (sqrt.f32 s) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
35.0ms
(*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))

rewrite29.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary32
12×associate-*l*_binary32
11×associate-*r*_binary32
*-un-lft-identity_binary32
add-cube-cbrt_binary32
Counts
2 → 56
Calls

2 calls:

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

simplify214.0ms (2%)

Algorithm
egg-herbie
Rules
915×fma-def_binary32
715×times-frac_binary32
366×fma-neg_binary32
252×associate-+l+_binary32
224×associate-*r*_binary32
Counts
88 → 128
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01861744
15411595
217211526
344531526
455621526

prune261.0ms (2.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1613164
Fresh437
Picked101
Done011
Total1667173
Error
0b
Counts
173 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
2.7b
(exp.f32 (log.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
2.1b
(fma.f32 s (*.f32 (*.f32 u u) 8) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64/3 (pow.f32 u 3)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s))) (*.f32 (sqrt.f32 (cbrt.f32 s)) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.6b
(*.f32 (sqrt.f32 (sqrt.f32 s)) (*.f32 (sqrt.f32 (sqrt.f32 s)) (*.f32 (sqrt.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)))))
Compiler

Compiled 3263 to 2015 computations (38.2% saved)

localize31.0ms (0.3%)

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.2b
(*.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)))))

series1.2s (11.6%)

Counts
3 → 48
Calls

3 calls:

645.0ms
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
556.0ms
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
30.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))

rewrite48.0ms (0.4%)

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:

22.0ms
(*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
13.0ms
(*.f32 (*.f32 s (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))) (sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4)))))
3.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (*.f32 u -4))))

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

prune502.0ms (4.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2560256
Fresh055
Picked011
Done011
Total2567263
Error
0b
Counts
263 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
2.7b
(exp.f32 (log.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
2.1b
(fma.f32 s (*.f32 (*.f32 u u) 8) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64/3 (pow.f32 u 3)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s))) (*.f32 (sqrt.f32 (cbrt.f32 s)) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.6b
(*.f32 (sqrt.f32 (sqrt.f32 s)) (*.f32 (sqrt.f32 (sqrt.f32 s)) (*.f32 (sqrt.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)))))
Compiler

Compiled 7553 to 6052 computations (19.9% saved)

localize88.0ms (0.8%)

Local error

Found 4 expressions with local error:

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

series983.0ms (9.3%)

Counts
3 → 52
Calls

3 calls:

522.0ms
(*.f32 (sqrt.f32 (cbrt.f32 s)) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))
393.0ms
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s))) (*.f32 (sqrt.f32 (cbrt.f32 s)) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))))
67.0ms
(*.f32 (cbrt.f32 s) (cbrt.f32 s))

rewrite63.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
24×pow1_binary32
23×add-sqr-sqrt_binary32
19×associate-*l*_binary32
19×cbrt-prod_binary32
19×add-exp-log_binary32
Counts
3 → 94
Calls

3 calls:

24.0ms
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s))) (*.f32 (sqrt.f32 (cbrt.f32 s)) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))))
14.0ms
(*.f32 (cbrt.f32 s) (cbrt.f32 s))
10.0ms
(*.f32 (sqrt.f32 (cbrt.f32 s)) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4)))))

simplify132.0ms (1.2%)

Algorithm
egg-herbie
Rules
880×fma-def_binary32
315×associate-*r*_binary32
299×distribute-rgt-neg-out_binary32
269×associate-*l*_binary32
211×fma-neg_binary32
Counts
146 → 186
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02353143
16372685
220372568
346312561
449592561

prune320.0ms (3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2530253
Fresh044
Picked011
Done022
Total2537260
Error
0b
Counts
260 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f32 (*.f32 (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4)))))) (cbrt.f32 (*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.2b
(*.f32 s (neg.f32 (log1p.f32 (*.f32 u -4))))
2.7b
(exp.f32 (log.f32 (*.f32 (log1p.f32 (*.f32 u -4)) (neg.f32 s))))
2.1b
(fma.f32 s (*.f32 (*.f32 u u) 8) (*.f32 s (+.f32 (*.f32 4 u) (*.f32 64/3 (pow.f32 u 3)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s))) (*.f32 (sqrt.f32 (cbrt.f32 s)) (*.f32 (sqrt.f32 s) (neg.f32 (log1p.f32 (*.f32 u -4))))))
0.6b
(*.f32 (sqrt.f32 (sqrt.f32 s)) (*.f32 (sqrt.f32 (sqrt.f32 s)) (*.f32 (sqrt.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)))))
Compiler

Compiled 6761 to 3164 computations (53.2% saved)

regimes1.3s (12%)

Accuracy

Total 0.2b remaining (87.5%)

Threshold costs 0.2b (87.5%)

Counts
101 → 1
Compiler

Compiled 12380 to 9013 computations (27.2% saved)

simplify6.0ms (0.1%)

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
0811
11611
22311
32911
43211
53311
63311

end213.0ms (2%)

Compiler

Compiled 142 to 105 computations (26.1% saved)

Profiling

Loading profile data...