Details

Time bar (total: 3.6s)

analyze303.0ms (8.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
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)

sample82.0ms (2.3%)

Algorithm
intervals
Results
19.0ms256×body128valid
1.0ms12×body128invalid
Compiler

Compiled 49 to 37 computations (24.5% 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.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a)))
15.9b
(*.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.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.3b
(/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))
0.3b
(/.f64 (PI.f64) a)

series55.0ms (1.5%)

Counts
4 → 72
Calls

4 calls:

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

rewrite36.0ms (1%)

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:

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

simplify206.0ms (5.8%)

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

prune243.0ms (6.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2289237
Fresh101
Picked101
Done000
Total2309239
Error
0b
Counts
239 → 9
Alt Table
StatusErrorProgram
32.6b
(*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (/.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)))
1.0b
(*.f64 (/.f64 1/2 (+.f64 b a)) (*.f64 (/.f64 (*.f64 (cbrt.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))) (cbrt.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)))) (*.f64 (cbrt.f64 (-.f64 b a)) (cbrt.f64 (-.f64 b a)))) (/.f64 (cbrt.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a))) (cbrt.f64 (-.f64 b a)))))
0.3b
(/.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 b a)) (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a)))
15.8b
(*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 (*.f64 b b) (*.f64 a a))))
34.6b
(*.f64 (/.f64 (PI.f64) (*.f64 b b)) (-.f64 (/.f64 1/2 a) (/.f64 1/2 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))))
25.9b
(*.f64 1/2 (/.f64 (PI.f64) (*.f64 a (*.f64 a b))))
Compiler

Compiled 7048 to 2695 computations (61.8% saved)

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

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

simplify74.0ms (2.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

prune161.0ms (4.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1782180
Fresh358
Picked011
Done000
Total1818189
Error
0b
Counts
189 → 8
Alt Table
StatusErrorProgram
32.6b
(*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (/.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.3b
(/.f64 (*.f64 1/2 (/.f64 (PI.f64) (*.f64 a b))) (+.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 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))
0.7b
(/.f64 1/2 (/.f64 (+.f64 b a) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
34.6b
(*.f64 (/.f64 (PI.f64) (*.f64 b b)) (-.f64 (/.f64 1/2 a) (/.f64 1/2 b)))
25.9b
(*.f64 1/2 (/.f64 (PI.f64) (*.f64 a (*.f64 a b))))
Compiler

Compiled 4973 to 2019 computations (59.4% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series41.0ms (1.2%)

Counts
3 → 24
Calls

3 calls:

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

rewrite22.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
31×add-cbrt-cube_binary64
31×add-exp-log_binary64
14×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
10×times-frac_binary64
Counts
3 → 84
Calls

3 calls:

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

simplify61.0ms (1.7%)

Algorithm
egg-herbie
Rules
860×associate-/r*_binary64
606×associate-/l/_binary64
435×associate-/r/_binary64
248×fma-def_binary64
140×cancel-sign-sub-inv_binary64
Counts
108 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01812343
14742001
216141934
349691934

prune103.0ms (2.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1232125
Fresh336
Picked011
Done011
Total1267133
Error
0b
Counts
133 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 1/2 (/.f64 (PI.f64) (*.f64 a b))) (+.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.6b
(/.f64 1/2 (/.f64 (+.f64 b a) (/.f64 (PI.f64) (*.f64 a b))))
32.6b
(*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
0.6b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.3b
(/.f64 (*.f64 1/2 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))
34.6b
(*.f64 (/.f64 (PI.f64) (*.f64 b b)) (-.f64 (/.f64 1/2 a) (/.f64 1/2 b)))
Compiler

Compiled 2481 to 1038 computations (58.2% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (PI.f64) b)
0.3b
(/.f64 (PI.f64) a)
0.3b
(*.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.4b
(/.f64 (sqrt.f64 1/2) (+.f64 a b))

series47.0ms (1.3%)

Counts
3 → 48
Calls

3 calls:

31.0ms
(*.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.0ms
(/.f64 (sqrt.f64 1/2) (+.f64 a b))
4.0ms
(/.f64 (PI.f64) b)

rewrite48.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
66×add-exp-log_binary64
55×*-un-lft-identity_binary64
51×times-frac_binary64
48×add-cbrt-cube_binary64
41×add-sqr-sqrt_binary64
Counts
3 → 146
Calls

3 calls:

26.0ms
(*.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))))
5.0ms
(/.f64 (sqrt.f64 1/2) (+.f64 a b))
2.0ms
(/.f64 (PI.f64) b)

simplify151.0ms (4.2%)

Algorithm
egg-herbie
Rules
430×associate-/l/_binary64
300×fma-def_binary64
297×fma-neg_binary64
289×associate-/r/_binary64
219×distribute-rgt-in_binary64
Counts
194 → 226
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02865789
16324654
220894444
347684432
450214432

prune229.0ms (6.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2570257
Fresh044
Picked011
Done022
Total2577264
Error
0b
Counts
264 → 7
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 1/2 (/.f64 (PI.f64) (*.f64 a b))) (+.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.6b
(/.f64 1/2 (/.f64 (+.f64 b a) (/.f64 (PI.f64) (*.f64 a b))))
32.6b
(*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (*.f64 (/.f64 (sqrt.f64 1/2) (sqrt.f64 (+.f64 b a))) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
0.6b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.3b
(/.f64 (*.f64 1/2 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))) (+.f64 b a))
34.6b
(*.f64 (/.f64 (PI.f64) (*.f64 b b)) (-.f64 (/.f64 1/2 a) (/.f64 1/2 b)))
Compiler

Compiled 8139 to 3880 computations (52.3% saved)

regimes630.0ms (17.7%)

Accuracy

Total 0.2b remaining (90.7%)

Threshold costs 0.2b (90.7%)

Counts
167 → 1
Compiler

Compiled 11614 to 7416 computations (36.1% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11317
21317

end0.0ms (0%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

sample964.0ms (27%)

Algorithm
intervals
Results
617.0ms8000×body128valid
27.0ms354×body128invalid
Compiler

Compiled 168 to 117 computations (30.4% saved)

Profiling

Loading profile data...