Details

Time bar (total: 28.3s)

analyze5.4s (19%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%99.7%0.3%8
0%99.7%0.3%9
0%99.7%0.3%10
0%99.7%0.3%11
0%99.7%0.3%12
4.3%95.4%0.3%13
6.6%93.1%0.3%14
Compiler

Compiled 25 to 19 computations (24% saved)

sample4.6s (16.3%)

Symmetry

(sort M D)

Results
2.8s8256×body128valid
1.7s4637×body128invalid
Compiler

Compiled 74 to 56 computations (24.3% saved)

simplify37.0ms (0.1%)

Algorithm
egg-herbie
Rules
645×distribute-neg-frac_binary64
581×distribute-rgt-neg-in_binary64
418×associate-/l*_binary64
372×cancel-sign-sub-inv_binary64
263×associate-/l/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01827
14227
211127
372327
4285527
5499427

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
11.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
11.5b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
Compiler

Compiled 72 to 54 computations (25% saved)

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
2.9b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
3.5b
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
4.6b
(/.f64 (*.f64 M D) (*.f64 2 d))
8.1b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))

series1.5s (5.5%)

Counts
4 → 204
Calls

4 calls:

681.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
449.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
381.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
33.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite71.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64
38×add-sqr-sqrt_binary64
27×prod-exp_binary64
23×add-cbrt-cube_binary64
19×associate-*r*_binary64
Counts
4 → 124
Calls

4 calls:

19.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
12.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
9.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
8.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))

simplify396.0ms (1.4%)

Algorithm
egg-herbie
Rules
517×times-frac_binary64
399×associate-*l*_binary64
365×associate-/l*_binary64
342×associate-/r*_binary64
258×associate-*r/_binary64
Counts
328 → 314
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
051611209
1126210441
2498810441

prune650.0ms (2.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3059314
Fresh000
Picked101
Done000
Total3069315
Error
3.4b
Counts
315 → 9
Alt Table
StatusErrorProgram
61.2b
(*.f64 w0 (*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 l (pow.f64 d 2)))))) M)))
60.7b
(*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 (pow.f64 d 2) l))))) (*.f64 w0 M)))
12.3b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2) (/.f64 h l)))))
11.6b
w0
61.4b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
11.5b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))))
61.2b
(*.f64 w0 (*.f64 D (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4))))
59.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
9.0b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l))))
Compiler

Compiled 12118 to 7295 computations (39.8% saved)

localize28.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.5b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)))
4.3b
(/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)
4.6b
(/.f64 (*.f64 M D) (*.f64 2 d))
5.0b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h)

series1.1s (3.7%)

Counts
3 → 156
Calls

3 calls:

442.0ms
(/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)
345.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h) l)))
265.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) h)

rewrite53.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
54×add-exp-log_binary64
22×prod-exp_binary64
19×add-sqr-sqrt_binary64
16×div-exp_binary64
12×*-un-lft-identity_binary64
Counts
3 → 84
Calls

3 calls:

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

simplify296.0ms (1%)

Algorithm
egg-herbie
Rules
315×fma-def_binary64
298×unswap-sqr_binary64
288×distribute-neg-frac_binary64
241×cancel-sign-sub-inv_binary64
191×times-frac_binary64
Counts
240 → 190
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03347367
17646748
229856661
349956661

prune575.0ms (2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2272229
Fresh178
Picked101
Done000
Total2299238
Error
3.0b
Counts
238 → 9
Alt Table
StatusErrorProgram
61.2b
(*.f64 w0 (*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 l (pow.f64 d 2)))))) M)))
60.7b
(*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 (pow.f64 d 2) l))))) (*.f64 w0 M)))
11.6b
w0
61.4b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
11.5b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))))
61.2b
(*.f64 w0 (*.f64 D (sqrt.f64 (*.f64 (/.f64 (*.f64 (*.f64 M M) h) (*.f64 l (*.f64 d d))) -1/4))))
9.7b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l))))
59.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
7.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l))))
Compiler

Compiled 7937 to 5023 computations (36.7% saved)

localize30.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.5b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)))
4.3b
(/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)
4.6b
(/.f64 (*.f64 M D) (*.f64 2 d))
4.9b
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

series840.0ms (3%)

Counts
3 → 156
Calls

3 calls:

449.0ms
(/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)
333.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)))
58.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

rewrite142.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
226×add-cbrt-cube_binary64
226×add-exp-log_binary64
108×cbrt-unprod_binary64
108×prod-exp_binary64
79×cbrt-undiv_binary64
Counts
3 → 135
Calls

3 calls:

32.0ms
(/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)
17.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l)))
13.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)

simplify359.0ms (1.3%)

Algorithm
egg-herbie
Rules
584×associate-/l*_binary64
484×associate-*l*_binary64
455×associate-/r*_binary64
414×associate-*l/_binary64
390×associate-*r/_binary64
Counts
291 → 254
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04589762
112058761
247038697
349968697

