Details

Time bar (total: 12.1s)

analyze2.8s (22.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%99.7%0.3%8
0%99.7%0.3%9
0%99.7%0.3%10
0%99.7%0.3%11
0%99.7%0.3%12
4.3%95.4%0.3%13
6.6%93.1%0.3%14
Compiler

Compiled 25 to 19 computations (24% saved)

sample2.4s (20%)

Symmetry

(sort M D)

Results
1.5s8256×body128valid
835.0ms4570×body128invalid
Compiler

Compiled 74 to 56 computations (24.3% saved)

simplify27.0ms (0.2%)

Algorithm
egg-herbie
Rules
645×distribute-neg-frac_binary64
581×distribute-rgt-neg-in_binary64
418×associate-/l*_binary64
372×cancel-sign-sub-inv_binary64
263×associate-/l/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01827
14227
211127
372327
4285527
5499427

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
12.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
12.4b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
Compiler

Compiled 72 to 54 computations (25% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
2.4b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
3.1b
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
4.0b
(/.f64 (*.f64 M D) (*.f64 2 d))
9.6b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))

series850.0ms (7%)

Counts
4 → 204
Calls

4 calls:

391.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
242.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
201.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
15.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite33.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64
38×add-sqr-sqrt_binary64
27×prod-exp_binary64
23×add-cbrt-cube_binary64
19×associate-*r*_binary64
Counts
4 → 124
Calls

4 calls:

8.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
6.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
3.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))

simplify219.0ms (1.8%)

Algorithm
egg-herbie
Rules
517×times-frac_binary64
399×associate-*l*_binary64
365×associate-/l*_binary64
342×associate-/r*_binary64
258×associate-*r/_binary64
Counts
328 → 314
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
051611209
1126210441
2498810441

prune342.0ms (2.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3059314
Fresh000
Picked101
Done000
Total3069315
Error
4.3b
Counts
315 → 9
Alt Table
StatusErrorProgram
11.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2) (/.f64 h l)))))
59.6b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
12.4b
(*.f64 (*.f64 w0 (fabs.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
12.0b
w0
9.6b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l))))
61.1b
(*.f64 w0 (*.f64 M (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4))))
61.6b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
61.5b
(*.f64 D (*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4)) w0))
11.6b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 h l))))))
Compiler

Compiled 12090 to 7275 computations (39.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.1b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)))
4.0b
(/.f64 (*.f64 M D) (*.f64 2 d))
4.3b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h)
4.3b
(/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)

series658.0ms (5.4%)

Counts
3 → 156
Calls

3 calls:

333.0ms
(/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)
175.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)))
149.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h)

rewrite25.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
54×add-exp-log_binary64
22×prod-exp_binary64
19×add-sqr-sqrt_binary64
16×div-exp_binary64
12×*-un-lft-identity_binary64
Counts
3 → 84
Calls

3 calls:

6.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)))
6.0ms
(/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)
5.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h)

simplify136.0ms (1.1%)

Algorithm
egg-herbie
Rules
315×fma-def_binary64
298×unswap-sqr_binary64
288×distribute-neg-frac_binary64
241×cancel-sign-sub-inv_binary64
191×times-frac_binary64
Counts
240 → 190
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03347367
17646748
229856661
349956661

prune289.0ms (2.4%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2281229
Fresh088
Picked101
Done000
Total2299238
Error
3.7b
Counts
238 → 9
Alt Table
StatusErrorProgram
8.4b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l))))
61.6b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
11.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2) (/.f64 h l)))))
59.6b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
12.4b
(*.f64 (*.f64 w0 (fabs.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
12.0b
w0
61.1b
(*.f64 w0 (*.f64 M (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4))))
61.5b
(*.f64 D (*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4)) w0))
11.6b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 h l))))))
Compiler

Compiled 7909 to 5003 computations (36.7% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.1b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)))
4.0b
(/.f64 (*.f64 M D) (*.f64 2 d))
4.3b
(/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)
4.4b
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

series433.0ms (3.6%)

