Details

Time bar (total: 52.6s)

analyze225.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%1.6%98.4%0
0%1.6%98.4%1
0%1.6%98.4%2
0.4%1.2%98.4%3
0.6%1%98.4%4
0.9%0.7%98.4%5
1%0.5%98.4%6
1.2%0.4%98.4%7
1.3%0.3%98.4%8
1.4%0.2%98.4%9
1.4%0.1%98.4%10
1.5%0.1%98.4%11
1.5%0.1%98.4%12
1.5%0%98.4%13
1.5%0%98.4%14
Compiler

Compiled 54 to 41 computations (24.1% saved)

sample137.0ms (0.3%)

Algorithm
intervals
Results
37.0ms256×body128valid
7.0ms256×pre128true
Compiler

Compiled 95 to 73 computations (23.2% saved)

simplify73.0ms (0.1%)

Algorithm
egg-herbie
Rules
1145×fma-def_binary32
518×unswap-sqr_binary32
445×fma-neg_binary32
420×times-frac_binary32
354×associate-*l*_binary32
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
02259
14259
27259
312051
417948
531946
650546
778846
8124946
9258446
10441946
11483246
12482746

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.4b
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))
Compiler

Compiled 145 to 105 computations (27.6% saved)

localize75.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))
0.3b
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))
0.3b
(/.f32 (PI.f32) s)
0.3b
(/.f32 (neg.f32 (PI.f32)) s)

series1.7s (3.1%)

Counts
4 → 60
Calls

4 calls:

923.0ms
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))
729.0ms
(log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))
3.0ms
(/.f32 (neg.f32 (PI.f32)) s)
2.0ms
(/.f32 (PI.f32) s)

rewrite106.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
89×add-sqr-sqrt_binary32
69×*-un-lft-identity_binary32
57×times-frac_binary32
42×log-prod_binary32
42×add-cube-cbrt_binary32
Counts
4 → 172
Calls

4 calls:

44.0ms
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))
40.0ms
(log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))
3.0ms
(/.f32 (neg.f32 (PI.f32)) s)
2.0ms
(/.f32 (PI.f32) s)

simplify254.0ms (0.5%)

Algorithm
egg-herbie
Rules
752×associate-/l*_binary32
541×fma-def_binary32
229×+-commutative_binary32
188×*-commutative_binary32
185×associate-+r+_binary32
Counts
232 → 280
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
082218517
1266217801
2537917801

prune560.0ms (1.1%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New30111312
Fresh000
Picked101
Done000
Total30211313
Error
0.0b
Counts
313 → 11
Alt Table
StatusErrorProgram
0.9b
(*.f32 (neg.f32 s) (-.f32 (log.f32 (-.f32 (pow.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 3) (pow.f32 1 3))) (log.f32 (+.f32 (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (+.f32 (*.f32 1 1) (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))))))
0.9b
(*.f32 (*.f32 (neg.f32 s) (*.f32 (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))))
0.9b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) (neg.f32 (cbrt.f32 s))))
0.5b
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))))
0.5b
(+.f32 (*.f32 (log.f32 (*.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)) (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))) (neg.f32 s)) (*.f32 (log.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) (neg.f32 s)))
0.4b
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1)))
23.4b
(log.f32 (pow.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1) (neg.f32 s)))
31.1b
(exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.5b
(+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.4b
(*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
Compiler

Compiled 25112 to 14468 computations (42.4% saved)

localize99.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1)))
0.3b
(/.f32 (PI.f32) s)
0.3b
(/.f32 (neg.f32 (PI.f32)) s)
3.0b
(expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))

series943.0ms (1.8%)

Counts
2 → 36
Calls

2 calls:

940.0ms
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1)))
2.0ms
(expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))

rewrite50.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary32
28×log-prod_binary32
26×*-un-lft-identity_binary32
14×distribute-lft-in_binary32
14×distribute-rgt-in_binary32
Counts
2 → 68
Calls

2 calls:

37.0ms
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1)))
0.0ms
(expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))

simplify189.0ms (0.4%)

Algorithm
egg-herbie
Rules
666×times-frac_binary32
440×associate-/r*_binary32
420×associate-/l*_binary32
275×fma-def_binary32
143×*-commutative_binary32
Counts
104 → 122
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
047610205
115569705
249939705
349689705

prune664.0ms (1.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2610261
Fresh01010
Picked011
Done000
Total26111272
Error
0.0b
Counts
272 → 11
Alt Table
StatusErrorProgram
0.9b
(*.f32 (neg.f32 s) (-.f32 (log.f32 (-.f32 (pow.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 3) (pow.f32 1 3))) (log.f32 (+.f32 (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (+.f32 (*.f32 1 1) (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))))))
0.9b
(*.f32 (*.f32 (neg.f32 s) (*.f32 (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (cbrt.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))))
0.9b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) (neg.f32 (cbrt.f32 s))))
0.5b
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))))
0.5b
(+.f32 (*.f32 (log.f32 (*.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)) (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1)))) (neg.f32 s)) (*.f32 (log.f32 (cbrt.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))) (neg.f32 s)))
0.4b
(*.f32 (neg.f32 s) (log.f32 (-.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (expm1.f32 (log1p.f32 (/.f32 (PI.f32) s)))))))) 1)))
23.4b
(log.f32 (pow.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1) (neg.f32 s)))
31.1b
(exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.5b
(+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.4b
(*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (cbrt.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
Compiler

Compiled 18358 to 10353 computations (43.6% saved)

localize75.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))
0.1b
(log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))
0.3b
(*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.3b
(/.f32 (PI.f32) s)

series2.2s (4.3%)

Counts
3 → 72
Calls

3 calls:

1.1s
(*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
880.0ms
(log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))
228.0ms
(sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))

rewrite79.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt_binary32
29×*-un-lft-identity_binary32
26×associate-*r*_binary32
25×log-pow_binary32
24×pow1_binary32
Counts
3 → 106
Calls

3 calls:

13.0ms
(*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
6.0ms
(log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))
6.0ms
(sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))