prune743.0ms (2.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3302332
Fresh268
Picked011
Done000
Total3329341
Error
2.7b
Counts
341 → 9
Alt Table
StatusErrorProgram
61.2b
(*.f64 w0 (*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 h (*.f64 D D)) (*.f64 l (*.f64 d d))) -1/4)) (neg.f64 M)))
61.4b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
11.6b
w0
60.7b
(*.f64 w0 (*.f64 D (sqrt.f64 (*.f64 (/.f64 (*.f64 M (*.f64 M h)) (*.f64 l (*.f64 d d))) -1/4))))
11.5b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (*.f64 (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))) (cbrt.f64 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))))
9.7b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l))))
59.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
60.7b
(*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 (pow.f64 d 2) l))))) (*.f64 w0 M)))
7.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l))))
Compiler

Compiled 13216 to 7172 computations (45.7% saved)

localize24.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.5b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l)))
4.3b
(/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l)
5.0b
(/.f64 M (/.f64 2 (/.f64 D d)))
5.0b
(*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h)

series911.0ms (3.2%)

Counts
4 → 192
Calls

4 calls:

381.0ms
(/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l)
277.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l)))
226.0ms
(*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h)
26.0ms
(/.f64 M (/.f64 2 (/.f64 D d)))

rewrite251.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
735×times-frac_binary64
366×add-sqr-sqrt_binary64
347×*-un-lft-identity_binary64
344×add-cube-cbrt_binary64
142×associate-*l*_binary64
Counts
4 → 415
Calls

4 calls:

60.0ms
(*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h)
44.0ms
(/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l)
16.0ms
(/.f64 M (/.f64 2 (/.f64 D d)))
16.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (/.f64 M (/.f64 2 (/.f64 D d))) 2) h) l)))

simplify617.0ms (2.2%)

Algorithm
egg-herbie
Rules
542×associate-/r/_binary64
406×associate-/l/_binary64
335×associate-/l*_binary64
296×sqr-pow_binary64
264×times-frac_binary64
Counts
607 → 800
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
098015547
1237914776
2482814772
3499614772

prune1.7s (6.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New7973800
Fresh167
Picked101
Done011
Total79910809
Error
2.2b
Counts
809 → 10
Alt Table
StatusErrorProgram
37.5b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (*.f64 (/.f64 M (/.f64 2 (/.f64 D d))) (sqrt.f64 h)) (*.f64 (/.f64 M (/.f64 2 (/.f64 D d))) (sqrt.f64 h))) l))))
60.7b
(*.f64 w0 (*.f64 D (sqrt.f64 (*.f64 (/.f64 (*.f64 M (*.f64 M h)) (*.f64 l (*.f64 d d))) -1/4))))
61.2b
(*.f64 w0 (*.f64 (sqrt.f64 (*.f64 (/.f64 (*.f64 h (*.f64 D D)) (*.f64 l (*.f64 d d))) -1/4)) (neg.f64 M)))
61.4b
(/.f64 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 h (pow.f64 M 2))) l)))) w0) d)
59.5b
(*.f64 w0 (*.f64 D (sqrt.f64 (*.f64 (*.f64 (pow.f64 (/.f64 M d) 2) (/.f64 h l)) -1/4))))
60.7b
(*.f64 -1 (*.f64 (sqrt.f64 (neg.f64 (*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) h) (*.f64 (pow.f64 d 2) l))))) (*.f64 w0 M)))
11.6b
w0
9.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (pow.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 D d)) (cbrt.f64 (/.f64 D d))) (/.f64 M (/.f64 2 (cbrt.f64 (/.f64 D d))))) 2) h) l))))
59.0b
(*.f64 (sqrt.f64 (*.f64 (*.f64 (/.f64 h l) (pow.f64 (/.f64 D d) 2)) -1/4)) (neg.f64 (*.f64 M w0)))
7.8b
(*.f64 w0 (sqrt.f64 (-.f64 1 (/.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)) l))))
Compiler

Compiled 26966 to 15694 computations (41.8% saved)

regimes7.5s (26.6%)

Accuracy

Total 5.2b remaining (58.7%)

Threshold costs 0b (0%)

Counts
222 → 4
Compiler

Compiled 102364 to 74687 computations (27% saved)

bsearch10.0ms (0%)

Compiler

Compiled 24 to 18 computations (25% saved)

simplify11.0ms (0%)

Algorithm
egg-herbie
Rules
38×*-commutative_binary64
24×+-commutative_binary64
24×sub-neg_binary64
21×neg-sub0_binary64
20×neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066224
1102224
2139224
3182224
4222224
5242224
6250224
7251224
8249224

end365.0ms (1.3%)

Compiler

Compiled 864 to 559 computations (35.3% saved)

Profiling

Loading profile data...