Details

Time bar (total: 18.0s)

analyze633.0ms (3.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0500754
022
122
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
15.6%84.3%0.1%6
37.5%62.4%0.1%7
46.8%53.1%0.1%8
57.8%39.8%2.4%9
64.6%30.4%5%10
71.8%20.3%7.9%11
74.1%16.2%9.7%12
77.4%10.7%12%13
78.6%8.4%13%14
Compiler

Compiled 22 to 18 computations (18.2% saved)

sample43.0ms (0.2%)

Algorithm
intervals
Results
26.0ms256×body128valid
1.0msbody128invalid
Compiler

Compiled 43 to 37 computations (14% saved)

simplify90.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
0524129

prune8.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 59 to 47 computations (20.3% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1 a) (/.f64 1 b))
0.5b
(/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a)))
4.2b
(-.f64 (*.f64 b b) (*.f64 a a))
11.6b
(*.f64 (/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a))) (-.f64 (/.f64 1 a) (/.f64 1 b)))

rewrite962.0ms (5.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
251×times-frac_binary64_425
178×add-sqr-sqrt_binary64_441
153×*-un-lft-identity_binary64_419
121×add-cube-cbrt_binary64_454
58×associate-*l*_binary64_360
46×difference-of-squares_binary64_388
40×cancel-sign-sub-inv_binary64_385
22×div-inv_binary64_416
19×associate-*r*_binary64_359
18×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
14×distribute-rgt-in_binary64_369 distribute-lft-in_binary64_368 distribute-lft-out--_binary64_371
13×associate-/l*_binary64_364
add-log-exp_binary64_458
pow1_binary64_480 div-exp_binary64_470 cbrt-undiv_binary64_453 flip3--_binary64_423 flip--_binary64_394
sub-neg_binary64_412 associate-/r/_binary64_365 associate-/r*_binary64_363
prod-exp_binary64_468 cbrt-unprod_binary64_452 frac-sub_binary64_428 frac-times_binary64_429 unswap-sqr_binary64_387 associate-*r/_binary64_361
diff-log_binary64_511
pow-prod-down_binary64_490 associate-*l/_binary64_362 *-commutative_binary64_350 frac-2neg_binary64_430 clear-num_binary64_418 associate-/l/_binary64_366
Counts
4 → 270
Calls

4 calls:

86.0ms
(*.f64 (/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
27.0ms
(-.f64 (/.f64 1 a) (/.f64 1 b))
16.0ms
(/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a)))
7.0ms
(-.f64 (*.f64 b b) (*.f64 a a))
Compiler

Compiled 8765 to 4259 computations (51.4% saved)

series732.0ms (4.1%)

Error
11.9b
Counts
4 → 48
Calls

4 calls:

215.0ms
(*.f64 (/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
173.0ms
(-.f64 (*.f64 b b) (*.f64 a a))
155.0ms
(/.f64 (/.f64 PI.f64 2) (-.f64 (*.f64 b b) (*.f64 a a)))
109.0ms
(-.f64 (/.f64 1 a) (/.f64 1 b))
Compiler

Compiled 2277 to 1783 computations (21.7% saved)

simplify243.0ms (1.3%)

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 0 (97.0ms)

IterNodesCost
049798606
149798606

prune724.0ms (4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New30711318
Fresh101
Picked101
Done000
Total30911320
Error
0.0b
Counts
320 → 11
Compiler

Compiled 9020 to 4311 computations (52.2% saved)

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 b a))
0.2b
(*.f64 (/.f64 1 (+.f64 b a)) (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 (/.f64 PI.f64 2) (-.f64 b a))))
0.3b
(/.f64 (/.f64 PI.f64 2) (-.f64 b a))
0.3b
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 (/.f64 PI.f64 2) (-.f64 b a)))

