Details

Time bar (total: 8.3s)

analyze8.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.9s (34.7%)

Symmetry

(sort cosTheta_i cosTheta_O)

(sort sinTheta_i sinTheta_O)

Results
2.8s8256×body128valid
Compiler

Compiled 159 to 115 computations (27.7% saved)

simplify49.0ms (0.6%)

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

prune5.0ms (0.1%)

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 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))))))
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))
Compiler

Compiled 154 to 104 computations (32.5% saved)

localize64.0ms (0.8%)

Local error

Found 4 expressions with local error:

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

series39.0ms (0.5%)

Counts
4 → 24
Calls

4 calls:

13.0ms
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
12.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
8.0ms
(*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)
6.0ms
(sinh.f32 (/.f32 1 v))

rewrite73.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
131×egg-rr
Counts
4 → 131
Calls

2 calls:

71.0ms
((sinh.f32 (/.f32 1 v)) (/.f32 (*.f32 sinTheta_i sinTheta_O) v) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v) (/.f32 (*.f32 cosTheta_i cosTheta_O) v))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01632
133232
2416632
3519932
000
100

simplify65.0ms (0.8%)

Algorithm
egg-herbie
Rules
595×associate-/r/_binary32
510×unswap-sqr_binary32
482×times-frac_binary32
374×fma-def_binary32
331×associate-*l/_binary32
Counts
155 → 149
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
050408
1124392
2269392
3589392
41389392
53918392
64974392
74886392

prune285.0ms (3.4%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New13712149
Fresh011
Picked101
Done000
Total13813151
Error
0.1b
Counts
151 → 13
Alt Table
StatusErrorProgram
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (*.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (/.f32 1 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) 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 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) 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 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.6b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) 1) (/.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) v))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) 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 (pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (pow.f32 (cbrt.f32 v) 2)) (/.f32 cosTheta_O (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (pow.f32 (cbrt.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2))) 3))
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))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 (*.f32 cosTheta_i cosTheta_O) (cbrt.f32 (pow.f32 v -2))) (/.f32 1 (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.6b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (sqrt.f32 v)) (/.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
2.1b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (log.f32 (pow.f32 (exp.f32 v) (*.f32 (sinh.f32 (/.f32 1 v)) 2))))
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 4842 to 2426 computations (49.9% saved)

localize69.0ms (0.8%)

Local error

Found 4 expressions with local error:

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

series6.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

6.0ms
(*.f32 cosTheta_i (/.f32 1 v))

rewrite40.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
30×egg-rr
Counts
1 → 30
Calls

2 calls:

39.0ms
((*.f32 cosTheta_i (/.f32 1 v)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064
11204
213224
349934
000
100

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
54 → 30
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0496
1496

prune290.0ms (3.5%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1285133
Fresh4812
Picked101
Done000
Total13313146
Error
0.0b
Counts
146 → 13
Alt Table
StatusErrorProgram
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.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (pow.f32 (cbrt.f32 v) 2)) (/.f32 cosTheta_O (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (pow.f32 (cbrt.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2))) 3))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 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 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (expm1.f32 (log1p.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2)))))
11.8b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (-.f32 (exp.f32 (log1p.f32 (/.f32 cosTheta_i v))) 1))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (*.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (/.f32 1 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))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 (*.f32 cosTheta_i cosTheta_O) (cbrt.f32 (pow.f32 v -2))) (/.f32 1 (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.6b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (sqrt.f32 v)) (/.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
2.1b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (log.f32 (pow.f32 (exp.f32 v) (*.f32 (sinh.f32 (/.f32 1 v)) 2))))
Compiler

Compiled 4588 to 2729 computations (40.5% saved)

localize73.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
0.3b
(*.f32 cosTheta_i (/.f32 1 v))
0.7b
(expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v))))
0.8b
(sinh.f32 (/.f32 1 v))

series6.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

6.0ms
(expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v))))

rewrite73.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
42×egg-rr
Counts
1 → 42
Calls

2 calls:

