Details

Time bar (total: 13.8s)

analyze2.2s (15.7%)

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)

sample5.9s (42.7%)

Symmetry

(sort M D)

Results
3.3s13476×body128invalid
2.5s8256×body128valid
Compiler

Compiled 122 to 95 computations (22.1% saved)

simplify33.0ms (0.2%)

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
28.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
28.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))
Compiler

Compiled 128 to 88 computations (31.3% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.2b
(*.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)
13.0b
(sqrt.f64 (/.f64 d h))
13.3b
(sqrt.f64 (/.f64 d l))

series283.0ms (2.1%)

Counts
4 → 92
Calls

4 calls:

146.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))
112.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
13.0ms
(sqrt.f64 (/.f64 d l))
11.0ms
(sqrt.f64 (/.f64 d h))

rewrite74.0ms (0.5%)

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 → 90
Calls

4 calls:

71.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))
71.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
71.0ms
(sqrt.f64 (/.f64 d h))
71.0ms
(sqrt.f64 (/.f64 d l))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02272
146571
2491771
3504071
000
100

simplify148.0ms (1.1%)

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
182 → 105
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0462622
11012574
23672484
321412484
445622484
551802484

prune141.0ms (1%)

Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New8619105
Fresh000
Picked101
Done000
Total8719106
Error
13.6b
Counts
106 → 19
Alt Table
StatusErrorProgram
61.7b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (*.f64 -1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (*.f64 (pow.f64 d 2) l))))
36.1b
(*.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))
60.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
42.8b
(*.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))
41.5b
(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)
44.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 d) (sqrt.f64 l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 3))
43.3b
(*.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))
34.5b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
30.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (exp.f64 (log.f64 (sqrt.f64 (/.f64 d l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
45.6b
(*.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))
29.4b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) 3)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
28.5b
(*.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))
29.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.4b
(*.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))
41.1b
(*.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))))
55.4b
(cbrt.f64 (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)))) 3))
29.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 d h)) (cbrt.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))
45.7b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
Compiler

Compiled 4143 to 2268 computations (45.3% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.2b
(*.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.8b
(sqrt.f64 (/.f64 h d))
13.3b
(sqrt.f64 (/.f64 d l))

series153.0ms (1.1%)

Counts
2 → 33
Calls

2 calls:

140.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))
13.0ms
(sqrt.f64 (/.f64 h d))

rewrite63.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 → 44
Calls

2 calls:

62.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))
62.0ms
(sqrt.f64 (/.f64 h d))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02345
149043
2487243
3502343
000
100

simplify69.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
77 → 52
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0301164
1721116
21791116
35631116
424801116
548341116
649711116

prune120.0ms (0.9%)

Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New989107
Fresh51318
Picked101
Done000
Total10422126
Error
13.3b
Counts
126 → 22
Alt Table
StatusErrorProgram
29.0b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) 3)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
36.1b
(*.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))
60.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
42.8b
(*.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))
41.5b
(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)
44.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 d) (sqrt.f64 l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 3))
43.3b
(*.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))
61.3b
(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)))
55.4b
(cbrt.f64 (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)))) 3))
36.4b
(*.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))
42.8b
(*.f64 (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (neg.f64 h)) (sqrt.f64 (neg.f64 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))
43.3b
(*.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))
60.5b
(neg.f64 (/.f64 d (*.f64 h l)))
45.7b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
45.6b
(*.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))
34.0b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) 1)
43.4b
(*.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))
41.1b
(*.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))))
29.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 d h)) (cbrt.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))
36.8b
(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)
29.3b
(*.f64 (*.f64 (/.f64 1 (expm1.f64 (log1p.f64 (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))
Compiler

Compiled 4496 to 2591 computations (42.4% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.2b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) 3)) (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.8b
(sqrt.f64 (/.f64 h d))
13.3b
(sqrt.f64 (/.f64 d l))

series147.0ms (1.1%)

Counts
1 → 33
Calls

1 calls:

147.0ms
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) 3)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))

rewrite60.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
253×add-sqr-sqrt_binary64
241×log1p-expm1-u_binary64
241×expm1-log1p-u_binary64
237×add-cbrt-cube_binary64
237×add-log-exp_binary64
Counts
1 → 15
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02639
153739
2495939
3506939
000
100

simplify72.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
48 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0301164
1721116
21791116
35631116
424801116
548341116
649711116

prune112.0ms (0.8%)

