Details

Time bar (total: 2.4s)

analyze419.0ms (17.7%)

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
46.8%44.5%8.7%10
51.5%39%9.5%11
57.3%32.6%10.1%12
63.8%21.6%14.7%13
66.2%18.7%15.1%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.0s (43.8%)

Symmetry

(sort x y)

Results
919.0ms8256×body128valid
65.0ms613×body128invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
+-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
187
2167
3187
4187

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

Compiled 24 to 15 computations (37.5% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

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

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
associate-*r*_binary64
add-cube-cbrt_binary64
Counts
1 → 23
Calls

1 calls:

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

simplify98.0ms (4.2%)

Algorithm
egg-herbie
Rules
508×fma-def_binary64
448×associate-+l+_binary64
431×fma-neg_binary64
402×associate-+r+_binary64
300×distribute-rgt-out_binary64
Counts
59 → 41
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
049490
1115460
2370460
3930460
41654460
52723460
63208460
74769460
84995460
94860460

prune16.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342
Error
0.0b
Counts
42 → 3
Alt Table
StatusErrorProgram
31.0b
(*.f64 (sqrt.f64 (*.f64 (+.f64 x y) z)) (sqrt.f64 (*.f64 (+.f64 x y) z)))
0.0b
(+.f64 (*.f64 y z) (*.f64 z x))
0.0b
(*.f64 (+.f64 x y) z)
Compiler

Compiled 494 to 150 computations (69.6% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.5%)

Counts
1 → 18
Calls

1 calls:

11.0ms
(+.f64 (*.f64 y z) (*.f64 z x))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
+-commutative_binary64
flip-+_binary64
*-un-lft-identity_binary64
flip3-+_binary64
Counts
1 → 14
Calls

1 calls:

3.0ms
(+.f64 (*.f64 y z) (*.f64 z x))

simplify77.0ms (3.3%)

Algorithm
egg-herbie
Rules
801×unsub-neg_binary64
588×distribute-rgt-out_binary64
339×distribute-rgt-in_binary64
307×distribute-lft-in_binary64
288×associate-*l*_binary64
Counts
32 → 28
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
032296
1115272
2397271
31233271
42569268
53818268
64353268
75317268

prune15.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New27128
Fresh011
Picked101
Done011
Total28331
Error
0b
Counts
31 → 3
Alt Table
StatusErrorProgram
31.0b
(*.f64 (sqrt.f64 (*.f64 (+.f64 x y) z)) (sqrt.f64 (*.f64 (+.f64 x y) z)))
0.0b
(fma.f64 y z (*.f64 z x))
0.0b
(*.f64 (+.f64 x y) z)
Compiler

Compiled 393 to 113 computations (71.2% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y z (*.f64 z x))

series8.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

8.0ms
(fma.f64 y z (*.f64 z x))

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 y z (*.f64 z x))

simplify79.0ms (3.3%)

Algorithm
egg-herbie
Rules
811×fma-def_binary64
773×distribute-rgt-in_binary64
765×distribute-lft-in_binary64
405×*-commutative_binary64
380×distribute-rgt-out_binary64
Counts
46 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019346
125331
278331
3295331
4778331
52919331
63117331
73288331
83563331
94329331
104791331

prune9.0ms (0.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New23023
Fresh011
Picked011
Done011
Total23326
Error
0b
Counts
26 → 3
Alt Table
StatusErrorProgram
31.0b
(*.f64 (sqrt.f64 (*.f64 (+.f64 x y) z)) (sqrt.f64 (*.f64 (+.f64 x y) z)))
0.0b
(fma.f64 y z (*.f64 z x))
0.0b
(*.f64 (+.f64 x y) z)
Compiler

Compiled 261 to 74 computations (71.6% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 x y) z)
0.2b
(*.f64 (sqrt.f64 (*.f64 (+.f64 x y) z)) (sqrt.f64 (*.f64 (+.f64 x y) z)))
3.3b
(sqrt.f64 (*.f64 (+.f64 x y) z))

series254.0ms (10.7%)

Counts
2 → 40
Calls

2 calls:

207.0ms
(sqrt.f64 (*.f64 (+.f64 x y) z))
47.0ms
(*.f64 (sqrt.f64 (*.f64 (+.f64 x y) z)) (sqrt.f64 (*.f64 (+.f64 x y) z)))

rewrite23.0ms (1%)

Algorithm
rewrite-expression-head
Rules
54×pow1_binary64
30×sqrt-pow1_binary64
21×pow-prod-down_binary64
16×associate-*l/_binary64
14×sqrt-div_binary64
Counts
2 → 74
Calls

2 calls:

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

simplify80.0ms (3.4%)

Algorithm
egg-herbie
Rules
823×fma-def_binary64
746×times-frac_binary64
724×unswap-sqr_binary64
240×*-commutative_binary64
174×distribute-rgt-in_binary64
Counts
114 → 112
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01271390
12641336
28461296
320921277
444081214
552661214

prune76.0ms (3.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2320232
Fresh000
Picked011
Done022
Total2323235
Error
0b
Counts
235 → 3
Alt Table
StatusErrorProgram
31.0b
(*.f64 (sqrt.f64 (*.f64 (+.f64 x y) z)) (sqrt.f64 (*.f64 (+.f64 x y) z)))
0.0b
(fma.f64 y z (*.f64 z x))
0.0b
(*.f64 (+.f64 x y) z)
Compiler

Compiled 4560 to 979 computations (78.5% saved)

regimes68.0ms (2.9%)

Accuracy

Total 0.0b remaining (64.2%)

Threshold costs 0.0b (64.2%)

Counts
10 → 1
Compiler

Compiled 692 to 449 computations (35.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
278

end51.0ms (2.2%)

Remove

(sort x y)

Compiler

Compiled 69 to 37 computations (46.4% saved)

Profiling

Loading profile data...