Details

Time bar (total: 12.3s)

analyze1.3s (10.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
25%74.9%0.1%8
25%74.9%0.1%9
25%64%11.1%10
31.2%54.6%14.2%11
39%44.1%16.9%12
39%41.5%19.5%13
42.9%37%20.1%14
Compiler

Compiled 23 to 16 computations (30.4% saved)

sample169.0ms (1.4%)

Algorithm
intervals
Results
33.0ms66×body1024valid
30.0ms63×body1024invalid
16.0ms149×body128valid
15.0ms31×body512valid
6.0ms20×body512invalid
3.0ms25×body128invalid
2.0ms11×body256invalid
2.0ms10×body256valid
Compiler

Compiled 48 to 34 computations (29.2% saved)

simplify14.0ms (0.1%)

Algorithm
egg-herbie
Rules
32×fma-def_binary64
23×*-commutative_binary64
20×associate-/l*_binary64
11×associate-/r/_binary64
associate-*r/_binary64
Counts
1 → 1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01320
12718
25318
37618
410318
511718
613218
713418
813618
913618

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.9b
Counts
2 → 2
Alt Table
StatusErrorProgram
1.0b
(*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)))
1.0b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
Compiler

Compiled 89 to 60 computations (32.6% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
0.7b
(/.f64 (cos.f64 th) (sqrt.f64 2))
0.7b
(/.f64 (cos.f64 th) (sqrt.f64 2))

rewrite314.0ms (2.6%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
40×add-cube-cbrt_binary64
32×add-exp-log_binary64
24×add-cbrt-cube_binary64
20×add-sqr-sqrt_binary64
18×pow1_binary64
Counts
4 → 174
Calls

4 calls:

15.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))
15.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
15.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
14.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 3604 to 1926 computations (46.6% saved)

series89.0ms (0.7%)

Error
0.8b
Counts
4 → 26
Calls

4 calls:

27.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
23.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))
11.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
11.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 1512 to 1118 computations (26.1% saved)

simplify86.0ms (0.7%)

Algorithm
egg-herbie
Rules
870×associate-/l*_binary64
496×unswap-sqr_binary64
229×associate-/r/_binary64
166×associate-/l/_binary64
156×associate-*r*_binary64
Counts
200 → 78
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01732516
14122244
217832224
356952224

prune72.0ms (0.6%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New661278
Fresh011
Picked101
Done000
Total671380
Error
0.7b
Counts
80 → 13
Alt Table
StatusErrorProgram
15.9b
(+.f64 (*.f64 (*.f64 a1 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a1 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
15.4b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a2 4))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))))
1.4b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2)) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
20.6b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 3) (pow.f64 a2 6))))
15.7b
(+.f64 (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a1 4))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
16.0b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))))
1.0b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (/.f64 (*.f64 (*.f64 a2 a2) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))))
1.0b
(+.f64 (*.f64 (/.f64 (/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
17.9b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (sqrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a2 4))))
1.6b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 (*.f64 a1 a1) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.0b
(*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)))
18.5b
(+.f64 (sqrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a1 4))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
Compiler

Compiled 1968 to 1248 computations (36.6% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th)))
0.4b
(/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2)))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
0.7b
(/.f64 (cos.f64 th) (sqrt.f64 2))

rewrite366.0ms (3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
35×add-cube-cbrt_binary64
34×add-exp-log_binary64
24×add-cbrt-cube_binary64
20×add-sqr-sqrt_binary64
18×pow1_binary64
Counts
4 → 177
Calls

4 calls:

17.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
16.0ms
(/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2)))
14.0ms
(*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th)))
14.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 3961 to 1918 computations (51.6% saved)

series101.0ms (0.8%)

Error
0.7b
Counts
4 → 29
Calls

4 calls:

26.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
22.0ms
(/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2)))
19.0ms
(*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th)))
10.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 1763 to 1314 computations (25.5% saved)

simplify95.0ms (0.8%)

Algorithm
egg-herbie
Rules
619×unswap-sqr_binary64
294×times-frac_binary64
212×associate-*r*_binary64
206×associate-*l*_binary64
194×log-prod_binary64
Counts
206 → 104
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02252779
15442483
228332405
355962405

