Details

Time bar (total: 1.9s)

analyze509.0ms (26.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)

sample862.0ms (45.5%)

Symmetry

(sort x y)

Results
763.0ms8255×body128valid
53.0ms583×body128invalid
0.0msbody256valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify14.0ms (0.7%)

Algorithm
egg-herbie
Rules
186×fma-def_binary64
33×distribute-rgt-in_binary64
26×associate-+l+_binary64
22×associate-+r+_binary64
21×distribute-lft-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11910
24510
38810
417010
525410
625610
725810
825210

prune1.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 z 1))
Compiler

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.4%)

Counts
1 → 36
Calls

1 calls:

8.0ms
(*.f64 (+.f64 x y) (+.f64 z 1))

rewrite8.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
flip-+_binary64
flip3-+_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
Counts
1 → 32
Calls

1 calls:

6.0ms
(*.f64 (+.f64 x y) (+.f64 z 1))

simplify63.0ms (3.3%)

Algorithm
egg-herbie
Rules
759×distribute-rgt-in_binary64
724×distribute-lft-in_binary64
449×fma-def_binary64
414×fma-neg_binary64
258×unsub-neg_binary64
Counts
68 → 61
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
083908
1269804
2911798
33385798
44092798
55126798

prune35.0ms (1.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59261
Fresh000
Picked011
Done000
Total59362
Error
0b
Counts
62 → 3
Alt Table
StatusErrorProgram
29.1b
(fma.f64 y z y)
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
30.0b
(*.f64 (sqrt.f64 (+.f64 x y)) (*.f64 (sqrt.f64 (+.f64 x y)) (+.f64 z 1)))
Compiler

Compiled 954 to 480 computations (49.7% saved)

localize2.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
29.1b
(fma.f64 y z y)
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
30.0b
(*.f64 (sqrt.f64 (+.f64 x y)) (*.f64 (sqrt.f64 (+.f64 x y)) (+.f64 z 1)))
Compiler

Compiled 49 to 29 computations (40.8% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series53.0ms (2.8%)

Counts
2 → 56
Calls

2 calls:

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

rewrite30.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
42×sqrt-div_binary64
33×flip-+_binary64
33×flip3-+_binary64
32×frac-times_binary64
16×associate-*r/_binary64
Counts
2 → 90
Calls

2 calls:

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

simplify104.0ms (5.5%)

Algorithm
egg-herbie
Rules
553×fma-neg_binary64
464×associate-+r+_binary64
394×cancel-sign-sub-inv_binary64
336×+-commutative_binary64
316×associate--l+_binary64
Counts
146 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02383139
16902791
223062741
340982735
449792735

prune73.0ms (3.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh000
Picked011
Done022
Total1683171
Error
0b
Counts
171 → 3
Alt Table
StatusErrorProgram
29.1b
(fma.f64 y z y)
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
30.0b
(*.f64 (sqrt.f64 (+.f64 x y)) (*.f64 (sqrt.f64 (+.f64 x y)) (+.f64 z 1)))
Compiler

Compiled 4403 to 1857 computations (57.8% saved)

regimes65.0ms (3.4%)

Accuracy

Total 0.0b remaining (46.1%)

Threshold costs 0.0b (46.1%)

Counts
10 → 1
Compiler

Compiled 746 to 482 computations (35.4% saved)

simplify5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11310
21210

end51.0ms (2.7%)

Remove

(sort x y)

Compiler

Compiled 73 to 48 computations (34.2% saved)

Profiling

Loading profile data...