Details

Time bar (total: 16.6s)

analyze2.2s (13.3%)

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.6s (33.4%)

Symmetry

(sort M D)

Results
3.2s13332×body128invalid
2.2s8256×body128valid
Compiler

Compiled 122 to 95 computations (22.1% saved)

simplify32.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
26.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
26.5b
(*.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)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.5b
(*.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))
9.2b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
10.6b
(sqrt.f64 (/.f64 d h))
12.4b
(sqrt.f64 (/.f64 d l))

series324.0ms (1.9%)

Counts
4 → 92
Calls

4 calls:

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

rewrite18.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
26×sqrt-prod_binary64
25×add-sqr-sqrt_binary64
20×times-frac_binary64
19×*-un-lft-identity_binary64
19×add-cube-cbrt_binary64
Counts
4 → 89
Calls

4 calls:

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

simplify115.0ms (0.7%)

Algorithm
egg-herbie
Rules
569×fma-def_binary64
472×associate-*l/_binary64
417×times-frac_binary64
392×associate-*r/_binary64
354×associate-/l*_binary64
Counts
181 → 134
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02004766
13694458
211744367
346434367
451754367

prune179.0ms (1.1%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New11717134
Fresh000
Picked101
Done000
Total11817135
Error
12.3b
Counts
135 → 17
Alt Table
StatusErrorProgram
41.7b
(*.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))
38.4b
(/.f64 (*.f64 d (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)) (*.f64 (sqrt.f64 h) (sqrt.f64 l)))
23.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
61.6b
(*.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))))
23.0b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 h) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d (cbrt.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))
31.6b
(*.f64 (sqrt.f64 (*.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))) (sqrt.f64 (*.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))))
22.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 (/.f64 (*.f64 (cbrt.f64 d) (cbrt.f64 d)) (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
27.0b
(*.f64 (*.f64 (cbrt.f64 (*.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))) (cbrt.f64 (*.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)))) (cbrt.f64 (*.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))))
22.4b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 (*.f64 (cbrt.f64 d) (cbrt.f64 d)) (*.f64 (cbrt.f64 h) (cbrt.f64 h)))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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))
26.7b
(*.f64 (sqrt.f64 (/.f64 d h)) (*.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)))
23.2b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
43.0b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
60.5b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
23.0b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.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))
21.7b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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))
26.7b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 (/.f64 d h))) (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))
Compiler

Compiled 5797 to 2866 computations (50.6% saved)

localize26.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.4b
(/.f64 (*.f64 M D) (*.f64 d 2))
7.5b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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))
9.2b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.4b
(sqrt.f64 (/.f64 d l))

series851.0ms (5.1%)

Counts
2 → 80
Calls

2 calls:

831.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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))
20.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))

rewrite38.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
23×add-cbrt-cube_binary64
23×add-exp-log_binary64
12×associate-*l/_binary64
11×pow1_binary64
10×cbrt-unprod_binary64
Counts
2 → 55
Calls

2 calls:

20.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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))
5.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))

simplify149.0ms (0.9%)

Algorithm
egg-herbie
Rules
842×fma-def_binary64
579×associate-/r*_binary64
437×associate-*l*_binary64
380×associate-*r*_binary64
212×associate-/l/_binary64
Counts
135 → 102
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02416370
16145500
224405500
349725500
456845500

prune250.0ms (1.5%)

Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New15010160
Fresh31316
Picked101
Done000
Total15423177
Error
12.0b
Counts
177 → 23
Alt Table
StatusErrorProgram
41.7b
(*.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))
38.4b
(/.f64 (*.f64 d (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)) (*.f64 (sqrt.f64 h) (sqrt.f64 l)))
23.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
61.6b
(*.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))))
23.0b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 h) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d (cbrt.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))
31.6b
(*.f64 (sqrt.f64 (*.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))) (sqrt.f64 (*.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))))
22.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 (/.f64 (*.f64 (cbrt.f64 d) (cbrt.f64 d)) (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
24.9b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) 1)
21.9b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) (cbrt.f64 (sqrt.f64 (/.f64 d l)))) (cbrt.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))
51.0b
(*.f64 (cbrt.f64 (*.f64 d d)) (*.f64 (sqrt.f64 (/.f64 1 l)) (*.f64 (cbrt.f64 (/.f64 d h)) (pow.f64 (/.f64 1 h) 1/6))))
21.8b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (fabs.f64 (cbrt.f64 (/.f64 d l))) (sqrt.f64 (cbrt.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 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) 3) (sqrt.f64 d))) (sqrt.f64 l))
51.3b
(*.f64 (pow.f64 (pow.f64 d 2) 1/3) (*.f64 (sqrt.f64 (/.f64 1 l)) (*.f64 (pow.f64 (/.f64 1 h) 1/6) (fabs.f64 (pow.f64 (/.f64 d h) 1/3)))))
26.7b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 (/.f64 d h))) (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))
18.4b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
21.9b
(/.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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)) (fabs.f64 (cbrt.f64 h)))
60.5b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
21.7b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 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))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
44.5b
(cbrt.f64 (pow.f64 (*.f64 (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 3))
23.0b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.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))
26.7b
(*.f64 (sqrt.f64 (/.f64 d h)) (*.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)))
43.0b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
Compiler

