Details

Time bar (total: 14.8s)

analyze2.2s (14.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.5s (43.8%)

Symmetry

(sort M D)

Results
3.6s13306×body128invalid
2.8s8256×body128valid
Compiler

Compiled 122 to 95 computations (22.1% saved)

simplify37.0ms (0.3%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
02441
16241
218839
3107139
4361039
5510639

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

localize21.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.1b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
10.7b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.2b
(sqrt.f64 (/.f64 d h))
15.1b
(sqrt.f64 (/.f64 d l))

series348.0ms (2.4%)

Counts
4 → 92
Calls

4 calls:

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

rewrite75.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
86×egg-rr
Counts
4 → 86
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02272
146571
2491771
3504071
000
100

simplify86.0ms (0.6%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
0462622
11012574
23672484
321412484
445622484
551802484

prune123.0ms (0.8%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New8318101
Fresh000
Picked101
Done000
Total8418102
Error
11.4b
Counts
102 → 18
Alt Table
StatusErrorProgram
40.6b
(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)
42.9b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
40.3b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
29.9b
(*.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))
31.7b
(*.f64 (*.f64 (exp.f64 (log.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))
59.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
33.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
29.8b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.8b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (pow.f64 (pow.f64 (/.f64 d l) 1/4) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
30.1b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
30.2b
(*.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.7b
(*.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))
43.8b
(*.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))
47.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))
42.7b
(*.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))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 d l)) 2)) (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))
29.9b
(*.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))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (cbrt.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))
Compiler

Compiled 4007 to 2196 computations (45.2% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.1b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
10.7b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.3b
(pow.f64 (/.f64 d h) 1/4)
15.1b
(sqrt.f64 (/.f64 d l))

series702.0ms (4.8%)

Counts
2 → 56
Calls

2 calls:

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

rewrite64.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
33×egg-rr
Counts
2 → 33
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02447
151245
2469045
3552345
000
100

simplify103.0ms (0.7%)

Algorithm
egg-herbie
Rules
752×div-sub_binary64
503×associate-*r*_binary64
501×fma-def_binary64
438×associate-*l*_binary64
286×unswap-sqr_binary64
Counts
89 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0561467
11271419
22731419
38641275
433101275
546421275
647621275
752901275

prune201.0ms (1.4%)

Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New92698
Fresh31417
Picked101
Done000
Total9620116
Error
11.4b
Counts
116 → 20
Alt Table
StatusErrorProgram
59.9b
(log.f64 (pow.f64 (exp.f64 (pow.f64 (*.f64 (/.f64 d h) (/.f64 d l)) 1/2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
42.7b
(*.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))
39.2b
(pow.f64 (*.f64 (pow.f64 (*.f64 (/.f64 d h) (/.f64 d l)) 1/2) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 1)
40.6b
(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)
42.9b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
31.7b
(*.f64 (*.f64 (pow.f64 (exp.f64 (*.f64 1/4 (log.f64 (/.f64 d h)))) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
40.3b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
29.9b
(*.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))
59.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
33.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
42.8b
(*.f64 (*.f64 (pow.f64 (*.f64 (pow.f64 d 1/4) (pow.f64 (/.f64 1 h) 1/4)) 2) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.9b
(*.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))
30.0b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (*.f64 (cbrt.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))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (cbrt.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))
30.1b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (/.f64 d h))) 3) (sqrt.f64 (/.f64 d l))) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
30.2b
(*.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.7b
(*.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))
43.8b
(*.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))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 d l)) 2)) (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))
29.8b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (pow.f64 (/.f64 d l) 1/4) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
Compiler

Compiled 4361 to 2648 computations (39.3% saved)

localize80.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.1b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (pow.f64 (/.f64 d l) 1/4) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
10.7b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.3b
(pow.f64 (/.f64 d h) 1/4)
15.4b
(pow.f64 (/.f64 d l) 1/4)

series775.0ms (5.3%)

Counts
2 → 60
Calls

2 calls:

539.0ms
(pow.f64 (/.f64 d l) 1/4)
235.0ms
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (pow.f64 (/.f64 d l) 1/4) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))

rewrite65.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
30×egg-rr
Counts
2 → 30
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02548
154045
2489445
3498745
000
100

simplify154.0ms (1%)

Algorithm
egg-herbie
Rules
752×div-sub_binary64
505×fma-def_binary64
503×associate-*r*_binary64
438×associate-*l*_binary64
286×unswap-sqr_binary64
Counts
90 → 42
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0561602
11261548
22731548
38641404
433101404
546441404
647741404
753051404

