Details

Time bar (total: 28.3s)

analyze4.6s (16.2%)

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)

sample331.0ms (1.2%)

Algorithm
intervals
Results
89.0ms256×body128valid
79.0ms257×body128nan
68.0ms158×body128invalid
Compiler

Compiled 86 to 68 computations (20.9% saved)

simplify54.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

prune9.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
27.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
27.9b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
Compiler

Compiled 146 to 106 computations (27.4% saved)

localize60.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.2b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
10.4b
(pow.f64 (/.f64 d h) (/.f64 1 2))
14.1b
(pow.f64 (/.f64 d l) (/.f64 1 2))
15.4b
(*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))

series2.7s (9.6%)

Counts
4 → 144
Calls

4 calls:

894.0ms
(pow.f64 (/.f64 d h) (/.f64 1 2))
876.0ms
(pow.f64 (/.f64 d l) (/.f64 1 2))
500.0ms
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
454.0ms
(*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))

rewrite131.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
331×add-exp-log_binary64
179×prod-exp_binary64
99×div-exp_binary64
60×pow-exp_binary64
45×times-frac_binary64
Counts
4 → 218
Calls

4 calls:

29.0ms
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
25.0ms
(*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))
8.0ms
(pow.f64 (/.f64 d l) (/.f64 1 2))
8.0ms
(pow.f64 (/.f64 d h) (/.f64 1 2))

simplify416.0ms (1.5%)

Algorithm
egg-herbie
Rules
544×times-frac_binary64
404×associate-*l*_binary64
378×fma-def_binary64
312×associate-*r*_binary64
189×*-commutative_binary64
Counts
362 → 321
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04459420
18988689
230218543
349748543
449528543

prune924.0ms (3.3%)

Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New29922321
Fresh000
Picked101
Done000
Total30022322
Error
12.1b
Counts
322 → 22
Alt Table
StatusErrorProgram
46.5b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 1 (sqrt.f64 h))) (sqrt.f64 (/.f64 d (sqrt.f64 h)))) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
23.1b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
23.4b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
24.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
46.0b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d h) (/.f64 1 2))) (pow.f64 (/.f64 d h) (/.f64 1 2))) (*.f64 (*.f64 (pow.f64 (/.f64 d l) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (pow.f64 (/.f64 d l) (/.f64 1 2)))) (*.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))))
43.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
28.0b
(*.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) 1/4) (pow.f64 (/.f64 d h) 1/4)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
34.3b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (log.f64 (pow.f64 (sqrt.f64 (exp.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 h l)))))
44.6b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (*.f64 l (pow.f64 d 2))))))
27.9b
(pow.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 d l)) (sqrt.f64 (/.f64 d h))) (fma.f64 -1/2 (*.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (/.f64 h l)) 1)) 1)
60.6b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
23.2b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (pow.f64 (/.f64 (*.f64 (cbrt.f64 d) (cbrt.f64 d)) (*.f64 (cbrt.f64 l) (cbrt.f64 l))) (/.f64 1 2)) (pow.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l)) (/.f64 1 2)))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
26.3b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 (cbrt.f64 h) (cbrt.f64 h))) (/.f64 (cbrt.f64 h) l))))
59.5b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (-.f64 (+.f64 (log.f64 M) (log.f64 D)) (log.f64 (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
40.7b
(*.f64 (*.f64 (*.f64 (pow.f64 (neg.f64 d) 1/2) (pow.f64 (/.f64 -1 h) 1/2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
28.4b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
28.4b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) (cbrt.f64 (sqrt.f64 (/.f64 d l)))) (cbrt.f64 (sqrt.f64 (/.f64 d l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
41.1b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (pow.f64 (/.f64 -1 l) 1/2) (pow.f64 (neg.f64 d) 1/2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
26.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 2 l))))
24.2b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) h))) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
32.5b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 d l)) (sqrt.f64 (/.f64 d h))) (fma.f64 -1/2 (*.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (/.f64 h l)) 1))) (sqrt.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 d l)) (sqrt.f64 (/.f64 d h))) (fma.f64 -1/2 (*.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2) (/.f64 h l)) 1))))
38.8b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
Compiler

