Details

Time bar (total: 14.0s)

analyze2.6s (18.8%)

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 28 to 19 computations (32.1% saved)

sample3.9s (27.7%)

Symmetry

(sort x y)

(sort z t)

Results
2.1s8256×body128valid
1.7s7635×body128invalid
Compiler

Compiled 83 to 56 computations (32.5% saved)

simplify231.0ms (1.6%)

Algorithm
egg-herbie
Rules
1133×distribute-rgt-in_binary64
1066×distribute-lft-in_binary64
969×unsub-neg_binary64
583×fma-def_binary64
461×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01926
13724
29724
327724
479724
5180924
6253224
7278324
8312824
9340924
10331924
11332724
12333124
13346124
14362024
15362124
16362324
17362324
18507124

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
5.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
5.7b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
Compiler

Compiled 94 to 57 computations (39.4% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series86.0ms (0.6%)

Counts
4 → 228
Calls

4 calls:

49.0ms
(-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i))
18.0ms
(*.f64 (*.f64 c (fma.f64 b c a)) i)
10.0ms
(*.f64 c (fma.f64 b c a))
9.0ms
(fma.f64 x y (*.f64 z t))

rewrite90.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
367×fma-def_binary64
294×expm1-udef_binary64
294×log1p-udef_binary64
174×fma-neg_binary64
163×add-sqr-sqrt_binary64
Counts
4 → 160
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01548
131148
2387248
3528948

simplify371.0ms (2.7%)

Algorithm
egg-herbie
Rules
932×fma-neg_binary64
891×distribute-rgt-neg-in_binary64
739×cube-prod_binary64
707×distribute-lft-neg-in_binary64
670×fabs-mul_binary64
Counts
388 → 198
Iterations

Useful iterations: 10 (0.0ms)

IterNodesCost
0473604
11132908
22752827
35722827
417772827
526702827
632672827
737032827
841612827
942492827
1043442675
1133482675
1234902675
1341212675
1444132675
1545692675
1648462675
1749122675

prune185.0ms (1.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1908198
Fresh000
Picked101
Done000
Total1918199
Error
0.0b
Counts
199 → 8
Alt Table
StatusErrorProgram
40.8b
(*.f64 2 (cbrt.f64 (pow.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i)) 3)))
11.7b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c a) i)))
4.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
11.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (+.f64 (*.f64 (pow.f64 c 2) (*.f64 i b)) (*.f64 c (*.f64 i a)))))
26.5b
(*.f64 2 (-.f64 (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t))) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
17.2b
(*.f64 2 (fma.f64 (*.f64 (neg.f64 (*.f64 c (fma.f64 c b a))) (cbrt.f64 (*.f64 i i))) (cbrt.f64 i) (fma.f64 x y (*.f64 z t))))
26.7b
(*.f64 2 (fma.f64 (sqrt.f64 (neg.f64 (*.f64 (*.f64 c (fma.f64 c b a)) i))) (sqrt.f64 (neg.f64 (*.f64 (*.f64 c (fma.f64 c b a)) i))) (fma.f64 x y (*.f64 z t))))
5.7b
(*.f64 2 (fma.f64 x y (-.f64 (*.f64 z t) (*.f64 (*.f64 c (fma.f64 c b a)) i))))
Compiler

Compiled 5995 to 1490 computations (75.1% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series87.0ms (0.6%)

Counts
3 → 192
Calls

3 calls:

56.0ms
(-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i (fma.f64 c b a))))
20.0ms
(*.f64 c (*.f64 i (fma.f64 c b a)))
11.0ms
(*.f64 i (fma.f64 c b a))

rewrite85.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
369×fma-def_binary64
294×expm1-udef_binary64
294×log1p-udef_binary64
174×fma-neg_binary64
163×add-sqr-sqrt_binary64
Counts
3 → 143
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01540
131140
2387940
3529840

simplify377.0ms (2.7%)

Algorithm
egg-herbie
Rules
926×fma-neg_binary64
891×distribute-rgt-neg-in_binary64
739×cube-prod_binary64
707×distribute-lft-neg-in_binary64
670×fabs-mul_binary64
Counts
335 → 182
Iterations

Useful iterations: 10 (0.0ms)

IterNodesCost
0513283
11212587
22792587
35682587
417762587
526702587
632672587
737032587
841612587
942492587
1043442435
1133482435
1234902435
1341212435
1444132435
1545692435
1648462435
1749122435

prune217.0ms (1.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2023205
Fresh347
Picked101
Done000
Total2067213
Error
0.0b
Counts
213 → 7
Alt Table
StatusErrorProgram
5.7b
(*.f64 2 (fma.f64 x y (-.f64 (*.f64 z t) (*.f64 (*.f64 c (fma.f64 c b a)) i))))
1.6b
(*.f64 2 (fma.f64 (*.f64 c i) (neg.f64 (fma.f64 c b a)) (fma.f64 x y (*.f64 z t))))
40.8b
(*.f64 2 (cbrt.f64 (pow.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i)) 3)))
6.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
26.5b
(*.f64 2 (-.f64 (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t))) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
17.2b
(*.f64 2 (fma.f64 (*.f64 (neg.f64 (*.f64 c (fma.f64 c b a))) (cbrt.f64 (*.f64 i i))) (cbrt.f64 i) (fma.f64 x y (*.f64 z t))))
4.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))))
Compiler

