Details

Time bar (total: 13.1s)

analyze2.2s (16.9%)

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.1s (46.6%)

Symmetry

(sort M D)

Results
3.6s13319×body128invalid
2.4s8256×body128valid
Compiler

Compiled 122 to 95 computations (22.1% saved)

simplify30.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
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02441
16241
218839
3107139
4361039
5510639
Stop Event
node limit
Counts
1 → 2

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
24.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
24.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)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.0b
(*.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))
8.0b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.7b
(sqrt.f64 (/.f64 d l))
12.8b
(sqrt.f64 (/.f64 d h))

series233.0ms (1.8%)

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

rewrite68.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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02272
146571
2491771
3504071
Stop Event
node limit
Counts
4 → 86
Calls

4 calls:

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

simplify83.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
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0462622
11012574
23672484
321412484
445622484
551802484
Stop Event
node limit
Counts
178 → 101

prune118.0ms (0.9%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New8714101
Fresh000
Picked101
Done000
Total8814102
Error
10.2b
Counts
102 → 14
Alt Table
StatusErrorProgram
25.5b
(*.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))
43.3b
(*.f64 (*.f64 (/.f64 (sqrt.f64 d) (sqrt.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))
24.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))
40.4b
(*.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))
41.2b
(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 h) (sqrt.f64 l))))) 3)
41.7b
(*.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))
25.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))
40.9b
(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 h) (sqrt.f64 l)))) 1)
42.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.2b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
43.3b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
59.0b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
40.0b
(*.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))
25.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))
Compiler

Compiled 3713 to 1988 computations (46.5% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.0b
(*.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))
8.0b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.3b
(sqrt.f64 (/.f64 h d))
12.7b
(sqrt.f64 (/.f64 d l))

series159.0ms (1.2%)

Counts
2 → 33
Calls

2 calls:

147.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))

rewrite55.0ms (0.4%)

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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02345
149043
2487243
3502343
Stop Event
node limit
Counts
2 → 42
Calls

2 calls:

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

simplify64.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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0301164
1721116
21791116
35631116
424801116
548341116
649711116
Stop Event
node limit
Counts
75 → 50

prune124.0ms (0.9%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New958103
Fresh31013
Picked101
Done000
Total9918117
Error
10.0b
Counts
117 → 18
Alt Table
StatusErrorProgram
28.4b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (sqrt.f64 (/.f64 d l))) 1)
24.0b
(*.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.6b
(neg.f64 (/.f64 d (*.f64 h l)))
43.3b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
42.5b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.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))
25.5b
(*.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))
43.3b
(*.f64 (*.f64 (/.f64 (sqrt.f64 d) (sqrt.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.2b
(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 h) (sqrt.f64 l))))) 3)
41.7b
(*.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))
25.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))
37.7b
(pow.f64 (sqrt.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))) 2)
40.9b
(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 h) (sqrt.f64 l)))) 1)
42.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))
32.8b
(pow.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)) 1)
59.0b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
39.5b
(*.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))
40.0b
(*.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))
40.0b
(*.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))
Compiler

Compiled 4131 to 2354 computations (43% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.0b
(*.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))
8.0b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.3b
(sqrt.f64 (/.f64 h d))
12.9b
(sqrt.f64 (/.f64 l d))

series158.0ms (1.2%)

Counts
2 → 32
Calls

2 calls:

146.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))
12.0ms
(sqrt.f64 (/.f64 l d))

rewrite54.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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02448
151946
2490246
3510246
Stop Event
node limit
Counts
2 → 35
Calls

2 calls:

54.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))
54.0ms
(sqrt.f64 (/.f64 l d))

simplify74.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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0271155
1631107
21501107
35081107
423971107
547461107
649961107
749491107
Stop Event
node limit
Counts
67 → 41

prune113.0ms (0.9%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh41317
Picked101
Done000
Total9517112
Error
9.9b
Counts
112 → 17
Alt Table
StatusErrorProgram
29.9b
(pow.f64 (sqrt.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))) 2)
58.6b
(neg.f64 (/.f64 d (*.f64 h l)))
43.3b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
23.9b
(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)
42.5b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.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))
25.5b
(*.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))
43.3b
(*.f64 (*.f64 (/.f64 (sqrt.f64 d) (sqrt.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.2b
(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 h) (sqrt.f64 l))))) 3)
41.7b
(*.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))
40.9b
(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 h) (sqrt.f64 l)))) 1)
42.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))
32.8b
(pow.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)) 1)
59.0b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
39.5b
(*.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))
40.0b
(*.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))
28.2b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) 1)
39.9b
(*.f64 (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (neg.f64 h)) (sqrt.f64 (neg.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))
Compiler

Compiled 4007 to 2378 computations (40.7% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.0b
(*.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))
8.0b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.3b
(pow.f64 (/.f64 h d) -1/2)
12.9b
(sqrt.f64 (/.f64 l d))

series528.0ms (4%)

Counts
2 → 57
Calls

2 calls:

372.0ms
(pow.f64 (/.f64 h d) -1/2)
156.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))

rewrite32.0ms (0.2%)

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
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02247
147547
2499347
Stop Event
node limit
Counts
2 → 33
Calls

2 calls:

32.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))
32.0ms
(pow.f64 (/.f64 h d) -1/2)

simplify108.0ms (0.8%)

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

Useful iterations: 5 (0.0ms)

IterNodesCost
0581476
11351428
23011428
39191284
433901284
547831260
646261260
748911260
849611260
Stop Event
node limit
Counts
90 → 47

prune233.0ms (1.8%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New94094
Fresh01616
Picked011
Done000
Total9417111
Error
9.9b
Counts
111 → 17
Alt Table
StatusErrorProgram
29.9b
(pow.f64 (sqrt.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))) 2)
58.6b
(neg.f64 (/.f64 d (*.f64 h l)))
43.3b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
23.9b
(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)
42.5b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.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))
25.5b
(*.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))
43.3b
(*.f64 (*.f64 (/.f64 (sqrt.f64 d) (sqrt.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.2b
(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 h) (sqrt.f64 l))))) 3)
41.7b
(*.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))
40.9b
(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 h) (sqrt.f64 l)))) 1)
42.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))
32.8b
(pow.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)) 1)
59.0b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
39.5b
(*.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))
40.0b
(*.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))
28.2b
(*.f64 (*.f64 (/.f64 1 (sqrt.f64 (/.f64 h d))) (/.f64 1 (sqrt.f64 (/.f64 l d)))) 1)
39.9b
(*.f64 (*.f64 (/.f64 1 (/.f64 (sqrt.f64 (neg.f64 h)) (sqrt.f64 (neg.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))
Compiler

Compiled 3433 to 2026 computations (41% saved)

regimes1.4s (10.6%)

Accuracy

Total 6.8b remaining (35.7%)

Threshold costs 0b (0%)

Counts
90 → 3
Compiler

Compiled 20757 to 15139 computations (27.1% saved)

bsearch761.0ms (5.8%)

Steps
ItersRangePoint
9
1.3385571678944242e+215
6.6858651901748974e+221
3.788971036180514e+215
8
-1.009830194643337e-289
-2.632640713727445e-293
-2.690952209301035e-293
Compiler

Compiled 6 to 5 computations (16.7% 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
044111
160111
264111
366111
465111
Stop Event
saturated

end315.0ms (2.4%)

Remove

(sort M D)

Compiler

Compiled 816 to 587 computations (28.1% saved)

Profiling

Loading profile data...