Details

Time bar (total: 9.5s)

analyze7.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 66 to 48 computations (27.3% saved)

sample2.4s (25.3%)

Symmetry

(sort cosTheta_i cosTheta_O)

(sort sinTheta_i sinTheta_O)

Results
2.3s8256×body128valid
Compiler

Compiled 159 to 115 computations (27.7% saved)

simplify50.0ms (0.5%)

Algorithm
egg-herbie
Rules
913×times-frac_binary32
551×associate-/l*_binary32
460×associate-/l/_binary32
362×associate-*l/_binary32
312×associate-/r/_binary32
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02034
15434
217132
371032
4363132
5462732
6526132

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.4b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
Compiler

Compiled 154 to 104 computations (32.5% saved)

localize54.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
0.3b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
0.3b
(/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))
0.8b
(sinh.f32 (/.f32 1 v))

series522.0ms (5.5%)

Counts
4 → 96
Calls

4 calls:

437.0ms
(/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))
67.0ms
(*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
12.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
6.0ms
(sinh.f32 (/.f32 1 v))

rewrite36.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
50×add-cbrt-cube_binary32
44×add-exp-log_binary32
34×times-frac_binary32
21×*-un-lft-identity_binary32
21×add-sqr-sqrt_binary32
Counts
4 → 114
Calls

4 calls:

12.0ms
(/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))
8.0ms
(*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
3.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
1.0ms
(sinh.f32 (/.f32 1 v))

simplify134.0ms (1.4%)

Algorithm
egg-herbie
Rules
584×times-frac_binary32
466×associate-/r*_binary32
456×associate-/l*_binary32
371×associate-*l*_binary32
150×fma-def_binary32
Counts
210 → 218
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04199291
112978518
250438518

prune388.0ms (4.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2099218
Fresh011
Picked101
Done000
Total21010220
Error
0.1b
Counts
220 → 10
Alt Table
StatusErrorProgram
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (exp.f32 (+.f32 (log.f32 v) (+.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (*.f32 (*.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) (cbrt.f32 (sinh.f32 (/.f32 1 v)))) (cbrt.f32 (sinh.f32 (/.f32 1 v)))) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.5b
(*.f32 cosTheta_O (*.f32 (*.f32 (cbrt.f32 (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))) (cbrt.f32 (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))) (cbrt.f32 (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 (*.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 cosTheta_i)) (sqrt.f32 v)) v) (/.f32 (/.f32 (cbrt.f32 cosTheta_i) (sqrt.f32 v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.6b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 (*.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 cosTheta_i)) (*.f32 (cbrt.f32 v) (cbrt.f32 v))) v) (/.f32 (/.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.4b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 1 v) (sqrt.f32 v)) (/.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (*.f32 2 (sinh.f32 (/.f32 1 v)))))))
0.5b
(*.f32 cosTheta_O (/.f32 (*.f32 (cbrt.f32 (/.f32 cosTheta_i v)) (cbrt.f32 (/.f32 cosTheta_i v))) (/.f32 v (/.f32 (cbrt.f32 (/.f32 cosTheta_i v)) (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (*.f32 2 (sinh.f32 (/.f32 1 v))))))))
0.4b
(*.f32 cosTheta_O (*.f32 1/2 (/.f32 cosTheta_i (-.f32 (*.f32 1/2 (*.f32 (pow.f32 v 2) (*.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))) (*.f32 1/2 (/.f32 (*.f32 (pow.f32 v 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (exp.f32 (/.f32 1 v))))))))
Compiler

Compiled 9034 to 4869 computations (46.1% saved)

localize57.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)
0.3b
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
0.3b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
0.8b
(sinh.f32 (/.f32 1 v))

series20.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

12.0ms
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
8.0ms
(*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×add-cbrt-cube_binary32
12×add-exp-log_binary32
pow1_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
Counts
2 → 44
Calls

2 calls:

6.0ms
(*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)
3.0ms
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)

simplify63.0ms (0.7%)

Algorithm
egg-herbie
Rules
651×fma-def_binary32
421×times-frac_binary32
389×associate-/l*_binary32
283×distribute-rgt-in_binary32
280×distribute-lft-in_binary32
Counts
56 → 69
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0112812
1268701
2893701
32978663
44643663
55162663

prune250.0ms (2.6%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1145119
Fresh189
Picked101
Done000
Total11613129
Error
0.1b
Counts
129 → 13
Alt Table
StatusErrorProgram
0.5b
(*.f32 cosTheta_O (*.f32 (*.f32 (cbrt.f32 (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))) (cbrt.f32 (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))) (cbrt.f32 (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))) (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.4b
(*.f32 cosTheta_O (*.f32 1/2 (/.f32 cosTheta_i (-.f32 (*.f32 1/2 (*.f32 (pow.f32 v 2) (*.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))) (*.f32 1/2 (/.f32 (*.f32 (pow.f32 v 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (exp.f32 (/.f32 1 v))))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) (sqrt.f32 v)) (sqrt.f32 v))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 (*.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 cosTheta_i)) (sqrt.f32 v)) v) (/.f32 (/.f32 (cbrt.f32 cosTheta_i) (sqrt.f32 v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.6b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 (*.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 cosTheta_i)) (*.f32 (cbrt.f32 v) (cbrt.f32 v))) v) (/.f32 (/.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (exp.f32 (+.f32 (log.f32 v) (+.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.4b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 1 v) (sqrt.f32 v)) (/.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (*.f32 2 (sinh.f32 (/.f32 1 v)))))))
0.5b
(*.f32 cosTheta_O (/.f32 (*.f32 (cbrt.f32 (/.f32 cosTheta_i v)) (cbrt.f32 (/.f32 cosTheta_i v))) (/.f32 v (/.f32 (cbrt.f32 (/.f32 cosTheta_i v)) (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (*.f32 2 (sinh.f32 (/.f32 1 v))))))))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
Compiler

Compiled 4229 to 2042 computations (51.7% saved)

localize62.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
0.3b
(-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))
0.3b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
0.7b
(exp.f32 (/.f32 1 v))

series8.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

6.0ms
(-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))
2.0ms
(exp.f32 (/.f32 1 v))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt_binary32
55×*-un-lft-identity_binary32
51×add-cube-cbrt_binary32
47×times-frac_binary32
39×prod-diff_binary32
Counts
2 → 97
Calls

2 calls:

9.0ms
(-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))
2.0ms
(exp.f32 (/.f32 1 v))

simplify166.0ms (1.7%)

Algorithm
egg-herbie
Rules
587×fma-neg_binary32
362×associate-/l/_binary32
358×distribute-rgt-in_binary32
309×distribute-lft-in_binary32
264×times-frac_binary32
Counts
113 → 128
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01433286
13071839
26971525
321711521
445301521
542401514
648611514
749821514
848441514

prune844.0ms (8.9%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New2193222
Fresh21012
Picked101
Done000
Total22213235
Error
0.0b
Counts
235 → 13
Alt Table
StatusErrorProgram
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) (sqrt.f32 v)) (sqrt.f32 v))) (*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (exp.f32 (+.f32 (log.f32 v) (+.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 v (-.f32 (pow.f32 (E.f32) (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))))
0.5b
(*.f32 cosTheta_O (/.f32 (*.f32 (cbrt.f32 (/.f32 cosTheta_i v)) (cbrt.f32 (/.f32 cosTheta_i v))) (/.f32 v (/.f32 (cbrt.f32 (/.f32 cosTheta_i v)) (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (*.f32 2 (sinh.f32 (/.f32 1 v))))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))) (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.4b
(*.f32 cosTheta_O (*.f32 1/2 (/.f32 cosTheta_i (-.f32 (*.f32 1/2 (*.f32 (pow.f32 v 2) (*.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))) (*.f32 1/2 (/.f32 (*.f32 (pow.f32 v 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (exp.f32 (/.f32 1 v))))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.3b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))) (*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))))
0.5b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 (*.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 cosTheta_i)) (sqrt.f32 v)) v) (/.f32 (/.f32 (cbrt.f32 cosTheta_i) (sqrt.f32 v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.6b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 (*.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 cosTheta_i)) (*.f32 (cbrt.f32 v) (cbrt.f32 v))) v) (/.f32 (/.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.4b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 1 v) (sqrt.f32 v)) (/.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (*.f32 2 (sinh.f32 (/.f32 1 v)))))))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
Compiler

