Details

Time bar (total: 27.5s)

analyze3.9s (14%)

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%62.4%12.6%8
31.2%56.2%12.6%9
34.3%53%12.6%10
42.9%44.5%12.6%11
46.8%40.6%12.6%12
47.8%39.6%12.6%13
52.6%34.8%12.6%14
Compiler

Compiled 25 to 20 computations (20% saved)

sample358.0ms (1.3%)

Algorithm
intervals
Results
88.0ms42×body1024valid
83.0ms40×body1024invalid
50.0ms166×body128valid
45.0ms33×body512valid
38.0ms23×body512invalid
11.0msbody2048valid
9.0ms12×body256invalid
7.0ms11×body256valid
4.0ms14×body128invalid
Compiler

Compiled 52 to 42 computations (19.2% saved)

simplify153.0ms (0.6%)

Algorithm
egg-herbie
Rules
1078×sqr-pow_binary64
786×cube-prod_binary64
770×fabs-mul_binary64
484×unswap-sqr_binary64
392×pow-sqr_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01634
13034
26634
312434
421734
546534
666934
7113034
8117734
9136934
10157434
11186834
12215234
13257334
14320634
15352034
16387234
17402634
18409434
19413634
20493334
21490534

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
19.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
Compiler

Compiled 72 to 57 computations (20.8% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)
0.4b
(*.f64 (PI.f64) (/.f64 angle 180))
23.8b
(sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))
23.9b
(cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))

series72.0ms (0.3%)

Counts
4 → 60
Calls

4 calls:

51.0ms
(pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)
8.0ms
(*.f64 (PI.f64) (/.f64 angle 180))
6.0ms
(sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))
6.0ms
(cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))

rewrite26.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
13×associate-*r*_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
12×add-exp-log_binary64
Counts
4 → 72
Calls

4 calls:

9.0ms
(*.f64 (PI.f64) (/.f64 angle 180))
6.0ms
(pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)
2.0ms
(cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))
2.0ms
(sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))

simplify159.0ms (0.6%)

Algorithm
egg-herbie
Rules
600×fma-neg_binary64
587×times-frac_binary64
403×*-commutative_binary64
321×fma-def_binary64
249×cancel-sign-sub-inv_binary64
Counts
132 → 110
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01962107
14482003
214471981
335801967
449221967
549391967

prune776.0ms (2.8%)

Pruning

36 alts after pruning (36 fresh and 0 done)

PrunedKeptTotal
New11636152
Fresh000
Picked101
Done000
Total11736153
Error
18.4b
Counts
153 → 36
Alt Table
StatusErrorProgram
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
40.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
41.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2))
28.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6)))
41.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2))
34.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2)))))))
20.4b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (exp.f64 (log.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
23.1b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2))
27.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (*.f64 (pow.f64 b 2) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))
19.8b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2))
24.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
40.2b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2)))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
26.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (cbrt.f64 (*.f64 (*.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
29.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (log.f64 (exp.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
26.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
40.9b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2))
41.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) angle) (/.f64 1 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
Compiler

Compiled 6624 to 4872 computations (26.4% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))
0.3b
(pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)
0.4b
(*.f64 (PI.f64) (/.f64 angle 180))
23.8b
(sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))

series31.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

31.0ms
(*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))

rewrite8.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 20
Calls

1 calls:

6.0ms
(*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))

simplify92.0ms (0.3%)

Algorithm
egg-herbie
Rules
911×distribute-rgt-neg-in_binary64
646×fma-neg_binary64
509×associate-*l*_binary64
452×associate-*r*_binary64
412×distribute-lft-neg-in_binary64
Counts
44 → 31
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
072785
1178727
2569722
32006713
43858712
55218712

prune963.0ms (3.5%)

Pruning

37 alts after pruning (37 fresh and 0 done)

PrunedKeptTotal
New10815123
Fresh132235
Picked101
Done000
Total12237159
Error
18.4b
Counts
159 → 37
Alt Table
StatusErrorProgram
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
20.3b
(+.f64 (pow.f64 (*.f64 a 1) 2) (exp.f64 (log.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
19.7b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
41.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2))
40.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
28.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6)))
41.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2))
34.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2)))))))
27.2b
(+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))
19.8b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
23.1b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2))
24.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
26.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2))
19.8b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2))
40.9b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.7b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
19.6b
(+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (/.f64 angle 180) (cbrt.f64 (PI.f64)))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
40.0b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2)))
19.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
34.0b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (log.f64 (exp.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
41.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))) 2))
24.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 1/180 (*.f64 angle (*.f64 (PI.f64) b))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
Compiler

