Details

Time bar (total: 14.6s)

analyze2.2s (15.2%)

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)

sample4.0s (27.3%)

Symmetry

(sort x y)

(sort z t)

Results
2.3s8256×body128valid
1.6s7357×body128invalid
Compiler

Compiled 83 to 56 computations (32.5% saved)

simplify218.0ms (1.5%)

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.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
5.6b
(*.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)

series98.0ms (0.7%)

Counts
4 → 228
Calls

4 calls:

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

rewrite88.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
160×egg-rr
Counts
4 → 160
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01548
131148
2387248
3528948
000
100

simplify392.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

prune205.0ms (1.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1917198
Fresh000
Picked011
Done000
Total1918199
Error
0.0b
Counts
199 → 8
Alt Table
StatusErrorProgram
5.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (pow.f64 (cbrt.f64 (*.f64 c (fma.f64 c b a))) 3) i)))
11.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (+.f64 (*.f64 (pow.f64 c 2) (*.f64 i b)) (*.f64 c (*.f64 i a)))))
28.7b
(*.f64 2 (/.f64 (-.f64 (pow.f64 (fma.f64 x y (*.f64 z t)) 2) (pow.f64 (*.f64 (*.f64 c (fma.f64 c b a)) i) 2)) (fma.f64 (*.f64 c (fma.f64 c b a)) i (fma.f64 x y (*.f64 z t)))))
5.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
19.9b
(*.f64 2 (fma.f64 t z (*.f64 y x)))
4.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
6.7b
(*.f64 2 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) 2)))
34.1b
(*.f64 2 (fma.f64 (*.f64 (neg.f64 (*.f64 c (fma.f64 c b a))) (sqrt.f64 i)) (sqrt.f64 i) (fma.f64 x y (*.f64 z t))))
Compiler

Compiled 5978 to 1468 computations (75.4% saved)

localize12.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))))
0.8b
(*.f64 i (fma.f64 c b a))
4.1b
(*.f64 c (*.f64 i (fma.f64 c b a)))

series95.0ms (0.6%)

Counts
3 → 192
Calls

3 calls:

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

rewrite87.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
143×egg-rr
Counts
3 → 143
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01540
131140
2387940
3529840
000
100

simplify366.0ms (2.5%)

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

prune199.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2023205
Fresh426
Picked101
Done011
Total2076213
Error
0b
Counts
213 → 6
Alt Table
StatusErrorProgram
19.9b
(*.f64 2 (fma.f64 t z (*.f64 y x)))
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))))
5.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
6.7b
(*.f64 2 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) 2)))
2.3b
(*.f64 2 (fma.f64 (*.f64 c i) (neg.f64 (fma.f64 c b a)) (fma.f64 x y (*.f64 z t))))
7.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
Compiler

Compiled 5980 to 1396 computations (76.7% saved)

localize12.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series60.0ms (0.4%)

Counts
1 → 96
Calls

1 calls:

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

rewrite112.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
24×egg-rr
Counts
1 → 24
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01521
129819
2330319
3482419
4499119
5496119
000
100

simplify277.0ms (1.9%)

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

prune53.0ms (0.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh044
Picked011
Done011
Total70676
Error
0b
Counts
76 → 6
Alt Table
StatusErrorProgram
19.9b
(*.f64 2 (fma.f64 t z (*.f64 y x)))
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))))
5.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
6.7b
(*.f64 2 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) 2)))
2.3b
(*.f64 2 (fma.f64 (*.f64 c i) (neg.f64 (fma.f64 c b a)) (fma.f64 x y (*.f64 z t))))
7.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
Compiler

Compiled 1677 to 555 computations (66.9% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.7b
(pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3)
0.8b
(*.f64 i (fma.f64 c b a))
4.1b
(*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))
7.8b
(cbrt.f64 (*.f64 i (fma.f64 c b a)))

series3.1s (20.8%)

Counts
3 → 144
Calls

3 calls:

2.7s
(pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3)
357.0ms
(cbrt.f64 (*.f64 i (fma.f64 c b a)))
32.0ms
(*.f64 c (pow.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) 3))

rewrite142.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
76×egg-rr
Counts
3 → 76
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01129
120629
2231129
3543929
000
100

simplify119.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
233474270
349874270

prune197.0ms (1.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2130213
Fresh033
Picked011
Done022
Total2136219
Error
0b
Counts
219 → 6
Alt Table
StatusErrorProgram
19.9b
(*.f64 2 (fma.f64 t z (*.f64 y x)))
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))))
5.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
6.7b
(*.f64 2 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) (pow.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 c b a)) i))) 2)))
2.3b
(*.f64 2 (fma.f64 (*.f64 c i) (neg.f64 (fma.f64 c b a)) (fma.f64 x y (*.f64 z t))))
7.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
Compiler

Compiled 7591 to 3581 computations (52.8% saved)

regimes2.4s (16.7%)

Accuracy

Total 1.1b remaining (97.1%)

Threshold costs 0b (0%)

Counts
113 → 3
Compiler

Compiled 46417 to 30590 computations (34.1% saved)

bsearch4.0ms (0%)

Compiler

Compiled 17 to 12 computations (29.4% saved)

simplify7.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
039113
167113
281113
393113
4114113
5130113
6140113
7145113
8146113
9146113

end147.0ms (1%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 683 to 329 computations (51.8% saved)

Profiling

Loading profile data...