Details

Time bar (total: 6.0s)

analyze1.3s (21.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
0%99.8%0.2%9
13.2%86.5%0.2%10
17%82.8%0.2%11
18.2%81.5%0.2%12
21.7%78.1%0.2%13
32.9%66.9%0.2%14
Compiler

Compiled 17 to 11 computations (35.3% saved)

sample1.2s (19.5%)

Results
995.0ms8256×body128valid
88.0ms761×body128invalid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify114.0ms (1.9%)

Algorithm
egg-herbie
Rules
1539×fma-neg_binary64
1346×fma-def_binary64
1046×div-sub_binary64
750×associate-/r/_binary64
420×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01116
12616
24916
39616
418316
533916
665716
7172616
8283016
9268716
10295116
11317216
12325816
13429716
14521316

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
11.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.5b
(/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 a z)))
Compiler

Compiled 59 to 33 computations (44.1% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (*.f64 y z))
11.1b
(/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 a z)))

series57.0ms (0.9%)

Counts
2 → 69
Calls

2 calls:

51.0ms
(/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 a z)))
6.0ms
(-.f64 x (*.f64 y z))

rewrite103.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
412×fma-def_binary64
244×expm1-udef_binary64
244×log1p-udef_binary64
195×fma-neg_binary64
136×egg-rr
Counts
2 → 136
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01123
125323
2361723
3499023
4500123

simplify112.0ms (1.9%)

Algorithm
egg-herbie
Rules
611×associate-/r*_binary64
549×fma-def_binary64
458×cancel-sign-sub-inv_binary64
314×fma-neg_binary64
212×associate-*l/_binary64
Counts
205 → 176
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01182839
14062698
215962491
346852491
450002491
549812491

prune140.0ms (2.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1679176
Fresh000
Picked011
Done000
Total16710177
Error
1.5b
Counts
177 → 10
Alt Table
StatusErrorProgram
11.5b
(*.f64 (-.f64 x (*.f64 y z)) (/.f64 1 (-.f64 t (*.f64 z a))))
44.2b
(/.f64 x t)
33.9b
(-.f64 (*.f64 (+.f64 (/.f64 (*.f64 z a) t) 1) (/.f64 x t)) (*.f64 (/.f64 y t) (+.f64 z (/.f64 (*.f64 z (*.f64 z a)) t))))
36.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 z a)))) 2)
12.3b
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 z a)))) 3)
39.6b
(*.f64 (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) 1) (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) (-.f64 t (*.f64 z a))))
11.5b
(/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 a z)))
11.5b
(/.f64 (fma.f64 y (neg.f64 z) x) (-.f64 t (*.f64 a z)))
41.2b
(/.f64 y a)
12.3b
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a)))))
Compiler

Compiled 4654 to 1457 computations (68.7% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
11.1b
(/.f64 (fma.f64 y (neg.f64 z) x) (-.f64 t (*.f64 a z)))

series53.0ms (0.9%)

Counts
1 → 60
Calls

1 calls:

52.0ms
(/.f64 (fma.f64 y (neg.f64 z) x) (-.f64 t (*.f64 a z)))

rewrite112.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
670×prod-diff_binary64
505×fma-udef_binary64
366×fma-def_binary64
206×expm1-udef_binary64
206×log1p-udef_binary64
Counts
1 → 36
Calls

1 calls:

111.0ms
(/.f64 (fma.f64 y (neg.f64 z) x) (-.f64 t (*.f64 a z)))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01116
124014
2287112
3483912
4476212
5495112

simplify98.0ms (1.6%)

Algorithm
egg-herbie
Rules
611×associate-/r*_binary64
548×fma-def_binary64
458×cancel-sign-sub-inv_binary64
314×fma-neg_binary64
213×associate-*l/_binary64
Counts
96 → 74
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01172805
14032664
215932457
346812457
449962457
549822457

prune53.0ms (0.9%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh088
Picked011
Done011
Total741084
Error
1.5b
Counts
84 → 10
Alt Table
StatusErrorProgram
11.5b
(*.f64 (-.f64 x (*.f64 y z)) (/.f64 1 (-.f64 t (*.f64 z a))))
44.2b
(/.f64 x t)
33.9b
(-.f64 (*.f64 (+.f64 (/.f64 (*.f64 z a) t) 1) (/.f64 x t)) (*.f64 (/.f64 y t) (+.f64 z (/.f64 (*.f64 z (*.f64 z a)) t))))
36.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 z a)))) 2)
12.3b
(pow.f64 (cbrt.f64 (/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 z a)))) 3)
39.6b
(*.f64 (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) 1) (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) (-.f64 t (*.f64 z a))))
11.5b
(/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 a z)))
11.5b
(/.f64 (fma.f64 y (neg.f64 z) x) (-.f64 t (*.f64 a z)))
41.2b
(/.f64 y a)
12.3b
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a)))))
Compiler

Compiled 2348 to 996 computations (57.6% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (*.f64 y z))
0.2b
(/.f64 1 (-.f64 t (*.f64 z a)))
11.1b
(*.f64 (-.f64 x (*.f64 y z)) (/.f64 1 (-.f64 t (*.f64 z a))))

series71.0ms (1.2%)

