Details

Time bar (total: 5.1s)

analyze316.0ms (6.3%)

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.3s (25.2%)

Results
1.2s8256×body128valid
46.0ms351×body128invalid
Compiler

Compiled 71 to 53 computations (25.4% saved)

simplify37.0ms (0.7%)

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

prune7.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
14.3b
(*.f64 (*.f64 (/.f64 (PI.f64) 2) (/.f64 1 (-.f64 (*.f64 b b) (*.f64 a a)))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
0.5b
(*.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)

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

series49.0ms (1%)

Counts
4 → 72
Calls

4 calls:

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

rewrite32.0ms (0.6%)

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

simplify219.0ms (4.3%)

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

prune242.0ms (4.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2316237
Fresh011
Picked101
Done000
Total2327239
Error
0.0b
Counts
239 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
14.3b
(*.f64 (*.f64 (/.f64 (PI.f64) 2) (/.f64 1 (-.f64 (*.f64 b b) (*.f64 a a)))) (-.f64 (/.f64 1 a) (/.f64 1 b)))
23.8b
(*.f64 1/2 (/.f64 (PI.f64) (*.f64 a (*.f64 a b))))
1.1b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (*.f64 (cbrt.f64 (-.f64 b a)) (cbrt.f64 (-.f64 b a)))) (cbrt.f64 (-.f64 b a))))
0.5b
(/.f64 (*.f64 1/2 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a))) (+.f64 b a))
0.6b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (*.f64 (/.f64 (sqrt.f64 1/2) (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
29.5b
(*.f64 (*.f64 (sqrt.f64 (/.f64 (-.f64 (/.f64 (PI.f64) a) (/.f64 (PI.f64) b)) (-.f64 b a))) (/.f64 1/2 (+.f64 a b))) (sqrt.f64 (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
Compiler

Compiled 6954 to 2636 computations (62.1% saved)

localize7.0ms (0.1%)

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

series42.0ms (0.8%)

Counts
3 → 48
Calls

3 calls:

18.0ms
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
13.0ms
(/.f64 1/2 (+.f64 b a))
10.0ms
(/.f64 (PI.f64) (*.f64 a b))

rewrite31.0ms (0.6%)

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:

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

simplify143.0ms (2.8%)

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

prune188.0ms (3.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1895194
Fresh516
Picked011
Done000
Total1947201
Error
0b
Counts
201 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (+.f64 a b))) (/.f64 (PI.f64) (*.f64 a b)))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (/.f64 (PI.f64) a) b))
3.7b
(*.f64 (/.f64 (/.f64 1/2 a) (+.f64 a b)) (/.f64 (PI.f64) b))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
0.8b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
17.9b
(*.f64 (sqrt.f64 (*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))) (sqrt.f64 (*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))))
0.6b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (*.f64 (/.f64 (sqrt.f64 1/2) (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
Compiler

Compiled 3995 to 1682 computations (57.9% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series28.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

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

rewrite42.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
162×times-frac_binary64
108×add-sqr-sqrt_binary64
93×*-un-lft-identity_binary64
87×add-cube-cbrt_binary64
43×associate-*r*_binary64
Counts
2 → 165
Calls

2 calls:

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

simplify176.0ms (3.5%)

Algorithm
egg-herbie
Rules
691×fma-def_binary64
631×associate-/r/_binary64
365×fma-neg_binary64
355×associate-*r/_binary64
253×associate-*l/_binary64
Counts
213 → 276
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03214667
19044314
229844248
345864248
453114248

prune330.0ms (6.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3751376
Fresh235
Picked011
Done011
Total3776383
Error
0b
Counts
383 → 6
Alt Table
StatusErrorProgram
0.4b
(*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (+.f64 a b))) (/.f64 (PI.f64) (*.f64 a b)))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (/.f64 (PI.f64) a) b))
0.4b
(*.f64 (*.f64 (PI.f64) (/.f64 1/2 (+.f64 a b))) (/.f64 (/.f64 1 a) b))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
0.8b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.6b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (*.f64 (/.f64 (sqrt.f64 1/2) (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
Compiler

Compiled 7844 to 2762 computations (64.8% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series56.0ms (1.1%)

Counts
4 → 96
Calls

4 calls:

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

rewrite53.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
166×times-frac_binary64
113×*-un-lft-identity_binary64
104×add-sqr-sqrt_binary64
99×add-cube-cbrt_binary64
80×add-exp-log_binary64
Counts
4 → 231
Calls

4 calls:

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

simplify218.0ms (4.3%)

Algorithm
egg-herbie
Rules
595×fma-def_binary64
333×associate-*l*_binary64
319×fma-neg_binary64
317×cancel-sign-sub-inv_binary64
256×associate-*r/_binary64
Counts
327 → 382
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03506579
19345876
234785768
347145768
449945768
549665768

prune360.0ms (7.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3820382
Fresh033
Picked011
Done022
Total3826388
Error
0b
Counts
388 → 6
Alt Table
StatusErrorProgram
0.4b
(*.f64 (*.f64 (sqrt.f64 1/2) (/.f64 (sqrt.f64 1/2) (+.f64 a b))) (/.f64 (PI.f64) (*.f64 a b)))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (/.f64 (PI.f64) a) b))
0.4b
(*.f64 (*.f64 (PI.f64) (/.f64 1/2 (+.f64 a b))) (/.f64 (/.f64 1 a) b))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b a)) (/.f64 (PI.f64) (*.f64 a b)))
0.8b
(/.f64 (*.f64 1/2 (PI.f64)) (*.f64 (+.f64 b a) (*.f64 a b)))
0.6b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (*.f64 (/.f64 (sqrt.f64 1/2) (+.f64 b a)) (/.f64 (fma.f64 (PI.f64) (/.f64 -1 b) (/.f64 (PI.f64) a)) (-.f64 b a))))
Compiler

Compiled 8549 to 4655 computations (45.5% saved)

regimes1.1s (21.7%)

Accuracy

Total 0.2b remaining (93.1%)

Threshold costs 0.2b (93.1%)

Counts
325 → 1
Compiler

Compiled 21016 to 13914 computations (33.8% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11317
21317

end82.0ms (1.6%)

Compiler

Compiled 123 to 88 computations (28.5% saved)

Profiling

Loading profile data...