Details

Time bar (total: 6.8s)

analyze1.4s (20.5%)

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
0%99.9%0.1%6
0%99.9%0.1%7
5.5%94.4%0.1%8
14%85.9%0.1%9
18%80.4%1.7%10
22.6%74.1%3.2%11
24.8%71%4.2%12
27.7%66.8%5.6%13
28.5%65.4%6.1%14
Compiler

Compiled 24 to 18 computations (25% saved)

sample2.0s (29.9%)

Results
1.2s8256×body128valid
767.0ms835×body8192exit
32.0ms195×body128invalid
Compiler

Compiled 71 to 53 computations (25.4% saved)

simplify37.0ms (0.5%)

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

prune6.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
0.2b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a)))
12.6b
(*.f64 (*.f64 (/.f64 (PI.f64) 2) (/.f64 1 (-.f64 (*.f64 b b) (*.f64 a a)))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
Compiler

Compiled 127 to 87 computations (31.5% saved)

localize11.0ms (0.2%)

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 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b 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.3b
(/.f64 (PI.f64) a)

series55.0ms (0.8%)

Counts
4 → 72
Calls

4 calls:

22.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a)))
18.0ms
(/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))
12.0ms
(fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))
2.0ms
(/.f64 (PI.f64) a)

rewrite35.0ms (0.5%)

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:

13.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))

simplify320.0ms (4.7%)

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
02655404
16764819
221334749
346294748
449894748
549984748
649724748

prune237.0ms (3.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2316237
Fresh011
Picked101
Done000
Total2327239
Error
0b
Counts
239 → 7
Alt Table
StatusErrorProgram
12.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 (PI.f64) (*.f64 a b)))
34.4b
(*.f64 (sqrt.f64 (/.f64 1/2 (+.f64 b a))) (*.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a)) (sqrt.f64 (/.f64 1/2 (+.f64 a b)))))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 1 (/.f64 (-.f64 b a) (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)))))
0.5b
(*.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 1/2 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))
0.9b
(*.f64 (/.f64 1/2 (+.f64 b a)) (*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))) (cbrt.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)))) (*.f64 (cbrt.f64 (-.f64 b a)) (cbrt.f64 (-.f64 b a)))) (/.f64 (cbrt.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))) (cbrt.f64 (-.f64 b a)))))
Compiler

Compiled 6998 to 2666 computations (61.9% saved)

localize12.0ms (0.2%)

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 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b 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)

series19.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

19.0ms
(/.f64 (*.f64 1/2 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
associate-/r*_binary64
times-frac_binary64
Counts
1 → 30
Calls

1 calls:

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

simplify75.0ms (1.1%)

Algorithm
egg-herbie
Rules
567×times-frac_binary64
544×associate-/l*_binary64
318×associate-/r*_binary64
307×associate-/l/_binary64
301×fma-neg_binary64
Counts
54 → 63
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01281928
13621664
212541598
347461598
449621598

prune217.0ms (3.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1791180
Fresh156
Picked011
Done000
Total1807187
Error
0b
Counts
187 → 7
Alt Table
StatusErrorProgram
12.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 (PI.f64) (*.f64 a b)))
34.4b
(*.f64 (sqrt.f64 (/.f64 1/2 (+.f64 b a))) (*.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a)) (sqrt.f64 (/.f64 1/2 (+.f64 a b)))))
0.5b
(*.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 1/2 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))
0.3b
(/.f64 (*.f64 1/2 (/.f64 1 (/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))))) (+.f64 b a))
0.9b
(*.f64 (/.f64 1/2 (+.f64 b a)) (*.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))) (cbrt.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)))) (*.f64 (cbrt.f64 (-.f64 b a)) (cbrt.f64 (-.f64 b a)))) (/.f64 (cbrt.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))) (cbrt.f64 (-.f64 b a)))))
Compiler

Compiled 5035 to 2033 computations (59.6% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series31.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

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

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-cbrt-cube_binary64
28×add-exp-log_binary64
20×*-un-lft-identity_binary64
19×times-frac_binary64
19×add-sqr-sqrt_binary64
Counts
2 → 76
Calls

2 calls:

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

simplify64.0ms (0.9%)

Algorithm
egg-herbie
Rules
841×associate-/r*_binary64
827×associate-/l*_binary64
338×associate-/l/_binary64
267×fma-def_binary64
181×associate-/r/_binary64
Counts
100 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01852370
15092035
218071969
353911969

prune113.0ms (1.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1223125
Fresh325
Picked101
Done011
Total1266132
Error
0b
Counts
132 → 6
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64)) (*.f64 a b))
0.5b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.5b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (sqrt.f64 (PI.f64)) (/.f64 (*.f64 a b) (sqrt.f64 (PI.f64)))))
0.5b
(*.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 1/2 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))
0.3b
(/.f64 (*.f64 1/2 (/.f64 1 (/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))))) (+.f64 b a))
Compiler

Compiled 2628 to 1100 computations (58.1% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)))
0.3b
(/.f64 (PI.f64) a)
0.3b
(/.f64 (PI.f64) b)
0.6b
(/.f64 1 (/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))))

series53.0ms (0.8%)

Counts
3 → 48
Calls

3 calls:

31.0ms
(/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)))
20.0ms
(/.f64 1 (/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))))
2.0ms
(/.f64 (PI.f64) b)

rewrite130.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
770×times-frac_binary64
656×add-sqr-sqrt_binary64
552×*-un-lft-identity_binary64
222×add-cube-cbrt_binary64
191×distribute-lft-out--_binary64
Counts
3 → 420
Calls

3 calls:

22.0ms
(/.f64 1 (/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))))
16.0ms
(/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)))
2.0ms
(/.f64 (PI.f64) b)

simplify385.0ms (5.6%)

Algorithm
egg-herbie
Rules
838×fma-def_binary64
492×times-frac_binary64
456×associate-/r/_binary64
323×associate-/l/_binary64
318×distribute-rgt-in_binary64
Counts
468 → 469
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
033314913
172414109
2221613710
3449613710
4508413710

prune1.0s (14.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New5000500
Fresh044
Picked011
Done011
Total5006506
Error
0b
Counts
506 → 6
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 (/.f64 1/2 (+.f64 b a)) (PI.f64)) (*.f64 a b))
0.5b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.5b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (sqrt.f64 (PI.f64)) (/.f64 (*.f64 a b) (sqrt.f64 (PI.f64)))))
0.5b
(*.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 1/2 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))
0.3b
(/.f64 (*.f64 1/2 (/.f64 1 (/.f64 (-.f64 b a) (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))))) (+.f64 b a))
Compiler

Compiled 16857 to 4685 computations (72.2% saved)

regimes431.0ms (6.3%)

Accuracy

Total 0.3b remaining (93%)

Threshold costs 0.3b (93%)

Counts
131 → 1
Compiler

Compiled 9313 to 5880 computations (36.9% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01428
11828
22228
32428
42528
52528

end94.0ms (1.4%)

Compiler

Compiled 149 to 100 computations (32.9% saved)

Profiling

Loading profile data...