Details

Time bar (total: 5.5s)

analyze664.0ms (12.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
49.1%50.7%0.2%9
49.5%50.3%0.2%10
49.7%50.1%0.2%11
50.2%49.6%0.2%12
60.5%39.3%0.2%13
60.6%37.9%1.4%14
Compiler

Compiled 14 to 10 computations (28.6% saved)

sample1.3s (23.3%)

Symmetry

(sort x y)

Results
869.0ms8256×body128valid
293.0ms2756×body128invalid
Compiler

Compiled 41 to 29 computations (29.3% saved)

simplify162.0ms (2.9%)

Algorithm
egg-herbie
Rules
1491×fma-neg_binary64
579×fma-def_binary64
465×distribute-rgt-in_binary64
419×div-sub_binary64
329×associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
12113
24513
37013
413813
525713
649813
792213
8161513
9247213
10243513
11243113
12242713
13242813
14242813
15359613
16326013
17326013
18326013
19314013

prune2.0ms (0%)

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

Compiled 39 to 27 computations (30.8% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))

series22.0ms (0.4%)

Counts
1 → 48
Calls

1 calls:

22.0ms
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))

rewrite67.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
444×fma-def_binary64
245×fma-neg_binary64
221×expm1-udef_binary64
221×log1p-udef_binary64
121×add-sqr-sqrt_binary64
Counts
1 → 60
Calls

1 calls:

65.0ms
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
123213
2340513
3493813
000
100

simplify166.0ms (3%)

Algorithm
egg-herbie
Rules
1151×fma-def_binary64
848×fma-neg_binary64
388×div-sub_binary64
364×distribute-rgt-in_binary64
354×unsub-neg_binary64
Counts
108 → 73
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040930
1104735
2235696
3464579
4952579
51743579
62112579
72085579
82099579
92102579
102103579
113326579
122878579
132878579
142878579
152782579

prune47.0ms (0.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New70373
Fresh000
Picked011
Done000
Total70474
Error
0b
Counts
74 → 4
Alt Table
StatusErrorProgram
33.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))) 2)
34.8b
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 t 2))) (/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2))))
0.0b
(-.f64 (/.f64 (+.f64 x y) (*.f64 t 2)) (/.f64 z (*.f64 t 2)))
0.0b
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))
Compiler

Compiled 1257 to 646 computations (48.6% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (+.f64 x y) (*.f64 t 2)) (/.f64 z (*.f64 t 2)))
0.0b
(/.f64 (+.f64 x y) (*.f64 t 2))

series43.0ms (0.8%)

Counts
2 → 84
Calls

2 calls:

32.0ms
(-.f64 (/.f64 (+.f64 x y) (*.f64 t 2)) (/.f64 z (*.f64 t 2)))
11.0ms
(/.f64 (+.f64 x y) (*.f64 t 2))

rewrite88.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
355×fma-neg_binary64
247×expm1-udef_binary64
247×log1p-udef_binary64
135×add-sqr-sqrt_binary64
130×egg-rr
Counts
2 → 130
Calls

2 calls:

85.0ms
(-.f64 (/.f64 (+.f64 x y) (*.f64 t 2)) (/.f64 z (*.f64 t 2)))
85.0ms
(/.f64 (+.f64 x y) (*.f64 t 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01123
125923
2403623
3514123
000
100

simplify204.0ms (3.7%)

Algorithm
egg-herbie
Rules
1144×fma-def_binary64
852×fma-neg_binary64
409×distribute-rgt-in_binary64
358×unsub-neg_binary64
350×distribute-lft-in_binary64
Counts
214 → 148
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0341371
1881254
22121020
3441921
4892921
51700921
62258921
72078921
82087921
92090921
102091921
112822921
123214921
132878921
142878921
152878921
162782921

prune87.0ms (1.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1471148
Fresh112
Picked011
Done011
Total1484152
Error
0b
Counts
152 → 4
Alt Table
StatusErrorProgram
34.8b
(/.f64 (/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2))) (sqrt.f64 (*.f64 t 2)))
33.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))) 2)
0.0b
(-.f64 (/.f64 (+.f64 x y) (*.f64 t 2)) (/.f64 z (*.f64 t 2)))
0.0b
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))
Compiler

