Details

Time bar (total: 5.7s)

analyze90.0ms (1.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%6.2%93.8%0
0%6.2%93.8%1
3.1%3.1%93.8%2
3.1%3.1%93.8%3
4.7%1.6%93.8%4
4.7%1.6%93.8%5
5.5%0.8%93.8%6
5.5%0.8%93.8%7
5.8%0.4%93.8%8
5.8%0.4%93.8%9
6%0.2%93.8%10
6%0.2%93.8%11
6.1%0.1%93.8%12
6.1%0.1%93.8%13
6.2%0%93.8%14
Compiler

Compiled 36 to 30 computations (16.7% saved)

sample2.0s (34.1%)

Results
1.9s8256×body128valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify50.0ms (0.9%)

Algorithm
egg-herbie
Rules
818×unswap-sqr_binary64
500×sqr-pow_binary64
281×cube-prod_binary64
277×*-commutative_binary64
242×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02024
13824
26524
311424
425524
573924
6100724
7133724
8262124
9272324
10288424
11309324
12340024
13382824
14439224
Stop Event
node limit
Counts
1 → 2

prune4.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
0.4b
(fma.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (*.f64 1/6 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) 1/2)
0.4b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
Compiler

Compiled 112 to 98 computations (12.5% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.1b
(pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))

series400.0ms (7%)

Counts
4 → 60
Calls

4 calls:

229.0ms
(pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)
139.0ms
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
29.0ms
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))
3.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)

rewrite65.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
572×prod-diff_binary64
183×add-sqr-sqrt_binary64
175×log1p-expm1-u_binary64
175×expm1-log1p-u_binary64
171×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02051
139451
2440151
Stop Event
node limit
Counts
4 → 83
Calls

4 calls:

63.0ms
(+.f64 (*.f64 (*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
63.0ms
(pow.f64 (*.f64 -2 (log.f64 u1)) 1/2)
63.0ms
(*.f64 (*.f64 2 (PI.f64)) u2)
63.0ms
(*.f64 (/.f64 1 6) (pow.f64 (*.f64 -2 (log.f64 u1)) 1/2))

simplify58.0ms (1%)

Algorithm
egg-herbie
Rules
726×unswap-sqr_binary64
433×fma-neg_binary64
309×distribute-rgt-neg-in_binary64
298×distribute-lft-neg-in_binary64
285×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0761098
11931050
25141020
32142998
44345998
Stop Event
node limit
Counts
143 → 104

prune186.0ms (3.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh101
Picked101
Done000
Total1006106
Error
0b
Counts
106 → 6
Alt Table
StatusErrorProgram
0.5b
(+.f64 (*.f64 (exp.f64 (log.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1)))))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.2b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.7b
(+.f64 (*.f64 (pow.f64 (sqrt.f64 (*.f64 1/6 (sqrt.f64 (*.f64 -2 (log.f64 u1))))) 2) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.5b
(*.f64 (+.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2) (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) -1/4) (/.f64 1 (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) -1/2)))
0.3b
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
0.5b
(-.f64 (/.f64 (*.f64 (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2) (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) -1/2)) (/.f64 1/4 (fma.f64 1/6 (*.f64 (sqrt.f64 (*.f64 -2 (log.f64 u1))) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2)))) -1/2)))
Compiler

Compiled 2806 to 2143 computations (23.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.1b
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
0.3b
(*.f64 (*.f64 2 (PI.f64)) u2)
0.4b
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

series183.0ms (3.2%)

Counts
3 → 48
Calls

3 calls:

138.0ms
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
24.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
22.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

rewrite61.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
520×prod-diff_binary64
167×add-sqr-sqrt_binary64
159×add-log-exp_binary64
159×log1p-expm1-u_binary64
159×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01744
135335
2408035
Stop Event
node limit
Counts
3 → 77
Calls

3 calls:

59.0ms
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
59.0ms
(sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36))
59.0ms
(*.f64 (*.f64 -2 (log.f64 u1)) 1/36)

simplify49.0ms (0.8%)

Algorithm
egg-herbie
Rules
726×unswap-sqr_binary64
416×fma-neg_binary64
312×distribute-rgt-neg-in_binary64
303×distribute-lft-neg-in_binary64
266×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
069826
1175814
2455786
32044774
44130774
Stop Event
node limit
Counts
125 → 97

prune129.0ms (2.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1103113
Fresh415
Picked011
Done000
Total1145119
Error
0b
Counts
119 → 5
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
0.5b
(-.f64 (/.f64 (*.f64 (*.f64 (log.f64 u1) -1/18) (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2)) (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) -1/2)) (/.f64 1/4 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) -1/2)))
0.5b
(+.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (log.f64 u1) -1/18) 3/2)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.3b
(+.f64 (*.f64 (sqrt.f64 (expm1.f64 (log1p.f64 (*.f64 (log.f64 u1) -1/18)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.2b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
Compiler

Compiled 2553 to 1873 computations (26.6% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (neg.f64 (log.f64 u1)))
0.3b
(*.f64 u2 (PI.f64))
0.4b
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64))))))
0.4b
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)

series310.0ms (5.4%)

Counts
4 → 68
Calls

4 calls:

143.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64))))))
143.0ms
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
22.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
2.0ms
(*.f64 u2 (PI.f64))

