Details

Time bar (total: 12.3s)

analyze2.9s (23.7%)

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
0%99.8%0.2%9
1.6%98.2%0.2%10
3.1%90.4%6.5%11
9.2%84.4%6.5%12
13%80.6%6.5%13
24.8%68.7%6.5%14
Compiler

Compiled 20 to 13 computations (35% saved)

sample3.1s (25.5%)

Symmetry

(sort x y)

(sort t a)

Results
2.2s8256×body128valid
794.0ms3257×body128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify80.0ms (0.7%)

Algorithm
egg-herbie
Rules
1034×fma-def_binary64
336×fma-neg_binary64
138×distribute-rgt-in_binary64
130×cancel-sign-sub-inv_binary64
128×associate-/r/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01321
12621
25221
38721
412821
516121
620321
724721
846421
982221
10123421
11116921
12123721
13131121
14137521
15137521
16128221

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
21.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
21.8b
(/.f64 (*.f64 (*.f64 x y) z) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
Compiler

Compiled 57 to 36 computations (36.8% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(-.f64 (*.f64 z z) (*.f64 t a))
5.2b
(*.f64 (*.f64 x y) z)
7.4b
(/.f64 (*.f64 (*.f64 x y) z) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
23.5b
(sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))

series491.0ms (4%)

Counts
4 → 136
Calls

4 calls:

384.0ms
(/.f64 (*.f64 (*.f64 x y) z) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
73.0ms
(sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))
18.0ms
(*.f64 (*.f64 x y) z)
15.0ms
(-.f64 (*.f64 z z) (*.f64 t a))

rewrite173.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
871×prod-diff_binary64
256×egg-rr
145×add-sqr-sqrt_binary64
137×log1p-expm1-u_binary64
137×expm1-log1p-u_binary64
Counts
4 → 256
Calls

4 calls:

158.0ms
(-.f64 (*.f64 z z) (*.f64 t a))
158.0ms
(*.f64 (*.f64 x y) z)
158.0ms
(/.f64 (*.f64 (*.f64 x y) z) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
158.0ms
(sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01350
128350
2375450
3541350
000
100

simplify148.0ms (1.2%)

Algorithm
egg-herbie
Rules
525×fma-def_binary64
513×associate-*l/_binary64
330×associate-/r/_binary64
224×times-frac_binary64
204×associate-*r*_binary64
Counts
392 → 309
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01652730
15702726
224442703
355902703

prune414.0ms (3.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3027309
Fresh000
Picked101
Done000
Total3037310
Error
2.8b
Counts
310 → 7
Alt Table
StatusErrorProgram
22.9b
(*.f64 (/.f64 (*.f64 x y) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))) z)
37.8b
(neg.f64 (*.f64 y x))
35.8b
(*.f64 y x)
20.8b
(*.f64 (*.f64 x y) (/.f64 1 (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)))
22.7b
(*.f64 x (*.f64 (*.f64 z y) (pow.f64 (-.f64 (*.f64 z z) (*.f64 t a)) -1/2)))
22.6b
(/.f64 (*.f64 y (*.f64 z x)) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
39.6b
(fma.f64 1/2 (/.f64 (*.f64 a (*.f64 t (*.f64 y x))) (*.f64 z z)) (*.f64 y x))
Compiler

Compiled 9241 to 2861 computations (69% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)
0.6b
(-.f64 (*.f64 z z) (*.f64 t a))
3.3b
(*.f64 (*.f64 x y) (/.f64 1 (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)))
23.5b
(sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))

series303.0ms (2.5%)

Counts
2 → 64
Calls

2 calls:

235.0ms
(*.f64 (*.f64 x y) (/.f64 1 (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)))
68.0ms
(/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)

rewrite80.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
868×prod-diff_binary64
163×add-sqr-sqrt_binary64
153×log1p-expm1-u_binary64
153×expm1-log1p-u_binary64
151×add-cbrt-cube_binary64
Counts
2 → 62
Calls

2 calls:

79.0ms
(/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)
79.0ms
(*.f64 (*.f64 x y) (/.f64 1 (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01536
132536
2409736
3572236
000
100

simplify104.0ms (0.8%)

Algorithm
egg-herbie
Rules
513×fma-def_binary64
497×associate-*l/_binary64
329×associate-/r/_binary64
225×times-frac_binary64
204×associate-*r*_binary64
Counts
126 → 108
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01642203
15632193
224342166
355342166

prune417.0ms (3.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New3281329
Fresh156
Picked101
Done000
Total3306336
Error
2.8b
Counts
336 → 6
Alt Table
StatusErrorProgram
22.9b
(*.f64 (/.f64 (*.f64 x y) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))) z)
37.8b
(neg.f64 (*.f64 y x))
35.8b
(*.f64 y x)
22.7b
(*.f64 x (*.f64 (*.f64 z y) (pow.f64 (-.f64 (*.f64 z z) (*.f64 t a)) -1/2)))
20.8b
(/.f64 (*.f64 x y) (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z))
22.6b
(/.f64 (*.f64 y (*.f64 z x)) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
Compiler

Compiled 10255 to 3855 computations (62.4% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z)
0.6b
(-.f64 (*.f64 z z) (*.f64 t a))
3.3b
(/.f64 (*.f64 x y) (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z))
23.5b
(sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))

series367.0ms (3%)

Counts
1 → 44
Calls

1 calls:

367.0ms
(/.f64 (*.f64 x y) (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z))

rewrite95.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
898×prod-diff_binary64
149×add-sqr-sqrt_binary64
141×log1p-expm1-u_binary64
141×expm1-log1p-u_binary64
139×add-log-exp_binary64
Counts
1 → 55
Calls

1 calls:

92.0ms
(/.f64 (*.f64 x y) (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01321
128921
2399521
3572421
000
100

simplify95.0ms (0.8%)

Algorithm
egg-herbie
Rules
485×associate-*r/_binary64
433×associate-*l/_binary64
419×fma-def_binary64
280×associate-/r/_binary64
198×times-frac_binary64
Counts
99 → 80
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01311625
14541621
220311608
353301608

prune327.0ms (2.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3550355
Fresh055
Picked011
Done000
Total3556361
Error
2.8b
Counts
361 → 6
Alt Table
StatusErrorProgram
22.9b
(*.f64 (/.f64 (*.f64 x y) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))) z)
37.8b
(neg.f64 (*.f64 y x))
35.8b
(*.f64 y x)
22.7b
(*.f64 x (*.f64 (*.f64 z y) (pow.f64 (-.f64 (*.f64 z z) (*.f64 t a)) -1/2)))
20.8b
(/.f64 (*.f64 x y) (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z))
22.6b
(/.f64 (*.f64 y (*.f64 z x)) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
Compiler

Compiled 10279 to 3374 computations (67.2% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(-.f64 (*.f64 z z) (*.f64 t a))
6.7b
(*.f64 y (*.f64 z x))
7.4b
(/.f64 (*.f64 y (*.f64 z x)) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
23.5b
(sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))

series394.0ms (3.2%)

Counts
2 → 44
Calls

2 calls:

376.0ms
(/.f64 (*.f64 y (*.f64 z x)) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
18.0ms
(*.f64 y (*.f64 z x))

rewrite96.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
871×prod-diff_binary64
145×add-sqr-sqrt_binary64
137×log1p-expm1-u_binary64
137×expm1-log1p-u_binary64
135×add-log-exp_binary64
Counts
2 → 62
Calls

2 calls:

91.0ms
(*.f64 y (*.f64 z x))
91.0ms
(/.f64 (*.f64 y (*.f64 z x)) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01328
128328
2376728
3542628
000
100

simplify91.0ms (0.7%)

Algorithm
egg-herbie
Rules
485×associate-*r/_binary64
433×associate-*l/_binary64
419×fma-def_binary64
280×associate-/r/_binary64
198×times-frac_binary64
Counts
106 → 87
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01311625
14541621
220311608
353301608

prune360.0ms (2.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3071308
Fresh044
Picked011
Done011
Total3077314
Error
2.8b
Counts
314 → 7
Alt Table
StatusErrorProgram
22.9b
(*.f64 (/.f64 (*.f64 x y) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a)))) z)
37.8b
(neg.f64 (*.f64 y x))
35.8b
(*.f64 y x)
22.7b
(*.f64 x (*.f64 (*.f64 z y) (pow.f64 (-.f64 (*.f64 z z) (*.f64 t a)) -1/2)))
20.8b
(/.f64 (*.f64 x y) (/.f64 (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))) z))
22.6b
(/.f64 (*.f64 y (*.f64 z x)) (sqrt.f64 (-.f64 (*.f64 z z) (*.f64 t a))))
37.7b
(/.f64 (*.f64 y (*.f64 z x)) (neg.f64 z))
Compiler

Compiled 9100 to 2783 computations (69.4% saved)

regimes1.6s (12.8%)

Accuracy

Total 2.7b remaining (42.8%)

Threshold costs 0b (0%)

Counts
52 → 3
Compiler

Compiled 8186 to 5409 computations (33.9% saved)

bsearch52.0ms (0.4%)

Steps
ItersRangePoint
6
2.956768345402315e+142
8.487210617174824e+143
4.257216888057887e+142
1
-9.849348287214884e+143
-4.3441659668286355e+140
-2.0742634033648369e+142
Compiler

Compiled 6 to 5 computations (16.7% saved)

simplify7.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02243
13943
25543
36643
47243
57343
67343

end480.0ms (3.9%)

Remove

(sort t a)

Compiler

Compiled 379 to 231 computations (39.1% saved)

Profiling

Loading profile data...