Compiled 2862 to 1560 computations (45.5% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))
0.3b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))) 2)
1.5b
(sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2)))

series1.4s (25.7%)

Counts
2 → 24
Calls

2 calls:

1.0s
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))) 2)
363.0ms
(sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2)))

rewrite71.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
455×fma-def_binary64
248×fma-neg_binary64
234×expm1-udef_binary64
234×log1p-udef_binary64
129×add-sqr-sqrt_binary64
Counts
2 → 116
Calls

2 calls:

69.0ms
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))) 2)
69.0ms
(sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01228
125828
2363528
3497928
000
100

simplify70.0ms (1.3%)

Algorithm
egg-herbie
Rules
804×fma-neg_binary64
525×associate-*r*_binary64
490×associate-*l*_binary64
382×fma-def_binary64
263×*-commutative_binary64
Counts
140 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01201055
1356843
2995791
33624789
44931789
54977789

prune112.0ms (2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2190219
Fresh011
Picked011
Done022
Total2194223
Error
0b
Counts
223 → 4
Alt Table
StatusErrorProgram
34.8b
(/.f64 (/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2))) (sqrt.f64 (*.f64 t 2)))
33.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))) 2)
0.0b
(-.f64 (/.f64 (+.f64 x y) (*.f64 t 2)) (/.f64 z (*.f64 t 2)))
0.0b
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))
Compiler

Compiled 4455 to 2412 computations (45.9% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2)))
0.2b
(/.f64 (/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2))) (sqrt.f64 (*.f64 t 2)))

series195.0ms (3.5%)

Counts
2 → 80
Calls

2 calls:

128.0ms
(/.f64 (/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2))) (sqrt.f64 (*.f64 t 2)))
67.0ms
(/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2)))

rewrite82.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
256×fma-neg_binary64
254×expm1-udef_binary64
254×log1p-udef_binary64
140×add-sqr-sqrt_binary64
135×log1p-expm1-u_binary64
Counts
2 → 110
Calls

2 calls:

79.0ms
(/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2)))
79.0ms
(/.f64 (/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2))) (sqrt.f64 (*.f64 t 2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01228
127528
2400628
3499528
000
100

simplify108.0ms (2%)

Algorithm
egg-herbie
Rules
452×associate-/l/_binary64
421×fma-neg_binary64
389×neg-mul-1_binary64
372×fma-def_binary64
365×times-frac_binary64
Counts
190 → 137
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0422463
11111713
22411551
35111416
413981206
536111206
648631206
750901206

prune77.0ms (1.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1370137
Fresh000
Picked011
Done033
Total1374141
Error
0b
Counts
141 → 4
Alt Table
StatusErrorProgram
34.8b
(/.f64 (/.f64 (-.f64 (+.f64 x y) z) (sqrt.f64 (*.f64 t 2))) (sqrt.f64 (*.f64 t 2)))
33.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))) 2)
0.0b
(-.f64 (/.f64 (+.f64 x y) (*.f64 t 2)) (/.f64 z (*.f64 t 2)))
0.0b
(/.f64 (-.f64 (+.f64 x y) z) (*.f64 t 2))
Compiler

Compiled 2733 to 1584 computations (42% saved)

regimes440.0ms (8%)

Accuracy

Total 0.1b remaining (62.7%)

Threshold costs 0.1b (62.7%)

Counts
51 → 1
Compiler

Compiled 6305 to 4688 computations (25.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01116
11416
22116
32516
42816
52916
62916

end69.0ms (1.3%)

Remove

(sort x y)

Compiler

Compiled 125 to 87 computations (30.4% saved)

Profiling

Loading profile data...