Details

Time bar (total: 59.1s)

analyze2.8s (4.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05562539
055
155
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
0%99.8%0.2%9
0%99.8%0.2%10
0.8%99%0.2%11
4.7%95.1%0.2%12
5.9%93.2%0.8%13
8.5%90.2%1.3%14
Symmetry

(sort lambda1 lambda2)

(sort phi1 phi2)

Compiler

Compiled 33 to 22 computations (33.3% saved)

sample98.0ms (0.2%)

Algorithm
intervals
Results
20.0ms191×body128valid
13.0ms27×body1024valid
7.0ms20×body512valid
7.0ms65×body128invalid
5.0ms11×body1024invalid
4.0ms18×body256valid
4.0ms11×body512invalid
1.0msbody256invalid
Compiler

Compiled 65 to 48 computations (26.2% saved)

simplify139.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (125.0ms)

IterNodesCost
0496049
1496049

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
38.2b
Counts
2 → 1
Compiler

Compiled 64 to 42 computations (34.4% saved)

localize15.0ms (0%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
2.5b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.5b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
35.4b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))

rewrite407.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
38.2b
Rules
142×associate-*l/_binary64_1385
102×flip3--_binary64_1446 flip--_binary64_1417
68×frac-times_binary64_1452
66×sqrt-div_binary64_1459
64×frac-add_binary64_1450
44×pow1_binary64_1503
34×associate-*r/_binary64_1384
17×pow-prod-down_binary64_1513
16×add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478
prod-exp_binary64_1491 cbrt-unprod_binary64_1475
add-sqr-sqrt_binary64_1464
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
add-log-exp_binary64_1481 pow-prod-up_binary64_1512 pow-sqr_binary64_1415
sqrt-prod_binary64_1458
pow-plus_binary64_1505
pow1/2_binary64_1522 sqrt-pow1_binary64_1460 flip3-+_binary64_1445 flip-+_binary64_1416 rem-sqrt-square_binary64_1455 pow2_binary64_1523 swap-sqr_binary64_1409 associate-*l*_binary64_1383 associate-*r*_binary64_1382 *-commutative_binary64_1373
Counts
4 → 135
Calls

4 calls:

19.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
13.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
Compiler

Compiled 9145 to 2868 computations (68.6% saved)

series6.8s (11.4%)

Error
2.3b
Counts
4 → 70
Calls

4 calls:

5.8s
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
569.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
53.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
50.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
Compiler

Compiled 16503 to 12387 computations (24.9% saved)

simplify148.0ms (0.3%)

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
0571514563

prune538.0ms (0.9%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New19510205
Fresh000
Picked101
Done000
Total19610206
Error
2.3b
Counts
206 → 10
Compiler

Compiled 12211 to 4851 computations (60.3% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(*.f64 R (-.f64 phi2 phi1))

rewrite29.0ms (0%)

Algorithm
rewrite-expression-head
Error
2.3b
Rules
add-sqr-sqrt_binary64_1464
*-un-lft-identity_binary64_1442
cancel-sign-sub-inv_binary64_1408
add-cube-cbrt_binary64_1477 associate-*r*_binary64_1382
distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391
pow1_binary64_1503 add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478 associate-*l*_binary64_1383
sub-neg_binary64_1435 associate-*r/_binary64_1384
pow-prod-down_binary64_1513 prod-exp_binary64_1491 add-log-exp_binary64_1481 cbrt-unprod_binary64_1475 unswap-sqr_binary64_1410 flip3--_binary64_1446 flip--_binary64_1417 difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394 *-commutative_binary64_1373
Counts
1 → 30
Calls

1 calls:

7.0ms
(*.f64 R (-.f64 phi2 phi1))
Compiler

Compiled 338 to 113 computations (66.6% saved)

series99.0ms (0.2%)

Error
2.3b
Counts
1 → 15
Calls

1 calls:

91.0ms
(*.f64 R (-.f64 phi2 phi1))
Compiler

Compiled 219 to 198 computations (9.6% saved)

simplify48.0ms (0.1%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05690386

prune40.0ms (0.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New45045
Fresh099
Picked011
Done000
Total451055
Error
2.3b
Counts
55 → 10
Compiler

Compiled 726 to 324 computations (55.4% saved)

localize26.0ms (0%)

Local error

Found 4 expressions with local error:

0.5b
(log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2))))
2.5b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.5b
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
35.4b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)))))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))