Compiled 15963 to 10085 computations (36.8% saved)

localize52.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.3b
(/.f64 (*.f64 M D) (*.f64 2 d))
7.2b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
10.4b
(pow.f64 (/.f64 d h) (/.f64 1 2))
15.4b
(*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))

series455.0ms (1.6%)

Counts
2 → 68
Calls

2 calls:

440.0ms
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
14.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite40.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
44×add-exp-log_binary64
25×prod-exp_binary64
23×add-cbrt-cube_binary64
14×associate-*r/_binary64
12×sqrt-div_binary64
Counts
2 → 71
Calls

2 calls:

25.0ms
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
4.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify153.0ms (0.5%)

Algorithm
egg-herbie
Rules
744×fma-def_binary64
439×associate-*l*_binary64
352×associate-*r*_binary64
182×*-commutative_binary64
168×distribute-rgt-neg-in_binary64
Counts
139 → 112
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02155861
15925263
226944979
346684979
449834979

prune460.0ms (1.6%)

Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New28811299
Fresh81321
Picked101
Done000
Total29724321
Error
10.7b
Counts
321 → 24
Alt Table
StatusErrorProgram
25.0b
(/.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 1) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 (*.f64 1 1) (*.f64 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)) (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))) (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))) (+.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)))))
28.4b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
45.6b
(/.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 h)) (sqrt.f64 d))) (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))) (sqrt.f64 (cbrt.f64 l))))
41.1b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (pow.f64 (/.f64 -1 l) 1/2) (pow.f64 (neg.f64 d) 1/2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
26.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 2 l))))
19.3b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) h))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
27.9b
(*.f64 (sqrt.f64 (*.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1))) (sqrt.f64 (*.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1))))
43.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 h))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
43.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
50.1b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (-.f64 (log.f64 h) (log.f64 l))))))
59.8b
(log.f64 (pow.f64 (exp.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
46.0b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d h) (/.f64 1 2))) (pow.f64 (/.f64 d h) (/.f64 1 2))) (*.f64 (*.f64 (pow.f64 (/.f64 d l) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (pow.f64 (/.f64 d l) (/.f64 1 2)))) (*.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))))
28.0b
(*.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) 1/4) (pow.f64 (/.f64 d h) 1/4)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
36.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
44.6b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (*.f64 l (pow.f64 d 2))))))
26.3b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 (cbrt.f64 h) (cbrt.f64 h))) (/.f64 (cbrt.f64 h) l))))
40.7b
(*.f64 (*.f64 (*.f64 (pow.f64 (neg.f64 d) 1/2) (pow.f64 (/.f64 -1 h) 1/2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
38.8b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
19.9b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) l)))
23.6b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2)) (/.f64 h l))))
28.4b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) (cbrt.f64 (sqrt.f64 (/.f64 d l)))) (cbrt.f64 (sqrt.f64 (/.f64 d l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
18.7b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
24.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
60.6b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
Compiler

Compiled 18049 to 10008 computations (44.6% saved)

localize31.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.7b
(sqrt.f64 (/.f64 d (cbrt.f64 l)))
6.3b
(/.f64 (*.f64 M D) (*.f64 2 d))
7.2b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
15.4b
(*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))

series746.0ms (2.6%)

Counts
2 → 56
Calls

2 calls:

667.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
79.0ms
(sqrt.f64 (/.f64 d (cbrt.f64 l)))

rewrite72.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
81×frac-times_binary64
73×sqrt-div_binary64
48×associate-*l/_binary64
35×associate-*r/_binary64
24×fabs-div_binary64
Counts
2 → 123
Calls

2 calls:

36.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
3.0ms
(sqrt.f64 (/.f64 d (cbrt.f64 l)))

simplify215.0ms (0.8%)

Algorithm
egg-herbie
Rules
711×distribute-rgt-in_binary64
692×distribute-lft-in_binary64
462×*-commutative_binary64
279×times-frac_binary64
124×associate-*l*_binary64
Counts
179 → 197
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
038012329
1110310974
2265010590
3503010590

prune516.0ms (1.8%)

Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New3397346
Fresh32023
Picked101
Done000
Total34327370
Error
9.8b
Counts
370 → 27
Alt Table
StatusErrorProgram
25.0b
(/.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 1) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 (*.f64 1 1) (*.f64 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)) (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))) (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))) (+.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)))))
28.4b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
23.6b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2)) (/.f64 h l))))
15.5b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))))
45.6b
(/.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 h)) (sqrt.f64 d))) (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))) (sqrt.f64 (cbrt.f64 l))))
18.0b
(/.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 d 2)) 2)) (/.f64 h l))) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 h))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
26.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 2 l))))
19.3b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) h))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
27.9b
(*.f64 (sqrt.f64 (*.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1))) (sqrt.f64 (*.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1))))
43.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 h))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
59.8b
(log.f64 (pow.f64 (exp.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
38.6b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (*.f64 (pow.f64 d 2) l)))))
43.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
28.0b
(*.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) 1/4) (pow.f64 (/.f64 d h) 1/4)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
48.4b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (-.f64 (log.f64 h) (log.f64 l))))))
36.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
44.6b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (*.f64 l (pow.f64 d 2))))))
26.3b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 (cbrt.f64 h) (cbrt.f64 h))) (/.f64 (cbrt.f64 h) l))))
24.6b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (log.f64 (pow.f64 (sqrt.f64 (exp.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 h l)))))
40.7b
(*.f64 (*.f64 (*.f64 (pow.f64 (neg.f64 d) 1/2) (pow.f64 (/.f64 -1 h) 1/2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
38.8b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
19.9b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) l)))
28.4b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) (cbrt.f64 (sqrt.f64 (/.f64 d l)))) (cbrt.f64 (sqrt.f64 (/.f64 d l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
24.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
18.1b
(/.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 d 2)) 2)) (/.f64 h l))) (/.f64 (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 h))) (sqrt.f64 (/.f64 d (cbrt.f64 l)))) (fabs.f64 (cbrt.f64 h)))) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))))
60.6b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
42.9b
(/.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 d 2)) 2)) (/.f64 h l))) (*.f64 (sqrt.f64 d) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l)))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (cbrt.f64 h))))
Compiler

