Details

Time bar (total: 2.4s)

analyze472.0ms (19.9%)

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
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
18.7%81.1%0.1%8
31.2%68.6%0.1%9
35.9%55.4%8.7%10
42.9%47.6%9.5%11
51.5%38.4%10.1%12
55%30.3%14.7%13
59.5%25.4%15.1%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample1.0s (43.5%)

Symmetry

(sort x y)

Results
815.0ms8254×body128valid
49.0ms565×body128invalid
0.0msbody1024valid
0.0msbody256valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify51.0ms (2.1%)

Algorithm
egg-herbie
Rules
673×fma-neg_binary64
461×fma-def_binary64
143×distribute-rgt-in_binary64
135×cancel-sign-sub-inv_binary64
117×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11410
23210
37310
419010
542310
667610
7113610
8112410
9135910
10139410
11139410
12135110

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (-.f64 1 z))
Compiler

Compiled 30 to 21 computations (30% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 x y) (-.f64 1 z))

series7.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

7.0ms
(*.f64 (+.f64 x y) (-.f64 1 z))

rewrite14.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×prod-diff_binary64
17×add-cube-cbrt_binary64
13×distribute-lft-in_binary64
Counts
1 → 58
Calls

1 calls:

7.0ms
(*.f64 (+.f64 x y) (-.f64 1 z))

simplify86.0ms (3.6%)

Algorithm
egg-herbie
Rules
725×distribute-rgt-in_binary64
670×distribute-lft-in_binary64
623×fma-def_binary64
470×fma-neg_binary64
304×*-commutative_binary64
Counts
94 → 90
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01281510
12951288
211421234
339201126
445521126
547521126

prune55.0ms (2.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New88290
Fresh000
Picked011
Done000
Total88391
Error
0b
Counts
91 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (-.f64 1 z))
12.1b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z))) (sqrt.f64 (-.f64 1 z)))
0.0b
(+.f64 (+.f64 y x) (neg.f64 (*.f64 z (+.f64 y x))))
Compiler

Compiled 1722 to 754 computations (56.2% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 y x) (neg.f64 (*.f64 z (+.f64 y x))))
0.0b
(*.f64 z (+.f64 y x))

series14.0ms (0.6%)

Counts
2 → 60
Calls

2 calls:

8.0ms
(+.f64 (+.f64 y x) (neg.f64 (*.f64 z (+.f64 y x))))
6.0ms
(*.f64 z (+.f64 y x))

rewrite15.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity_binary64
12×add-log-exp_binary64
add-sqr-sqrt_binary64
sum-log_binary64
distribute-lft-out_binary64
Counts
2 → 59
Calls

2 calls:

5.0ms
(+.f64 (+.f64 y x) (neg.f64 (*.f64 z (+.f64 y x))))
4.0ms
(*.f64 z (+.f64 y x))

simplify85.0ms (3.6%)

Algorithm
egg-herbie
Rules
560×unsub-neg_binary64
416×times-frac_binary64
382×associate-+l+_binary64
349×*-commutative_binary64
320×associate-+r+_binary64
Counts
119 → 105
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01241487
13731274
215481229
339171229
448121229
552041229

prune52.0ms (2.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh011
Picked011
Done011
Total1053108
Error
0b
Counts
108 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (-.f64 1 z))
12.1b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z))) (sqrt.f64 (-.f64 1 z)))
0.0b
(+.f64 (+.f64 y x) (neg.f64 (*.f64 z (+.f64 y x))))
Compiler

Compiled 1731 to 504 computations (70.9% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z)))
0.1b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z))) (sqrt.f64 (-.f64 1 z)))

series41.0ms (1.7%)

Counts
2 → 64
Calls

2 calls:

31.0ms
(*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z)))
10.0ms
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z))) (sqrt.f64 (-.f64 1 z)))

rewrite32.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
42×sqrt-div_binary64
32×frac-times_binary64
21×flip--_binary64
21×flip3--_binary64
18×associate-*r*_binary64
Counts
2 → 88
Calls

2 calls:

14.0ms
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z))) (sqrt.f64 (-.f64 1 z)))
9.0ms
(*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z)))

simplify117.0ms (4.9%)

Algorithm
egg-herbie
Rules
772×fma-neg_binary64
708×fma-def_binary64
390×sub-neg_binary64
371×*-commutative_binary64
247×associate-*l*_binary64
Counts
152 → 160
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01832906
14942638
216262611
333172607
449092607
551752607

prune99.0ms (4.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1600160
Fresh000
Picked011
Done022
Total1603163
Error
0b
Counts
163 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (-.f64 1 z))
12.1b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (-.f64 1 z))) (sqrt.f64 (-.f64 1 z)))
0.0b
(+.f64 (+.f64 y x) (neg.f64 (*.f64 z (+.f64 y x))))
Compiler

Compiled 3975 to 2389 computations (39.9% saved)

regimes132.0ms (5.6%)

Accuracy

Total 0.0b remaining (61.1%)

Threshold costs 0.0b (61.1%)

Counts
23 → 1
Compiler

Compiled 1785 to 1170 computations (34.5% 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
0813
11413
22413
33413
44413
54913
65113
75113

end51.0ms (2.1%)

Remove

(sort x y)

Compiler

Compiled 87 to 50 computations (42.5% saved)

Profiling

Loading profile data...