rewrite339.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
2.3b
Rules
128×associate-*l/_binary64_1385
96×flip3--_binary64_1446 flip--_binary64_1417
66×sqrt-div_binary64_1459
64×frac-times_binary64_1452 frac-add_binary64_1450
32×associate-*r/_binary64_1384
add-sqr-sqrt_binary64_1464
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
pow1_binary64_1503
add-log-exp_binary64_1481 add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478 log-pow_binary64_1531
sqrt-prod_binary64_1458 exp-prod_binary64_1494 log-prod_binary64_1528
pow1/2_binary64_1522 sqrt-pow1_binary64_1460 flip3-+_binary64_1445 flip-+_binary64_1416 rem-sqrt-square_binary64_1455 rem-log-exp_binary64_1483
Counts
4 → 108
Calls

4 calls:

21.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)))))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
6.0ms
(log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2))))
5.0ms
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
Compiler

Compiled 8251 to 2688 computations (67.4% saved)

series29.5s (50%)

Error
2.3b
Counts
4 → 48
Calls

4 calls:

28.8s
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)))))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
183.0ms
(log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2))))
53.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
41.0ms
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
Compiler

Compiled 30331 to 23728 computations (21.8% saved)

simplify157.0ms (0.3%)

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
0586715206

prune493.0ms (0.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1551156
Fresh178
Picked011
Done011
Total15610166
Error
2.3b
Counts
166 → 10
Compiler

Compiled 12229 to 5169 computations (57.7% saved)

localize26.0ms (0%)

Local error

Found 4 expressions with local error:

0.5b
(pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)
2.5b
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
2.5b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
35.4b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))

rewrite368.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
2.3b
Rules
128×associate-*l/_binary64_1385
96×flip3--_binary64_1446 flip--_binary64_1417
66×sqrt-div_binary64_1459
64×frac-times_binary64_1452 frac-add_binary64_1450
32×associate-*r/_binary64_1384
add-sqr-sqrt_binary64_1464
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
pow1_binary64_1503
add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478
add-log-exp_binary64_1481
sqrt-prod_binary64_1458 unpow-prod-down_binary64_1521 pow-unpow_binary64_1519 cube-prod_binary64_1470
pow1/2_binary64_1522 sqrt-pow1_binary64_1460 flip3-+_binary64_1445 flip-+_binary64_1416 rem-sqrt-square_binary64_1455 pow-pow_binary64_1514 pow-to-exp_binary64_1511 pow-exp_binary64_1510 unpow3_binary64_1508 cube-mult_binary64_1472 rem-cube-cbrt_binary64_1465 sqr-pow_binary64_1414
Counts
4 → 116
Calls

4 calls:

21.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
5.0ms
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)
Compiler

Compiled 8726 to 2982 computations (65.8% saved)

series6.3s (10.6%)

Error
2.3b
Counts
4 → 54
Calls

4 calls:

5.8s
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cbrt.f64 (pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
167.0ms
(pow.f64 (cos.f64 (/.f64 (+.f64 phi2 phi1) 2)) 3)
59.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
57.0ms
(cos.f64 (/.f64 (+.f64 phi2 phi1) 2))
Compiler

Compiled 15319 to 11602 computations (24.3% saved)

simplify139.0ms (0.2%)

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
0576013194

prune453.0ms (0.8%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1673170
Fresh347
Picked011
Done022
Total17010180
Error
2.3b
Counts
180 → 10
Compiler

Compiled 10975 to 4299 computations (60.8% saved)

regimes3.7s (6.3%)

Accuracy

Total 16.6b remaining (80.5%)

Threshold costs 0b (0%)

Compiler

Compiled 33828 to 23015 computations (32% saved)

bsearch6.0ms (0%)

Compiler

Compiled 3 to 6 computations (-100% saved)

simplify62.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0131248
1131248
Compiler

Compiled 644 to 332 computations (48.4% saved)

end0.0ms (0%)

sample6.3s (10.7%)

Algorithm
intervals
Results
636.0ms6074×body128valid
395.0ms777×body1024valid
252.0ms734×body512valid
238.0ms2325×body128invalid
219.0ms454×body1024invalid
126.0ms375×body512invalid
109.0ms408×body256valid
39.0ms177×body256invalid
5.0msbody2048valid
Compiler

Compiled 3684 to 2498 computations (32.2% saved)

Profiling

Loading profile data...