Details

Time bar (total: 12.1s)

analyze1.7s (13.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
12.5%87.3%0.2%9
18.7%81.1%0.2%10
21.8%67.1%11.1%11
21.8%67.1%11.1%12
32.7%56.1%11.1%13
35.1%53%11.9%14
Compiler

Compiled 20 to 15 computations (25% saved)

sample6.1s (50.4%)

Results
1.6s1717×body1024valid
1.5s2047×body1024invalid
972.0ms4487×body128valid
584.0ms1278×body512valid
518.0ms2671×body128invalid
398.0ms964×body512invalid
220.0ms708×body256valid
154.0ms505×body256invalid
82.0ms66×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify79.0ms (0.7%)

Algorithm
egg-herbie
Rules
745×fma-def_binary64
657×div-sub_binary64
464×fma-neg_binary64
424×times-frac_binary64
411×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01522
12922
25322
310522
423322
554022
6124222
7224222
8350122
9449022
10497622

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
19.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
19.3b
(fma.f64 (*.f64 J (-.f64 (exp.f64 l) (exp.f64 (neg.f64 l)))) (cos.f64 (/.f64 K 2)) U)
Compiler

Compiled 69 to 44 computations (36.2% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 J (-.f64 (exp.f64 l) (exp.f64 (neg.f64 l)))) (cos.f64 (/.f64 K 2)) U)
0.0b
(*.f64 J (-.f64 (exp.f64 l) (exp.f64 (neg.f64 l))))
5.7b
(-.f64 (exp.f64 l) (exp.f64 (neg.f64 l)))

series50.0ms (0.4%)

Counts
3 → 80
Calls

3 calls:

37.0ms
(fma.f64 (*.f64 J (-.f64 (exp.f64 l) (exp.f64 (neg.f64 l)))) (cos.f64 (/.f64 K 2)) U)
11.0ms
(*.f64 J (-.f64 (exp.f64 l) (exp.f64 (neg.f64 l))))
2.0ms
(-.f64 (exp.f64 l) (exp.f64 (neg.f64 l)))

rewrite58.0ms (0.5%)

Algorithm
egg-rewrite
Counts
3 → 0
Calls

3 calls:

24.0ms
(fma.f64 (*.f64 J (-.f64 (exp.f64 l) (exp.f64 (neg.f64 l)))) (cos.f64 (/.f64 K 2)) U)
18.0ms
(*.f64 J (-.f64 (exp.f64 l) (exp.f64 (neg.f64 l))))
16.0ms
(-.f64 (exp.f64 l) (exp.f64 (neg.f64 l)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061
11301
2711
081
11691
2731
0141
12951
2331

simplify127.0ms (1%)

Algorithm
egg-herbie
Rules
921×fma-def_binary64
524×associate-*l*_binary64
430×sub-neg_binary64
401×associate-*r*_binary64
288×associate-+l+_binary64
Counts
80 → 44
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01422023
13671649
211811604
345101604
448091604
549621604
649331604

prune51.0ms (0.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New40444
Fresh000
Picked101
Done000
Total41445
Error
0.0b
Counts
45 → 4
Alt Table
StatusErrorProgram
0.3b
(fma.f64 (*.f64 J (cos.f64 (*.f64 1/2 K))) (fma.f64 2 l (*.f64 1/3 (pow.f64 l 3))) U)
0.3b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))) U))
0.3b
(fma.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5))))) (cos.f64 (/.f64 K 2)) U)
44.0b
(-.f64 (+.f64 (fma.f64 1/8 (*.f64 (/.f64 J (exp.f64 l)) (*.f64 K K)) U) (*.f64 (exp.f64 l) (-.f64 J (*.f64 1/8 (*.f64 J (*.f64 K K)))))) (/.f64 J (exp.f64 l)))
Compiler

Compiled 1251 to 747 computations (40.3% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))
0.1b
(*.f64 (cos.f64 (*.f64 1/2 K)) J)
0.1b
(*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J)))
5.8b
(*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))

series103.0ms (0.8%)

Counts
4 → 64
Calls

4 calls:

41.0ms
(*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J)))
34.0ms
(*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))
19.0ms
(*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))
8.0ms
(*.f64 (cos.f64 (*.f64 1/2 K)) J)

rewrite290.0ms (2.4%)

Algorithm
egg-rewrite
Rules
44×egg
37×egg
36×egg
32×egg
Counts
4 → 149
Calls

4 calls:

114.0ms
(*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))
73.0ms
(*.f64 (cos.f64 (*.f64 1/2 K)) J)
53.0ms
(*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J)))
47.0ms
(*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01115
122415
2245215
3495715
4497215
5493915
01318
126718
2292318
3494418
079
11389
215289
348939
451349
0912
117912
2204412
3494312

simplify69.0ms (0.6%)

Algorithm
egg-herbie
Rules
752×distribute-rgt-neg-in_binary64
730×associate-*l*_binary64
715×distribute-lft-neg-in_binary64
674×associate-*r*_binary64
408×fma-def_binary64
Counts
213 → 185
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0701066
12231007
2800936
33647936
45353936

prune301.0ms (2.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2214225
Fresh123
Picked011
Done000
Total2227229
Error
0b
Counts
229 → 7
Alt Table
StatusErrorProgram
44.0b
(-.f64 (+.f64 (fma.f64 1/8 (*.f64 (/.f64 J (exp.f64 l)) (*.f64 K K)) U) (*.f64 (exp.f64 l) (-.f64 J (*.f64 1/8 (*.f64 J (*.f64 K K)))))) (/.f64 J (exp.f64 l)))
16.3b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (sqrt.f64 (cos.f64 (*.f64 1/2 K))) (*.f64 (sqrt.f64 (cos.f64 (*.f64 1/2 K))) J)))) U))
0.3b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))) U))
0.3b
(fma.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5))))) (cos.f64 (/.f64 K 2)) U)
8.5b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (expm1.f64 (log1p.f64 (*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))))) U))
0.7b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (pow.f64 (cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J)) 3))) U))
17.1b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (cbrt.f64 (*.f64 J J)) (*.f64 (cbrt.f64 J) (cos.f64 (*.f64 1/2 K)))))) U))
Compiler

