Details

Time bar (total: 1.9s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 42 to 30 computations (28.6% saved)

sample1.0s (53.7%)

Results
1.0s8256×body128valid
Compiler

Compiled 84 to 60 computations (28.6% saved)

preprocess36.0ms (1.9%)

Algorithm
egg-herbie
Rules
116×fma-def_binary64
43×distribute-rgt-in_binary64
39×distribute-lft-in_binary64
25×*-commutative_binary64
17×+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02570
18870
218470
328970
434370
044
144
Stop Event
unsound
saturated
Symmetry

(sort b c d)

Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Rules
28×fma-def_binary64
10×distribute-lft-in_binary64
10×distribute-rgt-in_binary64
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11910
24510
38510
410310
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 a (+.f64 b (+.f64 c d)))
Compiler

Compiled 40 to 24 computations (40% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 b (+.f64 c d))
0.0b
(*.f64 a (+.f64 b (+.f64 c d)))

series18.0ms (0.9%)

Counts
2 → 84
Calls

21 calls:

5.0ms
(+.f64 b (+.f64 c d))
c
0
1.0ms
(*.f64 a (+.f64 b (+.f64 c d)))
a
-inf
1.0ms
(*.f64 a (+.f64 b (+.f64 c d)))
a
0
1.0ms
(*.f64 a (+.f64 b (+.f64 c d)))
c
-inf
1.0ms
(*.f64 a (+.f64 b (+.f64 c d)))
b
-inf

rewrite55.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
475×log-prod_binary64
429×fma-def_binary64
216×fma-neg_binary64
176×expm1-udef_binary64
176×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
118517
2284517
Stop Event
node limit
Counts
2 → 133

simplify21.0ms (1.1%)

Algorithm
egg-herbie
Rules
24×fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-rgt-in_binary64
associate-+r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
018642
145642
267642
375642
Stop Event
saturated
Counts
217 → 149

prune72.0ms (3.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1472149
Fresh000
Picked011
Done000
Total1473150
Error
0b
Counts
150 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 a (+.f64 b c) (*.f64 a d))
8.4b
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))
0.0b
(*.f64 a (+.f64 b (+.f64 c d)))
Compiler

Compiled 1953 to 605 computations (69% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (+.f64 b c) (*.f64 a d))

series10.0ms (0.5%)

Counts
1 → 48
Calls

12 calls:

1.0ms
(fma.f64 a (+.f64 b c) (*.f64 a d))
a
-inf
1.0ms
(fma.f64 a (+.f64 b c) (*.f64 a d))
a
inf
1.0ms
(fma.f64 a (+.f64 b c) (*.f64 a d))
d
-inf
1.0ms
(fma.f64 a (+.f64 b c) (*.f64 a d))
a
0
1.0ms
(fma.f64 a (+.f64 b c) (*.f64 a d))
b
inf

rewrite37.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
850×expm1-log1p-u_binary64
631×prod-diff_binary64
88×add-sqr-sqrt_binary64
83×log1p-expm1-u_binary64
82×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0811
116810
2224610
Stop Event
node limit
Counts
1 → 24

simplify14.0ms (0.7%)

Algorithm
egg-herbie
Rules
27×fma-def_binary64
+-commutative_binary64
*-commutative_binary64
distribute-rgt-in_binary64
associate-+r+_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
015437
139435
270435
386435
487435
Stop Event
saturated
Counts
72 → 36

prune15.0ms (0.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New36036
Fresh011
Picked011
Done011
Total36339
Error
0b
Counts
39 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 a (+.f64 b c) (*.f64 a d))
8.4b
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))
0.0b
(*.f64 a (+.f64 b (+.f64 c d)))
Compiler

Compiled 441 to 130 computations (70.5% saved)

localize13.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 b (+.f64 c d))
0.0b
(pow.f64 (+.f64 c d) 2)
0.4b
(*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a)
7.9b
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))

series129.0ms (6.7%)

Counts
4 → 129
Calls

39 calls:

11.0ms
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))
a
-inf
10.0ms
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))
a
0
8.0ms
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))
b
0
8.0ms
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))
a
inf
8.0ms
(*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a)
a
-inf

rewrite76.0ms (3.9%)

Algorithm
batch-egg-rewrite
Rules
271×expm1-udef_binary64
271×log1p-udef_binary64
151×add-sqr-sqrt_binary64
149×log1p-expm1-u_binary64
149×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01355
130140
2446940
Stop Event
node limit
Counts
4 → 144

simplify75.0ms (3.9%)

Algorithm
egg-herbie
Rules
337×cancel-sign-sub-inv_binary64
249×associate-+r+_binary64
245×times-frac_binary64
213×sub-neg_binary64
202×associate-/l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02243994
17493763
233863760
Stop Event
node limit
Counts
273 → 219

prune124.0ms (6.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2190219
Fresh000
Picked011
Done022
Total2193222
Error
0b
Counts
222 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 a (+.f64 b c) (*.f64 a d))
8.4b
(/.f64 (*.f64 (-.f64 (*.f64 b b) (pow.f64 (+.f64 c d) 2)) a) (-.f64 b (+.f64 c d)))
0.0b
(*.f64 a (+.f64 b (+.f64 c d)))
Compiler

Compiled 6543 to 2474 computations (62.2% saved)

regimes109.0ms (5.7%)

Accuracy

Total 0.0b remaining (50.5%)

Threshold costs 0.0b (50.5%)

Counts
16 → 1
Compiler

Compiled 1592 to 1006 computations (36.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11011
Stop Event
saturated

end60.0ms (3.1%)

Stop Event
done
Remove

(sort b c d)

Compiler

Compiled 92 to 54 computations (41.3% saved)

Profiling

Loading profile data...