Counts
2 → 96
Calls

2 calls:

55.0ms
(*.f64 (-.f64 x (*.f64 y z)) (/.f64 1 (-.f64 t (*.f64 z a))))
16.0ms
(/.f64 1 (-.f64 t (*.f64 z a)))

rewrite70.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
409×fma-def_binary64
258×expm1-udef_binary64
258×log1p-udef_binary64
176×fma-neg_binary64
147×add-sqr-sqrt_binary64
Counts
2 → 69
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01326
128626
2369326
3501926

simplify79.0ms (1.3%)

Algorithm
egg-herbie
Rules
697×associate-/r*_binary64
667×fma-def_binary64
460×cancel-sign-sub-inv_binary64
196×associate-/l/_binary64
182×sub-neg_binary64
Counts
165 → 121
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01403894
14743733
218483465
349993465

prune150.0ms (2.5%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New2071208
Fresh167
Picked011
Done022
Total20810218
Error
1.5b
Counts
218 → 10
Alt Table
StatusErrorProgram
11.5b
(*.f64 (-.f64 x (*.f64 y z)) (/.f64 1 (-.f64 t (*.f64 z a))))
44.2b
(/.f64 x t)
33.9b
(-.f64 (*.f64 (+.f64 (/.f64 (*.f64 z a) t) 1) (/.f64 x t)) (*.f64 (/.f64 y t) (+.f64 z (/.f64 (*.f64 z (*.f64 z a)) t))))
36.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 z a)))) 2)
33.1b
(/.f64 (*.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y z) 2)) (/.f64 1 (-.f64 t (*.f64 z a)))) (fma.f64 y z x))
39.6b
(*.f64 (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) 1) (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) (-.f64 t (*.f64 z a))))
11.5b
(/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 a z)))
11.5b
(/.f64 (fma.f64 y (neg.f64 z) x) (-.f64 t (*.f64 a z)))
41.2b
(/.f64 y a)
12.3b
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a)))))
Compiler

Compiled 5394 to 1968 computations (63.5% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2)
3.3b
(*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a))))
4.7b
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a)))))
8.1b
(cbrt.f64 (-.f64 x (*.f64 y z)))

series266.0ms (4.4%)

Counts
4 → 192
Calls

4 calls:

98.0ms
(*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a))))
69.0ms
(pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2)
57.0ms
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a)))))
41.0ms
(cbrt.f64 (-.f64 x (*.f64 y z)))

rewrite79.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
312×expm1-udef_binary64
312×log1p-udef_binary64
181×add-sqr-sqrt_binary64
173×log1p-expm1-u_binary64
173×expm1-log1p-u_binary64
Counts
4 → 97
Calls

4 calls:

77.0ms
(pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2)
77.0ms
(*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a))))
77.0ms
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a)))))
77.0ms
(cbrt.f64 (-.f64 x (*.f64 y z)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01758
136755
2442155
3526055

simplify227.0ms (3.8%)

Algorithm
egg-herbie
Rules
802×times-frac_binary64
467×fma-def_binary64
242×*-commutative_binary64
210×sub-neg_binary64
160×fma-neg_binary64
Counts
289 → 326
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
066311476
1241411136
2497311136
3500911136

prune324.0ms (5.4%)

Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New4071408
Fresh066
Picked011
Done033
Total40711418
Error
1.5b
Counts
418 → 11
Alt Table
StatusErrorProgram
44.2b
(/.f64 x t)
56.2b
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (/.f64 1 t) (pow.f64 x 1/3)))
11.5b
(*.f64 (-.f64 x (*.f64 y z)) (/.f64 1 (-.f64 t (*.f64 z a))))
33.9b
(-.f64 (*.f64 (+.f64 (/.f64 (*.f64 z a) t) 1) (/.f64 x t)) (*.f64 (/.f64 y t) (+.f64 z (/.f64 (*.f64 z (*.f64 z a)) t))))
36.8b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 z a)))) 2)
33.1b
(/.f64 (*.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 y z) 2)) (/.f64 1 (-.f64 t (*.f64 z a)))) (fma.f64 y z x))
39.6b
(*.f64 (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) 1) (/.f64 (sqrt.f64 (-.f64 x (*.f64 y z))) (-.f64 t (*.f64 z a))))
11.5b
(/.f64 (-.f64 x (*.f64 y z)) (-.f64 t (*.f64 a z)))
11.5b
(/.f64 (fma.f64 y (neg.f64 z) x) (-.f64 t (*.f64 a z)))
41.2b
(/.f64 y a)
12.3b
(*.f64 (pow.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) 2) (*.f64 (cbrt.f64 (-.f64 x (*.f64 y z))) (/.f64 1 (-.f64 t (*.f64 z a)))))
Compiler

Compiled 19835 to 9639 computations (51.4% saved)

regimes1.3s (21.3%)

Accuracy

Total 4.2b remaining (70.1%)

Threshold costs 0b (0%)

Counts
105 → 5
Compiler

Compiled 14576 to 8974 computations (38.4% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 16 to 10 computations (37.5% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
039161
159161
284161
399161
4107161
5108161
6108161

end134.0ms (2.2%)

Compiler

Compiled 445 to 209 computations (53% saved)

Profiling

Loading profile data...