Pruning

22 alts after pruning (21 fresh and 1 done)

PrunedKeptTotal
New1033106
Fresh31821
Picked011
Done000
Total10622128
Error
13.3b
Counts
128 → 22
Alt Table
StatusErrorProgram
29.0b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) 3)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
36.1b
(*.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))
43.6b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (pow.f64 (cbrt.f64 (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) 3)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
34.0b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) 1)
28.9b
(pow.f64 (cbrt.f64 (*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (sqrt.f64 (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))) 3)
43.4b
(*.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))
28.5b
(*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (sqrt.f64 (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
41.5b
(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)
44.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 d) (sqrt.f64 l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 3))
43.3b
(*.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))
36.4b
(*.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))
42.8b
(*.f64 (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (neg.f64 h)) (sqrt.f64 (neg.f64 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))
43.3b
(*.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))
60.5b
(neg.f64 (/.f64 d (*.f64 h l)))
45.7b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
45.6b
(*.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))
60.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
41.1b
(*.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))))
61.3b
(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)))
29.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 d h)) (cbrt.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))
36.8b
(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)
Compiler

Compiled 4702 to 2747 computations (41.6% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.2b
(*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (sqrt.f64 (/.f64 h 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.8b
(sqrt.f64 (/.f64 h d))
13.3b
(sqrt.f64 (/.f64 d l))

series147.0ms (1.1%)

Counts
1 → 33
Calls

1 calls:

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

rewrite36.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
228×add-sqr-sqrt_binary64
214×log1p-expm1-u_binary64
214×expm1-log1p-u_binary64
213×add-log-exp_binary64
212×add-cbrt-cube_binary64
Counts
1 → 18
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02237
147137
2498137
000
100

simplify73.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
51 → 26
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0301164
1721116
21791116
35631116
424801116
548341116
649711116

prune117.0ms (0.9%)

Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New1027109
Fresh21820
Picked101
Done101
Total10625131
Error
13.3b
Counts
131 → 25
Alt Table
StatusErrorProgram
60.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
47.4b
(*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (/.f64 h d)))) 1)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.6b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (pow.f64 (cbrt.f64 (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l)))) 3)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
34.0b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) 1)
28.9b
(pow.f64 (cbrt.f64 (*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (sqrt.f64 (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))) 3)
43.4b
(*.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))
43.2b
(*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (/.f64 (sqrt.f64 h) (sqrt.f64 d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
44.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (/.f64 (sqrt.f64 d) (sqrt.f64 l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
44.5b
(*.f64 (/.f64 (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 l))) (sqrt.f64 (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
41.1b
(*.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))))
42.8b
(*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (/.f64 (sqrt.f64 (neg.f64 h)) (sqrt.f64 (neg.f64 d)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 3))
43.3b
(*.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))
61.3b
(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)))
43.3b
(*.f64 (/.f64 (/.f64 (sqrt.f64 (neg.f64 d)) (sqrt.f64 (neg.f64 l))) (sqrt.f64 (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.0b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) 3) (sqrt.f64 (/.f64 h d))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 d h)) (cbrt.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))
36.4b
(*.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))
42.8b
(*.f64 (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (neg.f64 h)) (sqrt.f64 (neg.f64 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))
60.5b
(neg.f64 (/.f64 d (*.f64 h l)))
45.7b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
36.1b
(*.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))
45.6b
(*.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))
28.8b
(*.f64 (/.f64 (sqrt.f64 (/.f64 d l)) (*.f64 (cbrt.f64 (/.f64 h d)) (cbrt.f64 (sqrt.f64 (/.f64 h d))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
36.8b
(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)
Compiler

Compiled 3825 to 2010 computations (47.5% saved)

regimes1.9s (13.6%)

Accuracy

Total 5.7b remaining (32.6%)

Threshold costs 0b (0%)

Counts
106 → 3
Compiler

Compiled 24292 to 17596 computations (27.6% saved)

bsearch1.3s (9.6%)

Steps
ItersRangePoint
11
-6.197465600324314e-292
7.312371962382711e-304
-3.39784574529724e-310
9
-9.672149082018834e-86
-4.027968113736697e-91
-8.370385366690261e-91
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify32.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
044138
160138
266138
369138
468138

end571.0ms (4.2%)

Remove

(sort M D)

Compiler

Compiled 1155 to 807 computations (30.1% saved)

Profiling

Loading profile data...