Details

Time bar (total: 9.4s)

analyze2.3s (24.7%)

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.2s (33.7%)

Symmetry

(sort x y)

(sort z t)

Results
1.6s8256×body128valid
1.5s7311×body128invalid
Compiler

Compiled 83 to 56 computations (32.5% saved)

simplify221.0ms (2.4%)

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

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
6.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
6.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.2%)

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

series102.0ms (1.1%)

Counts
4 → 228
Calls

4 calls:

61.0ms
(-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i))
22.0ms
(*.f64 (*.f64 c (fma.f64 b c a)) i)
9.0ms
(*.f64 c (fma.f64 b c a))
8.0ms
(fma.f64 x y (*.f64 z t))

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
11×pow1_binary64
*-un-lft-identity_binary64
Counts
4 → 73
Calls

4 calls:

5.0ms
(*.f64 c (fma.f64 b c a))
4.0ms
(*.f64 (*.f64 c (fma.f64 b c a)) i)
3.0ms
(-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i))
0.0ms
(fma.f64 x y (*.f64 z t))

simplify119.0ms (1.3%)

Algorithm
egg-herbie
Rules
578×fma-neg_binary64
563×distribute-rgt-in_binary64
556×distribute-lft-in_binary64
505×fma-def_binary64
242×cancel-sign-sub-inv_binary64
Counts
301 → 160
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01494992
13274027
210913988
345313988
449333988

prune161.0ms (1.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1519160
Fresh000
Picked011
Done000
Total15110161
Error
0.3b
Counts
161 → 10
Alt Table
StatusErrorProgram
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (*.f64 (cbrt.f64 c) (cbrt.f64 c)) (*.f64 (cbrt.f64 c) (fma.f64 b c a))) i)))
31.2b
(*.f64 2 (*.f64 (sqrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a))))) (sqrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
20.0b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 i (fma.f64 c b a))) 3))))
13.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i a))))
35.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (*.f64 c (fma.f64 b c a)) (sqrt.f64 i)) (sqrt.f64 i))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 c (fma.f64 b c a))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) i)))
4.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
7.6b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
9.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)))))
Compiler

Compiled 4254 to 1221 computations (71.3% saved)

localize13.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.0b
(*.f64 i (fma.f64 c b a))
4.0b
(*.f64 c (*.f64 i (fma.f64 c b a)))

series93.0ms (1%)

Counts
3 → 192
Calls

3 calls:

59.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)))
13.0ms
(*.f64 i (fma.f64 c b a))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×fma-udef_binary64
10×add-sqr-sqrt_binary64
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
Counts
3 → 71
Calls

3 calls:

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

simplify149.0ms (1.6%)

Algorithm
egg-herbie
Rules
613×distribute-rgt-in_binary64
606×distribute-lft-in_binary64
552×fma-def_binary64
306×fma-neg_binary64
215×cancel-sign-sub-inv_binary64
Counts
263 → 138
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01544703
13323822
211633783
345223783
449773783
549313783

prune165.0ms (1.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1533156
Fresh448
Picked011
Done011
Total1579166
Error
0.0b
Counts
166 → 9
Alt Table
StatusErrorProgram
4.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
2.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
20.0b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 i (fma.f64 c b a))) 3))))
5.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 c (fma.f64 b c a))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) i)))
20.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (cbrt.f64 (pow.f64 (*.f64 i (fma.f64 c b a)) 3)))))
7.6b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
9.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)))))
Compiler

Compiled 4042 to 1103 computations (72.7% saved)

localize14.0ms (0.1%)

Local error

Found 3 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 i) (fma.f64 c b a)))
5.7b
(*.f64 (*.f64 c i) (fma.f64 c b a))

series76.0ms (0.8%)

Counts
2 → 144
Calls

2 calls:

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

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
fma-udef_binary64
*-un-lft-identity_binary64
Counts
2 → 45
Calls

2 calls:

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

simplify118.0ms (1.3%)

Algorithm
egg-herbie
Rules
663×fma-neg_binary64
516×fma-def_binary64
445×distribute-rgt-in_binary64
436×distribute-lft-in_binary64
295×*-commutative_binary64
Counts
189 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01293996
13073155
210333116
336283108
448433108
547973108

prune126.0ms (1.3%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1220122
Fresh066
Picked011
Done022
Total1229131
Error
0.0b
Counts
131 → 9
Alt Table
StatusErrorProgram
4.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
2.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
20.0b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 i (fma.f64 c b a))) 3))))
5.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 c (fma.f64 b c a))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) i)))
20.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (cbrt.f64 (pow.f64 (*.f64 i (fma.f64 c b a)) 3)))))
7.6b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
9.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)))))
Compiler

Compiled 3286 to 914 computations (72.2% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i))))
0.2b
(+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i))
3.3b
(*.f64 c (*.f64 i b))
4.0b
(*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))

series117.0ms (1.2%)

Counts
4 → 180
Calls

4 calls:

74.0ms
(-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i))))
22.0ms
(*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))
13.0ms
(+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i))
8.0ms
(*.f64 c (*.f64 i b))

rewrite23.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
11×pow1_binary64
*-un-lft-identity_binary64
Counts
4 → 81
Calls

4 calls:

7.0ms
(+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i))
6.0ms
(*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))
3.0ms
(*.f64 c (*.f64 i b))
2.0ms
(-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i))))

simplify117.0ms (1.2%)

Algorithm
egg-herbie
Rules
606×distribute-rgt-in_binary64
586×distribute-lft-in_binary64
334×fma-neg_binary64
259×cancel-sign-sub-inv_binary64
220×associate-*l*_binary64
Counts
261 → 162
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01664603
14333868
215303816
346073816
449343816

prune169.0ms (1.8%)

Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New1611162
Fresh055
Picked011
Done033
Total16110171
Error
0b
Counts
171 → 10
Alt Table
StatusErrorProgram
4.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
2.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
20.0b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 i (fma.f64 c b a))) 3))))
5.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 c (fma.f64 b c a))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) (cbrt.f64 (*.f64 c (fma.f64 b c a)))) i)))
20.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 c (cbrt.f64 (pow.f64 (*.f64 i (fma.f64 c b a)) 3)))))
32.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (sqrt.f64 (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))) (sqrt.f64 (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))))
7.6b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))) (cbrt.f64 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
9.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)))))
Compiler

Compiled 4499 to 1099 computations (75.6% saved)

regimes1.8s (18.9%)

Accuracy

Total 1.6b remaining (98.4%)

Threshold costs 0b (0%)

Counts
76 → 3
Compiler

Compiled 35724 to 21026 computations (41.1% saved)

bsearch79.0ms (0.8%)

Steps
ItersRangePoint
8
1.6829167338680049e-102
5.664454926740205e-98
5.5784381509619995e-98
3
-8.595573896034063e-40
-1.083040052821259e-44
-2.0943062549980613e-40
Compiler

Compiled 9 to 8 computations (11.1% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
30×*-commutative_binary64
22×+-commutative_binary64
19×sub-neg_binary64
18×distribute-rgt-neg-in_binary64
16×neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03993
17193
210693
313493
417493
519493
620293
720493
820493

end194.0ms (2.1%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 765 to 416 computations (45.6% saved)

Profiling

Loading profile data...