Details

Time bar (total: 3.6s)

analyze321.0ms (8.8%)

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
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 24 to 18 computations (25% saved)

sample1.2s (34%)

Results
1.1s8256×body128valid
45.0ms353×body128invalid
Compiler

Compiled 71 to 53 computations (25.4% saved)

simplify36.0ms (1%)

Algorithm
egg-herbie
Rules
693×div-sub_binary64
599×times-frac_binary64
519×associate-/l*_binary64
357×associate-/l/_binary64
274×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01632
13729
29429
334529
4120728
5346828
6502028

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
14.6b
(*.f64 (*.f64 (/.f64 (PI.f64) 2) (/.f64 1 (-.f64 (*.f64 b b) (*.f64 a a)))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a)))
Compiler

Compiled 127 to 87 computations (31.5% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series47.0ms (1.3%)

Counts
4 → 72
Calls

4 calls:

18.0ms
(/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))
18.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a)))
8.0ms
(fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))
3.0ms
(/.f64 (PI.f64) a)

rewrite33.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt_binary64
59×*-un-lft-identity_binary64
55×times-frac_binary64
39×add-cube-cbrt_binary64
21×associate-*r*_binary64
Counts
4 → 143
Calls

4 calls:

14.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a)))
4.0ms
(/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))
2.0ms
(/.f64 (PI.f64) a)
0.0ms
(fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))

simplify202.0ms (5.6%)

Algorithm
egg-herbie
Rules
425×times-frac_binary64
380×associate-/l/_binary64
318×fma-neg_binary64
291×fma-def_binary64
232×distribute-rgt-in_binary64
Counts
215 → 237
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02655398
16764819
221334749
346294748
449894748
549984748
649724748

prune258.0ms (7.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New22710237
Fresh101
Picked101
Done000
Total22910239
Error
0b
Counts
239 → 10
Alt Table
StatusErrorProgram
22.4b
(*.f64 1/2 (/.f64 (PI.f64) (*.f64 a (*.f64 a b))))
0.3b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a))) (+.f64 b a))
0.4b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (*.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a)) (/.f64 (sqrt.f64 1/2) (+.f64 a b))))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 1 (/.f64 a (PI.f64)))) (-.f64 b a)))
31.6b
(*.f64 (/.f64 (PI.f64) (*.f64 b b)) (-.f64 (/.f64 1/2 a) (/.f64 1/2 b)))
0.3b
(/.f64 (*.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (/.f64 1/2 (+.f64 a b))) (-.f64 b a))
0.7b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a))) (cbrt.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a)))) (/.f64 1/2 (+.f64 a b))) (cbrt.f64 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
0.7b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (+.f64 b a)) (cbrt.f64 (+.f64 b a)))) (*.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a)) (/.f64 1/2 (cbrt.f64 (+.f64 a b)))))
0.5b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (*.f64 (*.f64 (cbrt.f64 (/.f64 (PI.f64) a)) (cbrt.f64 (/.f64 (PI.f64) a))) (cbrt.f64 (/.f64 (PI.f64) a)))) (-.f64 b a)))
Compiler

Compiled 7108 to 2717 computations (61.8% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1/2 (+.f64 b a))
0.2b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
0.7b
(/.f64 (PI.f64) (*.f64 a b))

series38.0ms (1.1%)

Counts
3 → 48
Calls

3 calls:

17.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
11.0ms
(/.f64 (PI.f64) (*.f64 a b))
10.0ms
(/.f64 1/2 (+.f64 b a))

rewrite24.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity_binary64
31×times-frac_binary64
31×add-cbrt-cube_binary64
31×add-exp-log_binary64
29×add-sqr-sqrt_binary64
Counts
3 → 111
Calls

3 calls:

11.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
4.0ms
(/.f64 1/2 (+.f64 b a))
3.0ms
(/.f64 (PI.f64) (*.f64 a b))

simplify105.0ms (2.9%)