Compiled 8662 to 3923 computations (54.7% saved)

localize28.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.0b
(sqrt.f64 (/.f64 d (cbrt.f64 l)))
3.4b
(/.f64 (*.f64 M D) (*.f64 d 2))
7.5b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
9.2b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)

series936.0ms (5.6%)

Counts
2 → 56
Calls

2 calls:

858.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
77.0ms
(sqrt.f64 (/.f64 d (cbrt.f64 l)))

rewrite51.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
26×associate-*l/_binary64
25×sqrt-div_binary64
22×sqrt-prod_binary64
21×add-sqr-sqrt_binary64
21×pow1_binary64
Counts
2 → 83
Calls

2 calls:

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

simplify181.0ms (1.1%)

Algorithm
egg-herbie
Rules
714×associate-*r/_binary64
618×associate-*l*_binary64
552×associate-*r*_binary64
275×distribute-rgt-in_binary64
270×*-commutative_binary64
Counts
139 → 129
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03068099
17186934
225216934
359316934

prune226.0ms (1.4%)

Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New1884192
Fresh12122
Picked101
Done000
Total19025215
Error
10.4b
Counts
215 → 25
Alt Table
StatusErrorProgram
41.7b
(*.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))
60.8b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (*.f64 -1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) (*.f64 (pow.f64 d 2) l))))
38.4b
(/.f64 (*.f64 d (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)) (*.f64 (sqrt.f64 h) (sqrt.f64 l)))
60.5b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
39.3b
(/.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (*.f64 (sqrt.f64 d) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d)))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (cbrt.f64 l))))
23.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
17.7b
(/.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
23.0b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 h) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d (cbrt.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))
31.6b
(*.f64 (sqrt.f64 (*.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))) (sqrt.f64 (*.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))))
22.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 (/.f64 (*.f64 (cbrt.f64 d) (cbrt.f64 d)) (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
24.9b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) 1)
21.9b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) (cbrt.f64 (sqrt.f64 (/.f64 d l)))) (cbrt.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))
51.0b
(*.f64 (cbrt.f64 (*.f64 d d)) (*.f64 (sqrt.f64 (/.f64 1 l)) (*.f64 (cbrt.f64 (/.f64 d h)) (pow.f64 (/.f64 1 h) 1/6))))
21.8b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (fabs.f64 (cbrt.f64 (/.f64 d l))) (sqrt.f64 (cbrt.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 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) 3) (sqrt.f64 d))) (sqrt.f64 l))
51.3b
(*.f64 (pow.f64 (pow.f64 d 2) 1/3) (*.f64 (sqrt.f64 (/.f64 1 l)) (*.f64 (pow.f64 (/.f64 1 h) 1/6) (fabs.f64 (pow.f64 (/.f64 d h) 1/3)))))
26.7b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 (/.f64 d h))) (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))
21.9b
(/.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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)) (fabs.f64 (cbrt.f64 h)))
21.7b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 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))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
44.5b
(cbrt.f64 (pow.f64 (*.f64 (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 3))
23.0b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.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))
26.7b
(*.f64 (sqrt.f64 (/.f64 d h)) (*.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)))
20.6b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) 1)
43.0b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
Compiler

Compiled 12238 to 5378 computations (56.1% saved)

localize30.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.0b
(sqrt.f64 (/.f64 d (cbrt.f64 l)))
3.4b
(/.f64 (*.f64 D M) (*.f64 2 d))
5.2b
(*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d)))))
9.2b
(fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)

series1.1s (6.6%)

