Details

Time bar (total: 9.8s)

analyze2.3s (22.9%)

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.1s (31.9%)

Symmetry

(sort x y)

(sort z t)

Results
1.5s7495×body128invalid
1.5s8256×body128valid
Compiler

Compiled 83 to 56 computations (32.5% saved)

simplify230.0ms (2.3%)

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)

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

series89.0ms (0.9%)

Counts
4 → 228
Calls

4 calls:

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

rewrite14.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:

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

simplify115.0ms (1.2%)

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

prune165.0ms (1.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1537160
Fresh000
Picked011
Done000
Total1538161
Error
0.0b
Counts
161 → 8
Alt Table
StatusErrorProgram
5.4b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (*.f64 (fma.f64 c b a) (*.f64 (cbrt.f64 i) (cbrt.f64 i)))) (cbrt.f64 i))))
6.4b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))))
5.3b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
17.4b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c c) (*.f64 i b))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
32.3b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (sqrt.f64 (*.f64 c (fma.f64 b c a))) (sqrt.f64 (*.f64 c (fma.f64 b c a)))) i)))
22.2b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 c (fma.f64 b c a)) (*.f64 c (fma.f64 b c a))) (*.f64 c (fma.f64 b c a)))) i)))
6.8b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 (*.f64 c (*.f64 (cbrt.f64 (fma.f64 b c a)) (cbrt.f64 (fma.f64 b c a)))) (cbrt.f64 (fma.f64 b c a))) i)))
Compiler

Compiled 4138 to 1147 computations (72.3% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series94.0ms (1%)

Counts
4 → 240
Calls

4 calls:

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

rewrite15.0ms (0.2%)

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:

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

simplify149.0ms (1.5%)

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

prune178.0ms (1.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1505155
Fresh516
Picked101
Done011
Total1567163
Error
0.0b
Counts
163 → 7
Alt Table
StatusErrorProgram
2.1b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
19.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 i (fma.f64 c b a))) 3))))
17.4b
(*.f64 2 (-.f64 (fma.f64 y x (*.f64 t z)) (*.f64 (*.f64 c c) (*.f64 i b))))
5.7b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 (cbrt.f64 i) (fma.f64 c b a))))))
6.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
6.4b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 3951 to 1036 computations (73.8% 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)))
5.3b
(*.f64 (*.f64 c i) (fma.f64 c b a))

series76.0ms (0.8%)

Counts
2 → 144
Calls

2 calls:

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

simplify121.0ms (1.2%)

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

prune101.0ms (1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh055
Picked011
Done011
Total1257132
Error
0.0b
Counts
132 → 7
Alt Table
StatusErrorProgram
2.1b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
19.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 i (fma.f64 c b a))) 3))))
17.4b
(*.f64 2 (-.f64 (fma.f64 y x (*.f64 t z)) (*.f64 (*.f64 c c) (*.f64 i b))))
5.7b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 (cbrt.f64 i) (fma.f64 c b a))))))
6.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
6.4b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 3218 to 857 computations (73.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 i) (cbrt.f64 i))
0.6b
(cbrt.f64 i)
1.2b
(*.f64 (cbrt.f64 i) (fma.f64 c b a))
4.5b
(*.f64 c (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 (cbrt.f64 i) (fma.f64 c b a))))

series332.0ms (3.4%)

Counts
4 → 120
Calls

4 calls:

172.0ms
(*.f64 (cbrt.f64 i) (fma.f64 c b a))
89.0ms
(cbrt.f64 i)
36.0ms
(*.f64 (cbrt.f64 i) (cbrt.f64 i))
34.0ms
(*.f64 c (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 (cbrt.f64 i) (fma.f64 c b a))))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
31×pow1_binary64
29×add-sqr-sqrt_binary64
26×add-exp-log_binary64
23×cbrt-prod_binary64
17×*-un-lft-identity_binary64
Counts
4 → 118
Calls

4 calls:

9.0ms
(*.f64 c (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 (cbrt.f64 i) (fma.f64 c b a))))
5.0ms
(*.f64 (cbrt.f64 i) (cbrt.f64 i))
3.0ms
(*.f64 (cbrt.f64 i) (fma.f64 c b a))
1.0ms
(cbrt.f64 i)

simplify79.0ms (0.8%)

Algorithm
egg-herbie
Rules
776×distribute-rgt-in_binary64
764×distribute-lft-in_binary64
352×associate-*l*_binary64
350×associate-*r*_binary64
261×unswap-sqr_binary64
Counts
238 → 180
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01812987
13472433
214852380
350762380

prune214.0ms (2.2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2160216
Fresh044
Picked011
Done022
Total2167223
Error
0.0b
Counts
223 → 7
Alt Table
StatusErrorProgram
2.1b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
19.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 i (fma.f64 c b a))) 3))))
17.4b
(*.f64 2 (-.f64 (fma.f64 y x (*.f64 t z)) (*.f64 (*.f64 c c) (*.f64 i b))))
5.7b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 (cbrt.f64 i) (fma.f64 c b a))))))
6.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
6.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
6.4b
(*.f64 2 (*.f64 (*.f64 (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))) (cbrt.f64 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 6440 to 1735 computations (73.1% saved)

regimes2.2s (22.5%)

Accuracy

Total 0.8b remaining (96.4%)

Threshold costs 0.8b (96.4%)

Counts
103 → 3
Compiler

Compiled 43340 to 28072 computations (35.2% saved)

bsearch6.0ms (0.1%)

Compiler

Compiled 25 to 16 computations (36% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
29×*-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
040142
170142
2105142
3133142
4173142
5193142
6201142
7203142
8203142

end152.0ms (1.5%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 852 to 363 computations (57.4% saved)

Profiling

Loading profile data...