Algorithm
egg-herbie
Rules
610×fma-neg_binary64
408×fma-def_binary64
359×associate-/l/_binary64
205×cancel-sign-sub-inv_binary64
200×associate-/r/_binary64
Counts
159 → 194
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02383408
16493007
222412905
345932905
450362905

prune193.0ms (5.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1904194
Fresh639
Picked101
Done000
Total1977204
Error
0b
Counts
204 → 7
Alt Table
StatusErrorProgram
31.6b
(*.f64 (/.f64 (PI.f64) (*.f64 b b)) (-.f64 (/.f64 1/2 a) (/.f64 1/2 b)))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 1 (/.f64 (*.f64 a b) (PI.f64))))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (*.f64 (/.f64 1 a) (/.f64 (PI.f64) b)))
0.6b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.3b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a))) (+.f64 b a))
0.4b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (*.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a)) (/.f64 (sqrt.f64 1/2) (+.f64 a b))))
0.2b
(/.f64 (*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64)) (*.f64 a b))
Compiler

Compiled 3994 to 1687 computations (57.8% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series32.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

17.0ms
(/.f64 (*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64)) (*.f64 a b))
16.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
28×add-cbrt-cube_binary64
28×add-exp-log_binary64
18×associate-*l*_binary64
17×*-un-lft-identity_binary64
16×add-sqr-sqrt_binary64
Counts
2 → 67
Calls

2 calls:

7.0ms
(/.f64 (*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64)) (*.f64 a b))
7.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64))

simplify92.0ms (2.5%)

Algorithm
egg-herbie
Rules
780×fma-neg_binary64
436×fma-def_binary64
365×associate-/r/_binary64
319×times-frac_binary64
227×cancel-sign-sub-inv_binary64
Counts
115 → 136
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02092922
15912531
223442399
345012399
451172399

prune172.0ms (4.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2023205
Fresh336
Picked101
Done000
Total2066212
Error
0b
Counts
212 → 6
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (*.f64 a b) (*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64))))
0.2b
(/.f64 (/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a)) (*.f64 a b))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (*.f64 (/.f64 1 a) (/.f64 (PI.f64) b)))
0.6b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.3b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a))) (+.f64 b a))
0.2b
(/.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (*.f64 a b) (PI.f64)))
Compiler

Compiled 4266 to 2037 computations (52.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a)) (*.f64 a b))
0.2b
(/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a))

series32.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

17.0ms
(/.f64 (/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a)) (*.f64 a b))
15.0ms
(/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a))

rewrite19.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
28×add-cbrt-cube_binary64
28×add-exp-log_binary64
22×times-frac_binary64
16×*-un-lft-identity_binary64
12×cbrt-undiv_binary64
Counts
2 → 73
Calls

2 calls:

8.0ms
(/.f64 (/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a)) (*.f64 a b))
5.0ms
(/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a))

simplify75.0ms (2.1%)

Algorithm
egg-herbie
Rules
756×associate-*l/_binary64
482×associate-/r/_binary64
473×fma-def_binary64
229×cancel-sign-sub-inv_binary64
201×times-frac_binary64
Counts
121 → 146
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02173142
16062756
222342616
353092616

prune114.0ms (3.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1451146
Fresh235
Picked011
Done000
Total1475152
Error
0b
Counts
152 → 5
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (*.f64 a b) (*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64))))
0.2b
(/.f64 (/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a)) (*.f64 a b))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (*.f64 (/.f64 1 a) (/.f64 (PI.f64) b)))
0.2b
(/.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (*.f64 a b) (PI.f64)))
3.5b
(/.f64 (/.f64 (/.f64 (*.f64 1/2 (PI.f64)) (+.f64 b a)) a) b)
Compiler

Compiled 2981 to 1359 computations (54.4% saved)

regimes485.0ms (13.3%)

Accuracy

Total 0.2b remaining (80%)

Threshold costs 0.2b (80%)

Counts
170 → 1
Compiler

Compiled 9511 to 6375 computations (33% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11317
21317

end65.0ms (1.8%)

Compiler

Compiled 95 to 67 computations (29.5% saved)

Profiling

Loading profile data...