rewrite1.2s (6.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
274×times-frac_binary64_425
216×add-sqr-sqrt_binary64_441
213×*-un-lft-identity_binary64_419
129×add-cube-cbrt_binary64_454
82×add-exp-log_binary64_457
72×associate-*r*_binary64_359
52×add-cbrt-cube_binary64_455
37×associate-*l*_binary64_360
36×difference-of-squares_binary64_388
34×distribute-lft-out--_binary64_371
31×prod-exp_binary64_468
28×div-exp_binary64_470
19×div-inv_binary64_416
17×cbrt-unprod_binary64_452 cbrt-undiv_binary64_453
16×frac-times_binary64_429 associate-/l*_binary64_364
12×pow1_binary64_480
10×associate-*l/_binary64_362 associate-*r/_binary64_361
associate-/r*_binary64_363
flip3--_binary64_423 flip--_binary64_394 associate-/r/_binary64_365
distribute-lft-out_binary64_370
frac-sub_binary64_428
1-exp_binary64_463 rec-exp_binary64_469
pow-prod-down_binary64_490 add-log-exp_binary64_458
unswap-sqr_binary64_387
*-commutative_binary64_350 frac-2neg_binary64_430 clear-num_binary64_418 flip3-+_binary64_422 flip-+_binary64_393
associate-/l/_binary64_366 inv-pow_binary64_504 pow-flip_binary64_493
Counts
4 → 320
Calls

4 calls:

92.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 (/.f64 PI.f64 2) (-.f64 b a)))
59.0ms
(*.f64 (/.f64 1 (+.f64 b a)) (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 (/.f64 PI.f64 2) (-.f64 b a))))
15.0ms
(/.f64 (/.f64 PI.f64 2) (-.f64 b a))
10.0ms
(/.f64 1 (+.f64 b a))
Compiler

Compiled 10484 to 5984 computations (42.9% saved)

series934.0ms (5.2%)

Error
0.0b
Counts
4 → 63
Calls

4 calls:

228.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 (/.f64 PI.f64 2) (-.f64 b a)))
214.0ms
(/.f64 (/.f64 PI.f64 2) (-.f64 b a))
211.0ms
(*.f64 (/.f64 1 (+.f64 b a)) (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 (/.f64 PI.f64 2) (-.f64 b a))))
149.0ms
(/.f64 1 (+.f64 b a))
Compiler

Compiled 3762 to 2772 computations (26.3% saved)

simplify235.0ms (1.3%)

Algorithm
egg-herbie
Counts
383 → 383
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049909486
149909486

prune1.0s (5.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3785383
Fresh6410
Picked101
Done000
Total3859394
Error
0.0b
Counts
394 → 9
Compiler

Compiled 11199 to 6106 computations (45.5% saved)

localize27.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1 a) (/.f64 1 b))
0.1b
(/.f64 (/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (+.f64 a b)) (-.f64 b a))
0.2b
(/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (+.f64 a b))
0.3b
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2))

rewrite759.0ms (4.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
133×times-frac_binary64_425
123×add-sqr-sqrt_binary64_441
118×*-un-lft-identity_binary64_419
48×add-cube-cbrt_binary64_454
32×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
29×difference-of-squares_binary64_388
25×distribute-lft-out--_binary64_371
19×associate-*l*_binary64_360
18×div-inv_binary64_416
16×associate-/r/_binary64_365
13×div-exp_binary64_470 cbrt-undiv_binary64_453 associate-*r*_binary64_359 cancel-sign-sub-inv_binary64_385
11×associate-/l*_binary64_364
associate-/r*_binary64_363
distribute-lft-out_binary64_370 associate-/l/_binary64_366
flip3-+_binary64_422 flip-+_binary64_393
pow1_binary64_480 prod-exp_binary64_468 add-log-exp_binary64_458 cbrt-unprod_binary64_452 frac-times_binary64_429 flip3--_binary64_423 flip--_binary64_394 associate-*l/_binary64_362
frac-sub_binary64_428
unswap-sqr_binary64_387 associate-*r/_binary64_361 frac-2neg_binary64_430 clear-num_binary64_418
pow-prod-down_binary64_490 *-commutative_binary64_350 diff-log_binary64_511 sub-neg_binary64_412
Counts
4 → 215
Calls

4 calls:

52.0ms
(/.f64 (/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (+.f64 a b)) (-.f64 b a))
48.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2))
44.0ms
(/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (+.f64 a b))
34.0ms
(-.f64 (/.f64 1 a) (/.f64 1 b))
Compiler

