Details

Time bar (total: 16.6s)

analyze2.4s (14.7%)

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
0%98.1%1.9%13
0%98.1%1.9%14
Compiler

Compiled 59 to 22 computations (62.7% saved)

sample257.0ms (1.6%)

Algorithm
intervals
Results
41.0ms62×body4096valid
33.0ms46×body8192valid
31.0ms320×body128nan
23.0ms38×body2048valid
11.0ms115×body128invalid
8.0ms87×body128valid
5.0msbody1024valid
3.0msbody512valid
1.0msbody256valid
1.0msbody2048invalid
1.0msbody512invalid
Compiler

Compiled 123 to 49 computations (60.2% saved)

simplify42.0ms (0.3%)

Algorithm
egg-herbie
Rules
599×times-frac_binary64
518×distribute-neg-frac_binary64
416×fma-def_binary64
304×associate-/l*_binary64
217×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02278
16474
229674
3310367
4421867
5536567

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
59.9b
Counts
3 → 2
Alt Table
StatusErrorProgram
63.1b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 d d) (/.f64 c0 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (*.f64 (*.f64 (/.f64 d D) (pow.f64 (/.f64 d D) 3)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
Compiler

Compiled 321 to 130 computations (59.5% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
13.2b
(sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))
15.1b
(*.f64 (*.f64 w h) (*.f64 D D))
18.3b
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
29.5b
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))

series780.0ms (4.7%)

Counts
4 → 240
Calls

4 calls:

294.0ms
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))
276.0ms
(sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))
187.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
22.0ms
(*.f64 (*.f64 w h) (*.f64 D D))

rewrite93.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
85×add-cbrt-cube_binary64
85×add-exp-log_binary64
47×cbrt-unprod_binary64
47×prod-exp_binary64
17×pow1_binary64
Counts
4 → 108
Calls

4 calls:

38.0ms
(+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))
25.0ms
(sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))
10.0ms
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))
5.0ms
(*.f64 (*.f64 w h) (*.f64 D D))

simplify271.0ms (1.6%)

Algorithm
egg-herbie
Rules
845×times-frac_binary64
433×fma-neg_binary64
365×associate-/l*_binary64
362×associate-/r*_binary64
140×associate-*l/_binary64
Counts
348 → 233
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
037915401
1106614410
2478214410
3513114410

prune740.0ms (4.5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New40611417
Fresh011
Picked101
Done000
Total40712419
Error
36.0b
Counts
419 → 12
Alt Table
StatusErrorProgram
63.7b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (exp.f64 (-.f64 (log.f64 (*.f64 c0 (*.f64 d d))) (+.f64 (+.f64 (log.f64 w) (log.f64 h)) (+.f64 (log.f64 D) (log.f64 D))))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
63.1b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 d d) (/.f64 c0 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (*.f64 (*.f64 (/.f64 d D) (pow.f64 (/.f64 d D) 3)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))
61.5b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 c0 (/.f64 (*.f64 w h) (/.f64 (*.f64 d d) (*.f64 D D)))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 2 (/.f64 (*.f64 (pow.f64 d 2) c0) (*.f64 (pow.f64 D 2) (*.f64 w h)))))
62.8b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (neg.f64 (*.f64 M M)))))
51.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (sqrt.f64 (neg.f64 (pow.f64 M 2))))
62.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M))))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))) (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))))
63.0b
(*.f64 (/.f64 c0 (*.f64 2 w)) (exp.f64 (log.f64 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))))
60.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 c0 (*.f64 d d)) (/.f64 1 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
60.6b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (neg.f64 (/.f64 (*.f64 (*.f64 d d) c0) (*.f64 (*.f64 D D) (*.f64 w h))))))
42.2b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2)))) (*.f64 (pow.f64 d 2) c0))))
Compiler

Compiled 28025 to 6581 computations (76.5% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.9b
(*.f64 w (*.f64 h (pow.f64 M 2)))
12.2b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2)))) (*.f64 (pow.f64 d 2) c0))))
14.1b
(/.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2)))) (*.f64 (pow.f64 d 2) c0))
15.4b
(*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2))))

series611.0ms (3.7%)

Counts
4 → 160
Calls

4 calls:

289.0ms
(/.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2)))) (*.f64 (pow.f64 d 2) c0))
243.0ms
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2)))) (*.f64 (pow.f64 d 2) c0))))
58.0ms
(*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2))))
21.0ms
(*.f64 w (*.f64 h (pow.f64 M 2)))