Compiled 5203 to 3947 computations (24.1% saved)

localize28.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))))
0.3b
(pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)
0.4b
(*.f64 (PI.f64) (/.f64 angle 180))
23.8b
(sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))

series86.0ms (0.3%)

Counts
2 → 48
Calls

2 calls:

56.0ms
(pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)
30.0ms
(*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))))

rewrite11.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 40
Calls

2 calls:

4.0ms
(*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))))
4.0ms
(pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)

simplify159.0ms (0.6%)

Algorithm
egg-herbie
Rules
692×fma-neg_binary64
634×cancel-sign-sub-inv_binary64
414×*-commutative_binary64
385×distribute-rgt-neg-in_binary64
364×distribute-lft-neg-in_binary64
Counts
88 → 81
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01311684
13171631
210881607
325831592
446311592
549731592
649441592

prune971.0ms (3.5%)

Pruning

37 alts after pruning (37 fresh and 0 done)

PrunedKeptTotal
New1374141
Fresh33336
Picked101
Done000
Total14137178
Error
18.4b
Counts
178 → 37
Alt Table
StatusErrorProgram
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
20.3b
(+.f64 (pow.f64 (*.f64 a 1) 2) (exp.f64 (log.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
19.7b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2))
41.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
41.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2))
40.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
28.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6)))
34.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2)))))))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (/.f64 (PI.f64) (sqrt.f64 180)) (/.f64 angle (sqrt.f64 180))))))) 2))
27.2b
(+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))
19.8b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2))
23.1b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2))
24.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
26.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2))
19.8b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2))
40.9b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.7b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
19.6b
(+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (/.f64 angle 180) (cbrt.f64 (PI.f64)))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))))) 2))
34.0b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (log.f64 (exp.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
40.0b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2)))
41.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))))) 2))
24.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 1/180 (*.f64 angle (*.f64 (PI.f64) b))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
Compiler

Compiled 5835 to 4494 computations (23% saved)

localize30.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))
0.3b
(pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)
0.4b
(*.f64 (PI.f64) (/.f64 angle 180))
23.8b
(sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))

series503.0ms (1.8%)

Counts
2 → 36
Calls

2 calls:

449.0ms
(log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))
54.0ms
(pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)

rewrite8.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
pow-unpow_binary64
Counts
2 → 31
Calls

2 calls:

5.0ms
(pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2)
1.0ms
(log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))

simplify104.0ms (0.4%)

Algorithm
egg-herbie
Rules
841×associate-*l*_binary64
801×fma-neg_binary64
484×distribute-rgt-neg-in_binary64
481×distribute-lft-neg-in_binary64
253×fma-def_binary64
Counts
67 → 61
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01051322
12451274
27611254
328851236
450701236

prune888.0ms (3.2%)

Pruning

38 alts after pruning (38 fresh and 0 done)