Compiled 6624 to 3640 computations (45% saved)

series827.0ms (4.6%)

Error
0.0b
Counts
4 → 60
Calls

4 calls:

216.0ms
(/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (+.f64 a b))
208.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2))
205.0ms
(/.f64 (/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (+.f64 a b)) (-.f64 b a))
112.0ms
(-.f64 (/.f64 1 a) (/.f64 1 b))
Compiler

Compiled 2643 to 1761 computations (33.4% saved)

simplify174.0ms (1%)

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
054837196

prune594.0ms (3.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2741275
Fresh088
Picked101
Done000
Total2759284
Error
0b
Counts
284 → 9
Compiler

Compiled 7218 to 3730 computations (48.3% saved)

localize26.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 b a))
0.2b
(*.f64 (/.f64 1 (+.f64 b a)) (/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (-.f64 b a)))
0.2b
(/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (-.f64 b a))
0.3b
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2))

rewrite647.0ms (3.6%)

Algorithm
rewrite-expression-head
Error
0b
Rules
82×add-exp-log_binary64_457
77×add-sqr-sqrt_binary64_441
72×*-un-lft-identity_binary64_419
64×times-frac_binary64_425
52×add-cbrt-cube_binary64_455
37×associate-*l*_binary64_360
35×add-cube-cbrt_binary64_454
31×div-exp_binary64_470
28×prod-exp_binary64_468
24×associate-*r*_binary64_359
18×cbrt-undiv_binary64_453
16×cbrt-unprod_binary64_452
12×difference-of-squares_binary64_388
10×distribute-lft-out--_binary64_371
pow1_binary64_480 div-inv_binary64_416 associate-/r*_binary64_363
associate-/r/_binary64_365
frac-times_binary64_429 associate-*l/_binary64_362 associate-/l/_binary64_366 distribute-lft-out_binary64_370
flip3--_binary64_423 flip--_binary64_394
unswap-sqr_binary64_387 1-exp_binary64_463 rec-exp_binary64_469
add-log-exp_binary64_458 frac-sub_binary64_428 associate-/l*_binary64_364
associate-*r/_binary64_361
pow-prod-down_binary64_490 *-commutative_binary64_350 frac-2neg_binary64_430 clear-num_binary64_418 flip3-+_binary64_422 flip-+_binary64_393
inv-pow_binary64_504 pow-flip_binary64_493
Counts
4 → 195
Calls

4 calls:

57.0ms
(*.f64 (/.f64 1 (+.f64 b a)) (/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (-.f64 b a)))
44.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2))
43.0ms
(/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (-.f64 b a))
10.0ms
(/.f64 1 (+.f64 b a))
Compiler

Compiled 6183 to 3650 computations (41% saved)

series809.0ms (4.5%)

Error
0b
Counts
4 → 54
Calls

4 calls:

197.0ms
(*.f64 (/.f64 1 (+.f64 b a)) (/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (-.f64 b a)))
195.0ms
(*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2))
194.0ms
(/.f64 (*.f64 (-.f64 (/.f64 1 a) (/.f64 1 b)) (/.f64 PI.f64 2)) (-.f64 b a))
137.0ms
(/.f64 1 (+.f64 b a))
Compiler

Compiled 2757 to 2005 computations (27.3% saved)

simplify149.0ms (0.8%)

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
054295438

prune505.0ms (2.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2490249
Fresh088
Picked011
Done000
Total2499258
Error
0b
Counts
258 → 9
Compiler

Compiled 6355 to 3577 computations (43.7% saved)

regimes1.2s (6.5%)

Accuracy

Total 0.3b remaining (99.3%)

Threshold costs 0.3b (99.3%)

Compiler

Compiled 9532 to 6924 computations (27.4% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04027
14027

end0.0ms (0%)

sample5.4s (30.2%)

Algorithm
intervals
Results
839.0ms8000×body128valid
38.0ms372×body128invalid
Compiler

Compiled 3201 to 2326 computations (27.3% saved)

Profiling

Loading profile data...