rewrite58.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
575×prod-diff_binary64
168×add-sqr-sqrt_binary64
158×log1p-expm1-u_binary64
158×expm1-log1p-u_binary64
157×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01764
134954
2407354
Stop Event
node limit
Counts
4 → 78
Calls

4 calls:

56.0ms
(sqrt.f64 (neg.f64 (log.f64 u1)))
56.0ms
(*.f64 u2 (PI.f64))
56.0ms
(*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64))))))
56.0ms
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)

simplify57.0ms (1%)

Algorithm
egg-herbie
Rules
682×distribute-rgt-neg-in_binary64
617×associate-*r*_binary64
604×associate-*l*_binary64
256×fma-def_binary64
252×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0741728
12131684
27121596
338521596
Stop Event
node limit
Counts
146 → 106

prune84.0ms (1.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1051106
Fresh123
Picked011
Done011
Total1065111
Error
0b
Counts
111 → 5
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
0.5b
(-.f64 (/.f64 (*.f64 (*.f64 (log.f64 u1) -1/18) (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2)) (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) -1/2)) (/.f64 1/4 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) -1/2)))
0.3b
(+.f64 (fma.f64 (sqrt.f64 2) (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2) (*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (neg.f64 (log.f64 u1)))) (+.f64 (*.f64 1/9 (*.f64 (pow.f64 u2 4) (pow.f64 (PI.f64) 4))) (*.f64 (pow.f64 (PI.f64) 2) (*.f64 u2 (*.f64 u2 -1/3))))))
0.3b
(+.f64 (*.f64 (sqrt.f64 (expm1.f64 (log1p.f64 (*.f64 (log.f64 u1) -1/18)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.2b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
Compiler

Compiled 2616 to 1877 computations (28.2% saved)

localize22.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(fma.f64 (sqrt.f64 2) (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2)
0.4b
(*.f64 (sqrt.f64 2) (sqrt.f64 (neg.f64 (log.f64 u1))))
0.4b
(*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1))))
1.6b
(pow.f64 (PI.f64) 4)

series72.0ms (1.3%)

Counts
4 → 28
Calls

4 calls:

25.0ms
(fma.f64 (sqrt.f64 2) (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2)
23.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (neg.f64 (log.f64 u1))))
23.0ms
(*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1))))
0.0ms
(pow.f64 (PI.f64) 4)

rewrite50.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
558×log-prod_binary64
224×expm1-udef_binary64
224×log1p-udef_binary64
201×log-pow_binary64
137×add-sqr-sqrt_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01541
130735
2332433
Stop Event
node limit
Counts
4 → 80
Calls

4 calls:

49.0ms
(fma.f64 (sqrt.f64 2) (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2)
49.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (neg.f64 (log.f64 u1))))
49.0ms
(*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1))))
49.0ms
(pow.f64 (PI.f64) 4)

simplify54.0ms (0.9%)

Algorithm
egg-herbie
Rules
884×fma-neg_binary64
689×fma-def_binary64
646×distribute-rgt-in_binary64
448×distribute-lft-in_binary64
265×distribute-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
030368
155368
279368
3116368
4168368
5332368
6483368
71121368
82274368
92932368
103470368
114053368
124732368
Stop Event
node limit
Counts
108 → 90

prune97.0ms (1.7%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh022
Picked011
Done022
Total90595
Error
0b
Counts
95 → 5
Alt Table
StatusErrorProgram
0.3b
(fma.f64 1/6 (*.f64 (sqrt.f64 (neg.f64 (log.f64 u1))) (*.f64 (sqrt.f64 2) (cos.f64 (*.f64 2 (*.f64 u2 (PI.f64)))))) 1/2)
0.5b
(-.f64 (/.f64 (*.f64 (*.f64 (log.f64 u1) -1/18) (pow.f64 (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) 2)) (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) -1/2)) (/.f64 1/4 (fma.f64 (sqrt.f64 (*.f64 (log.f64 u1) -1/18)) (cos.f64 (*.f64 2 (*.f64 (PI.f64) u2))) -1/2)))
0.3b
(+.f64 (fma.f64 (sqrt.f64 2) (*.f64 1/6 (sqrt.f64 (neg.f64 (log.f64 u1)))) 1/2) (*.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (neg.f64 (log.f64 u1)))) (+.f64 (*.f64 1/9 (*.f64 (pow.f64 u2 4) (pow.f64 (PI.f64) 4))) (*.f64 (pow.f64 (PI.f64) 2) (*.f64 u2 (*.f64 u2 -1/3))))))
0.3b
(+.f64 (*.f64 (sqrt.f64 (expm1.f64 (log1p.f64 (*.f64 (log.f64 u1) -1/18)))) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
0.2b
(+.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 -2 (log.f64 u1)) 1/36)) (cos.f64 (*.f64 (*.f64 2 (PI.f64)) u2))) 1/2)
Compiler

Compiled 3883 to 2768 computations (28.7% saved)

regimes1.5s (26.6%)

Accuracy

Total 0.5b remaining (96.7%)

Threshold costs 0.5b (96.7%)

Counts
121 → 1
Compiler

Compiled 30092 to 25802 computations (14.3% 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
02862
14262
24462
34562
Stop Event
saturated

end125.0ms (2.2%)

Compiler

Compiled 220 to 175 computations (20.5% saved)

Profiling

Loading profile data...