Details

Time bar (total: 11.2s)

analyze2.4s (21.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)

sample3.2s (28.5%)

Symmetry

(sort x y)

(sort z t)

Results
1.5s7494×body128invalid
1.5s8256×body128valid
Compiler

Compiled 83 to 56 computations (32.5% saved)

simplify223.0ms (2%)

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

series118.0ms (1.1%)

Counts
4 → 228
Calls

4 calls:

74.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)
12.0ms
(*.f64 c (fma.f64 b c a))
10.0ms
(fma.f64 x y (*.f64 z t))

rewrite16.0ms (0.1%)

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:

6.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))
3.0ms
(*.f64 c (fma.f64 b c a))
0.0ms
(fma.f64 x y (*.f64 z t))

simplify125.0ms (1.1%)

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

prune213.0ms (1.9%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New14812160
Fresh000
Picked101
Done000
Total14912161
Error
0.2b
Counts
161 → 12
Alt Table
StatusErrorProgram
33.8b
(*.f64 2 (-.f64 (cbrt.f64 (pow.f64 (fma.f64 t z (*.f64 y x)) 3)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
5.1b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
5.5b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (cbrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))) (cbrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a))))) (cbrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
20.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i) (*.f64 (*.f64 c (fma.f64 b c a)) i)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
8.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (+.f64 (*.f64 (pow.f64 c 2) b) (*.f64 c a)) i)))
13.7b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i a))))
12.2b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (+.f64 (*.f64 (pow.f64 c 2) (*.f64 i b)) (*.f64 c (*.f64 i a)))))
35.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (*.f64 (fma.f64 c b a) (sqrt.f64 i))) (sqrt.f64 i))))
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)))
32.4b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))) (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))))))
31.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (sqrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)) (sqrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
Compiler

Compiled 4411 to 1317 computations (70.1% saved)

localize35.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series107.0ms (1%)

Counts
4 → 240
Calls

4 calls:

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

rewrite16.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×fma-udef_binary64
11×add-sqr-sqrt_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
11×pow1_binary64
Counts
4 → 81
Calls

4 calls:

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

simplify157.0ms (1.4%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01575146
13394265
211664226
345334226
449904226
549264226

prune188.0ms (1.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1523155
Fresh6511
Picked011
Done000
Total1589167
Error
0.0b
Counts
167 → 9
Alt Table
StatusErrorProgram
8.4b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
8.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (+.f64 (*.f64 (pow.f64 c 2) b) (*.f64 c a)) i)))
33.8b
(*.f64 2 (-.f64 (cbrt.f64 (pow.f64 (fma.f64 t z (*.f64 y x)) 3)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
5.1b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
5.4b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a))))))
2.2b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
35.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (*.f64 (fma.f64 c b a) (sqrt.f64 i))) (sqrt.f64 i))))
32.4b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))) (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 4037 to 1113 computations (72.4% saved)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series88.0ms (0.8%)

Counts
2 → 144
Calls

2 calls:

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

rewrite11.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 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a)))

simplify124.0ms (1.1%)

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
01283996
13083155
210333116
336283108
448433108
547973108

prune114.0ms (1%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1210121
Fresh077
Picked011
Done011
Total1219130
Error
0.0b
Counts
130 → 9
Alt Table
StatusErrorProgram
8.4b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
8.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (+.f64 (*.f64 (pow.f64 c 2) b) (*.f64 c a)) i)))
33.8b
(*.f64 2 (-.f64 (cbrt.f64 (pow.f64 (fma.f64 t z (*.f64 y x)) 3)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
5.1b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
5.4b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a))))))
2.2b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
35.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (*.f64 (fma.f64 c b a) (sqrt.f64 i))) (sqrt.f64 i))))
32.4b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))) (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 3277 to 924 computations (71.8% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a)))
0.5b
(*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))
1.5b
(cbrt.f64 (fma.f64 c b a))
4.6b
(*.f64 c (*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a))))

series145.0ms (1.3%)

Counts
4 → 168
Calls

4 calls:

60.0ms
(*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))
46.0ms
(cbrt.f64 (fma.f64 c b a))
22.0ms
(*.f64 c (*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a))))
16.0ms
(*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a)))

rewrite31.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
34×pow1_binary64
29×add-exp-log_binary64
24×add-sqr-sqrt_binary64
22×cbrt-prod_binary64
18×pow-prod-down_binary64
Counts
4 → 107
Calls

4 calls:

10.0ms
(*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a)))
8.0ms
(*.f64 c (*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a))))
5.0ms
(*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))
1.0ms
(cbrt.f64 (fma.f64 c b a))

simplify153.0ms (1.4%)

Algorithm
egg-herbie
Rules
675×fma-def_binary64
524×associate-*r*_binary64
410×associate-*l*_binary64
266×times-frac_binary64
251×associate-/r*_binary64
Counts
275 → 243
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04166967
112856198
247426188
354006188

prune471.0ms (4.2%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New3770377
Fresh066
Picked011
Done022
Total3779386
Error
0.0b
Counts
386 → 9
Alt Table
StatusErrorProgram
8.4b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
8.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (+.f64 (*.f64 (pow.f64 c 2) b) (*.f64 c a)) i)))
33.8b
(*.f64 2 (-.f64 (cbrt.f64 (pow.f64 (fma.f64 t z (*.f64 y x)) 3)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
5.1b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
6.9b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i))) (cbrt.f64 (*.f64 (*.f64 c (fma.f64 b c a)) i)))))
5.4b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 i (*.f64 (cbrt.f64 (fma.f64 c b a)) (cbrt.f64 (fma.f64 c b a)))) (cbrt.f64 (fma.f64 c b a))))))
2.2b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
35.1b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (*.f64 (fma.f64 c b a) (sqrt.f64 i))) (sqrt.f64 i))))
32.4b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))) (sqrt.f64 (*.f64 c (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 19315 to 8035 computations (58.4% saved)

regimes3.0s (27.1%)

Accuracy

Total 0.7b remaining (96.8%)

Threshold costs 0.7b (96.8%)

Counts
130 → 3
Compiler

Compiled 56653 to 36330 computations (35.9% saved)

bsearch5.0ms (0%)

Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify7.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
038112
164112
286112
3104112
4130112
5146112
6154112
7158112
8159112
9158112

end189.0ms (1.7%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 793 to 384 computations (51.6% saved)

Profiling

Loading profile data...