Details

Time bar (total: 4.8s)

analyze304.0ms (6.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0492386
1492386
022
122
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
25%74.9%0.1%5
25%68.7%6.3%6
25%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 30 to 20 computations (33.3% saved)

sample25.0ms (0.5%)

Algorithm
intervals
Results
15.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify79.0ms (1.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
0491543
1491543

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
0.2b
Counts
2 → 1
Compiler

Compiled 58 to 38 computations (34.5% saved)

localize19.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
1.2b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite206.0ms (4.3%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
19×add-sqr-sqrt_binary64_1805
18×associate-*r/_binary64_1725
17×pow1_binary64_1844 add-exp-log_binary64_1821 *-un-lft-identity_binary64_1783
16×add-cbrt-cube_binary64_1819
13×associate-*r*_binary64_1723
12×add-cube-cbrt_binary64_1818
pow-prod-down_binary64_1854 prod-exp_binary64_1832 cbrt-unprod_binary64_1816
distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732 cancel-sign-sub-inv_binary64_1749
associate-*l*_binary64_1724
add-log-exp_binary64_1822 flip3-+_binary64_1786 flip-+_binary64_1757 frac-add_binary64_1791
unswap-sqr_binary64_1751 *-commutative_binary64_1714 unpow-prod-down_binary64_1862 pow-unpow_binary64_1860 flip3--_binary64_1787 flip--_binary64_1758
sub-neg_binary64_1776 difference-of-squares_binary64_1752
distribute-lft-out_binary64_1734 pow-pow_binary64_1855 pow-to-exp_binary64_1852 pow-exp_binary64_1851 unpow2_binary64_1848 sqr-pow_binary64_1755 distribute-lft-out--_binary64_1735
Counts
4 → 100
Calls

4 calls:

14.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))
10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
Compiler

Compiled 3912 to 2021 computations (48.3% saved)

series534.0ms (11.2%)

Error
0.0b
Counts
4 → 43
Calls

4 calls:

194.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
162.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))
76.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
44.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 3151 to 2238 computations (29% saved)

simplify70.0ms (1.5%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049302303
149302303

prune206.0ms (4.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1412143
Fresh000
Picked101
Done000
Total1422144
Error
0.0b
Counts
144 → 2
Compiler

Compiled 4824 to 2505 computations (48.1% saved)

localize23.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.4b
(*.f64 a (*.f64 a (*.f64 b b)))
1.2b
(*.f64 a (*.f64 b b))
1.2b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite204.0ms (4.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
28×pow1_binary64_1844 add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819
16×add-sqr-sqrt_binary64_1805
15×pow-prod-down_binary64_1854 prod-exp_binary64_1832 cbrt-unprod_binary64_1816 *-un-lft-identity_binary64_1783
12×associate-*r*_binary64_1723
10×add-cube-cbrt_binary64_1818
associate-*l*_binary64_1724
cancel-sign-sub-inv_binary64_1749
distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732
add-log-exp_binary64_1822 associate-*r/_binary64_1725 *-commutative_binary64_1714
unswap-sqr_binary64_1751
sub-neg_binary64_1776 difference-of-squares_binary64_1752
flip3-+_binary64_1786 flip-+_binary64_1757 distribute-lft-out_binary64_1734 flip3--_binary64_1787 flip--_binary64_1758 distribute-lft-out--_binary64_1735
Counts
4 → 96
Calls

4 calls:

10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
8.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
6.0ms
(*.f64 a (*.f64 b b))
Compiler

Compiled 4174 to 2266 computations (45.7% saved)

series312.0ms (6.5%)

Error
0.0b
Counts
4 → 26
Calls

4 calls:

79.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
77.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
62.0ms
(*.f64 a (*.f64 b b))
54.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 2701 to 1928 computations (28.6% saved)

simplify88.0ms (1.8%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049291219
149291219

prune201.0ms (4.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1220122
Fresh011
Picked011
Done000
Total1222124
Error
0.0b
Counts
124 → 2
Compiler

Compiled 4846 to 2730 computations (43.7% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 3 (*.f64 b b))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.2b
(*.f64 3 (*.f64 b b))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

rewrite163.0ms (3.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
19×add-sqr-sqrt_binary64_1805
17×pow1_binary64_1844 add-exp-log_binary64_1821
16×add-cbrt-cube_binary64_1819
15×*-un-lft-identity_binary64_1783
12×add-cube-cbrt_binary64_1818
10×associate-*r*_binary64_1723
pow-prod-down_binary64_1854 prod-exp_binary64_1832 cbrt-unprod_binary64_1816 associate-*l*_binary64_1724
cancel-sign-sub-inv_binary64_1749
distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732
add-log-exp_binary64_1822 associate-*r/_binary64_1725
unpow-prod-down_binary64_1862 pow-unpow_binary64_1860 unswap-sqr_binary64_1751 *-commutative_binary64_1714
sub-neg_binary64_1776 difference-of-squares_binary64_1752
pow-pow_binary64_1855 pow-to-exp_binary64_1852 pow-exp_binary64_1851 unpow2_binary64_1848 sqr-pow_binary64_1755 flip3--_binary64_1787 flip--_binary64_1758 distribute-lft-out--_binary64_1735 flip3-+_binary64_1786 flip-+_binary64_1757
Counts
4 → 91
Calls

4 calls:

13.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 3 (*.f64 b b))))
10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
6.0ms
(*.f64 3 (*.f64 b b))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
Compiler

Compiled 3217 to 1642 computations (49% saved)

series564.0ms (11.8%)

Error
0.0b
Counts
4 → 42
Calls

4 calls:

234.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 3 (*.f64 b b))))
201.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
48.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
31.0ms
(*.f64 3 (*.f64 b b))
Compiler

Compiled 2758 to 2011 computations (27.1% saved)

simplify63.0ms (1.3%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
052201911

prune168.0ms (3.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1330133
Fresh000
Picked011
Done011
Total1332135
Error
0.0b
Counts
135 → 2
Compiler

Compiled 4013 to 2069 computations (48.4% saved)

regimes251.0ms (5.3%)

Accuracy

Total 0.0b remaining (52.6%)

Threshold costs 0.0b (52.6%)

Compiler

Compiled 3674 to 2464 computations (32.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05755
15755

end0.0ms (0%)

sample1.3s (26.5%)

Algorithm
intervals
Results
496.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 685 to 467 computations (31.8% saved)

Profiling

Loading profile data...