prune122.0ms (1%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New959104
Fresh4812
Picked101
Done000
Total10017117
Error
0.5b
Counts
117 → 17
Alt Table
StatusErrorProgram
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (/.f64 (pow.f64 (cos.f64 th) 3) (*.f64 2 (sqrt.f64 2)))) (*.f64 a2 a2)))
15.7b
(+.f64 (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a1 4))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
18.5b
(+.f64 (sqrt.f64 (/.f64 (/.f64 (*.f64 (*.f64 (cos.f64 th) (cos.f64 th)) (pow.f64 a1 4)) (neg.f64 (sqrt.f64 2))) (neg.f64 (sqrt.f64 2)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (/.f64 (*.f64 (*.f64 a2 a2) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))))
1.0b
(+.f64 (/.f64 (*.f64 (neg.f64 (cos.f64 th)) (/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.4b
(+.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)))) (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))))) (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))))) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.6b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 (*.f64 a1 a1) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
22.3b
(+.f64 (/.f64 (cbrt.f64 (pow.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))) 3)) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
15.9b
(+.f64 (*.f64 (*.f64 a1 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a1 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
15.4b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a2 4))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))))
1.4b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2)) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a1 a1)) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
20.6b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 3) (pow.f64 a2 6))))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) (*.f64 a2 a2)))
1.4b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
16.0b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))))
1.0b
(*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)))
18.5b
(+.f64 (sqrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a1 4))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
Compiler

Compiled 2846 to 1683 computations (40.9% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))
0.2b
(/.f64 (*.f64 (neg.f64 (cos.f64 th)) (/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (neg.f64 (sqrt.f64 2))))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
0.7b
(/.f64 (cos.f64 th) (sqrt.f64 2))

rewrite430.0ms (3.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
40×add-exp-log_binary64
35×add-cube-cbrt_binary64
24×add-cbrt-cube_binary64
18×add-sqr-sqrt_binary64
17×pow1_binary64
Counts
4 → 182
Calls

4 calls:

19.0ms
(/.f64 (*.f64 (neg.f64 (cos.f64 th)) (/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (neg.f64 (sqrt.f64 2))))
19.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
16.0ms
(/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))
14.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 5878 to 4014 computations (31.7% saved)

series273.0ms (2.2%)

Error
0.5b
Counts
4 → 25
Calls

4 calls:

144.0ms
(/.f64 (*.f64 (neg.f64 (cos.f64 th)) (/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (neg.f64 (sqrt.f64 2))))
51.0ms
(/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))
32.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
15.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 2101 to 1716 computations (18.3% saved)

simplify137.0ms (1.1%)

Algorithm
egg-herbie
Rules
335×unswap-sqr_binary64
239×times-frac_binary64
186×associate-/l*_binary64
184×fma-neg_binary64
174×associate-*r*_binary64
Counts
207 → 108
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02394001
15982946
227182474
348702474
449282474

prune149.0ms (1.2%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1062108
Fresh31316
Picked011
Done000
Total10916125
Error
0.5b
Counts
125 → 16
Alt Table
StatusErrorProgram
1.0b
(+.f64 (/.f64 (*.f64 (neg.f64 (cos.f64 th)) (/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.4b
(+.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)))) (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))))) (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))))) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.6b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 (*.f64 a1 a1) (cbrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
22.3b
(+.f64 (/.f64 (cbrt.f64 (pow.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))) 3)) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
0.9b
(+.f64 (/.f64 (*.f64 (neg.f64 (cos.f64 th)) (*.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 1/2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.0b
(*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)))
15.9b
(+.f64 (*.f64 (*.f64 a1 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a1 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
15.4b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a2 4))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))))
20.6b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 3) (pow.f64 a2 6))))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) (*.f64 a2 a2)))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (/.f64 (pow.f64 (cos.f64 th) 3) (*.f64 2 (sqrt.f64 2)))) (*.f64 a2 a2)))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (/.f64 (*.f64 (*.f64 a2 a2) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))))
1.4b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
16.0b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))))
1.2b
(+.f64 (/.f64 (neg.f64 (cos.f64 th)) (/.f64 (neg.f64 (sqrt.f64 2)) (*.f64 a1 a1))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
18.5b
(+.f64 (sqrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a1 4))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
Compiler

Compiled 3314 to 2159 computations (34.9% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (neg.f64 (cos.f64 th)) (*.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 1/2))) (cbrt.f64 (neg.f64 (sqrt.f64 2))))
0.3b
(*.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 1/2))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
0.7b
(/.f64 (cos.f64 th) (sqrt.f64 2))

rewrite396.0ms (3.2%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
36×add-exp-log_binary64
35×add-cube-cbrt_binary64
22×add-sqr-sqrt_binary64
21×add-cbrt-cube_binary64
18×pow1_binary64
Counts
4 → 177
Calls

4 calls:

18.0ms
(/.f64 (*.f64 (neg.f64 (cos.f64 th)) (*.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 1/2))) (cbrt.f64 (neg.f64 (sqrt.f64 2))))
16.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
16.0ms
(*.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 1/2))
15.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 5496 to 3641 computations (33.8% saved)