rewrite200.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
1742×add-exp-log_binary64
1270×prod-exp_binary64
388×div-exp_binary64
239×add-cbrt-cube_binary64
201×pow-exp_binary64
Counts
4 → 396
Calls

4 calls:

19.0ms
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2)))) (*.f64 (pow.f64 d 2) c0))))
14.0ms
(/.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2)))) (*.f64 (pow.f64 d 2) c0))
7.0ms
(*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2))))
4.0ms
(*.f64 w (*.f64 h (pow.f64 M 2)))

simplify387.0ms (2.3%)

Algorithm
egg-herbie
Rules
642×associate-/l/_binary64
565×times-frac_binary64
504×associate-*r*_binary64
408×associate-*l*_binary64
321×log-div_binary64
Counts
556 → 302
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
038219077
172515505
2311715505
3481415505
4520415505

prune587.0ms (3.5%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New2948302
Fresh11011
Picked101
Done000
Total29618314
Error
27.1b
Counts
314 → 18
Alt Table
StatusErrorProgram
63.7b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (exp.f64 (-.f64 (log.f64 (*.f64 c0 (*.f64 d d))) (+.f64 (+.f64 (log.f64 w) (log.f64 h)) (+.f64 (log.f64 D) (log.f64 D))))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
63.1b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 d d) (/.f64 c0 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (*.f64 (*.f64 (/.f64 d D) (pow.f64 (/.f64 d D) 3)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))
44.0b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (*.f64 w h) (pow.f64 M 2))) (*.f64 (pow.f64 d 2) c0))))
57.3b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (exp.f64 (+.f64 (log.f64 (pow.f64 D 2)) (+.f64 (log.f64 w) (+.f64 (log.f64 h) (log.f64 (pow.f64 M 2)))))) (*.f64 (pow.f64 d 2) c0))))
60.4b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (exp.f64 (+.f64 (log.f64 (pow.f64 D 2)) (+.f64 (log.f64 w) (+.f64 (log.f64 h) (*.f64 (log.f64 M) 2))))) (*.f64 (pow.f64 d 2) c0))))
62.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M))))))
33.8b
(*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 d 2)))
60.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 c0 (*.f64 d d)) (/.f64 1 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
61.5b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 c0 (/.f64 (*.f64 w h) (/.f64 (*.f64 d d) (*.f64 D D)))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 2 (/.f64 (*.f64 (pow.f64 d 2) c0) (*.f64 (pow.f64 D 2) (*.f64 w h)))))
62.8b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (neg.f64 (*.f64 M M)))))
51.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (sqrt.f64 (neg.f64 (pow.f64 M 2))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))) (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))))
63.0b
(*.f64 (/.f64 c0 (*.f64 2 w)) (exp.f64 (log.f64 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))))
37.6b
(log.f64 (pow.f64 (exp.f64 (/.f64 (*.f64 (*.f64 D D) (*.f64 w (*.f64 (*.f64 M M) h))) (*.f64 (*.f64 d d) c0))) (*.f64 (/.f64 c0 w) 1/4)))
41.7b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (*.f64 (/.f64 (pow.f64 D 2) (pow.f64 d 2)) (/.f64 (*.f64 w (*.f64 h (pow.f64 M 2))) c0))))
60.1b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (exp.f64 (-.f64 (log.f64 (*.f64 (pow.f64 D 2) (*.f64 w (*.f64 h (pow.f64 M 2))))) (+.f64 (*.f64 (log.f64 d) 2) (log.f64 c0))))))
40.3b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 D (*.f64 D (*.f64 w (*.f64 h (pow.f64 M 2))))) (*.f64 (pow.f64 d 2) c0))))
Compiler

Compiled 12796 to 7709 computations (39.8% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 d 2)))
5.9b
(*.f64 (pow.f64 M 2) h)
13.0b
(*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h))
13.3b
(/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 d 2))

series308.0ms (1.9%)

Counts
4 → 72
Calls

4 calls:

143.0ms
(*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 d 2)))
124.0ms
(/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 d 2))
32.0ms
(*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h))
8.0ms
(*.f64 (pow.f64 M 2) h)

rewrite56.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
290×add-exp-log_binary64
190×prod-exp_binary64
78×div-exp_binary64
76×pow-exp_binary64
76×pow-to-exp_binary64
Counts
4 → 205
Calls