prune131.0ms (0.9%)

Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New88492
Fresh41519
Picked101
Done000
Total9319112
Error
11.4b
Counts
112 → 19
Alt Table
StatusErrorProgram
59.9b
(log.f64 (pow.f64 (exp.f64 (pow.f64 (*.f64 (/.f64 d h) (/.f64 d l)) 1/2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
42.7b
(*.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))
39.2b
(pow.f64 (*.f64 (pow.f64 (*.f64 (/.f64 d h) (/.f64 d l)) 1/2) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 1)
40.6b
(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)
42.9b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
30.0b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (cbrt.f64 (pow.f64 (/.f64 d l) 3/4)) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
40.3b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
29.9b
(*.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))
59.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
33.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
45.7b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 d) (log.f64 l)))) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
29.9b
(*.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))
43.7b
(*.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))
43.8b
(*.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))
29.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (/.f64 d l)) 2)) (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))
30.0b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (*.f64 (pow.f64 (/.f64 d l) 1/8) (pow.f64 (/.f64 d l) 1/8)) 2)) (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)) (*.f64 (cbrt.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))
42.8b
(*.f64 (*.f64 (pow.f64 (*.f64 (pow.f64 d 1/4) (pow.f64 (/.f64 1 h) 1/4)) 2) (pow.f64 (pow.f64 (/.f64 d l) 1/4) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
30.2b
(*.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))
Compiler

Compiled 4362 to 2809 computations (35.6% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
10.7b
(fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)
12.2b
(sqrt.f64 (/.f64 d h))
12.7b
(cbrt.f64 (/.f64 d h))
15.1b
(sqrt.f64 (/.f64 d l))

series430.0ms (2.9%)

Counts
1 → 24
Calls

1 calls:

430.0ms
(cbrt.f64 (/.f64 d h))

rewrite41.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
50×egg-rr
Counts
1 → 50
Calls

2 calls:

40.0ms
((cbrt.f64 (/.f64 d h)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
11026
212986
350286
000
100

simplify63.0ms (0.4%)

Algorithm
egg-herbie
Rules
782×div-sub_binary64
558×fma-neg_binary64
403×fma-def_binary64
268×unswap-sqr_binary64
265×associate-/l*_binary64
Counts
74 → 56
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034312
169312
2127288
3362144
4873144
52025144
64170144
75089144

prune206.0ms (1.4%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1351136
Fresh11718
Picked101
Done000
Total13718155
Error
11.4b
Counts
155 → 18
Alt Table
StatusErrorProgram
59.9b
(log.f64 (pow.f64 (exp.f64 (pow.f64 (*.f64 (/.f64 d h) (/.f64 d l)) 1/2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)))
42.7b
(*.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))
39.2b
(pow.f64 (*.f64 (pow.f64 (*.f64 (/.f64 d h) (/.f64 d l)) 1/2) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1)) 1)
40.6b
(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)
42.9b
(*.f64 (sqrt.f64 (/.f64 1 (*.f64 l h))) d)
30.0b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (cbrt.f64 (pow.f64 (/.f64 d l) 3/4)) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
40.3b
(pow.f64 (*.f64 (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1) (/.f64 d (*.f64 (sqrt.f64 l) (sqrt.f64 h)))) 1)
29.9b
(*.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))
59.8b
(*.f64 -1/8 (*.f64 (/.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) d) (sqrt.f64 (/.f64 h (pow.f64 l 3)))))
33.9b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) 1)
43.7b
(*.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))
43.8b
(*.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))
29.9b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 d h)) (cbrt.f64 (sqrt.f64 (/.f64 d h)))) (/.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))
30.0b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (*.f64 (pow.f64 (/.f64 d l) 1/8) (pow.f64 (/.f64 d l) 1/8)) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
45.7b
(*.f64 (*.f64 (pow.f64 (pow.f64 (/.f64 d h) 1/4) 2) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 d) (log.f64 l)))) 2)) (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)) (*.f64 (cbrt.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))
42.8b
(*.f64 (*.f64 (pow.f64 (*.f64 (pow.f64 d 1/4) (pow.f64 (/.f64 1 h) 1/4)) 2) (pow.f64 (pow.f64 (/.f64 d l) 1/4) 2)) (fma.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2) (*.f64 (/.f64 h l) -1/2) 1))
30.2b
(*.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))
Compiler

Compiled 5543 to 2543 computations (54.1% saved)

regimes1.6s (10.9%)

Accuracy

Total 5.9b remaining (32.1%)

Threshold costs 0b (0%)

Counts
109 → 3
Compiler

Compiled 26994 to 19906 computations (26.3% saved)

bsearch348.0ms (2.4%)

Steps
ItersRangePoint
10
-5.567746969073129e-272
-1.349214698440699e-284
-1.3767179517938137e-284
4
-6.90104367990861e-90
-4.372262148684192e-90
-5.08348195434106e-90
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
045138
163138
269138
372138
471138

end380.0ms (2.6%)

Remove

(sort M D)

Compiler

Compiled 973 to 679 computations (30.2% saved)

Profiling

Loading profile data...