Compiled 10074 to 5828 computations (42.1% saved)

localize63.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))
0.3b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
0.3b
(*.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))
0.7b
(exp.f32 (/.f32 1 v))

series12.0ms (0.1%)

Counts
1 → 36
Calls

1 calls:

12.0ms
(*.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
23×add-exp-log_binary32
13×associate-*r*_binary32
13×add-cbrt-cube_binary32
12×prod-exp_binary32
times-frac_binary32
Counts
1 → 40
Calls

1 calls:

7.0ms
(*.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))

simplify107.0ms (1.1%)

Algorithm
egg-herbie
Rules
712×times-frac_binary32
572×fabs-mul_binary32
379×sqr-pow_binary32
372×associate-/r*_binary32
284×associate-/l/_binary32
Counts
76 → 55
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
068678
1157600
2509600
31136600
42655600
53014600
63380600
73885600
84595600
94925600
105300600

prune675.0ms (7.1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2472249
Fresh21012
Picked011
Done000
Total24913262
Error
0.0b
Counts
262 → 13
Alt Table
StatusErrorProgram
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) (sqrt.f32 v)) (sqrt.f32 v))) (*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (exp.f32 (+.f32 (log.f32 v) (+.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))) (*.f32 v (expm1.f32 (log1p.f32 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))))))
0.5b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (*.f32 v (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))) (cbrt.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.4b
(*.f32 cosTheta_O (*.f32 1/2 (/.f32 cosTheta_i (-.f32 (*.f32 1/2 (*.f32 (pow.f32 v 2) (*.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))) (*.f32 1/2 (/.f32 (*.f32 (pow.f32 v 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (exp.f32 (/.f32 1 v))))))))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))) (*.f32 v (exp.f32 (log.f32 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.3b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))) (*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))))
0.6b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 (*.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 cosTheta_i)) (*.f32 (cbrt.f32 v) (cbrt.f32 v))) v) (/.f32 (/.f32 (cbrt.f32 cosTheta_i) (cbrt.f32 v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))))
0.4b
(*.f32 cosTheta_O (*.f32 (/.f32 (/.f32 1 v) (sqrt.f32 v)) (/.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (*.f32 2 (sinh.f32 (/.f32 1 v)))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 v (-.f32 (pow.f32 (E.f32) (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
Compiler

Compiled 11021 to 6846 computations (37.9% saved)

regimes3.3s (34.3%)

Accuracy

Total 0.3b remaining (80.5%)

Threshold costs 0.3b (80.5%)

Counts
312 → 1
Compiler

Compiled 80386 to 56536 computations (29.7% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02342
13842
25042
35842
46342
56542
66442

end267.0ms (2.8%)

Remove

(sort sinTheta_i sinTheta_O)

(sort cosTheta_i cosTheta_O)

Compiler

Compiled 639 to 443 computations (30.7% saved)

Profiling

Loading profile data...