PrunedKeptTotal
New1165121
Fresh33336
Picked101
Done000
Total12038158
Error
18.3b
Counts
158 → 38
Alt Table
StatusErrorProgram
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (sqrt.f64 180))) (/.f64 (cbrt.f64 angle) (sqrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (log1p.f64 (expm1.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
41.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
41.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180))) (*.f64 (sqrt.f64 (PI.f64)) (/.f64 (sqrt.f64 angle) (sqrt.f64 180)))))) 2))
40.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (-.f64 (log.f64 angle) (log.f64 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2)) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
28.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (cbrt.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 6)))
34.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (-.f64 (+.f64 (*.f64 1/765275040000000 (*.f64 (pow.f64 angle 6) (*.f64 (pow.f64 (PI.f64) 6) (pow.f64 b 2)))) (*.f64 1/32400 (*.f64 (pow.f64 angle 2) (*.f64 (pow.f64 (PI.f64) 2) (pow.f64 b 2))))) (+.f64 (*.f64 1/3149280000 (*.f64 (pow.f64 angle 4) (*.f64 (pow.f64 (PI.f64) 4) (pow.f64 b 2)))) (*.f64 1/347128758144000000000 (*.f64 (pow.f64 angle 8) (*.f64 (pow.f64 (PI.f64) 8) (pow.f64 b 2)))))))
29.4b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log.f64 (+.f64 1 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))))))) 2))
41.5b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (exp.f64 (+.f64 (log.f64 (PI.f64)) (log.f64 (/.f64 angle 180)))))))) 2))
22.3b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (expm1.f64 (log1p.f64 (log1p.f64 (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (/.f64 (PI.f64) (sqrt.f64 180)) (/.f64 angle (sqrt.f64 180))))))) 2))
27.2b
(+.f64 (pow.f64 (*.f64 a 1) 2) (*.f64 (*.f64 b b) (pow.f64 (sin.f64 (*.f64 1/180 (*.f64 angle (PI.f64)))) 2)))
19.8b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2))
23.1b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (expm1.f64 (log1p.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (/.f64 (PI.f64) (*.f64 (cbrt.f64 180) (cbrt.f64 180))) (/.f64 angle (cbrt.f64 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
20.1b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (-.f64 (*.f64 1/180 (*.f64 angle (PI.f64))) (*.f64 1/64800 (*.f64 (pow.f64 angle 2) (pow.f64 (PI.f64) 2)))))) 2))
24.3b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (PI.f64) (PI.f64)) (PI.f64)) (/.f64 (*.f64 (*.f64 angle angle) angle) (*.f64 (*.f64 180 180) 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.8b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (sqrt.f64 (PI.f64)) (*.f64 (/.f64 angle 180) (sqrt.f64 (PI.f64)))))))) 2))
20.0b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
26.7b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (fma.f64 (pow.f64 (*.f64 angle (PI.f64)) 3) -1/34992000 (*.f64 1/180 (*.f64 angle (PI.f64))))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (expm1.f64 (log1p.f64 (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))))) 2))
19.5b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 angle) (cbrt.f64 angle))) (/.f64 (cbrt.f64 angle) 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.7b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) (cbrt.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (expm1.f64 (log1p.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))))
19.6b
(+.f64 (pow.f64 (*.f64 a (*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))))) (cbrt.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (/.f64 angle 180) (cbrt.f64 (PI.f64)))))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 (PI.f64)) (/.f64 angle 180))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
19.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (log1p.f64 (expm1.f64 (sin.f64 (*.f64 (*.f64 (PI.f64) (/.f64 (*.f64 (cbrt.f64 angle) (cbrt.f64 angle)) (*.f64 (cbrt.f64 180) (cbrt.f64 180)))) (/.f64 (cbrt.f64 angle) (cbrt.f64 180))))))) 2))
34.0b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (log.f64 (exp.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2))
40.0b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (cbrt.f64 2)))
19.7b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))) 2))
24.9b
(+.f64 (pow.f64 (*.f64 a 1) 2) (pow.f64 (*.f64 1/180 (*.f64 angle (*.f64 (PI.f64) b))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) (cbrt.f64 (*.f64 (PI.f64) (/.f64 angle 180)))))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
40.9b
(+.f64 (pow.f64 (*.f64 a (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (*.f64 (PI.f64) (sqrt.f64 angle)) (/.f64 (sqrt.f64 angle) 180)))) 2))
19.6b
(+.f64 (pow.f64 (*.f64 a (cbrt.f64 (pow.f64 (cos.f64 (*.f64 (PI.f64) (/.f64 angle 180))) 3))) 2) (pow.f64 (*.f64 b (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180)))) 2))
Compiler

Compiled 4235 to 3251 computations (23.2% saved)

regimes4.0s (14.7%)

Accuracy

Total 1.5b remaining (7.3%)

Threshold costs 0b (0%)

Counts
231 → 1
Compiler

Compiled 46925 to 37802 computations (19.4% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02041
12541
22541

end2.0ms (0%)

Compiler

Compiled 28 to 23 computations (17.9% saved)

sample14.1s (51.3%)

Algorithm
intervals
Results
3.5s1572×body1024valid
3.2s1419×body1024invalid
1.5s5000×body128valid
1.2s803×body512valid
1.0s685×body512invalid
644.0ms202×body2048valid
324.0ms419×body256valid
279.0ms318×body256invalid
201.0ms648×body128invalid
43.0msbody4096valid
Compiler

Compiled 1225 to 976 computations (20.3% saved)

Profiling

Loading profile data...