72.0ms
((expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076
11216
213246
349216
454806
000
100

simplify55.0ms (0.7%)

Algorithm
egg-herbie
Rules
533×times-frac_binary32
516×associate-*l*_binary32
354×associate-/l*_binary32
347×associate-*r*_binary32
314×associate-*l/_binary32
Counts
54 → 51
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
029216
174208
2155208
3287208
4494208
51218208
63682208
73898208
84880208

prune413.0ms (5%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1563159
Fresh11112
Picked011
Done000
Total15715172
Error
0.0b
Counts
172 → 15
Alt Table
StatusErrorProgram
0.7b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v)))) 2) 3) (cbrt.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (*.f32 (pow.f32 (*.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 2) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2)) 1/3) (cbrt.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))))) 2) v))
2.1b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (log.f32 (pow.f32 (exp.f32 v) (*.f32 (sinh.f32 (/.f32 1 v)) 2))))
0.8b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (+.f32 (fma.f32 (sinh.f32 (exp.f32 (log1p.f32 (/.f32 1 v)))) (cosh.f32 1) (neg.f32 (*.f32 (sinh.f32 1) (cosh.f32 (exp.f32 (log1p.f32 (/.f32 1 v))))))) (fma.f32 (neg.f32 (sinh.f32 1)) (cosh.f32 (exp.f32 (log1p.f32 (/.f32 1 v)))) (*.f32 (sinh.f32 1) (cosh.f32 (exp.f32 (log1p.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 (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (pow.f32 (cbrt.f32 v) 2)) (/.f32 cosTheta_O (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (pow.f32 (cbrt.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2))) 3))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 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 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (expm1.f32 (log1p.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2)))))
11.8b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (-.f32 (exp.f32 (log1p.f32 (/.f32 cosTheta_i v))) 1))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (*.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (/.f32 1 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))))))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (*.f32 (*.f32 cosTheta_i cosTheta_O) (cbrt.f32 (pow.f32 v -2))) (/.f32 1 (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.6b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (sqrt.f32 v)) (/.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
Compiler

Compiled 5970 to 3733 computations (37.5% saved)

localize62.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.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.4b
(/.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))

series521.0ms (6.3%)

Counts
2 → 84
Calls

2 calls:

449.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)))))
71.0ms
(*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))

rewrite87.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
67×egg-rr
Counts
2 → 67
Calls

2 calls:

85.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))))) (*.f32 v (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01752
135952
2481352
3498152
000
100

simplify118.0ms (1.4%)

Algorithm
egg-herbie
Rules
445×times-frac_binary32
293×associate-/l*_binary32
287×cancel-sign-sub-inv_binary32
274×associate-*r*_binary32
265×unswap-sqr_binary32
Counts
151 → 105
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02105796
17685460
241125422
352975422

prune414.0ms (5%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1803183
Fresh21113
Picked101
Done011
Total18315198
Error
0.0b
Counts
198 → 15
Alt Table
StatusErrorProgram
0.7b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (*.f32 (pow.f32 (pow.f32 (cbrt.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v)))) 2) 3) (cbrt.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (*.f32 (pow.f32 (*.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 2) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2)) 1/3) (cbrt.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))))) 2) v))
2.1b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (log.f32 (pow.f32 (exp.f32 v) (*.f32 (sinh.f32 (/.f32 1 v)) 2))))
0.8b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (+.f32 (fma.f32 (sinh.f32 (exp.f32 (log1p.f32 (/.f32 1 v)))) (cosh.f32 1) (neg.f32 (*.f32 (sinh.f32 1) (cosh.f32 (exp.f32 (log1p.f32 (/.f32 1 v))))))) (fma.f32 (neg.f32 (sinh.f32 1)) (cosh.f32 (exp.f32 (log1p.f32 (/.f32 1 v)))) (*.f32 (sinh.f32 1) (cosh.f32 (exp.f32 (log1p.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 (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) v))
0.4b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))) (expm1.f32 (log1p.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2)))))
11.8b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_O (-.f32 (exp.f32 (log1p.f32 (/.f32 cosTheta_i v))) 1))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.5b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (*.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (/.f32 1 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.4b
(*.f32 cosTheta_O (*.f32 (/.f32 cosTheta_i (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (exp.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (pow.f32 v -2)))
0.4b
(*.f32 cosTheta_O (*.f32 (/.f32 cosTheta_i 1) (/.f32 (/.f32 1 v) (*.f32 v (*.f32 (*.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 (*.f32 cosTheta_i cosTheta_O) (cbrt.f32 (pow.f32 v -2))) (/.f32 1 (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
0.6b
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) 2) (sqrt.f32 v)) (/.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v))
2.1b
(*.f32 cosTheta_O (/.f32 (/.f32 cosTheta_i v) (log.f32 (pow.f32 (exp.f32 v) (*.f32 (*.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 cosTheta_i cosTheta_O) v)) (pow.f32 (cbrt.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2))) 3))
Compiler

Compiled 7313 to 4304 computations (41.1% saved)

regimes2.2s (27%)

Accuracy

Total 0.3b remaining (80.1%)

Threshold costs 0.3b (80.1%)

Counts
227 → 1
Compiler

Compiled 54826 to 39344 computations (28.2% 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
02037
13337
24337
35037
45537
55737
65637

end366.0ms (4.4%)

Remove

(sort sinTheta_i sinTheta_O)

(sort cosTheta_i cosTheta_O)

Compiler

Compiled 705 to 519 computations (26.4% saved)

Profiling

Loading profile data...