Counts
3 → 156
Calls

3 calls:

232.0ms
(/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)
171.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)))
29.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

rewrite64.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
226×add-cbrt-cube_binary64
226×add-exp-log_binary64
108×cbrt-unprod_binary64
108×prod-exp_binary64
79×cbrt-undiv_binary64
Counts
3 → 135
Calls

3 calls:

15.0ms
(/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)
9.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)))
6.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

simplify175.0ms (1.5%)

Algorithm
egg-herbie
Rules
584×associate-/l*_binary64
484×associate-*l*_binary64
455×associate-/r*_binary64
414×associate-*l/_binary64
390×associate-*r/_binary64
Counts
291 → 254
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04589762
112058761
247038697
349968697

prune406.0ms (3.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New3293332
Fresh178
Picked011
Done000
Total33011341
Error
3.0b
Counts
341 → 11
Alt Table
StatusErrorProgram
61.2b
(*.f64 w0 (*.f64 D (sqrt.f64 (*.f64 (/.f64 (*.f64 M (*.f64 M h)) (*.f64 l (*.f64 d d))) -1/4))))
7.4b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h))))))
8.4b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l))))
61.6b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
11.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2) (/.f64 h l)))))
59.6b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
61.6b
(*.f64 w0 (/.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 D D) (*.f64 M (*.f64 M h))) l) -1/4)) d))
12.4b
(*.f64 (*.f64 w0 (fabs.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
12.0b
w0
61.1b
(*.f64 w0 (*.f64 M (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4))))
61.5b
(*.f64 D (*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4)) w0))
Compiler

Compiled 13288 to 7224 computations (45.6% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.1b
(sqrt.f64 (-.f64 1 (/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)))))
4.0b
(/.f64 (*.f64 M D) (*.f64 2 d))
4.4b
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
5.2b
(/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h))

series245.0ms (2%)

Counts
2 → 108
Calls

2 calls:

179.0ms
(sqrt.f64 (-.f64 1 (/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)))))
65.0ms
(/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h))

rewrite36.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×add-cbrt-cube_binary64
27×add-exp-log_binary64
14×add-sqr-sqrt_binary64
10×cbrt-undiv_binary64
10×div-exp_binary64
Counts
2 → 54
Calls

2 calls:

25.0ms
(sqrt.f64 (-.f64 1 (/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)))))
6.0ms
(/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h))

simplify118.0ms (1%)

Algorithm
egg-herbie
Rules
430×times-frac_binary64
352×fma-def_binary64
302×associate-/r*_binary64
301×unswap-sqr_binary64
300×associate-/l*_binary64
Counts
162 → 140
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03305643
18525268
239605223
351625223

prune337.0ms (2.8%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2700270
Fresh099
Picked011
Done011
Total27011281
Error
3.0b
Counts
281 → 11
Alt Table
StatusErrorProgram
61.2b
(*.f64 w0 (*.f64 D (sqrt.f64 (*.f64 (/.f64 (*.f64 M (*.f64 M h)) (*.f64 l (*.f64 d d))) -1/4))))
7.4b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 l (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h))))))
8.4b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l))))
61.6b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
11.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2) (/.f64 h l)))))
59.6b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
61.6b
(*.f64 w0 (/.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 D D) (*.f64 M (*.f64 M h))) l) -1/4)) d))
12.4b
(*.f64 (*.f64 w0 (fabs.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
12.0b
w0
61.1b
(*.f64 w0 (*.f64 M (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4))))
61.5b
(*.f64 D (*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4)) w0))
Compiler

Compiled 10169 to 5721 computations (43.7% saved)

regimes2.3s (19%)

Accuracy

Total 4.1b remaining (48.9%)

Threshold costs 0b (0%)

Counts
141 → 1
Compiler

Compiled 64631 to 46338 computations (28.3% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02039
12939
23539
34539
46039
56939
67539
77739
87539

end176.0ms (1.5%)

Remove

(sort M D)

Compiler

Compiled 404 to 283 computations (30% saved)

Profiling

Loading profile data...