4 calls:

13.0ms
(/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 d 2))
13.0ms
(*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 d 2)))
6.0ms
(*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h))
4.0ms
(*.f64 (pow.f64 M 2) h)

simplify148.0ms (0.9%)

Algorithm
egg-herbie
Rules
506×*-commutative_binary64
444×associate-/l/_binary64
380×fma-def_binary64
373×associate-/r/_binary64
294×log-prod_binary64
Counts
277 → 231
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02175669
14225071
216725018
339364789
450064789

prune456.0ms (2.8%)

Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New21714231
Fresh61117
Picked101
Done000
Total22425249
Error
20.3b
Counts
249 → 25
Alt Table
StatusErrorProgram
30.5b
(*.f64 1/4 (/.f64 (*.f64 (*.f64 h (*.f64 M M)) (/.f64 (*.f64 D D) d)) d))
62.8b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (neg.f64 (*.f64 M M)))))
63.7b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (exp.f64 (-.f64 (log.f64 (*.f64 c0 (*.f64 d d))) (+.f64 (+.f64 (log.f64 w) (log.f64 h)) (+.f64 (log.f64 D) (log.f64 D))))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
63.1b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 d d) (/.f64 c0 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (*.f64 (*.f64 (/.f64 d D) (pow.f64 (/.f64 d D) 3)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))
62.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M))))))
33.1b
(*.f64 1/4 (/.f64 (*.f64 (*.f64 (pow.f64 D 2) (pow.f64 M 2)) h) (pow.f64 d 2)))
60.5b
(*.f64 1/4 (exp.f64 (-.f64 (+.f64 (log.f64 (pow.f64 D 2)) (+.f64 (*.f64 (log.f64 M) 2) (log.f64 h))) (*.f64 (log.f64 d) 2))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))) (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))))
33.9b
(*.f64 1/4 (/.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 D 2)) (cbrt.f64 (pow.f64 D 2))) (*.f64 (cbrt.f64 (pow.f64 D 2)) (*.f64 (pow.f64 M 2) h))) (pow.f64 d 2)))
32.1b
(*.f64 1/4 (/.f64 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (pow.f64 M 2) h)) (pow.f64 (*.f64 (cbrt.f64 d) (cbrt.f64 d)) 2)) (pow.f64 (cbrt.f64 d) 2)))
30.4b
(*.f64 1/4 (/.f64 (*.f64 D (*.f64 D (*.f64 (pow.f64 M 2) h))) (pow.f64 d 2)))
30.5b
(*.f64 1/4 (*.f64 (/.f64 (*.f64 D D) d) (/.f64 (*.f64 h (*.f64 M M)) d)))
58.0b
(*.f64 1/4 (exp.f64 (fma.f64 2 (log.f64 (*.f64 D M)) (fma.f64 (log.f64 d) -2 (log.f64 h)))))
40.3b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 D (*.f64 D (*.f64 w (*.f64 h (pow.f64 M 2))))) (*.f64 (pow.f64 d 2) c0))))
33.4b
(*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 M (*.f64 M h))) (pow.f64 d 2)))
51.4b
(*.f64 1/4 (/.f64 (exp.f64 (fma.f64 2 (log.f64 (*.f64 D M)) (log.f64 h))) (pow.f64 d 2)))
61.5b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 c0 (/.f64 (*.f64 w h) (/.f64 (*.f64 d d) (*.f64 D D)))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 2 (/.f64 (*.f64 (pow.f64 d 2) c0) (*.f64 (pow.f64 D 2) (*.f64 w h)))))
47.9b
(*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (*.f64 M (sqrt.f64 h)) (*.f64 M (sqrt.f64 h)))) (pow.f64 d 2)))
44.0b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (*.f64 w h) (pow.f64 M 2))) (*.f64 (pow.f64 d 2) c0))))
63.0b
(*.f64 (/.f64 c0 (*.f64 2 w)) (exp.f64 (log.f64 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))))
60.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 c0 (*.f64 d d)) (/.f64 1 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
55.2b
(exp.f64 (+.f64 (log.f64 1/4) (-.f64 (+.f64 (log.f64 (pow.f64 D 2)) (+.f64 (*.f64 (log.f64 M) 2) (log.f64 h))) (log.f64 (pow.f64 d 2)))))
54.3b
(exp.f64 (+.f64 (log.f64 1/4) (-.f64 (+.f64 (*.f64 (log.f64 D) 2) (+.f64 (log.f64 (pow.f64 M 2)) (log.f64 h))) (log.f64 (pow.f64 d 2)))))
58.0b
(exp.f64 (fma.f64 (log.f64 d) -2 (fma.f64 2 (log.f64 (*.f64 D M)) (log.f64 (*.f64 h 1/4)))))
Compiler

Compiled 6806 to 4150 computations (39% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
2.9b
(*.f64 D (*.f64 D (*.f64 (pow.f64 M 2) h)))
5.4b
(*.f64 D (*.f64 (pow.f64 M 2) h))
5.9b
(*.f64 (pow.f64 M 2) h)
13.3b
(/.f64 (*.f64 D (*.f64 D (*.f64 (pow.f64 M 2) h))) (pow.f64 d 2))

series176.0ms (1.1%)

Counts
3 → 100
Calls

3 calls:

121.0ms
(/.f64 (*.f64 D (*.f64 D (*.f64 (pow.f64 M 2) h))) (pow.f64 d 2))
31.0ms
(*.f64 D (*.f64 D (*.f64 (pow.f64 M 2) h)))
23.0ms
(*.f64 D (*.f64 (pow.f64 M 2) h))

rewrite26.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
92×add-exp-log_binary64
55×prod-exp_binary64
31×add-cbrt-cube_binary64
18×div-exp_binary64
15×cbrt-unprod_binary64
Counts
3 → 96
Calls

3 calls:

8.0ms
(/.f64 (*.f64 D (*.f64 D (*.f64 (pow.f64 M 2) h))) (pow.f64 d 2))
6.0ms
(*.f64 D (*.f64 D (*.f64 (pow.f64 M 2) h)))
4.0ms
(*.f64 D (*.f64 (pow.f64 M 2) h))

simplify109.0ms (0.7%)

Algorithm
egg-herbie
Rules
649×associate-*l/_binary64
480×associate-*r/_binary64
443×*-commutative_binary64
406×associate-/l/_binary64
385×associate-/r/_binary64
Counts
196 → 135
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01403573
13173183
214813183
346653158
450703158

prune357.0ms (2.2%)

Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New1729181
Fresh71724
Picked101
Done000
Total18026206
Error
17.6b
Counts
206 → 26
Alt Table
StatusErrorProgram
63.7b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (exp.f64 (-.f64 (log.f64 (*.f64 c0 (*.f64 d d))) (+.f64 (+.f64 (log.f64 w) (log.f64 h)) (+.f64 (log.f64 D) (log.f64 D))))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
63.1b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 d d) (/.f64 c0 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 c0 (*.f64 w h)) (*.f64 (*.f64 (/.f64 d D) (pow.f64 (/.f64 d D) 3)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))
27.5b
(*.f64 1/4 (*.f64 (/.f64 D (*.f64 d (cbrt.f64 d))) (/.f64 (*.f64 D (*.f64 h (*.f64 M M))) (pow.f64 (cbrt.f64 d) 2))))
62.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M))))))
25.8b
(*.f64 1/4 (/.f64 (*.f64 (*.f64 D (*.f64 h (*.f64 M M))) (/.f64 D d)) d))
33.9b
(*.f64 1/4 (/.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 D 2)) (cbrt.f64 (pow.f64 D 2))) (*.f64 (cbrt.f64 (pow.f64 D 2)) (*.f64 (pow.f64 M 2) h))) (pow.f64 d 2)))
27.6b
(*.f64 1/4 (*.f64 (/.f64 D (pow.f64 (*.f64 (cbrt.f64 d) (cbrt.f64 d)) 2)) (/.f64 (*.f64 D (*.f64 (pow.f64 M 2) h)) (pow.f64 (cbrt.f64 d) 2))))
60.5b
(*.f64 1/4 (exp.f64 (-.f64 (+.f64 (log.f64 (pow.f64 D 2)) (+.f64 (*.f64 (log.f64 M) 2) (log.f64 h))) (*.f64 (log.f64 d) 2))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))))) (sqrt.f64 (+.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))))
29.5b
(*.f64 1/4 (/.f64 (*.f64 D (*.f64 D (*.f64 M (*.f64 h M)))) (pow.f64 d 2)))
63.0b
(*.f64 (/.f64 c0 (*.f64 2 w)) (exp.f64 (log.f64 (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (-.f64 (*.f64 (/.f64 (pow.f64 d 4) (pow.f64 D 4)) (*.f64 (/.f64 c0 (*.f64 w h)) (/.f64 c0 (*.f64 w h)))) (*.f64 M M)))))))
29.2b
(*.f64 1/4 (/.f64 (*.f64 D (*.f64 (*.f64 D (pow.f64 M 2)) h)) (pow.f64 d 2)))
46.4b
(*.f64 1/4 (*.f64 (/.f64 D (pow.f64 (sqrt.f64 d) 2)) (*.f64 (*.f64 h (*.f64 M M)) (/.f64 D d))))
51.4b
(*.f64 1/4 (/.f64 (exp.f64 (fma.f64 2 (log.f64 (*.f64 D M)) (log.f64 h))) (pow.f64 d 2)))
61.5b
(*.f64 (/.f64 c0 (*.f64 2 w)) (+.f64 (/.f64 c0 (/.f64 (*.f64 w h) (/.f64 (*.f64 d d) (*.f64 D D)))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
59.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 2 (/.f64 (*.f64 (pow.f64 d 2) c0) (*.f64 (pow.f64 D 2) (*.f64 w h)))))
25.6b
(*.f64 1/4 (*.f64 (/.f64 D d) (/.f64 (*.f64 D (*.f64 (pow.f64 M 2) h)) d)))
62.8b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (/.f64 c0 (*.f64 w h)) (/.f64 (*.f64 d d) (*.f64 D D)) (sqrt.f64 (neg.f64 (*.f64 M M)))))
47.9b
(*.f64 1/4 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (*.f64 M (sqrt.f64 h)) (*.f64 M (sqrt.f64 h)))) (pow.f64 d 2)))
44.0b
(*.f64 (/.f64 c0 (*.f64 2 w)) (*.f64 1/2 (/.f64 (*.f64 (pow.f64 D 2) (*.f64 (*.f64 w h) (pow.f64 M 2))) (*.f64 (pow.f64 d 2) c0))))
60.9b
(*.f64 (/.f64 c0 (*.f64 2 w)) (fma.f64 (*.f64 c0 (*.f64 d d)) (/.f64 1 (*.f64 (*.f64 w h) (*.f64 D D))) (sqrt.f64 (-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M)))))
25.6b
(*.f64 1/4 (/.f64 D (/.f64 d (*.f64 (*.f64 h (*.f64 M M)) (/.f64 D d)))))
55.2b
(exp.f64 (+.f64 (log.f64 1/4) (-.f64 (+.f64 (log.f64 (pow.f64 D 2)) (+.f64 (*.f64 (log.f64 M) 2) (log.f64 h))) (log.f64 (pow.f64 d 2)))))
58.0b
(*.f64 1/4 (exp.f64 (fma.f64 2 (log.f64 (*.f64 D M)) (fma.f64 (log.f64 d) -2 (log.f64 h)))))
54.3b
(exp.f64 (+.f64 (log.f64 1/4) (-.f64 (+.f64 (*.f64 (log.f64 D) 2) (+.f64 (log.f64 (pow.f64 M 2)) (log.f64 h))) (log.f64 (pow.f64 d 2)))))
36.6b
(*.f64 1/4 (/.f64 (*.f64 D (exp.f64 (log.f64 (*.f64 D (*.f64 h (*.f64 M M)))))) (pow.f64 d 2)))
Compiler

Compiled 4727 to 2676 computations (43.4% saved)

regimes1.5s (8.8%)

Accuracy

Total 8.4b remaining (31.1%)

Threshold costs 0b (0%)

Counts
125 → 1
Compiler

Compiled 39177 to 26606 computations (32.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
11622
21622

end1.0ms (0%)

Compiler

Compiled 21 to 13 computations (38.1% saved)

sample7.0s (42.3%)

Algorithm
intervals
Results
1.4s2099×body4096valid
1.3s11613×body128nan
890.0ms1151×body8192valid
673.0ms1312×body2048valid
524.0ms3926×body128invalid
280.0ms617×body1024valid
243.0ms2379×body128valid
82.0ms285×body512valid
33.0ms157×body256valid
32.0ms47×body2048invalid
25.0ms61×body1024invalid
11.0ms25×body256invalid
9.0ms31×body512invalid
6.0ms11×body4096invalid
4.0msbody8192exit
Compiler

Compiled 1003 to 577 computations (42.5% saved)

Profiling

Loading profile data...