Details

Time bar (total: 3.5s)

analyze947.0ms (27%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
6.2%93.6%0.2%9
28.1%68.6%3.3%10
29.6%65.5%4.9%11
32%61.7%6.3%12
35.5%56.9%7.6%13
48%38.7%13.4%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample1.5s (42.9%)

Symmetry

(sort d2 d4)

Results
977.0ms8256×body128valid
285.0ms2407×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify93.0ms (2.7%)

Algorithm
egg-herbie
Rules
1400×fma-neg_binary64
654×fma-def_binary64
233×sub-neg_binary64
210×unsub-neg_binary64
158×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01219
13214
29413
326313
465513
5155613
6169113
7150013
8150013
9273913
10270713
11270713
12263213

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
Compiler

Compiled 92 to 53 computations (42.4% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (-.f64 d2 d3) d1)
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))

series25.0ms (0.7%)

Counts
2 → 84
Calls

2 calls:

21.0ms
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
4.0ms
(-.f64 (-.f64 d2 d3) d1)

rewrite21.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64
33×add-sqr-sqrt_binary64
24×prod-diff_binary64
21×add-cube-cbrt_binary64
13×associate--l+_binary64
Counts
2 → 81
Calls

2 calls:

8.0ms
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
8.0ms
(-.f64 (-.f64 d2 d3) d1)

simplify83.0ms (2.4%)

Algorithm
egg-herbie
Rules
844×fma-def_binary64
797×distribute-rgt-in_binary64
448×fma-neg_binary64
259×exp-prod_binary64
193×cancel-sign-sub-inv_binary64
Counts
165 → 136
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01582001
13461765
214051603
343901602
449931602

prune86.0ms (2.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1342136
Fresh101
Picked101
Done000
Total1362138
Error
0b
Counts
138 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 d4 d1) (*.f64 (-.f64 (-.f64 d2 d3) d1) d1))
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
Compiler

Compiled 2381 to 628 computations (73.6% saved)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))

series13.0ms (0.4%)

Counts
1 → 48
Calls

1 calls:

12.0ms
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
associate-*r*_binary64
add-sqr-sqrt_binary64
distribute-lft-out_binary64
associate-*l*_binary64
Counts
1 → 27
Calls

1 calls:

10.0ms
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))

simplify54.0ms (1.5%)

Algorithm
egg-herbie
Rules
731×associate-+l+_binary64
451×distribute-rgt-in_binary64
437×distribute-lft-in_binary64
376×associate-*l*_binary64
282×associate-*r*_binary64
Counts
75 → 45
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0711262
11911056
2659940
32580940
45412940

prune16.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New45045
Fresh011
Picked011
Done000
Total45247
Error
0b
Counts
47 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 d4 d1) (*.f64 (-.f64 (-.f64 d2 d3) d1) d1))
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
Compiler

Compiled 647 to 157 computations (75.7% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (-.f64 d2 d3) d1)
0.0b
(+.f64 (*.f64 d4 d1) (*.f64 (-.f64 (-.f64 d2 d3) d1) d1))

series18.0ms (0.5%)

Counts
1 → 48
Calls

1 calls:

17.0ms
(+.f64 (*.f64 d4 d1) (*.f64 (-.f64 (-.f64 d2 d3) d1) d1))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
+-commutative_binary64
distribute-rgt-out_binary64
flip-+_binary64
*-un-lft-identity_binary64
Counts
1 → 15
Calls

1 calls:

5.0ms
(+.f64 (*.f64 d4 d1) (*.f64 (-.f64 (-.f64 d2 d3) d1) d1))

simplify107.0ms (3%)

Algorithm
egg-herbie
Rules
760×fma-neg_binary64
358×associate-*l*_binary64
352×distribute-rgt-out_binary64
334×cancel-sign-sub-inv_binary64
278×associate-*r*_binary64
Counts
63 → 39
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0511122
1175939
2585821
32382821
44476821
55118821

prune59.0ms (1.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done011
Total1202122
Error
0b
Counts
122 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 d4 d1) (*.f64 (-.f64 (-.f64 d2 d3) d1) d1))
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
Compiler

Compiled 2306 to 583 computations (74.7% saved)

regimes153.0ms (4.4%)

Accuracy

Total 0.0b remaining (23%)

Threshold costs 0.0b (23%)

Counts
35 → 1
Compiler

Compiled 2003 to 1329 computations (33.6% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11414
22214
32614
42814
52814

end287.0ms (8.2%)

Compiler

Compiled 84 to 49 computations (41.7% saved)

Profiling

Loading profile data...