Details

Time bar (total: 16.0s)

analyze3.0s (18.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.6s (16%)

Symmetry

(sort M D)

Results
1.6s8256×body128valid
852.0ms4505×body128invalid
Compiler

Compiled 74 to 56 computations (24.3% saved)

simplify29.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.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
12.8b
(*.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.3b
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
3.1b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
5.3b
(/.f64 (*.f64 M D) (*.f64 2 d))
10.9b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))

series845.0ms (5.3%)

Counts
4 → 204
Calls

4 calls:

393.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
249.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
187.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.2%)

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:

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

simplify166.0ms (1%)

Algorithm
egg-herbie
Rules
517×times-frac_binary64
398×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

prune421.0ms (2.6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New30410314
Fresh000
Picked101
Done000
Total30510315
Error
4.3b
Counts
315 → 10
Alt Table
StatusErrorProgram
59.8b
(*.f64 w0 (*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 M)))
12.8b
(*.f64 (*.f64 w0 (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
60.9b
(*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 (pow.f64 d 2) l))))) (*.f64 w0 M)))
10.9b
(*.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))))))
60.9b
(*.f64 D (*.f64 w0 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4))))
10.3b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) (/.f64 1 l)))))
60.1b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
13.0b
w0
21.7b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 1/4 (*.f64 (pow.f64 (/.f64 D d) 2) (/.f64 (*.f64 (*.f64 M M) h) l))))))
12.8b
(*.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))))))
Compiler

Compiled 12190 to 7340 computations (39.8% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series749.0ms (4.7%)

Counts
3 → 168
Calls

3 calls:

343.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) (/.f64 1 l)))))
242.0ms
(*.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) (/.f64 1 l))
164.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h)

rewrite35.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
154×add-exp-log_binary64
88×prod-exp_binary64
36×div-exp_binary64
26×add-sqr-sqrt_binary64
25×pow-exp_binary64
Counts
3 → 124
Calls

3 calls:

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

simplify173.0ms (1.1%)

Algorithm
egg-herbie
Rules
462×fma-def_binary64
352×associate-*l*_binary64
343×associate-*r*_binary64
306×unswap-sqr_binary64
248×times-frac_binary64
Counts
292 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03958873
18888197
237618113
351808113

prune397.0ms (2.5%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2752277
Fresh189
Picked101
Done000
Total27710287
Error
3.9b
Counts
287 → 10
Alt Table
StatusErrorProgram
59.8b
(*.f64 w0 (*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 M)))
12.8b
(*.f64 (*.f64 w0 (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
7.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) (/.f64 1 l)))))
60.9b
(*.f64 D (*.f64 w0 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4))))
60.9b
(*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 (pow.f64 d 2) l))))) (*.f64 w0 M)))
10.9b
(*.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))))))
60.1b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
35.3b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (*.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) (sqrt.f64 h)) (*.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) (sqrt.f64 h))) (/.f64 1 l)))))
13.0b
w0
12.8b
(*.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))))))
Compiler

Compiled 9901 to 6326 computations (36.1% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series615.0ms (3.8%)

Counts
3 → 168
Calls

3 calls:

343.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) (/.f64 1 l)))))
242.0ms
(*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) (/.f64 1 l))
29.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

rewrite142.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
874×add-exp-log_binary64
530×prod-exp_binary64
464×add-cbrt-cube_binary64
270×cbrt-unprod_binary64
242×div-exp_binary64
Counts
3 → 278
Calls

3 calls:

20.0ms
(*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) (/.f64 1 l))
9.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) (/.f64 1 l)))))
7.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

simplify275.0ms (1.7%)

Algorithm
egg-herbie
Rules
726×associate-*l/_binary64
616×times-frac_binary64
407×associate-/r*_binary64
377×associate-/l*_binary64
218×*-commutative_binary64
Counts
446 → 418
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
060516690
1149513673
2472713419
3500113419

prune593.0ms (3.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4942496
Fresh279
Picked101
Done000
Total4979506
Error
3.7b
Counts
506 → 9
Alt Table
StatusErrorProgram
59.8b
(*.f64 w0 (*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 M)))
12.8b
(*.f64 (*.f64 w0 (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
6.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 (*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2))) l)))))
35.3b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (*.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) (sqrt.f64 h)) (*.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) (sqrt.f64 h))) (/.f64 1 l)))))
60.9b
(*.f64 D (*.f64 w0 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4))))
60.1b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
60.9b
(*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 h (*.f64 D D)) (*.f64 l (*.f64 d d))) -1/4)) (neg.f64 (*.f64 M w0)))
13.0b
w0
12.8b
(*.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))))))
Compiler

Compiled 20802 to 11393 computations (45.2% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.3b
(/.f64 (*.f64 D M) (*.f64 d 2))
5.3b
(/.f64 (*.f64 M D) (*.f64 2 d))
5.8b
(*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2)))
6.6b
(/.f64 (*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2))) l)

series103.0ms (0.6%)

Counts
3 → 144
Calls

3 calls:

56.0ms
(/.f64 (*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2))) l)
31.0ms
(*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2)))
15.0ms
(/.f64 (*.f64 D M) (*.f64 d 2))

rewrite25.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
58×add-cbrt-cube_binary64
58×add-exp-log_binary64
22×cbrt-unprod_binary64
22×prod-exp_binary64
18×cbrt-undiv_binary64
Counts
3 → 86
Calls

3 calls:

9.0ms
(*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2)))
6.0ms
(/.f64 (*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2))) l)
4.0ms
(/.f64 (*.f64 D M) (*.f64 d 2))

simplify123.0ms (0.8%)

Algorithm
egg-herbie
Rules
553×*-commutative_binary64
305×times-frac_binary64
272×associate--l+_binary64
260×fma-def_binary64
241×associate-/l*_binary64
Counts
230 → 115
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01563756
13963253
220033253
329643252
447243252
550553252

prune216.0ms (1.3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1540154
Fresh088
Picked011
Done000
Total1549163
Error
3.7b
Counts
163 → 9
Alt Table
StatusErrorProgram
59.8b
(*.f64 w0 (*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 M)))
12.8b
(*.f64 (*.f64 w0 (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))) (sqrt.f64 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))))
6.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (/.f64 (*.f64 h (/.f64 (*.f64 D M) (*.f64 d 2))) l)))))
35.3b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (*.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) (sqrt.f64 h)) (*.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) (sqrt.f64 h))) (/.f64 1 l)))))
60.9b
(*.f64 D (*.f64 w0 (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4))))
60.1b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
60.9b
(*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 h (*.f64 D D)) (*.f64 l (*.f64 d d))) -1/4)) (neg.f64 (*.f64 M w0)))
13.0b
w0
12.8b
(*.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))))))
Compiler

Compiled 4938 to 2659 computations (46.2% saved)

regimes5.3s (32.9%)

Accuracy

Total 2.7b remaining (31.1%)

Threshold costs 0b (0%)

Counts
267 → 1
Compiler

Compiled 137061 to 100526 computations (26.7% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02136
13036
24136
35736
47436
58436
68936
79036
88936

end178.0ms (1.1%)

Remove

(sort M D)

Compiler

Compiled 374 to 259 computations (30.7% saved)

Profiling

Loading profile data...