Details

Time bar (total: 2.7s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
99.8%0%0.2%1
Compiler

Compiled 20 to 12 computations (40% saved)

sample1.0s (38.9%)

Symmetry

(sort d2 d4)

Results
809.0ms8256×body128valid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify95.0ms (3.5%)

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

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

Compiled 92 to 53 computations (42.4% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series43.0ms (1.6%)

Counts
2 → 96
Calls

2 calls:

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

rewrite26.0ms (1%)

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity_binary64
32×associate-+r+_binary64
29×add-sqr-sqrt_binary64
24×prod-diff_binary64
21×add-cube-cbrt_binary64
Counts
2 → 81
Calls

2 calls:

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

simplify121.0ms (4.5%)

Algorithm
egg-herbie
Rules
1002×fma-neg_binary64
693×fma-def_binary64
566×exp-prod_binary64
374×*-commutative_binary64
197×cancel-sign-sub-inv_binary64
Counts
177 → 142
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01602211
13161984
212761866
330671866
445241866
549621866
649511866

prune115.0ms (4.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1393142
Fresh011
Picked101
Done000
Total1404144
Error
0b
Counts
144 → 4
Alt Table
StatusErrorProgram
7.5b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
35.6b
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 d1) d1) (*.f64 (*.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)) (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.9b
(*.f64 (*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
Compiler

Compiled 2570 to 609 computations (76.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series26.0ms (1%)

Counts
2 → 96
Calls

2 calls:

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

rewrite29.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity_binary64
17×associate-+r+_binary64
15×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×prod-diff_binary64
Counts
2 → 66
Calls

2 calls:

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

simplify118.0ms (4.4%)

Algorithm
egg-herbie
Rules
659×distribute-rgt-in_binary64
640×distribute-lft-in_binary64
557×fma-neg_binary64
393×fma-def_binary64
236×exp-prod_binary64
Counts
162 → 97
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01232091
12711864
28891746
336381746
445751746
549371746

prune61.0ms (2.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh213
Picked011
Done000
Total974101
Error
0b
Counts
101 → 4
Alt Table
StatusErrorProgram
4.3b
(pow.f64 (-.f64 (*.f64 d1 (+.f64 d2 d4)) (*.f64 d1 (+.f64 d3 d1))) 1)
28.7b
(/.f64 (*.f64 d1 (fma.f64 (-.f64 d4 (+.f64 d3 d1)) (-.f64 (+.f64 d3 d1) d4) (*.f64 d2 d2))) (-.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
35.6b
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 d1) d1) (*.f64 (*.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)) (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
Compiler

Compiled 1731 to 402 computations (76.8% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series38.0ms (1.4%)

Counts
3 → 108
Calls

3 calls:

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

rewrite36.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
12×associate-*r/_binary64
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
associate-*r*_binary64
add-cube-cbrt_binary64
Counts
3 → 75
Calls

3 calls:

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

simplify94.0ms (3.5%)

Algorithm
egg-herbie
Rules
300×associate-+r+_binary64
296×associate-+l+_binary64
206×+-commutative_binary64
199×fma-neg_binary64
190×associate-*l*_binary64
Counts
183 → 127
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01512068
14752023
218841998
345521998
449571998

prune92.0ms (3.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1252127
Fresh202
Picked101
Done011
Total1283131
Error
0b
Counts
131 → 3
Alt Table
StatusErrorProgram
26.4b
(pow.f64 (-.f64 (*.f64 d1 (+.f64 d2 d4)) (cbrt.f64 (*.f64 (*.f64 (*.f64 d1 d1) d1) (*.f64 (*.f64 (+.f64 d3 d1) (+.f64 d3 d1)) (+.f64 d3 d1))))) 1)
0.8b
(pow.f64 (fma.f64 d1 (+.f64 d2 d4) (neg.f64 (*.f64 d1 (+.f64 d3 d1)))) 1)
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
Compiler

Compiled 2570 to 788 computations (69.3% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series67.0ms (2.5%)

Counts
1 → 48
Calls

1 calls:

67.0ms
(fma.f64 d1 (+.f64 d2 d4) (neg.f64 (*.f64 d1 (+.f64 d3 d1))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

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

simplify119.0ms (4.4%)

Algorithm
egg-herbie
Rules
521×fma-def_binary64
478×fma-neg_binary64
393×unsub-neg_binary64
322×exp-prod_binary64
320×exp-sum_binary64
Counts
58 → 34
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
036888
183708
2224708
3889708
42783708
54392708
64905708
74925708

prune121.0ms (4.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New67067
Fresh011
Picked011
Done011
Total67370
Error
0b
Counts
70 → 3
Alt Table
StatusErrorProgram
26.4b
(pow.f64 (-.f64 (*.f64 d1 (+.f64 d2 d4)) (cbrt.f64 (*.f64 (*.f64 (*.f64 d1 d1) d1) (*.f64 (*.f64 (+.f64 d3 d1) (+.f64 d3 d1)) (+.f64 d3 d1))))) 1)
0.8b
(pow.f64 (fma.f64 d1 (+.f64 d2 d4) (neg.f64 (*.f64 d1 (+.f64 d3 d1)))) 1)
0.0b
(*.f64 d1 (+.f64 d2 (-.f64 d4 (+.f64 d3 d1))))
Compiler

Compiled 1140 to 406 computations (64.4% saved)

regimes304.0ms (11.3%)

Accuracy

Total 0.0b remaining (58.7%)

Threshold costs 0.0b (58.7%)

Counts
50 → 1
Compiler

Compiled 3518 to 2189 computations (37.8% saved)

simplify3.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
0913
11413
22313
33113
43613
53813
63813

end100.0ms (3.7%)

Remove

(sort d2 d4)

Compiler

Compiled 112 to 67 computations (40.2% saved)

Profiling

Loading profile data...