Details

Time bar (total: 4.0s)

analyze335.0ms (8.4%)

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)

sample29.0ms (0.7%)

Algorithm
intervals
Results
20.0ms256×body128valid
1.0ms13×body128invalid
Compiler

Compiled 49 to 37 computations (24.5% saved)

simplify36.0ms (0.9%)

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

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
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.3b
(*.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)

localize13.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 (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)))

series48.0ms (1.2%)

Counts
4 → 72
Calls

4 calls:

20.0ms
(/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))
17.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a)))
9.0ms
(fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))
2.0ms
(/.f64 (PI.f64) a)

rewrite34.0ms (0.8%)

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

simplify208.0ms (5.2%)

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

prune277.0ms (7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2298237
Fresh101
Picked101
Done000
Total2318239
Error
0b
Counts
239 → 8
Alt Table
StatusErrorProgram
0.6b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (PI.f64) (cbrt.f64 a)))) (-.f64 b a)))
16.3b
(*.f64 (*.f64 (/.f64 1/2 (+.f64 a b)) (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 (*.f64 b b) (*.f64 a a)))) (+.f64 b a))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.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.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))))
12.2b
(/.f64 (*.f64 1/2 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b))) (-.f64 (*.f64 b b) (*.f64 a a)))
0.7b
(*.f64 (*.f64 (/.f64 1/2 (+.f64 a b)) (*.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 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))) (-.f64 b a)))
12.3b
(*.f64 (/.f64 1/2 (-.f64 (*.f64 b b) (*.f64 a a))) (*.f64 (-.f64 b a) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
Compiler

Compiled 7040 to 2691 computations (61.8% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series19.0ms (0.5%)

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

rewrite11.0ms (0.3%)

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

simplify73.0ms (1.8%)

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

prune211.0ms (5.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1791180
Fresh167
Picked101
Done000
Total1817188
Error
0b
Counts
188 → 7
Alt Table
StatusErrorProgram
16.3b
(*.f64 (*.f64 (/.f64 1/2 (+.f64 a b)) (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 (*.f64 b b) (*.f64 a a)))) (+.f64 b a))
0.2b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) b) (/.f64 (PI.f64) a)) (-.f64 a b))) (+.f64 b a))
0.6b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (PI.f64) (cbrt.f64 a)))) (-.f64 b a)))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
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.7b
(*.f64 (*.f64 (/.f64 1/2 (+.f64 a b)) (*.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 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))) (-.f64 b a)))
12.3b
(*.f64 (/.f64 1/2 (-.f64 (*.f64 b b) (*.f64 a a))) (*.f64 (-.f64 b a) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
Compiler

Compiled 5059 to 2047 computations (59.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series39.0ms (1%)

Counts
3 → 48
Calls

3 calls:

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

rewrite62.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
142×add-sqr-sqrt_binary64
133×times-frac_binary64
122×*-un-lft-identity_binary64
44×add-cube-cbrt_binary64
43×distribute-lft-out--_binary64
Counts
3 → 156
Calls

3 calls:

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

simplify132.0ms (3.3%)

Algorithm
egg-herbie
Rules
664×times-frac_binary64
315×fma-def_binary64
291×distribute-rgt-in_binary64
265×distribute-lft-in_binary64
145×sub-neg_binary64
Counts
204 → 203
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03135679
18065327
222425258
350215258

prune221.0ms (5.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2313234
Fresh336
Picked011
Done000
Total2347241
Error
0b
Counts
241 → 7
Alt Table
StatusErrorProgram
0.5b
(/.f64 1/2 (/.f64 (+.f64 b a) (/.f64 (-.f64 (/.f64 (PI.f64) b) (/.f64 (PI.f64) a)) (-.f64 a b))))
0.7b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 (PI.f64) a) (*.f64 b (PI.f64))) (*.f64 (-.f64 a b) (*.f64 b a)))) (+.f64 b a))
0.2b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) b) (/.f64 (PI.f64) a)) (-.f64 a b))) (+.f64 b a))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
0.3b
(*.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) b) (/.f64 (PI.f64) a)) (-.f64 a b))) (/.f64 1 (+.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.7b
(*.f64 (*.f64 (/.f64 1/2 (+.f64 a b)) (*.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 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))) (-.f64 b a)))
Compiler

Compiled 6544 to 1867 computations (71.5% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series17.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

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

rewrite32.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
40×add-exp-log_binary64
22×add-cbrt-cube_binary64
20×prod-exp_binary64
18×associate-*r*_binary64
15×*-un-lft-identity_binary64
Counts
1 → 53
Calls

1 calls:

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

simplify71.0ms (1.8%)

Algorithm
egg-herbie
Rules
615×associate-*l/_binary64
467×associate-/l*_binary64
349×times-frac_binary64
242×associate-/r*_binary64
240×fma-def_binary64
Counts
77 → 87
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01512665
14262241
214432175
352122175

prune260.0ms (6.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2580258
Fresh055
Picked011
Done011
Total2587265
Error
0b
Counts
265 → 7
Alt Table
StatusErrorProgram
0.5b
(/.f64 1/2 (/.f64 (+.f64 b a) (/.f64 (-.f64 (/.f64 (PI.f64) b) (/.f64 (PI.f64) a)) (-.f64 a b))))
0.7b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 (PI.f64) a) (*.f64 b (PI.f64))) (*.f64 (-.f64 a b) (*.f64 b a)))) (+.f64 b a))
0.2b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) b) (/.f64 (PI.f64) a)) (-.f64 a b))) (+.f64 b a))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
0.3b
(*.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) b) (/.f64 (PI.f64) a)) (-.f64 a b))) (/.f64 1 (+.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.7b
(*.f64 (*.f64 (/.f64 1/2 (+.f64 a b)) (*.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 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))) (-.f64 b a)))
Compiler

Compiled 7577 to 2472 computations (67.4% saved)

regimes839.0ms (21.1%)

Accuracy

Total 0.2b remaining (91.3%)

Threshold costs 0.2b (91.3%)

Counts
243 → 1
Compiler

Compiled 19207 to 11829 computations (38.4% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01327
11927
22927
33527
43927
54027
64027

end1.0ms (0%)

Compiler

Compiled 19 to 12 computations (36.8% saved)

sample975.0ms (24.5%)

Algorithm
intervals
Results
617.0ms8000×body128valid
24.0ms353×body128invalid
Compiler

Compiled 204 to 130 computations (36.3% saved)

Profiling

Loading profile data...