Details

Time bar (total: 10.9s)

analyze945.0ms (8.7%)

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)

sample82.0ms (0.8%)

Algorithm
intervals
Results
21.0ms70×body1024valid
10.0ms149×body128valid
10.0ms33×body1024invalid
6.0ms27×body512invalid
5.0ms24×body512valid
2.0ms17×body256invalid
2.0ms13×body256valid
2.0ms21×body128invalid
Compiler

Compiled 48 to 34 computations (29.2% saved)

simplify10.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01320
12620
24620
36620
48520
59720
610820
710620
810620

prune10.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 92 to 63 computations (31.5% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.2b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
0.5b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

rewrite118.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
39×add-sqr-sqrt_binary64
38×times-frac_binary64
31×add-cube-cbrt_binary64 *-un-lft-identity_binary64
22×sqrt-prod_binary64 associate-*r*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
Counts
2 → 83
Calls

2 calls:

12.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
7.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
Compiler

Compiled 1855 to 696 computations (62.5% saved)

series151.0ms (1.4%)

Error
0.4b
Counts
2 → 30
Calls

2 calls:

90.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
43.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
Compiler

Compiled 1209 to 988 computations (18.3% saved)

simplify116.0ms (1.1%)

Algorithm
egg-herbie
Rules
701×cancel-sign-sub-inv_binary64
353×sub-neg_binary64
331×associate-/l*_binary64
286×*-commutative_binary64
281×unswap-sqr_binary64
Counts
113 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01653045
14122842
214162746
339692746
453192746

prune95.0ms (0.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New988106
Fresh101
Picked101
Done000
Total1008108
Error
0.0b
Counts
108 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (/.f64 (cos.f64 th) (sqrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))))
0.6b
(*.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.5b
(*.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.5b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (sqrt.f64 2))))
0.5b
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))))
0.6b
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.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)))))
1.2b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (cbrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
Compiler

Compiled 1989 to 907 computations (54.4% saved)

localize18.0ms (0.2%)

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))))
5.2b
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
5.2b
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))

rewrite371.0ms (3.4%)

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

4 calls:

33.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))))
9.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)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 8394 to 3621 computations (56.9% saved)

series274.0ms (2.5%)

Error
0.0b
Counts
4 → 60
Calls

4 calls:

86.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (sqrt.f64 2)))
45.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))))
43.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
43.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 4251 to 3247 computations (23.6% saved)

simplify295.0ms (2.7%)

Algorithm
egg-herbie
Rules
840×times-frac_binary64
421×associate-/r*_binary64
205×cancel-sign-sub-inv_binary64
204×associate-*r/_binary64
203×associate-*l/_binary64
Counts
286 → 264
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
026211043
169410029
224649533
349809533
449749533

prune231.0ms (2.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2622264
Fresh257
Picked011
Done000
Total2648272
Error
0b
Counts
272 → 8
Alt Table
StatusErrorProgram
0.5b
(*.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 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))))
0.6b
(*.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.5b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (sqrt.f64 2))))
0.6b
(*.f64 (cos.f64 th) (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 2))) (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (sqrt.f64 (sqrt.f64 2)))))
0.4b
(*.f64 (cos.f64 th) (*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (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)))))
1.2b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (cbrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
Compiler

Compiled 6548 to 3160 computations (51.7% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))))
0.4b
(/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))))
5.2b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.2b
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))

rewrite511.0ms (4.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
187×times-frac_binary64
171×add-sqr-sqrt_binary64
130×cbrt-prod_binary64
102×sqrt-prod_binary64
90×add-exp-log_binary64
Counts
4 → 240
Calls

4 calls:

54.0ms
(*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))))
17.0ms
(/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
Compiler

Compiled 12037 to 6691 computations (44.4% saved)

series315.0ms (2.9%)

Error
0b
Counts
4 → 60
Calls

4 calls:

105.0ms
(/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))))
50.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
50.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
46.0ms
(*.f64 (/.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2))))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))))
Compiler

Compiled 4978 to 3976 computations (20.1% saved)

simplify392.0ms (3.6%)

Algorithm
egg-herbie
Rules
410×associate-*l/_binary64
350×associate-*r/_binary64
253×associate-/l*_binary64
240×cancel-sign-sub-inv_binary64
228×associate-*l*_binary64
Counts
300 → 274
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
036518637
199315326
2393512371
3456411862
4492611862

prune243.0ms (2.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2731274
Fresh156
Picked101
Done011
Total2757282
Error
0b
Counts
282 → 7
Alt Table
StatusErrorProgram
0.5b
(*.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 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))))
0.6b
(*.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.5b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (sqrt.f64 2))))
0.5b
(*.f64 (cos.f64 th) (*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))) (/.f64 1 (pow.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) 7))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (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)))))
1.2b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (cbrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
Compiler

Compiled 6979 to 3887 computations (44.3% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (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 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
5.2b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.2b
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))

rewrite228.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
100×sqrt-prod_binary64
96×add-sqr-sqrt_binary64
80×times-frac_binary64
61×add-cube-cbrt_binary64 *-un-lft-identity_binary64
40×associate-*r*_binary64
Counts
4 → 170
Calls

4 calls:

22.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
8.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 4836 to 1323 computations (72.6% saved)

series205.0ms (1.9%)

Error
0b
Counts
4 → 60
Calls

4 calls:

51.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
44.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
36.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
34.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 3137 to 2157 computations (31.2% saved)

simplify270.0ms (2.5%)

Algorithm
egg-herbie
Rules
398×associate-*l/_binary64
348×associate-/r*_binary64
325×associate-*r/_binary64
300×unswap-sqr_binary64
267×associate-/l/_binary64
Counts
230 → 169
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02375949
15345776
216545615
339675615
448175615
549665615
649425615

prune122.0ms (1.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1690169
Fresh055
Picked011
Done011
Total1697176
Error
0b
Counts
176 → 7
Alt Table
StatusErrorProgram
0.5b
(*.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 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))))
0.6b
(*.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.5b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (sqrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (sqrt.f64 2))))
0.5b
(*.f64 (cos.f64 th) (*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (cbrt.f64 (sqrt.f64 2)))) (/.f64 1 (pow.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 2))) 7))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (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)))))
1.2b
(*.f64 (*.f64 (cos.f64 th) (/.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))) (cbrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (/.f64 (cbrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
Compiler

Compiled 3298 to 1242 computations (62.3% saved)

regimes3.2s (29.5%)

Accuracy

Total 0.3b remaining (81.6%)

Threshold costs 0.3b (81.6%)

Compiler

Compiled 56446 to 37143 computations (34.2% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01534
11734
21734

end10.0ms (0.1%)

Remove

(sort a1 a2)

Compiler

Compiled 75 to 39 computations (48% saved)

sample2.6s (24%)

Algorithm
intervals
Results
563.0ms1882×body1024valid
475.0ms1567×body1024invalid
358.0ms4828×body128valid
193.0ms884×body512valid
178.0ms809×body512invalid
65.0ms401×body256valid
60.0ms392×body256invalid
55.0ms684×body128invalid
2.0msbody2048valid
Compiler

Compiled 275 to 181 computations (34.2% saved)

Profiling

Loading profile data...