Details

Time bar (total: 3.8s)

analyze547.0ms (14.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
14%85.8%0.1%7
22.6%77.2%0.1%8
23.8%74.5%1.7%9
40%56%4%10
47.3%48.7%4%11
48.4%45.8%5.8%12
58.6%32.4%9%13
63.4%27.5%9%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample1.1s (28.8%)

Results
805.0ms8256×body128valid
81.0ms798×body128invalid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify172.0ms (4.5%)

Algorithm
egg-herbie
Rules
907×associate-/l*_binary64
740×associate-/l/_binary64
677×fma-def_binary64
607×associate-/r/_binary64
557×associate-*l/_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0710
11710
22310
33610
44110
54710
6518
7618
82288
97618
108518
119648
129758
139808
149858
1522318
1622888
1726378
1826898
1929018
2030318
2132788
2237008
2341098
2441578
2548728
2649978
2748898

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
4.8b
(fma.f64 x (/.f64 y z) x)
12.1b
(/.f64 (*.f64 x (+.f64 y z)) z)
Compiler

Compiled 54 to 30 computations (44.4% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.5b
(fma.f64 x (/.f64 y z) x)

series13.0ms (0.4%)

Counts
1 → 36
Calls

1 calls:

13.0ms
(fma.f64 x (/.f64 y z) x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 x (/.f64 y z) x)

simplify73.0ms (1.9%)

Algorithm
egg-herbie
Rules
635×fma-def_binary64
449×associate-/l/_binary64
410×distribute-rgt-in_binary64
404×distribute-rgt-out_binary64
400×unswap-sqr_binary64
Counts
46 → 24
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
022451
132374
263374
3171374
4650374
52482374
63613374
73881374
84329374
95248374

prune11.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New23124
Fresh011
Picked101
Done000
Total24226
Error
0.1b
Counts
26 → 2
Alt Table
StatusErrorProgram
12.1b
(/.f64 (*.f64 x (+.f64 y z)) z)
4.8b
(+.f64 (*.f64 x (/.f64 y z)) x)
Compiler

Compiled 274 to 76 computations (72.3% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x (/.f64 y z)) x)
7.8b
(*.f64 x (/.f64 y z))

series25.0ms (0.6%)

Counts
2 → 72
Calls

2 calls:

13.0ms
(*.f64 x (/.f64 y z))
11.0ms
(+.f64 (*.f64 x (/.f64 y z)) x)

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
13×associate-*r*_binary64
10×times-frac_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
2 → 48
Calls

2 calls:

4.0ms
(*.f64 x (/.f64 y z))
4.0ms
(+.f64 (*.f64 x (/.f64 y z)) x)

simplify73.0ms (1.9%)

Algorithm
egg-herbie
Rules
407×associate-/l/_binary64
352×associate-/r*_binary64
337×associate-*l*_binary64
324×associate-/r/_binary64
269×fma-neg_binary64
Counts
120 → 76
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0961126
12351047
27731042
322691039
443221039
549601039

prune48.0ms (1.3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New70676
Fresh011
Picked011
Done000
Total70878
Error
0b
Counts
78 → 8
Alt Table
StatusErrorProgram
5.1b
(+.f64 (*.f64 (*.f64 x (*.f64 (cbrt.f64 (/.f64 y z)) (cbrt.f64 (/.f64 y z)))) (cbrt.f64 (/.f64 y z))) x)
12.1b
(/.f64 (*.f64 x (+.f64 y z)) z)
4.7b
(+.f64 (*.f64 (*.f64 x y) (/.f64 1 z)) x)
30.9b
(+.f64 (*.f64 (*.f64 x (/.f64 1 (sqrt.f64 z))) (/.f64 y (sqrt.f64 z))) x)
3.4b
(+.f64 (*.f64 (/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (/.f64 y (cbrt.f64 z))) x)
32.6b
(+.f64 (*.f64 (*.f64 x (sqrt.f64 y)) (/.f64 (sqrt.f64 y) z)) x)
3.7b
(+.f64 (*.f64 (*.f64 x (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (cbrt.f64 y) z)) x)
4.8b
(+.f64 (*.f64 x (/.f64 y z)) x)
Compiler

Compiled 1206 to 404 computations (66.5% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z)))
0.5b
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
0.6b
(cbrt.f64 z)
3.7b
(*.f64 (/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (/.f64 y (cbrt.f64 z)))

series500.0ms (13.2%)

Counts
4 → 84
Calls

4 calls:

394.0ms
(/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z)))
40.0ms
(*.f64 (/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (/.f64 y (cbrt.f64 z)))
34.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
33.0ms
(cbrt.f64 z)

rewrite29.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt_binary64
32×add-exp-log_binary64
31×times-frac_binary64
30×cbrt-prod_binary64
30×*-un-lft-identity_binary64
Counts
4 → 139
Calls

4 calls:

11.0ms
(*.f64 (/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (/.f64 y (cbrt.f64 z)))
4.0ms
(/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z)))
4.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
1.0ms
(cbrt.f64 z)

simplify113.0ms (3%)

Algorithm
egg-herbie
Rules
527×fma-neg_binary64
499×associate-/r/_binary64
434×*-commutative_binary64
328×unswap-sqr_binary64
168×fma-def_binary64
Counts
223 → 216
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01823283
14392349
219162292
326492238
445812238
549302238

prune177.0ms (4.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2520252
Fresh066
Picked011
Done011
Total2528260
Error
0b
Counts
260 → 8
Alt Table
StatusErrorProgram
5.1b
(+.f64 (*.f64 (*.f64 x (*.f64 (cbrt.f64 (/.f64 y z)) (cbrt.f64 (/.f64 y z)))) (cbrt.f64 (/.f64 y z))) x)
12.1b
(/.f64 (*.f64 x (+.f64 y z)) z)
4.7b
(+.f64 (*.f64 (*.f64 x y) (/.f64 1 z)) x)
30.9b
(+.f64 (*.f64 (*.f64 x (/.f64 1 (sqrt.f64 z))) (/.f64 y (sqrt.f64 z))) x)
3.4b
(+.f64 (*.f64 (/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (/.f64 y (cbrt.f64 z))) x)
32.6b
(+.f64 (*.f64 (*.f64 x (sqrt.f64 y)) (/.f64 (sqrt.f64 y) z)) x)
3.7b
(+.f64 (*.f64 (*.f64 x (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (cbrt.f64 y) z)) x)
4.8b
(+.f64 (*.f64 x (/.f64 y z)) x)
Compiler

Compiled 5117 to 1506 computations (70.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (cbrt.f64 y) z)
0.5b
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
0.6b
(cbrt.f64 y)
4.8b
(*.f64 (*.f64 x (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (cbrt.f64 y) z))

series302.0ms (8%)

Counts
4 → 84
Calls

4 calls:

211.0ms
(/.f64 (cbrt.f64 y) z)
36.0ms
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
29.0ms
(cbrt.f64 y)
26.0ms
(*.f64 (*.f64 x (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (cbrt.f64 y) z))

rewrite26.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64
41×add-cube-cbrt_binary64
40×cbrt-prod_binary64
36×times-frac_binary64
Counts
4 → 145
Calls

4 calls:

10.0ms
(*.f64 (*.f64 x (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (cbrt.f64 y) z))
4.0ms
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
2.0ms
(/.f64 (cbrt.f64 y) z)
1.0ms
(cbrt.f64 y)

simplify114.0ms (3%)

Algorithm
egg-herbie
Rules
551×unswap-sqr_binary64
512×times-frac_binary64
338×log-prod_binary64
320×associate-*l*_binary64
269×associate-*r*_binary64
Counts
229 → 205
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01682488
13692149
216422089
331652035
445972035
549332035

prune161.0ms (4.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2410241
Fresh055
Picked011
Done022
Total2418249
Error
0b
Counts
249 → 8
Alt Table
StatusErrorProgram
5.1b
(+.f64 (*.f64 (*.f64 x (*.f64 (cbrt.f64 (/.f64 y z)) (cbrt.f64 (/.f64 y z)))) (cbrt.f64 (/.f64 y z))) x)
12.1b
(/.f64 (*.f64 x (+.f64 y z)) z)
4.7b
(+.f64 (*.f64 (*.f64 x y) (/.f64 1 z)) x)
30.9b
(+.f64 (*.f64 (*.f64 x (/.f64 1 (sqrt.f64 z))) (/.f64 y (sqrt.f64 z))) x)
3.4b
(+.f64 (*.f64 (/.f64 x (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (/.f64 y (cbrt.f64 z))) x)
32.6b
(+.f64 (*.f64 (*.f64 x (sqrt.f64 y)) (/.f64 (sqrt.f64 y) z)) x)
3.7b
(+.f64 (*.f64 (*.f64 x (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (cbrt.f64 y) z)) x)
4.8b
(+.f64 (*.f64 x (/.f64 y z)) x)
Compiler

Compiled 4818 to 1334 computations (72.3% saved)

regimes182.0ms (4.8%)

Accuracy

Total 0.3b remaining (94.9%)

Threshold costs 0.3b (94.9%)

Counts
25 → 5
Compiler

Compiled 1548 to 862 computations (44.3% saved)

bsearch1.0ms (0%)

Compiler

Compiled 10 to 6 computations (40% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024108
128108
228108

end90.0ms (2.4%)

Compiler

Compiled 271 to 109 computations (59.8% saved)

Profiling

Loading profile data...