Details

Time bar (total: 2.8s)

analyze465.0ms (16.5%)

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

Symmetry

(sort x y)

Results
934.0ms8253×body128valid
56.0ms597×body128invalid
1.0msbody1024valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify10.0ms (0.3%)

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

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

Compiled 30 to 21 computations (30% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.2%)

Counts
1 → 36
Calls

1 calls:

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

rewrite8.0ms (0.3%)

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

simplify64.0ms (2.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

prune36.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh000
Picked011
Done000
Total58462
Error
0b
Counts
62 → 4
Alt Table
StatusErrorProgram
7.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
34.0b
(*.f64 (sqrt.f64 (+.f64 x y)) (*.f64 (sqrt.f64 (+.f64 x y)) (+.f64 z 1)))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
42.0b
(cbrt.f64 (pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3))
Compiler

Compiled 998 to 516 computations (48.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series36.0ms (1.3%)

Counts
2 → 64
Calls

2 calls:

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

rewrite29.0ms (1%)

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

2 calls:

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

simplify111.0ms (4%)

Algorithm
egg-herbie
Rules
713×associate--l+_binary64
692×fma-def_binary64
617×fma-neg_binary64
373×*-commutative_binary64
307×associate-+l+_binary64
Counts
148 → 155
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01792758
14852487
214992461
331732450
447292447
550212447

prune93.0ms (3.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh022
Picked011
Done011
Total1554159
Error
0b
Counts
159 → 4
Alt Table
StatusErrorProgram
7.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
34.0b
(*.f64 (sqrt.f64 (+.f64 x y)) (*.f64 (sqrt.f64 (+.f64 x y)) (+.f64 z 1)))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
42.0b
(cbrt.f64 (pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3))
Compiler

Compiled 3849 to 2317 computations (39.8% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.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)))

series59.0ms (2.1%)

Counts
2 → 56
Calls

2 calls:

51.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)))

rewrite63.0ms (2.3%)

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:

46.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))

simplify101.0ms (3.6%)

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

prune74.0ms (2.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh011
Picked011
Done022
Total1684172
Error
0b
Counts
172 → 4
Alt Table
StatusErrorProgram
7.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
34.0b
(*.f64 (sqrt.f64 (+.f64 x y)) (*.f64 (sqrt.f64 (+.f64 x y)) (+.f64 z 1)))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
42.0b
(cbrt.f64 (pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3))
Compiler

Compiled 4438 to 1885 computations (57.5% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 1 z) (+.f64 y x))
0.1b
(pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3)
39.7b
(cbrt.f64 (pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3))

series110.0ms (3.9%)

Counts
3 → 108
Calls

3 calls:

95.0ms
(pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3)
7.0ms
(cbrt.f64 (pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3))
7.0ms
(*.f64 (+.f64 1 z) (+.f64 y x))

rewrite23.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
18×flip-+_binary64
18×flip3-+_binary64
16×cube-div_binary64
12×frac-times_binary64
11×*-un-lft-identity_binary64
Counts
3 → 91
Calls

3 calls:

6.0ms
(pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3)
6.0ms
(*.f64 (+.f64 1 z) (+.f64 y x))
4.0ms
(cbrt.f64 (pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3))

simplify133.0ms (4.7%)

Algorithm
egg-herbie
Rules
568×fma-def_binary64
559×associate-+r+_binary64
310×associate-*r*_binary64
304×unswap-sqr_binary64
290×+-commutative_binary64
Counts
199 → 177
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03526412
110065969
241375953
351465953

prune118.0ms (4.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1770177
Fresh000
Picked011
Done033
Total1774181
Error
0b
Counts
181 → 4
Alt Table
StatusErrorProgram
7.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
34.0b
(*.f64 (sqrt.f64 (+.f64 x y)) (*.f64 (sqrt.f64 (+.f64 x y)) (+.f64 z 1)))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
42.0b
(cbrt.f64 (pow.f64 (*.f64 (+.f64 1 z) (+.f64 y x)) 3))
Compiler

Compiled 5477 to 3443 computations (37.1% saved)

regimes142.0ms (5%)

Accuracy

Total 0.0b remaining (52.7%)

Threshold costs 0.0b (52.7%)

Counts
22 → 1
Compiler

Compiled 1691 to 1109 computations (34.4% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11416
21416

end64.0ms (2.3%)

Remove

(sort x y)

Compiler

Compiled 111 to 70 computations (36.9% saved)

Profiling

Loading profile data...