Details

Time bar (total: 1.8s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample572.0ms (32.4%)

Infinites
20.6% of outputs are infinite.
Symmetry

(sort x y)

Results
515.0ms8255×body128valid
0.0msbody1024valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify10.0ms (0.6%)

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

prune4.0ms (0.2%)

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)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.4%)

Counts
1 → 36
Calls

1 calls:

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

simplify68.0ms (3.8%)

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

prune38.0ms (2.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh000
Picked011
Done000
Total58462
Error
0b
Counts
62 → 4
Alt Table
StatusErrorProgram
22.4b
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1)) (-.f64 x y))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
1.5b
(+.f64 y (+.f64 (*.f64 y z) (+.f64 (*.f64 z x) x)))
16.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
Compiler

Compiled 1004 to 516 computations (48.6% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series14.0ms (0.8%)

Counts
2 → 18
Calls

2 calls:

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

rewrite14.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
16×add-log-exp_binary64
sum-log_binary64
*-un-lft-identity_binary64
fma-def_binary64
add-sqr-sqrt_binary64
Counts
2 → 36
Calls

2 calls:

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

simplify54.0ms (3.1%)

Algorithm
egg-herbie
Rules
657×distribute-rgt-in_binary64
601×fma-neg_binary64
599×distribute-lft-in_binary64
485×fma-def_binary64
316×associate-*l*_binary64
Counts
54 → 69
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
066628
1211560
2824544
34610544
45125544

prune39.0ms (2.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh022
Picked011
Done011
Total69473
Error
0b
Counts
73 → 4
Alt Table
StatusErrorProgram
22.4b
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1)) (-.f64 x y))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
1.5b
(+.f64 y (+.f64 (*.f64 y z) (+.f64 (*.f64 z x) x)))
16.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
Compiler

Compiled 1163 to 316 computations (72.8% saved)

localize8.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 z 1))
0.1b
(*.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)))

series40.0ms (2.2%)

Counts
3 → 68
Calls

3 calls:

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

rewrite29.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
44×sqrt-div_binary64
34×flip-+_binary64
34×flip3-+_binary64
32×frac-times_binary64
18×*-un-lft-identity_binary64
Counts
3 → 104
Calls

3 calls:

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

simplify120.0ms (6.8%)

Algorithm
egg-herbie
Rules
769×fma-def_binary64
725×associate--l+_binary64
625×fma-neg_binary64
373×*-commutative_binary64
341×cancel-sign-sub-inv_binary64
Counts
172 → 191
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01922970
15152690
215692658
333392639
449132639
551772639

prune139.0ms (7.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2270227
Fresh011
Picked011
Done022
Total2274231
Error
0b
Counts
231 → 4
Alt Table
StatusErrorProgram
22.4b
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1)) (-.f64 x y))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
1.5b
(+.f64 y (+.f64 (*.f64 y z) (+.f64 (*.f64 z x) x)))
16.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
Compiler

Compiled 5128 to 3171 computations (38.2% saved)

localize10.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
1.9b
(*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1))
4.4b
(-.f64 (*.f64 x x) (*.f64 y y))
18.4b
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1)) (-.f64 x y))

series63.0ms (3.6%)

Counts
3 → 96
Calls

3 calls:

34.0ms
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1)) (-.f64 x y))
23.0ms
(*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1))
6.0ms
(-.f64 (*.f64 x x) (*.f64 y y))

rewrite24.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
flip--_binary64
Counts
3 → 86
Calls

3 calls:

8.0ms
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1)) (-.f64 x y))
6.0ms
(*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1))
4.0ms
(-.f64 (*.f64 x x) (*.f64 y y))

simplify110.0ms (6.2%)

Algorithm
egg-herbie
Rules
1024×div-sub_binary64
795×fma-def_binary64
321×associate-/l/_binary64
170×distribute-rgt-in_binary64
166×distribute-lft-in_binary64
Counts
182 → 166
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01783820
15213292
221692992
343222992
468372992

prune114.0ms (6.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1660166
Fresh000
Picked011
Done033
Total1664170
Error
0b
Counts
170 → 4
Alt Table
StatusErrorProgram
22.4b
(/.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 z 1)) (-.f64 x y))
0.0b
(*.f64 (+.f64 x y) (+.f64 z 1))
1.5b
(+.f64 y (+.f64 (*.f64 y z) (+.f64 (*.f64 z x) x)))
16.9b
(*.f64 (*.f64 (+.f64 x y) (sqrt.f64 (+.f64 z 1))) (sqrt.f64 (+.f64 z 1)))
Compiler

Compiled 3941 to 1371 computations (65.2% saved)

regimes168.0ms (9.5%)

Accuracy

Total 0.0b remaining (83.5%)

Threshold costs 0.0b (83.5%)

Counts
30 → 1
Compiler

Compiled 2258 to 1437 computations (36.4% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11213
21213

end99.0ms (5.6%)

Remove

(sort x y)

Compiler

Compiled 106 to 66 computations (37.7% saved)

Profiling

Loading profile data...