Compiled 7278 to 5287 computations (27.4% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))))
0.0b
(*.f64 1/60 (pow.f64 l 5))
0.1b
(fma.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5))))) (cos.f64 (/.f64 K 2)) U)
0.1b
(fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))

series161.0ms (1.3%)

Counts
4 → 84
Calls

4 calls:

114.0ms
(fma.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5))))) (cos.f64 (/.f64 K 2)) U)
39.0ms
(*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))))
5.0ms
(fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))
3.0ms
(*.f64 1/60 (pow.f64 l 5))

rewrite255.0ms (2.1%)

Algorithm
egg-rewrite
Rules
43×egg
36×egg
23×egg
23×egg
Counts
4 → 125
Calls

4 calls:

80.0ms
(*.f64 1/60 (pow.f64 l 5))
67.0ms
(fma.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5))))) (cos.f64 (/.f64 K 2)) U)
57.0ms
(*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))))
48.0ms
(fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
121314
2213014
3499814
01930
139930
2427730
3526430
067
11277
213107
349447
464547
01421
129321
2298621
3503821

simplify105.0ms (0.9%)

Algorithm
egg-herbie
Rules
771×associate-*r*_binary64
607×sub-neg_binary64
506×associate-+l+_binary64
406×associate--l+_binary64
360×cancel-sign-sub-inv_binary64
Counts
209 → 166
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01312896
13452553
212612149
344632149
450522149

prune283.0ms (2.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1651166
Fresh145
Picked011
Done011
Total1667173
Error
0b
Counts
173 → 7
Alt Table
StatusErrorProgram
0.7b
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))))) 3) (cos.f64 (/.f64 K 2)) U)
0.3b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))) U))
0.3b
(fma.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5))))) (cos.f64 (/.f64 K 2)) U)
8.5b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (expm1.f64 (log1p.f64 (*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))))) U))
0.7b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (pow.f64 (cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J)) 3))) U))
44.0b
(-.f64 (+.f64 (fma.f64 1/8 (*.f64 (/.f64 J (exp.f64 l)) (*.f64 K K)) U) (*.f64 (exp.f64 l) (-.f64 J (*.f64 1/8 (*.f64 J (*.f64 K K)))))) (/.f64 J (exp.f64 l)))
17.1b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (cbrt.f64 (*.f64 J J)) (*.f64 (cbrt.f64 J) (cos.f64 (*.f64 1/2 K)))))) U))
Compiler

Compiled 5209 to 3829 computations (26.5% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J)))
0.6b
(cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J))
0.8b
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J)) 3)
5.8b
(*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))

series989.0ms (8.1%)

Counts
2 → 48
Calls

2 calls:

512.0ms
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J)) 3)
477.0ms
(cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J))

rewrite93.0ms (0.8%)

Algorithm
egg-rewrite
Rules
40×egg
26×egg
Counts
2 → 66
Calls

2 calls:

47.0ms
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J)) 3)
45.0ms
(cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0109
11879
219869
349379
0811
115611
2172311
3525911

simplify97.0ms (0.8%)

Algorithm
egg-herbie
Rules
525×fma-neg_binary64
351×distribute-rgt-neg-in_binary64
345×distribute-lft-neg-in_binary64
226×unswap-sqr_binary64
211×associate-*r*_binary64
Counts
114 → 91
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
069800
1194793
2515704
31793584
44709576
54996576
64921576

prune289.0ms (2.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1910191
Fresh044
Picked011
Done022
Total1917198
Error
0b
Counts
198 → 7
Alt Table
StatusErrorProgram
0.7b
(fma.f64 (pow.f64 (cbrt.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5)))))) 3) (cos.f64 (/.f64 K 2)) U)
0.3b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))) U))
0.3b
(fma.f64 (*.f64 J (fma.f64 2 l (fma.f64 1/3 (pow.f64 l 3) (*.f64 1/60 (pow.f64 l 5))))) (cos.f64 (/.f64 K 2)) U)
8.5b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (expm1.f64 (log1p.f64 (*.f64 l (*.f64 (cos.f64 (*.f64 1/2 K)) J))))) U))
0.7b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (pow.f64 (cbrt.f64 (*.f64 (cos.f64 (*.f64 1/2 K)) J)) 3))) U))
44.0b
(-.f64 (+.f64 (fma.f64 1/8 (*.f64 (/.f64 J (exp.f64 l)) (*.f64 K K)) U) (*.f64 (exp.f64 l) (-.f64 J (*.f64 1/8 (*.f64 J (*.f64 K K)))))) (/.f64 J (exp.f64 l)))
17.1b
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 l 3) (*.f64 (cos.f64 (*.f64 1/2 K)) J))) (+.f64 (*.f64 2 (*.f64 l (*.f64 (cbrt.f64 (*.f64 J J)) (*.f64 (cbrt.f64 J) (cos.f64 (*.f64 1/2 K)))))) U))
Compiler

Compiled 6561 to 4930 computations (24.9% saved)

regimes704.0ms (5.8%)

Accuracy

Total 0.2b remaining (53.1%)

Threshold costs 0.2b (53.1%)

Counts
57 → 1
Compiler

Compiled 16314 to 12368 computations (24.2% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01938
12738
22738

end164.0ms (1.3%)

Compiler

Compiled 271 to 199 computations (26.6% saved)

Profiling

Loading profile data...