Compiled 23685 to 12263 computations (48.2% saved)

localize33.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.3b
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)))
6.3b
(/.f64 (*.f64 D M) (*.f64 2 d))
7.2b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))))
7.6b
(*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))

series1.3s (4.5%)

Counts
4 → 188
Calls

4 calls:

660.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))))
357.0ms
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)))
251.0ms
(*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))
16.0ms
(/.f64 (*.f64 D M) (*.f64 2 d))

rewrite218.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
233×add-exp-log_binary64
148×prod-exp_binary64
81×frac-times_binary64
72×sqrt-div_binary64
60×add-cbrt-cube_binary64
Counts
4 → 204
Calls

4 calls:

69.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))))
43.0ms
(/.f64 (*.f64 D M) (*.f64 2 d))
20.0ms
(*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))
12.0ms
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)))

simplify368.0ms (1.3%)

Algorithm
egg-herbie
Rules
573×*-commutative_binary64
252×distribute-rgt-in_binary64
251×distribute-lft-in_binary64
187×times-frac_binary64
178×log-prod_binary64
Counts
392 → 300
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
048316869
1135415353
2369115208
3484615208
4495415208

prune488.0ms (1.7%)

Pruning

27 alts after pruning (26 fresh and 1 done)

PrunedKeptTotal
New2991300
Fresh12526
Picked011
Done000
Total30027327
Error
9.8b
Counts
327 → 27
Alt Table
StatusErrorProgram
25.0b
(/.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 1) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 (*.f64 1 1) (*.f64 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)) (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))) (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))) (+.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l)))))
28.4b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
23.6b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2)) (/.f64 h l))))
15.5b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 1 l))))
45.6b
(/.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 h)) (sqrt.f64 d))) (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))) (sqrt.f64 (cbrt.f64 l))))
18.0b
(/.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 d 2)) 2)) (/.f64 h l))) (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 h))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))))
26.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 2 l))))
19.3b
(*.f64 (*.f64 (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) h))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
27.9b
(*.f64 (sqrt.f64 (*.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1))) (sqrt.f64 (*.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1))))
43.2b
(*.f64 (*.f64 (*.f64 (sqrt.f64 d) (sqrt.f64 (/.f64 1 h))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
59.8b
(log.f64 (pow.f64 (exp.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 D M) (*.f64 2 d)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
38.6b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (*.f64 (pow.f64 d 2) l)))))
43.4b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
28.0b
(*.f64 (*.f64 (*.f64 (pow.f64 (/.f64 d h) 1/4) (pow.f64 (/.f64 d h) 1/4)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
36.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
44.6b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 1/8 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (*.f64 l (pow.f64 d 2))))))
26.3b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2)) (*.f64 (cbrt.f64 h) (cbrt.f64 h))) (/.f64 (cbrt.f64 h) l))))
24.6b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (log.f64 (pow.f64 (sqrt.f64 (exp.f64 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) (/.f64 h l)))))
40.7b
(*.f64 (*.f64 (*.f64 (pow.f64 (neg.f64 d) 1/2) (pow.f64 (/.f64 -1 h) 1/2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
38.8b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (pow.f64 (/.f64 d l) (/.f64 1 2))) (-.f64 1 (exp.f64 (+.f64 (+.f64 (neg.f64 (log.f64 2)) (*.f64 (log.f64 (/.f64 (*.f64 M D) (*.f64 2 d))) 2)) (log.f64 (/.f64 h l))))))
19.9b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 2 d)) 2))) l)))
48.6b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 1 (cbrt.f64 h))) (sqrt.f64 (/.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 (*.f64 (exp.f64 (+.f64 (log.f64 h) (+.f64 (log.f64 1/2) (*.f64 (log.f64 (/.f64 (*.f64 D M) (*.f64 2 d))) 2)))) (/.f64 1 l))))
28.4b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 d l))) (cbrt.f64 (sqrt.f64 (/.f64 d l)))) (cbrt.f64 (sqrt.f64 (/.f64 d l))))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
24.0b
(*.f64 (*.f64 (pow.f64 (/.f64 d h) (/.f64 1 2)) (*.f64 (fabs.f64 (cbrt.f64 d)) (sqrt.f64 (/.f64 (cbrt.f64 d) l)))) (-.f64 1 (*.f64 (*.f64 (/.f64 1 2) (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) (/.f64 h l))))
18.1b
(/.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 d 2)) 2)) (/.f64 h l))) (/.f64 (*.f64 (sqrt.f64 (/.f64 d (cbrt.f64 h))) (sqrt.f64 (/.f64 d (cbrt.f64 l)))) (fabs.f64 (cbrt.f64 h)))) (sqrt.f64 (*.f64 (cbrt.f64 l) (cbrt.f64 l))))
60.6b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
42.9b
(/.f64 (*.f64 (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 D M) (*.f64 d 2)) 2)) (/.f64 h l))) (*.f64 (sqrt.f64 d) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l)))))) (*.f64 (fabs.f64 (cbrt.f64 h)) (sqrt.f64 (cbrt.f64 h))))
Compiler

Compiled 20048 to 10750 computations (46.4% saved)

regimes4.6s (16.2%)

Accuracy

Total 5.4b remaining (38.1%)

Threshold costs 0b (0%)

Counts
272 → 3
Compiler

Compiled 109067 to 77735 computations (28.7% saved)

bsearch23.0ms (0.1%)

Compiler

Compiled 40 to 31 computations (22.5% saved)

simplify14.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
073324
194324
2118324
3138324
4150324
5155324
6156324
7152324

end14.0ms (0.1%)

Remove

(sort M D)

Compiler

Compiled 636 to 351 computations (44.8% saved)

sample9.3s (32.9%)

Algorithm
intervals
Results
2.4s8000×body128valid
2.3s8343×body128nan
1.6s4863×body128invalid
Compiler

Compiled 1523 to 1042 computations (31.6% saved)

Profiling

Loading profile data...