Details

Time bar (total: 11.1s)

analyze2.3s (20.4%)

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)

sample2.9s (26.2%)

Symmetry

(sort x y)

(sort z t)

Results
1.5s8256×body128valid
1.4s7357×body128invalid
Compiler

Compiled 83 to 56 computations (32.5% saved)

simplify220.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
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)

localize14.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)

series92.0ms (0.8%)

Counts
4 → 228
Calls

4 calls:

56.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)
9.0ms
(*.f64 c (fma.f64 b c a))
8.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))

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

prune171.0ms (1.5%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1519160
Fresh000
Picked011
Done000
Total15110161
Error
0.0b
Counts
161 → 10
Alt Table
StatusErrorProgram
34.3b
(*.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)))))))
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 (*.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)))))
34.1b
(*.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))))
21.4b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (cbrt.f64 (pow.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)))))
5.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)))
5.8b
(*.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)))
5.8b
(*.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.6b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 i (fma.f64 c b a)))))
Compiler

Compiled 4286 to 1229 computations (71.3% saved)

localize12.0ms (0.1%)

Local error

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

series88.0ms (0.8%)

Counts
3 → 192
Calls

3 calls:

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

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

simplify133.0ms (1.2%)

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
01534703
13363822
211633783
345223783
449773783
549313783

prune161.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1353138
Fresh628
Picked101
Done011
Total1426148
Error
0b
Counts
148 → 6
Alt Table
StatusErrorProgram
6.7b
(*.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)))))
34.1b
(*.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))))
2.3b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
5.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
7.2b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
4.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 3509 to 918 computations (73.8% saved)

localize14.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series81.0ms (0.7%)

Counts
2 → 144
Calls

2 calls:

62.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))

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

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

simplify209.0ms (1.9%)

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

prune136.0ms (1.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh044
Picked011
Done011
Total1046110
Error
0b
Counts
110 → 6
Alt Table
StatusErrorProgram
6.7b
(*.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)))))
34.1b
(*.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))))
2.3b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
5.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
7.2b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
4.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 2749 to 730 computations (73.4% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) (cbrt.f64 (*.f64 i (fma.f64 c b a))))
0.8b
(*.f64 i (fma.f64 c b a))
4.1b
(*.f64 c (*.f64 (*.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))))
7.8b
(cbrt.f64 (*.f64 i (fma.f64 c b a)))

series924.0ms (8.3%)

Counts
3 → 144
Calls

3 calls:

473.0ms
(*.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) (cbrt.f64 (*.f64 i (fma.f64 c b a))))
388.0ms
(cbrt.f64 (*.f64 i (fma.f64 c b a)))
62.0ms
(*.f64 c (*.f64 (*.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
19×pow1_binary64
14×add-exp-log_binary64
10×add-sqr-sqrt_binary64
pow-prod-down_binary64
*-un-lft-identity_binary64
Counts
3 → 67
Calls

3 calls:

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

simplify117.0ms (1.1%)

Algorithm
egg-herbie
Rules
512×associate-*r*_binary64
385×associate-*l*_binary64
342×times-frac_binary64
293×associate-/r*_binary64
278×associate-/l*_binary64
Counts
211 → 245
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04987430
115246762
253756762

prune533.0ms (4.8%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New5120512
Fresh033
Picked011
Done022
Total5126518
Error
0b
Counts
518 → 6
Alt Table
StatusErrorProgram
6.7b
(*.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)))))
34.1b
(*.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))))
2.3b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 (*.f64 c i) (fma.f64 c b a))))
5.6b
(*.f64 2 (-.f64 (fma.f64 x y (*.f64 z t)) (*.f64 (*.f64 c (fma.f64 b c a)) i)))
7.2b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (+.f64 (*.f64 c (*.f64 i b)) (*.f64 a i)))))
4.8b
(*.f64 2 (-.f64 (fma.f64 t z (*.f64 y x)) (*.f64 c (*.f64 (*.f64 (cbrt.f64 (*.f64 i (fma.f64 c b a))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))) (cbrt.f64 (*.f64 i (fma.f64 c b a)))))))
Compiler

Compiled 27815 to 10154 computations (63.5% saved)

regimes2.6s (23%)

Accuracy

Total 1.1b remaining (97.2%)

Threshold costs 0b (0%)

Counts
116 → 3
Compiler

Compiled 50227 to 32024 computations (36.2% saved)

bsearch4.0ms (0%)

Compiler

Compiled 17 to 12 computations (29.4% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
31×*-commutative_binary64
20×+-commutative_binary64
18×sub-neg_binary64
16×distribute-rgt-neg-in_binary64
15×neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
042113
175113
2110113
3134113
4164113
5181113
6189113
7193113
8194113
9194113

end253.0ms (2.3%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 725 to 358 computations (50.6% saved)

Profiling

Loading profile data...