Compiled 6081 to 1470 computations (75.8% saved)

localize13.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series55.0ms (0.4%)

Counts
1 → 96
Calls

1 calls:

55.0ms
(fma.f64 (*.f64 c i) (neg.f64 (fma.f64 c b a)) (fma.f64 x y (*.f64 z t)))

rewrite115.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
319×prod-diff_binary64
263×expm1-udef_binary64
263×log1p-udef_binary64
224×fma-udef_binary64
206×fma-neg_binary64
Counts
1 → 24
Calls

1 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01521
129819
2330319
3482419
4499119
5496119

simplify289.0ms (2.1%)

Algorithm
egg-herbie
Rules
1019×distribute-rgt-neg-in_binary64
917×fma-neg_binary64
702×fabs-mul_binary64
648×distribute-lft-neg-in_binary64
638×cancel-sign-sub-inv_binary64
Counts
120 → 47
Iterations

Useful iterations: 10 (0.0ms)

IterNodesCost
0392199
1981968
22461891
35261737
416631737
525541737
631701737
736191737
840771737
941621737
1042591565
1133231565
1232421565
1337571565
1444861565
1548391565

prune59.0ms (0.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New70070
Fresh066
Picked011
Done000
Total70777
Error
0.0b
Counts
77 → 7
Alt Table
StatusErrorProgram
5.7b
(*.f64 2 (fma.f64 x y (-.f64 (*.f64 z t) (*.f64 (*.f64 c (fma.f64 c b a)) i))))
1.6b
(*.f64 2 (fma.f64 (*.f64 c i) (neg.f64 (fma.f64 c b a)) (fma.f64 x y (*.f64 z t))))
40.8b
(*.f64 2 (cbrt.f64 (pow.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i)) 3)))
6.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
26.5b
(*.f64 2 (-.f64 (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t))) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
17.2b
(*.f64 2 (fma.f64 (*.f64 (neg.f64 (*.f64 c (fma.f64 c b a))) (cbrt.f64 (*.f64 i i))) (cbrt.f64 i) (fma.f64 x y (*.f64 z t))))
4.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))))
Compiler

Compiled 1778 to 629 computations (64.6% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3)
1.1b
(*.f64 i (fma.f64 c b a))
3.9b
(*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))
9.1b
(cbrt.f64 (*.f64 i (fma.f64 c b a)))

series2.0s (14.5%)

Counts
3 → 144
Calls

3 calls:

1.6s
(pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3)
359.0ms
(cbrt.f64 (*.f64 i (fma.f64 c b a)))
31.0ms
(*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))

rewrite62.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
880×log1p-expm1-u_binary64
880×expm1-log1p-u_binary64
100×add-sqr-sqrt_binary64
93×add-cbrt-cube_binary64
93×add-log-exp_binary64
Counts
3 → 76
Calls

3 calls:

57.0ms
(pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3)
57.0ms
(*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))
57.0ms
(cbrt.f64 (*.f64 i (fma.f64 c b a)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01129
120629
2231129
3543929

simplify108.0ms (0.8%)

Algorithm
egg-herbie
Rules
813×fma-def_binary64
311×unswap-sqr_binary64
279×associate-*r*_binary64
236×times-frac_binary64
207×associate-/l*_binary64
Counts
220 → 187
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03085006
19744513
233474302
349874302

prune238.0ms (1.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2130213
Fresh055
Picked011
Done011
Total2137220
Error
0.0b
Counts
220 → 7
Alt Table
StatusErrorProgram
5.7b
(*.f64 2 (fma.f64 x y (-.f64 (*.f64 z t) (*.f64 (*.f64 c (fma.f64 c b a)) i))))
1.6b
(*.f64 2 (fma.f64 (*.f64 c i) (neg.f64 (fma.f64 c b a)) (fma.f64 x y (*.f64 z t))))
40.8b
(*.f64 2 (cbrt.f64 (pow.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i)) 3)))
6.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
26.5b
(*.f64 2 (-.f64 (/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (pow.f64 (*.f64 z t) 2)) (-.f64 (*.f64 x y) (*.f64 z t))) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
17.2b
(*.f64 2 (fma.f64 (*.f64 (neg.f64 (*.f64 c (fma.f64 c b a))) (cbrt.f64 (*.f64 i i))) (cbrt.f64 i) (fma.f64 x y (*.f64 z t))))
4.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))))
Compiler

Compiled 7646 to 3598 computations (52.9% saved)

regimes2.6s (18.4%)

Accuracy

Total 1.6b remaining (98%)

Threshold costs 0b (0%)

Counts
129 → 3
Compiler

Compiled 53960 to 34776 computations (35.6% saved)

bsearch5.0ms (0%)

Compiler

Compiled 17 to 12 computations (29.4% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Rules
24×*-commutative_binary64
16×+-commutative_binary64
14×sub-neg_binary64
12×distribute-rgt-neg-in_binary64
12×neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036118
160118
283118
3101118
4127118
5143118
6151118
7155118
8156118
9156118

end150.0ms (1.1%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 739 to 352 computations (52.4% saved)

Profiling

Loading profile data...