Counts
3 → 152
Calls

3 calls:

998.0ms
(*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d)))))
81.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)
14.0ms
(/.f64 (*.f64 D M) (*.f64 2 d))

rewrite24.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×add-cbrt-cube_binary64
24×add-exp-log_binary64
12×pow1_binary64
10×cbrt-unprod_binary64
10×prod-exp_binary64
Counts
3 → 59
Calls

3 calls:

14.0ms
(*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d)))))
5.0ms
(/.f64 (*.f64 D M) (*.f64 2 d))
0.0ms
(fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)

simplify182.0ms (1.1%)

Algorithm
egg-herbie
Rules
590×fma-def_binary64
429×associate-*r*_binary64
344×associate-*l*_binary64
274×*-commutative_binary64
255×associate-/r/_binary64
Counts
211 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02998172
16637407
226767253
348477213
452857213

prune203.0ms (1.2%)

Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New1489157
Fresh51924
Picked101
Done000
Total15428182
Error
10.4b
Counts
182 → 28
Alt Table
StatusErrorProgram
41.7b
(*.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))
60.8b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (*.f64 -1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) (*.f64 (pow.f64 d 2) l))))
17.9b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d)))))) (cbrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d))))))) (cbrt.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d))))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
38.4b
(/.f64 (*.f64 d (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)) (*.f64 (sqrt.f64 h) (sqrt.f64 l)))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
50.4b
(/.f64 (*.f64 (cbrt.f64 (*.f64 d d)) (*.f64 (cbrt.f64 d) (exp.f64 (fma.f64 (log.f64 h) -1/6 (*.f64 (log.f64 l) -1/6))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
24.9b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) 1)
50.6b
(/.f64 (*.f64 (*.f64 (exp.f64 (*.f64 1/6 (-.f64 (log.f64 (/.f64 1 l)) (log.f64 h)))) (fabs.f64 (pow.f64 d 1/3))) (pow.f64 (pow.f64 d 2) 1/3)) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
44.5b
(cbrt.f64 (pow.f64 (*.f64 (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 3))
51.9b
(/.f64 (*.f64 (cbrt.f64 d) (*.f64 (cbrt.f64 (*.f64 d d)) (pow.f64 (/.f64 1 (*.f64 h l)) 1/6))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
23.0b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.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))
53.2b
(/.f64 (*.f64 (fabs.f64 (pow.f64 d 1/3)) (*.f64 (pow.f64 (pow.f64 d 2) 1/3) (pow.f64 (/.f64 1 (*.f64 l h)) 1/6))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
21.8b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (fabs.f64 (cbrt.f64 (/.f64 d l))) (sqrt.f64 (cbrt.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 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) 3) (sqrt.f64 d))) (sqrt.f64 l))
17.7b
(/.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l)))) (sqrt.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
26.7b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 (/.f64 d h))) (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))
21.9b
(/.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.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)) (fabs.f64 (cbrt.f64 h)))
17.4b
(/.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l)))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
20.6b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) 1)
20.5b
(/.f64 (*.f64 1 (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
60.5b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
23.0b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
21.7b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 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))
31.6b
(*.f64 (sqrt.f64 (*.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))) (sqrt.f64 (*.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))))
21.9b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) (cbrt.f64 (sqrt.f64 (/.f64 d l)))) (cbrt.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))
26.7b
(*.f64 (sqrt.f64 (/.f64 d h)) (*.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)))
43.0b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
17.7b
(/.f64 (*.f64 (fma.f64 (pow.f64 (*.f64 (/.f64 D 2) (/.f64 M d)) 2) (*.f64 (/.f64 h l) -1/2) 1) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 l))) (*.f64 (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (fabs.f64 (cbrt.f64 d))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
Compiler

Compiled 9455 to 3699 computations (60.9% saved)

regimes3.2s (19.5%)

Accuracy

Total 3.0b remaining (22.5%)

Threshold costs 0b (0%)

Counts
171 → 2
Compiler

Compiled 52271 to 35267 computations (32.5% saved)

bsearch12.0ms (0.1%)

Compiler

Compiled 40 to 31 computations (22.5% saved)

simplify8.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
060184
178184
293184
3103184
4111184
5115184
6116184
7113184

end627.0ms (3.8%)

Remove

(sort M D)

Compiler

Compiled 1602 to 988 computations (38.3% saved)

Profiling

Loading profile data...