simplify489.0ms (0.9%)

Algorithm
egg-herbie
Rules
362×*-commutative_binary32
320×+-commutative_binary32
263×associate-+r+_binary32
243×fma-def_binary32
137×sub-neg_binary32
Counts
178 → 244
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0109521908
1380821033
2495221033
3493821033

prune1.8s (3.4%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New5684572
Fresh459
Picked101
Done101
Total5749583
Error
0.0b
Counts
583 → 9
Alt Table
StatusErrorProgram
0.9b
(*.f32 (neg.f32 s) (-.f32 (log.f32 (-.f32 (pow.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 3) (pow.f32 1 3))) (log.f32 (+.f32 (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (+.f32 (*.f32 1 1) (*.f32 (/.f32 1 (+.f32 (*.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 (PI.f32)) s)))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) 1))))))
0.5b
(*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (-.f32 (log.f32 (sqrt.f32 (-.f32 (*.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (*.f32 -1 -1)))) (log.f32 (sqrt.f32 (-.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))))
0.9b
(*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)) (neg.f32 (cbrt.f32 s))))
0.5b
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))))
0.5b
(/.f32 (*.f32 (neg.f32 s) (*.f32 2 (pow.f32 (log.f32 (sqrt.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) 3))) (+.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (-.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))))
31.1b
(exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
1.6b
(*.f32 (*.f32 (neg.f32 s) (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))))))) (sqrt.f32 (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))))
0.5b
(+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
1.6b
(*.f32 (*.f32 (neg.f32 s) (sqrt.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (+.f32 (sqrt.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (sqrt.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))))
Compiler

Compiled 69713 to 40102 computations (42.5% saved)

localize95.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))
0.3b
(*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))))))
0.3b
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))))
0.3b
(/.f32 (PI.f32) s)

series31.8s (60.5%)

Counts
3 → 52
Calls

3 calls:

20.2s
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))))
5.9s
(*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))
5.8s
(*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))))))

rewrite43.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary32
32×log-prod_binary32
27×*-un-lft-identity_binary32
20×associate-*l*_binary32
16×distribute-lft-in_binary32
Counts
3 → 106
Calls

3 calls:

11.0ms
(*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))
10.0ms
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))))
3.0ms
(*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))))))

simplify862.0ms (1.6%)

Algorithm
egg-herbie
Rules
1159×fma-def_binary32
416×times-frac_binary32
13×cube-mult_binary32
13×unpow3_binary32
12×unpow2_binary32
Counts
158 → 171
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0314990810
1504090810

prune2.6s (4.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3603363
Fresh358
Picked101
Done000
Total3648372
Error
0.0b
Counts
372 → 8
Alt Table
StatusErrorProgram
0.5b
(/.f32 (*.f32 (neg.f32 s) (*.f32 2 (pow.f32 (log.f32 (sqrt.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) 3))) (+.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (-.f32 (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))) (*.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))))
31.1b
(exp.f32 (log.f32 (*.f32 (neg.f32 s) (log.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.5b
(*.f32 (neg.f32 s) (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (-.f32 (log.f32 (sqrt.f32 (-.f32 (*.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) (*.f32 -1 -1)))) (log.f32 (sqrt.f32 (-.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))))
0.5b
(+.f32 (+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (log.f32 (*.f32 (cbrt.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)) (cbrt.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))) (neg.f32 s))) (*.f32 (log.f32 (cbrt.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1))) (neg.f32 s)))
1.6b
(*.f32 (*.f32 (neg.f32 s) (sqrt.f32 (log.f32 (+.f32 -1 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))))))) (sqrt.f32 (+.f32 (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))) (log.f32 (sqrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))))
0.5b
(+.f32 (*.f32 (neg.f32 s) (*.f32 2 (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1))))) (*.f32 (neg.f32 s) (log.f32 (cbrt.f32 (+.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s)))))) -1)))))
0.4b
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (neg.f32 s) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))) (/.f32 s (cbrt.f32 (PI.f32)))))))))) -1))))
0.6b
(+.f32 (*.f32 (neg.f32 s) (log1p.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))))) (*.f32 (*.f32 (cbrt.f32 s) (cbrt.f32 s)) (*.f32 (neg.f32 (cbrt.f32 s)) (log.f32 (+.f32 (sqrt.f32 (/.f32 1 (fma.f32 u (-.f32 (/.f32 1 (+.f32 1 (exp.f32 (neg.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))) (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (PI.f32) s))))))) -1)))))
Compiler

Compiled 121468 to 71666 computations (41% saved)

regimes5.0s (9.4%)

Accuracy

Total 0.3b remaining (84.4%)

Threshold costs 0.3b (84.4%)

Counts
582 → 1
Compiler

Compiled 143205 to 97170 computations (32.1% saved)

simplify5.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
024117
138117
249117
355117
457117
555117

end1.0ms (0%)

Compiler

Compiled 73 to 48 computations (34.2% saved)

sample2.6s (4.9%)

Algorithm
intervals
Results
1.5s8000×body128valid
221.0ms8000×pre128true
Compiler

Compiled 1067 to 696 computations (34.8% saved)

Profiling

Loading profile data...