Details

Time bar (total: 13.2s)

analyze2.2s (16.5%)

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%81.1%18.9%7
0%68.6%31.4%8
0%59.2%40.8%9
0%59.2%40.8%10
0%59.2%40.8%11
0.4%49.5%50.1%12
0.8%44.4%54.8%13
1.4%39.9%58.7%14
Compiler

Compiled 41 to 32 computations (22% saved)

sample6.3s (47.6%)

Symmetry

(sort M D)

Results
3.7s13232×body128invalid
2.5s8256×body128valid
Compiler

Compiled 122 to 95 computations (22.1% saved)

simplify35.0ms (0.3%)

Algorithm
egg-herbie
Rules
466×fma-def_binary64
437×*-commutative_binary64
425×associate-/l*_binary64
347×cancel-sign-sub-inv_binary64
263×associate-/l/_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02441
16241
218839
3107139
4361039
5510639

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
27.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
27.1b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
Compiler

Compiled 128 to 88 computations (31.3% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
10.4b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
11.6b
(sqrt.f64 (/.f64 d h))
14.1b
(sqrt.f64 (/.f64 d l))

series229.0ms (1.7%)

Counts
4 → 92
Calls

4 calls:

139.0ms
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
66.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.0ms
(sqrt.f64 (/.f64 d l))
12.0ms
(sqrt.f64 (/.f64 d h))

rewrite73.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
224×add-sqr-sqrt_binary64
210×log1p-expm1-u_binary64
210×expm1-log1p-u_binary64
209×add-log-exp_binary64
208×add-cbrt-cube_binary64
Counts
4 → 86
Calls

4 calls:

70.0ms
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
70.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
70.0ms
(sqrt.f64 (/.f64 d h))
70.0ms
(sqrt.f64 (/.f64 d l))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02272
146571
2491771
3504071

simplify82.0ms (0.6%)

Algorithm
egg-herbie
Rules
724×associate-/l/_binary64
373×distribute-rgt-neg-in_binary64
355×distribute-lft-neg-in_binary64
335×distribute-neg-frac_binary64
327×neg-mul-1_binary64
Counts
178 → 101
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0462622
11012574
23672484
321412484
445622484
551802484

prune121.0ms (0.9%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New8516101
Fresh000
Picked101
Done000
Total8616102
Error
12.6b
Counts
102 → 16
Alt Table
StatusErrorProgram
41.2b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
32.4b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
27.5b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
38.7b
(pow.f64 (cbrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h))))) 3)
43.2b
(*.f64 (*.f64 (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 h))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 h))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
27.2b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
38.4b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
27.1b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (pow.f64 (pow.f64 (/.f64 d l) 1/4) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
27.1b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
34.7b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (cbrt.f64 (pow.f64 (/.f64 d l) 3/2))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
27.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 d h)) 2)) (sqrt.f64 (cbrt.f64 (/.f64 d h)))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.5b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (fma.f64 (/.f64 (*.f64 (*.f64 D D) (*.f64 (*.f64 M M) h)) (*.f64 (*.f64 d d) l)) -1/8 1))
42.4b
(pow.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h))))) 2)
44.6b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
Compiler

Compiled 3867 to 2106 computations (45.5% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.9b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
10.4b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.0b
(sqrt.f64 (/.f64 h d))
14.1b
(sqrt.f64 (/.f64 d l))

series148.0ms (1.1%)

Counts
2 → 33
Calls

2 calls:

136.0ms
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
12.0ms
(sqrt.f64 (/.f64 h d))

rewrite65.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
236×add-sqr-sqrt_binary64
221×log1p-expm1-u_binary64
221×expm1-log1p-u_binary64
220×add-log-exp_binary64
219×add-cbrt-cube_binary64
Counts
2 → 42
Calls

2 calls:

64.0ms
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
64.0ms
(sqrt.f64 (/.f64 h d))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02345
149043
2487243
3502343

simplify67.0ms (0.5%)

Algorithm
egg-herbie
Rules
575×associate-/l/_binary64
540×distribute-rgt-neg-in_binary64
500×distribute-lft-neg-in_binary64
492×associate-*r*_binary64
429×associate-*l*_binary64
Counts
75 → 50
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0301164
1721116
21791116
35631116
424801116
548341116
649711116

prune126.0ms (1%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New958103
Fresh51015
Picked101
Done000
Total10118119
Error
12.4b
Counts
119 → 18
Alt Table
StatusErrorProgram
41.4b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
59.9b
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 (/.f64 (/.f64 d l) (/.f64 h d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
30.4b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (cbrt.f64 (pow.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) 3)))
34.7b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (cbrt.f64 (pow.f64 (/.f64 d l) 3/2))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
27.1b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
59.5b
(neg.f64 (/.f64 d (*.f64 h l)))
27.5b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.2b
(*.f64 (*.f64 (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 h))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 h))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
27.2b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
38.4b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
27.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 d h)) 2)) (sqrt.f64 (cbrt.f64 (/.f64 d h)))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.3b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (fma.f64 (/.f64 (*.f64 (*.f64 D D) (*.f64 (*.f64 M M) h)) (*.f64 (*.f64 d d) l)) -1/8 1))
42.4b
(pow.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h))))) 2)
44.5b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
36.4b
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 (/.f64 (/.f64 d l) (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))) 3)
44.6b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
Compiler