series254.0ms (2.1%)

Error
0.5b
Counts
4 → 25
Calls

4 calls:

147.0ms
(/.f64 (*.f64 (neg.f64 (cos.f64 th)) (*.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 1/2))) (cbrt.f64 (neg.f64 (sqrt.f64 2))))
33.0ms
(*.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 1/2))
33.0ms
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2))
13.0ms
(/.f64 (cos.f64 th) (sqrt.f64 2))
Compiler

Compiled 2135 to 1750 computations (18% saved)

simplify145.0ms (1.2%)

Algorithm
egg-herbie
Rules
462×unswap-sqr_binary64
216×associate-*r*_binary64
216×associate-*l*_binary64
173×fma-def_binary64
165×log-prod_binary64
Counts
202 → 102
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02493775
16163367
228003317
349453317
449703317

prune160.0ms (1.3%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New993102
Fresh5914
Picked101
Done011
Total10513118
Error
0.5b
Counts
118 → 13
Alt Table
StatusErrorProgram
16.0b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)))) (*.f64 a2 (sqrt.f64 (/.f64 (cos.f64 th) (sqrt.f64 2))))))
1.2b
(+.f64 (/.f64 1 (/.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cbrt.f64 1/2)) (pow.f64 (cbrt.f64 -1) 2)) (neg.f64 (cos.f64 th))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.0b
(+.f64 (/.f64 (*.f64 (neg.f64 (cos.f64 th)) (/.f64 (*.f64 a1 a1) (*.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.4b
(+.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1)))) (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))))) (cbrt.f64 (neg.f64 (*.f64 (cos.f64 th) (*.f64 a1 a1))))) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
1.0b
(*.f64 (cos.f64 th) (/.f64 (fma.f64 a1 a1 (*.f64 a2 a2)) (sqrt.f64 2)))
1.1b
(+.f64 (*.f64 (/.f64 (neg.f64 (cos.f64 th)) (*.f64 (cbrt.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (/.f64 (/.f64 (*.f64 (*.f64 a1 a1) (cbrt.f64 1/2)) (pow.f64 (cbrt.f64 -1) 2)) (cbrt.f64 (cbrt.f64 (neg.f64 (sqrt.f64 2)))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
20.6b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 3) (pow.f64 a2 6))))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (*.f64 (/.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) (*.f64 a2 a2)))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (/.f64 (pow.f64 (cos.f64 th) 3) (*.f64 2 (sqrt.f64 2)))) (*.f64 a2 a2)))
1.0b
(+.f64 (/.f64 (*.f64 (*.f64 a1 a1) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))) (/.f64 (*.f64 (*.f64 a2 a2) (neg.f64 (cos.f64 th))) (neg.f64 (sqrt.f64 2))))
1.4b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
18.5b
(+.f64 (sqrt.f64 (/.f64 (/.f64 (*.f64 (*.f64 (cos.f64 th) (cos.f64 th)) (*.f64 (pow.f64 (/.f64 (*.f64 a1 a1) (pow.f64 (cbrt.f64 -1) 2)) 2) (pow.f64 (cbrt.f64 1/2) 2))) (cbrt.f64 (neg.f64 (sqrt.f64 2)))) (cbrt.f64 (neg.f64 (sqrt.f64 2))))) (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))
15.4b
(+.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) 2) (pow.f64 a2 4))) (cbrt.f64 (*.f64 (/.f64 (cos.f64 th) (sqrt.f64 2)) (*.f64 a2 a2)))))
Compiler

Compiled 3038 to 2086 computations (31.3% saved)

regimes3.4s (28%)

Accuracy

Total 0.4b remaining (80.2%)

Threshold costs 0.4b (80.2%)

Compiler

Compiled 76856 to 57232 computations (25.5% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
14×*-commutative_binary64
10×+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02449
13649
24747
36347
47447
58547
69147
79447
89547
99547

end8.0ms (0.1%)

Compiler

Compiled 96 to 75 computations (21.9% saved)

sample4.0s (32.9%)

Algorithm
intervals
Results
927.0ms1903×body1024valid
798.0ms1644×body1024invalid
482.0ms4735×body128valid
279.0ms938×body512valid
246.0ms798×body512invalid
84.0ms422×body256valid
83.0ms426×body256invalid
66.0ms631×body128invalid
3.0msbody2048valid
Compiler

Compiled 503 to 367 computations (27% saved)

Profiling

Loading profile data...