Details

Time bar (total: 7.7s)

analyze1.2s (15%)

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.9s (24.3%)

Symmetry

(sort d2 d4)

Results
1.3s8256×body128valid
305.0ms2339×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify95.0ms (1.2%)

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%)

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 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
Compiler

Compiled 92 to 53 computations (42.4% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series47.0ms (0.6%)

Counts
3 → 132
Calls

3 calls:

25.0ms
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
15.0ms
(+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))
7.0ms
(-.f64 (*.f64 d1 d2) (*.f64 d1 d3))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
19×add-log-exp_binary64
add-sqr-sqrt_binary64
diff-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 64
Calls

3 calls:

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

simplify109.0ms (1.4%)

Algorithm
egg-herbie
Rules
713×associate-*l*_binary64
685×fma-def_binary64
488×fma-neg_binary64
459×distribute-rgt-in_binary64
440×distribute-lft-in_binary64
Counts
196 → 127
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01282558
13612139
212302096
349662096
452292096

prune173.0ms (2.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1243127
Fresh101
Picked101
Done000
Total1263129
Error
0.0b
Counts
129 → 3
Alt Table
StatusErrorProgram
0.0b
(-.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))
27.1b
(/.f64 (-.f64 (*.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))) (*.f64 (*.f64 d1 d1) (*.f64 d1 d1))) (+.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1)))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1))) (*.f64 d1 d1))
Compiler

Compiled 2702 to 526 computations (80.5% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series68.0ms (0.9%)

Counts
4 → 156
Calls

4 calls:

28.0ms
(+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1)))
26.0ms
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1))) (*.f64 d1 d1))
7.0ms
(fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1))
7.0ms
(fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1)))

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×add-log-exp_binary64
13×*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
sum-log_binary64
Counts
4 → 66
Calls

4 calls:

8.0ms
(+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1)))
6.0ms
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1))) (*.f64 d1 d1))
0.0ms
(fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1))
0.0ms
(fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1)))

simplify125.0ms (1.6%)

Algorithm
egg-herbie
Rules
704×distribute-rgt-in_binary64
579×distribute-lft-in_binary64
566×fma-neg_binary64
513×fma-def_binary64
385×associate-*l*_binary64
Counts
222 → 132
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01233429
13082672
210222069
343702069
448622069

prune143.0ms (1.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1320132
Fresh022
Picked011
Done000
Total1323135
Error
0.0b
Counts
135 → 3
Alt Table
StatusErrorProgram
0.0b
(-.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))
27.1b
(/.f64 (-.f64 (*.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))) (*.f64 (*.f64 d1 d1) (*.f64 d1 d1))) (+.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1)))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1))) (*.f64 d1 d1))
Compiler

Compiled 3573 to 549 computations (84.6% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series51.0ms (0.7%)

Counts
2 → 84
Calls

2 calls:

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

rewrite37.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity_binary64
76×add-sqr-sqrt_binary64
61×prod-diff_binary64
44×distribute-lft-in_binary64
44×associate--r+_binary64
Counts
2 → 130
Calls

2 calls:

11.0ms
(-.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))
9.0ms
(*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))

simplify99.0ms (1.3%)

Algorithm
egg-herbie
Rules
762×fma-def_binary64
746×distribute-rgt-in_binary64
682×distribute-lft-in_binary64
221×cancel-sign-sub-inv_binary64
196×fma-neg_binary64
Counts
214 → 190
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02203706
14983014
214602743
353892743

prune218.0ms (2.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1891190
Fresh101
Picked101
Done011
Total1912193
Error
0.0b
Counts
193 → 2
Alt Table
StatusErrorProgram
27.1b
(/.f64 (-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))) (+.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1))) (*.f64 d1 d1))
Compiler

Compiled 4745 to 792 computations (83.3% saved)

localize26.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))
0.3b
(*.f64 (*.f64 d1 d2) (*.f64 d1 d2))
5.1b
(-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))
25.9b
(/.f64 (-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))) (+.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))

series433.0ms (5.6%)

Counts
4 → 156
Calls

4 calls:

257.0ms
(/.f64 (-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))) (+.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))
134.0ms
(-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))
31.0ms
(*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))
10.0ms
(*.f64 (*.f64 d1 d2) (*.f64 d1 d2))

rewrite118.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
176×distribute-lft-in_binary64
176×distribute-rgt-in_binary64
150×*-un-lft-identity_binary64
150×add-sqr-sqrt_binary64
121×prod-diff_binary64
Counts
4 → 316
Calls

4 calls:

20.0ms
(-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))
16.0ms
(*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))
13.0ms
(/.f64 (-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))) (+.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))
5.0ms
(*.f64 (*.f64 d1 d2) (*.f64 d1 d2))

simplify579.0ms (7.5%)

Algorithm
egg-herbie
Rules
649×fma-def_binary64
647×times-frac_binary64
262×*-commutative_binary64
217×+-commutative_binary64
213×sub-neg_binary64
Counts
472 → 475
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
095623372
1289921958
2467421946
3495221946
4500521946

prune415.0ms (5.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4741475
Fresh000
Picked011
Done011
Total4743477
Error
0b
Counts
477 → 3
Alt Table
StatusErrorProgram
27.1b
(/.f64 (-.f64 (*.f64 (*.f64 d1 d2) (*.f64 d1 d2)) (*.f64 (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1))))) (+.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))))
0.1b
(/.f64 (+.f64 (*.f64 d1 d2) (*.f64 d1 (-.f64 d3 (-.f64 d4 d1)))) (*.f64 (/.f64 d1 d1) (/.f64 (+.f64 d2 (+.f64 (-.f64 d3 d4) d1)) (-.f64 d2 (+.f64 (-.f64 d3 d4) d1)))))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d3 d1))) (+.f64 (fma.f64 (neg.f64 d3) d1 (*.f64 d3 d1)) (*.f64 d4 d1))) (*.f64 d1 d1))
Compiler

Compiled 33205 to 6788 computations (79.6% saved)

regimes1.6s (21.1%)

Accuracy

Total 0.0b remaining (42%)

Threshold costs 0.0b (42%)

Counts
241 → 1
Compiler

Compiled 26525 to 14797 computations (44.2% saved)

simplify6.0ms (0.1%)

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
0914
11314
22214
33014
43514
53714
63714

end244.0ms (3.2%)

Compiler

Compiled 157 to 76 computations (51.6% saved)

Profiling

Loading profile data...