Details

Time bar (total: 4.0s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample681.0ms (16.9%)

Results
653.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1109
2119
3119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
35.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
35.0b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Compiler

Compiled 27 to 19 computations (29.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
33.6b
(sqrt.f64 (*.f64 (*.f64 2 x) x))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(sqrt.f64 (*.f64 (*.f64 2 x) x))

rewrite41.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
488×log1p-expm1-u_binary64
488×expm1-log1p-u_binary64
483×unpow-prod-down_binary64
289×log-prod_binary64
142×pow2_binary64
Counts
1 → 55
Calls

1 calls:

40.0ms
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
069
11216
213176
349616

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Rules
38×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
distribute-lft-in_binary64
Counts
67 → 57
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0780
11280
22480
32580
42980
54780
65880
76380
87580
97280
105880

prune40.0ms (1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New50757
Fresh000
Picked011
Done000
Total50858
Error
0.1b
Counts
58 → 8
Alt Table
StatusErrorProgram
15.9b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
35.0b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
43.2b
(*.f64 (sqrt.f64 (sqrt.f64 x)) (pow.f64 (*.f64 (sqrt.f64 x) (+.f64 x x)) 1/2))
15.8b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
Compiler

Compiled 794 to 525 computations (33.9% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
0.6b
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
0.6b
(cbrt.f64 (+.f64 x x))
15.1b
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)

series1.0s (25%)

Counts
4 → 48
Calls

4 calls:

897.0ms
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)
47.0ms
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
35.0ms
(cbrt.f64 (+.f64 x x))
27.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))

rewrite62.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
620×log1p-expm1-u_binary64
620×expm1-log1p-u_binary64
308×log-prod_binary64
238×prod-diff_binary64
218×egg-rr
Counts
4 → 218
Calls

4 calls:

59.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
59.0ms
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
59.0ms
(cbrt.f64 (+.f64 x x))
59.0ms
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01134
121526
2162426
3495826

simplify121.0ms (3%)

Algorithm
egg-herbie
Rules
1003×fma-def_binary64
790×unswap-sqr_binary64
662×sqr-pow_binary64
468×*-commutative_binary64
344×distribute-rgt-in_binary64
Counts
266 → 139
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027516
164516
2129516
3324516
41021516
51715516
61918516
72288516
82999516
93608516
104272516
114564516
124655516

prune99.0ms (2.5%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2303233
Fresh066
Picked011
Done011
Total23011241
Error
0.1b
Counts
241 → 11
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
15.9b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) x) 1/2))
15.9b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
35.0b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
41.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (exp.f64 (*.f64 (log.f64 (+.f64 x x)) 1/3)) x) 1/2))
16.0b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
43.2b
(*.f64 (sqrt.f64 (sqrt.f64 x)) (pow.f64 (*.f64 (sqrt.f64 x) (+.f64 x x)) 1/2))
15.8b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
Compiler

Compiled 5061 to 2333 computations (53.9% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.6b
(cbrt.f64 x)
15.0b
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)

series1.0s (25.1%)

Counts
4 → 48
Calls

4 calls:

924.0ms
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
39.0ms
(pow.f64 (cbrt.f64 x) 2)
30.0ms
(cbrt.f64 x)
16.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))

rewrite63.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
824×log1p-expm1-u_binary64
824×expm1-log1p-u_binary64
499×prod-diff_binary64
99×add-sqr-sqrt_binary64
93×add-cube-cbrt_binary64
Counts
4 → 83
Calls

4 calls:

62.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
62.0ms
(pow.f64 (cbrt.f64 x) 2)
62.0ms
(cbrt.f64 x)
62.0ms
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01136
121928
2217828
3579228

simplify136.0ms (3.4%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
735×sqr-pow_binary64
412×unswap-sqr_binary64
388×*-commutative_binary64
288×fma-neg_binary64
Counts
131 → 95
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022400
153400
2100400
3234400
4671400
51071400
61134400
71347400
81640400
91962400
102318400
112672400
123136400
133857400
144627400
154938400
164746400

prune65.0ms (1.6%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1222124
Fresh178
Picked101
Done022
Total12411135
Error
0.1b
Counts
135 → 11
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
15.9b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) x) 1/2))
15.7b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
15.9b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (*.f64 (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4)))
35.0b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
41.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (exp.f64 (*.f64 (log.f64 (+.f64 x x)) 1/3)) x) 1/2))
16.0b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
15.8b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
Compiler

Compiled 2277 to 1205 computations (47.1% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
0.6b
(cbrt.f64 x)
15.0b
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
15.1b
(sqrt.f64 (*.f64 x (cbrt.f64 x)))

series128.0ms (3.2%)

Counts
2 → 24
Calls

2 calls:

87.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
41.0ms
(sqrt.f64 (*.f64 x (cbrt.f64 x)))

rewrite50.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
918×prod-diff_binary64
832×expm1-log1p-u_binary64
107×add-sqr-sqrt_binary64
103×log1p-expm1-u_binary64
99×add-cube-cbrt_binary64
Counts
2 → 45
Calls

2 calls:

49.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
49.0ms
(sqrt.f64 (*.f64 x (cbrt.f64 x)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01131
123015
2223615
3517515

simplify119.0ms (3%)

Algorithm
egg-herbie
Rules
578×fma-def_binary64
531×associate-*l*_binary64
478×sqr-pow_binary64
474×unswap-sqr_binary64
289×associate-*r*_binary64
Counts
69 → 52
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021288
147288
292288
3174288
4385288
51056288
61695288
72280288
82955288
93564288
104112288
114714288
124996288
134691288

prune62.0ms (1.5%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1313134
Fresh358
Picked011
Done022
Total13411145
Error
0.1b
Counts
145 → 11
Alt Table
StatusErrorProgram
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
15.8b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
32.5b
(*.f64 (sqrt.f64 2) x)
15.7b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (*.f64 (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4)))
15.7b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
28.8b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (expm1.f64 (log1p.f64 (cbrt.f64 x)))))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
15.9b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (*.f64 (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4)))
35.0b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
15.8b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
Compiler

Compiled 2438 to 1064 computations (56.4% saved)

regimes125.0ms (3.1%)

Accuracy

Total 0.3b remaining (79%)

Threshold costs 0.3b (79%)

Counts
35 → 2
Compiler

Compiled 1683 to 1145 computations (32% saved)

bsearch15.0ms (0.4%)

Steps
ItersRangePoint
9
-5.0244719348910686e-303
1.998438837190896e-307
-1.04069420257774e-310
Compiler

Compiled 2 to 1 computations (50% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
11920
22720
33220
43420
53420

end128.0ms (3.2%)

Compiler

Compiled 181 to 119 computations (34.3% saved)

Profiling

Loading profile data...