Details

Time bar (total: 6.5s)

analyze1.8s (28.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.6%0.4%0
0%99.6%0.4%1
0%99.6%0.4%2
0%99.6%0.4%3
0%99.6%0.4%4
0%99.6%0.4%5
0%99.6%0.4%6
0%99.6%0.4%7
0%99.6%0.4%8
0%99.6%0.4%9
0%99.6%0.4%10
0%99.6%0.4%11
0%99.6%0.4%12
0%99.6%0.4%13
0%99.6%0.4%14
Compiler

Compiled 24 to 16 computations (33.3% saved)

sample2.2s (33.8%)

Symmetry

(sort x y)

(sort z t)

(sort a b)

(sort c i)

Results
1.3s8256×body128valid
865.0ms5858×body128invalid
Compiler

Compiled 71 to 47 computations (33.8% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
58×fma-def_binary64
24×associate-+l+_binary64
22×associate-+r+_binary64
17×+-commutative_binary64
*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01620
12816
26116
310516
412116
512316
612316

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
0.0b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z t)) (*.f64 a b)) (*.f64 c i))
Compiler

Compiled 121 to 72 computations (40.5% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
0.0b
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
0.0b
(fma.f64 x y (*.f64 z t))

series56.0ms (0.9%)

Counts
3 → 216
Calls

3 calls:

29.0ms
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
17.0ms
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
9.0ms
(fma.f64 x y (*.f64 z t))

rewrite64.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
621×log-prod_binary64
304×prod-diff_binary64
241×expm1-udef_binary64
241×log1p-udef_binary64
224×log-pow_binary64
Counts
3 → 92
Calls

3 calls:

62.0ms
(fma.f64 c i (fma.f64 a b (fma.f64 x y (*.f64 z t))))
62.0ms
(fma.f64 a b (fma.f64 x y (*.f64 z t)))
62.0ms
(fma.f64 x y (*.f64 z t))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01336
125536
2295236
3561736

simplify59.0ms (0.9%)

Algorithm
egg-herbie
Rules
59×fma-def_binary64
16×+-commutative_binary64
16×associate-+l+_binary64
13×associate-+r+_binary64
*-commutative_binary64
Counts
308 → 115
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0292392
1622392
21012392
31192392
41232392
51232392

prune92.0ms (1.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1123115
Fresh101
Picked101
Done000
Total1143117
Error
0.0b
Counts
117 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
13.5b
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
22.0b
(fma.f64 c i (fma.f64 a b (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t)))))
Compiler

Compiled 2102 to 500 computations (76.2% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 t z (*.f64 c i))
0.0b
(fma.f64 a b (fma.f64 t z (*.f64 c i)))
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))

series59.0ms (0.9%)

Counts
3 → 216
Calls

3 calls:

33.0ms
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
17.0ms
(fma.f64 a b (fma.f64 t z (*.f64 c i)))
8.0ms
(fma.f64 t z (*.f64 c i))

rewrite65.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
621×log-prod_binary64
304×prod-diff_binary64
241×expm1-udef_binary64
241×log1p-udef_binary64
224×log-pow_binary64
Counts
3 → 92
Calls

3 calls:

63.0ms
(fma.f64 t z (*.f64 c i))
63.0ms
(fma.f64 a b (fma.f64 t z (*.f64 c i)))
63.0ms
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01336
125536
2295236
3561736

simplify58.0ms (0.9%)

Algorithm
egg-herbie
Rules
60×fma-def_binary64
20×+-commutative_binary64
18×associate-+r+_binary64
17×associate-+l+_binary64
*-commutative_binary64
Counts
308 → 112
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0272392
1572392
2972392
31192392
41232392
51232392

prune63.0ms (1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1120112
Fresh022
Picked011
Done000
Total1123115
Error
0.0b
Counts
115 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
13.5b
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
22.0b
(fma.f64 c i (fma.f64 a b (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t)))))
Compiler

Compiled 2021 to 465 computations (77% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 t z (*.f64 a b))
0.0b
(fma.f64 c i (fma.f64 t z (*.f64 a b)))

series27.0ms (0.4%)

Counts
2 → 120
Calls

2 calls:

18.0ms
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
9.0ms
(fma.f64 t z (*.f64 a b))

rewrite47.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
869×log1p-expm1-u_binary64
869×expm1-log1p-u_binary64
240×prod-diff_binary64
102×add-sqr-sqrt_binary64
93×add-log-exp_binary64
Counts
2 → 49
Calls

2 calls:

46.0ms
(fma.f64 t z (*.f64 a b))
46.0ms
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
119620
2226620
3583720

simplify26.0ms (0.4%)

Algorithm
egg-herbie
Rules
19×fma-def_binary64
+-commutative_binary64
*-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Counts
169 → 60
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0161080
1281080
2391080
3431080
4431080

prune36.0ms (0.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh011
Picked011
Done011
Total60363
Error
0.0b
Counts
63 → 3
Alt Table
StatusErrorProgram
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
13.5b
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
22.0b
(fma.f64 c i (fma.f64 a b (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t)))))
Compiler

Compiled 885 to 240 computations (72.9% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 x y) (*.f64 x y))
0.3b
(pow.f64 (*.f64 z t) 2)
1.6b
(-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2))
26.3b
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t)))

series101.0ms (1.5%)

Counts
4 → 144
Calls

4 calls:

47.0ms
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t)))
36.0ms
(-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2))
11.0ms
(*.f64 (*.f64 x y) (*.f64 x y))
7.0ms
(pow.f64 (*.f64 z t) 2)

rewrite86.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
411×fma-neg_binary64
267×expm1-udef_binary64
267×log1p-udef_binary64
165×egg-rr
151×add-sqr-sqrt_binary64
Counts
4 → 165
Calls

4 calls:

83.0ms
(*.f64 (*.f64 x y) (*.f64 x y))
83.0ms
(pow.f64 (*.f64 z t) 2)
83.0ms
(-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2))
83.0ms
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01358
130538
2407138
3525138

simplify104.0ms (1.6%)

Algorithm
egg-herbie
Rules
950×fma-def_binary64
662×fma-neg_binary64
657×distribute-rgt-neg-in_binary64
605×distribute-lft-neg-in_binary64
502×unswap-sqr_binary64
Counts
309 → 177
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0181740
1471740
2951668
32771668
410431668
521891668
641771668
750361668

prune196.0ms (3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1761177
Fresh000
Picked011
Done022
Total1764180
Error
0.0b
Counts
180 → 4
Alt Table
StatusErrorProgram
0.0b
(fma.f64 y x (fma.f64 a b (fma.f64 t z (*.f64 c i))))
13.5b
(fma.f64 c i (fma.f64 t z (*.f64 a b)))
34.3b
(fma.f64 c i (fma.f64 a b (/.f64 (expm1.f64 (log1p.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (pow.f64 (*.f64 z t) 2)))) (-.f64 (*.f64 x y) (*.f64 z t)))))
22.0b
(fma.f64 c i (fma.f64 a b (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t)))))
Compiler

Compiled 5555 to 1823 computations (67.2% saved)

regimes1.1s (17.4%)

Accuracy

Total 0.0b remaining (58.7%)

Threshold costs 0.0b (58.7%)

Counts
72 → 1
Compiler

Compiled 25966 to 16505 computations (36.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01316
11416
21416

end146.0ms (2.2%)

Remove

(sort c i)

(sort a b)

(sort z t)

(sort x y)

Compiler

Compiled 307 to 182 computations (40.7% saved)

Profiling

Loading profile data...