Details

Time bar (total: 9.8s)

analyze1.3s (13.1%)

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)

sample117.0ms (1.2%)

Algorithm
intervals
Results
31.0ms59×body1024valid
19.0ms36×body1024invalid
18.0ms160×body128valid
8.0ms26×body512valid
7.0ms19×body512invalid
3.0ms14×body256invalid
3.0ms23×body128invalid
2.0ms11×body256valid
Compiler

Compiled 48 to 34 computations (29.2% saved)

simplify14.0ms (0.1%)

Algorithm
egg-herbie
Rules
23×*-commutative_binary64
20×associate-/l*_binary64
11×associate-/r/_binary64
associate-*r/_binary64
distribute-rgt-out_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01320
12620
24620
36620
48520
59720
610820
710620
810620

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 2
Alt Table
StatusErrorProgram
0.4b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
0.5b
(+.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 92 to 63 computations (31.5% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.1b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
0.4b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

rewrite132.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
40×add-sqr-sqrt_binary64
38×times-frac_binary64
32×*-un-lft-identity_binary64
32×add-cube-cbrt_binary64
22×associate-*r*_binary64
Counts
3 → 94
Calls

3 calls:

11.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
6.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
3.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 2099 to 762 computations (63.7% saved)

series151.0ms (1.5%)

Error
0.3b
Counts
3 → 42
Calls

3 calls:

77.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
35.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
23.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 1499 to 1222 computations (18.5% saved)

simplify174.0ms (1.8%)

Algorithm
egg-herbie
Rules
383×sub-neg_binary64
345×associate-/l*_binary64
289×associate-*l/_binary64
287×associate-*r/_binary64
156×distribute-rgt-in_binary64
Counts
136 → 126
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01843277
14483029
215162993
343842993
447662993
549482993
649522993

prune81.0ms (0.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh101
Picked101
Done000
Total1217128
Error
0.0b
Counts
128 → 7
Alt Table
StatusErrorProgram
0.4b
(/.f64 (*.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (cos.f64 th)) (sqrt.f64 2))
0.5b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))
0.5b
(*.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))))
0.4b
(*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
0.4b
(*.f64 (cos.f64 th) (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))))
0.6b
(*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 2)))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))))
Compiler

Compiled 2044 to 911 computations (55.4% saved)

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))
0.3b
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2))))
7.4b
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
7.4b
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))

rewrite272.0ms (2.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
149×add-sqr-sqrt_binary64
146×times-frac_binary64
127×sqrt-prod_binary64
90×cbrt-prod_binary64
87×*-un-lft-identity_binary64
Counts
4 → 226
Calls

4 calls:

35.0ms
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2))))
8.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
3.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 8394 to 3621 computations (56.9% saved)

series178.0ms (1.8%)

Error
0.0b
Counts
4 → 48
Calls

4 calls:

58.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))
37.0ms
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2))))
28.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
27.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 3463 to 2660 computations (23.2% saved)

simplify289.0ms (2.9%)

Algorithm
egg-herbie
Rules
749×times-frac_binary64
379×associate-/r*_binary64
201×associate-*r/_binary64
199×associate-*l/_binary64
179×associate-/r/_binary64
Counts
274 → 252
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024310532
16339576
222499112
346508892
450268892

prune153.0ms (1.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2502252
Fresh246
Picked011
Done000
Total2527259
Error
0.0b
Counts
259 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
0.5b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))
0.5b
(*.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))))
0.4b
(*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
0.4b
(*.f64 (cos.f64 th) (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))))
0.4b
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))))
Compiler

Compiled 5964 to 2856 computations (52.1% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.1b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
0.2b
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
0.3b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2)))

rewrite274.0ms (2.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
177×times-frac_binary64
98×add-sqr-sqrt_binary64
85×*-un-lft-identity_binary64
85×add-cube-cbrt_binary64
80×cbrt-prod_binary64
Counts
4 → 209
Calls

4 calls:

21.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
14.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
7.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2)))
3.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 7016 to 3864 computations (44.9% saved)

series239.0ms (2.4%)

Error
0.0b
Counts
4 → 54
Calls

4 calls:

84.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2)))
73.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
35.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
27.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 2344 to 2003 computations (14.5% saved)

simplify230.0ms (2.3%)

Algorithm
egg-herbie
Rules
580×associate-/r/_binary64
507×associate-/l/_binary64
194×associate-*l*_binary64
157×cancel-sign-sub-inv_binary64
151×associate-*r/_binary64
Counts
263 → 250
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02998317
17337529
225527489
346737489
449587489

prune153.0ms (1.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2491250
Fresh055
Picked011
Done011
Total2498257
Error
0b
Counts
257 → 8
Alt Table
StatusErrorProgram
17.9b
(*.f64 (*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) (sqrt.f64 (cos.f64 th))) (*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) (sqrt.f64 (cos.f64 th))))
0.4b
(*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
0.4b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
0.5b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))
0.5b
(*.f64 (/.f64 (cos.f64 th) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))))
0.4b
(*.f64 (cos.f64 th) (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))))
0.4b
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))))
Compiler

Compiled 5351 to 2915 computations (45.5% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.1b
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))))
0.2b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
0.3b
(*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))

rewrite228.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
101×add-exp-log_binary64
62×add-sqr-sqrt_binary64
52×times-frac_binary64
46×prod-exp_binary64
43×add-cbrt-cube_binary64
Counts
4 → 153
Calls

4 calls:

21.0ms
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))))
18.0ms
(*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
9.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
3.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 5184 to 3228 computations (37.7% saved)

series249.0ms (2.5%)

Error
0b
Counts
4 → 54
Calls

4 calls:

101.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
72.0ms
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))))
36.0ms
(*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
23.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 2412 to 2071 computations (14.1% saved)

simplify142.0ms (1.5%)

Algorithm
egg-herbie
Rules
492×associate-/r*_binary64
288×distribute-rgt-in_binary64
265×distribute-lft-in_binary64
239×associate-/l/_binary64
233×associate-*r*_binary64
Counts
207 → 194
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02387249
16074968
222204932
351014932

prune107.0ms (1.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1922194
Fresh235
Picked101
Done022
Total1957202
Error
0b
Counts
202 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
0.6b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))
17.9b
(*.f64 (*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) (sqrt.f64 (cos.f64 th))) (*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))) (sqrt.f64 (cos.f64 th))))
0.4b
(*.f64 (*.f64 (cos.f64 th) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
0.4b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
0.3b
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 1/2) (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))))
0.4b
(*.f64 (cos.f64 th) (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))))
Compiler

Compiled 2986 to 1775 computations (40.6% saved)

regimes1.7s (17%)

Accuracy

Total 0.4b remaining (86.8%)

Threshold costs 0.4b (86.8%)

Compiler

Compiled 34806 to 24487 computations (29.6% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01830
12430
22330

end10.0ms (0.1%)

Remove

(sort a1 a2)

Compiler

Compiled 66 to 51 computations (22.7% saved)

sample3.6s (36.6%)

Algorithm
intervals
Results
894.0ms1813×body1024valid
823.0ms1482×body1024invalid
511.0ms4852×body128valid
297.0ms917×body512valid
229.0ms739×body512invalid
87.0ms413×body256valid
86.0ms403×body256invalid
65.0ms634×body128invalid
4.0msbody2048valid
Compiler

Compiled 248 to 176 computations (29% saved)

Profiling

Loading profile data...