Compiled 4199 to 2404 computations (42.7% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.9b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
10.4b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.0b
(sqrt.f64 (/.f64 h d))
13.9b
(sqrt.f64 (/.f64 l d))

series160.0ms (1.2%)

Counts
2 → 32
Calls

2 calls:

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

rewrite59.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
250×add-sqr-sqrt_binary64
234×log1p-expm1-u_binary64
234×expm1-log1p-u_binary64
233×add-log-exp_binary64
232×add-cbrt-cube_binary64
Counts
2 → 35
Calls

2 calls:

58.0ms
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
58.0ms
(sqrt.f64 (/.f64 l d))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02448
151946
2490246
3510246

simplify80.0ms (0.6%)

Algorithm
egg-herbie
Rules
569×associate-/l/_binary64
540×distribute-rgt-neg-in_binary64
500×distribute-lft-neg-in_binary64
492×associate-*r*_binary64
429×associate-*l*_binary64
Counts
67 → 41
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0271155
1631107
21501107
35081107
423971107
547461107
649961107
749491107

prune117.0ms (0.9%)

Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New91394
Fresh11617
Picked011
Done000
Total9220112
Error
12.3b
Counts
112 → 20
Alt Table
StatusErrorProgram
27.0b
(pow.f64 (*.f64 (/.f64 (pow.f64 (/.f64 h d) -1/2) (sqrt.f64 (/.f64 l d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 1)
41.4b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
59.9b
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 (/.f64 (/.f64 d l) (/.f64 h d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
30.4b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (cbrt.f64 (pow.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) 3)))
34.7b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (cbrt.f64 (pow.f64 (/.f64 d l) 3/2))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.2b
(*.f64 (*.f64 (/.f64 1 (/.f64 (sqrt.f64 h) (sqrt.f64 d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
27.1b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
59.5b
(neg.f64 (/.f64 d (*.f64 h l)))
27.5b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
27.2b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
38.4b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
27.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 d h)) 2)) (sqrt.f64 (cbrt.f64 (/.f64 d h)))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.3b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (fma.f64 (/.f64 (*.f64 (*.f64 D D) (*.f64 (*.f64 M M) h)) (*.f64 (*.f64 d d) l)) -1/8 1))
42.4b
(pow.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h))))) 2)
44.5b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.2b
(*.f64 (*.f64 (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 h))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
36.4b
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 (/.f64 (/.f64 d l) (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))) 3)
44.6b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
32.2b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) 1)
Compiler

Compiled 4222 to 2532 computations (40% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.9b
(*.f64 (/.f64 (pow.f64 (/.f64 h d) -1/2) (sqrt.f64 (/.f64 l d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
10.4b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.0b
(pow.f64 (/.f64 h d) -1/2)
13.9b
(sqrt.f64 (/.f64 l d))

series506.0ms (3.8%)

Counts
2 → 57
Calls

2 calls:

352.0ms
(pow.f64 (/.f64 h d) -1/2)
154.0ms
(*.f64 (/.f64 (pow.f64 (/.f64 h d) -1/2) (sqrt.f64 (/.f64 l d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))

rewrite35.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
232×add-sqr-sqrt_binary64
218×log1p-expm1-u_binary64
218×expm1-log1p-u_binary64
216×add-log-exp_binary64
215×add-cbrt-cube_binary64
Counts
2 → 33
Calls

2 calls:

34.0ms
(*.f64 (/.f64 (pow.f64 (/.f64 h d) -1/2) (sqrt.f64 (/.f64 l d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
34.0ms
(pow.f64 (/.f64 h d) -1/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02247
147547
2499347

simplify117.0ms (0.9%)

Algorithm
egg-herbie
Rules
625×fma-def_binary64
503×associate-*r*_binary64
438×associate-*l*_binary64
357×div-sub_binary64
299×fma-neg_binary64
Counts
90 → 47
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0581476
11351428
23011428
39191284
433901284
547831260
646261260
748911260
849611260

prune135.0ms (1%)

Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh11718
Picked101
Done011
Total9519114
Error
12.3b
Counts
114 → 19
Alt Table
StatusErrorProgram
41.4b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
59.9b
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 (/.f64 (/.f64 d l) (/.f64 h d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
34.7b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (cbrt.f64 (pow.f64 (/.f64 d l) 3/2))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.2b
(*.f64 (*.f64 (/.f64 1 (/.f64 (sqrt.f64 h) (sqrt.f64 d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
42.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
27.1b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
59.5b
(neg.f64 (/.f64 d (*.f64 h l)))
27.5b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
44.6b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
27.0b
(pow.f64 (/.f64 (*.f64 (pow.f64 (/.f64 h d) -1/2) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 -1/2 (/.f64 h l)) 1)) (sqrt.f64 (/.f64 l d))) 1)
27.2b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
38.4b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
27.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 d h)) 2)) (sqrt.f64 (cbrt.f64 (/.f64 d h)))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.3b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) (fma.f64 (/.f64 (*.f64 (*.f64 D D) (*.f64 (*.f64 M M) h)) (*.f64 (*.f64 d d) l)) -1/8 1))
42.4b
(pow.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h))))) 2)
44.5b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.2b
(*.f64 (*.f64 (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 h))) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
36.4b
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 (/.f64 (/.f64 d l) (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))) 3)
32.2b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) 1)
Compiler

Compiled 3522 to 2089 computations (40.7% saved)

regimes1.2s (9%)

Accuracy

Total 5.0b remaining (28.7%)

Threshold costs 0b (0%)

Counts
89 → 3
Compiler

Compiled 20246 to 14670 computations (27.5% saved)

bsearch717.0ms (5.4%)

Steps
ItersRangePoint
10
-2.3460650882530407e-298
4.619434787473256e-303
-1.8608481929594e-310
10
-3.002508392220107e-47
-1.1387991585092574e-59
-1.1166493905219246e-54
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
045138
163138
269138
372138
471138

end598.0ms (4.5%)

Remove

(sort M D)

Compiler

Compiled 973 to 678 computations (30.3% saved)

Profiling

Loading profile data...