Details

Time bar (total: 3.2s)

analyze133.0ms (4.1%)

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
25%74.9%0.1%5
25%50%25.1%6
25%31.2%43.8%7
25%21.9%53.2%8
25%14%61%9
28.1%10.9%61%10
31.6%7.4%61%11
33.4%5.7%61%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 20 to 13 computations (35% saved)

sample19.0ms (0.6%)

Algorithm
intervals
Results
10.0ms256×body128valid
Compiler

Compiled 41 to 27 computations (34.1% saved)

simplify43.0ms (1.3%)

Algorithm
egg-herbie
Rules
785×distribute-rgt-neg-in_binary64
770×unswap-sqr_binary64
631×associate-*l*_binary64
289×sub-neg_binary64
232×associate-+l+_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01325
12925
25025
313825
437425
5111725
6283925
7514025

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
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 57 to 36 computations (36.8% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.0b
(+.f64 (*.f64 a a) (*.f64 b b))
0.0b
(*.f64 4 (*.f64 b b))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

rewrite120.0ms (3.7%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
10×pow1_binary64 add-exp-log_binary64
add-cbrt-cube_binary64
add-sqr-sqrt_binary64 add-log-exp_binary64
add-cube-cbrt_binary64 *-un-lft-identity_binary64
unpow-prod-down_binary64 pow-unpow_binary64 pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 associate-*l*_binary64
Counts
4 → 59
Calls

4 calls:

8.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
6.0ms
(*.f64 4 (*.f64 b b))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
4.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
Compiler

Compiled 1430 to 623 computations (56.4% saved)

series185.0ms (5.7%)

Error
0.0b
Counts
4 → 51
Calls

4 calls:

75.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
48.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
26.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
7.0ms
(*.f64 4 (*.f64 b b))
Compiler

Compiled 1774 to 1392 computations (21.5% saved)

simplify143.0ms (4.4%)

Algorithm
egg-herbie
Rules
681×associate-*l*_binary64
585×associate-*r*_binary64
408×distribute-rgt-neg-in_binary64
301×exp-prod_binary64
242×distribute-rgt-in_binary64
Counts
110 → 73
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01161770
13011632
28571626
335721626
447211626
549721626
648811626

prune48.0ms (1.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New71273
Fresh000
Picked101
Done000
Total72274
Error
0b
Counts
74 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (*.f64 b b))) 1)
0.1b
(-.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))) 1)
Compiler

Compiled 871 to 440 computations (49.5% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
0.0b
(+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (*.f64 b b)))
0.0b
(*.f64 4 (*.f64 b b))
2.5b
(*.f64 (*.f64 a a) (*.f64 b b))

rewrite147.0ms (4.6%)

Algorithm
rewrite-expression-head
Error
0b
Rules
37×pow1_binary64
21×add-exp-log_binary64 add-cbrt-cube_binary64
17×pow-prod-down_binary64
15×add-log-exp_binary64
11×prod-exp_binary64 cbrt-unprod_binary64
Counts
4 → 75
Calls

4 calls:

26.0ms
(+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (*.f64 b b)))
9.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
7.0ms
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
5.0ms
(*.f64 4 (*.f64 b b))
Compiler

Compiled 2205 to 1195 computations (45.8% saved)

series164.0ms (5.1%)

Error
0b
Counts
4 → 39
Calls

4 calls:

79.0ms
(+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (*.f64 b b)))
38.0ms
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
21.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
11.0ms
(*.f64 4 (*.f64 b b))
Compiler

Compiled 1718 to 1274 computations (25.8% saved)

simplify66.0ms (2%)

Algorithm
egg-herbie
Rules
718×distribute-rgt-in_binary64
688×distribute-lft-in_binary64
236×associate-+l+_binary64
194×cancel-sign-sub-inv_binary64
173×associate-*l*_binary64
Counts
114 → 68
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01291973
13271695
212841616
349981616

prune49.0ms (1.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh011
Picked011
Done000
Total68270
Error
0b
Counts
70 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (*.f64 b b))) 1)
0.1b
(-.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))) 1)
Compiler

Compiled 1095 to 638 computations (41.7% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a))))))
0.0b
(+.f64 4 (*.f64 2 (*.f64 a a)))
0.0b
(*.f64 2 (*.f64 a a))
1.4b
(*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))

rewrite113.0ms (3.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
14×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 add-sqr-sqrt_binary64
pow-prod-down_binary64 prod-exp_binary64 add-cube-cbrt_binary64 cbrt-unprod_binary64 *-un-lft-identity_binary64
associate-*l*_binary64 associate-*r*_binary64
flip3-+_binary64 flip-+_binary64
Counts
4 → 66
Calls

4 calls:

11.0ms
(*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))
6.0ms
(*.f64 2 (*.f64 a a))
5.0ms
(+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a))))))
3.0ms
(+.f64 4 (*.f64 2 (*.f64 a a)))
Compiler

Compiled 2001 to 1087 computations (45.7% saved)

series165.0ms (5.1%)

Error
0b
Counts
4 → 39
Calls

4 calls:

77.0ms
(+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a))))))
46.0ms
(*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))
12.0ms
(+.f64 4 (*.f64 2 (*.f64 a a)))
8.0ms
(*.f64 2 (*.f64 a a))
Compiler

Compiled 1536 to 1196 computations (22.1% saved)

simplify95.0ms (2.9%)

Algorithm
egg-herbie
Rules
496×unswap-sqr_binary64
436×*-commutative_binary64
389×distribute-rgt-neg-in_binary64
352×distribute-lft-neg-in_binary64
202×associate-+l+_binary64
Counts
105 → 77
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01412007
13851947
213871935
329891932
449221932

prune73.0ms (2.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh000
Picked011
Done011
Total77279
Error
0b
Counts
79 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (*.f64 b b))) 1)
0.1b
(-.f64 (+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))) 1)
Compiler

Compiled 1373 to 831 computations (39.5% saved)

regimes948.0ms (29.4%)

Accuracy

Total 0.0b remaining (42.3%)

Threshold costs 0.0b (42.3%)

Compiler

Compiled 17538 to 11584 computations (33.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64 sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01737
12837
22937
32737

end1.0ms (0%)

Compiler

Compiled 27 to 18 computations (33.3% saved)

sample667.0ms (20.7%)

Algorithm
intervals
Results
342.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 99 to 66 computations (33.3% saved)

Profiling

Loading profile data...