Details

Time bar (total: 4.5s)

analyze581.0ms (12.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
18.7%81.1%0.1%8
31.2%68.6%0.1%9
35.9%55.4%8.7%10
42.9%47.6%9.5%11
51.5%38.2%10.3%12
55%30%15%13
59.5%25.3%15.3%14
Compiler

Compiled 17 to 13 computations (23.5% saved)

sample1.2s (26.8%)

Results
862.0ms7590×body128valid
93.0ms248×body1024valid
70.0ms644×body128invalid
67.0ms255×body512valid
33.0ms163×body256valid
Compiler

Compiled 50 to 38 computations (24% saved)

simplify225.0ms (5%)

Algorithm
egg-herbie
Rules
5304×fma-neg_binary64
679×unsub-neg_binary64
400×sub-neg_binary64
376×fma-def_binary64
289×associate--r+_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01416
12314
25914
315712
443812
5125312
6207812
7256312
8277712
9290712
10294912
11296412
12296712
13296712
14296712
15314112
16301512
17301512
18806212

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
Compiler

Compiled 81 to 56 computations (30.9% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 z -6 4)
0.1b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)

series13.0ms (0.3%)

Counts
2 → 48
Calls

2 calls:

11.0ms
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
2.0ms
(fma.f64 z -6 4)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

0.0ms
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
0.0ms
(fma.f64 z -6 4)

simplify112.0ms (2.5%)

Algorithm
egg-herbie
Rules
747×fma-def_binary64
445×associate-*l*_binary64
416×exp-prod_binary64
398×distribute-rgt-in_binary64
387×associate-*r*_binary64
Counts
68 → 49
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0631086
1149928
2343874
3949793
44177793
54989793
64976793

prune51.0ms (1.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New44549
Fresh011
Picked101
Done000
Total45651
Error
0.0b
Counts
51 → 6
Alt Table
StatusErrorProgram
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x))) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
0.2b
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
11.4b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
0.1b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
44.2b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
Compiler

Compiled 871 to 523 computations (40% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 z -6 4)
0.0b
(fma.f64 6 z -3)
0.1b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
0.1b
(*.f64 y (fma.f64 z -6 4))

series24.0ms (0.5%)

Counts
3 → 72
Calls

3 calls:

13.0ms
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
6.0ms
(*.f64 y (fma.f64 z -6 4))
5.0ms
(fma.f64 6 z -3)

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
3 → 42
Calls

3 calls:

3.0ms
(*.f64 y (fma.f64 z -6 4))
0.0ms
(fma.f64 6 z -3)
0.0ms
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))

simplify77.0ms (1.7%)

Algorithm
egg-herbie
Rules
798×neg-mul-1_binary64
520×distribute-rgt-neg-out_binary64
469×distribute-lft-neg-out_binary64
296×fma-neg_binary64
289×associate-*l*_binary64
Counts
114 → 78
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0971600
12091387
25531252
318241252
442791252
555161252

prune100.0ms (2.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New93194
Fresh145
Picked101
Done000
Total955100
Error
0.0b
Counts
100 → 5
Alt Table
StatusErrorProgram
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x))) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
44.2b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
0.1b
(fma.f64 x (fma.f64 6 z -3) (-.f64 (*.f64 4 y) (*.f64 6 (*.f64 y z))))
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
11.4b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
Compiler

Compiled 1698 to 1171 computations (31% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 6 z -3)
0.1b
(fma.f64 x (fma.f64 6 z -3) (-.f64 (*.f64 4 y) (*.f64 6 (*.f64 y z))))
0.2b
(*.f64 6 (*.f64 y z))

series18.0ms (0.4%)

Counts
2 → 36
Calls

2 calls:

13.0ms
(fma.f64 x (fma.f64 6 z -3) (-.f64 (*.f64 4 y) (*.f64 6 (*.f64 y z))))
5.0ms
(*.f64 6 (*.f64 y z))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
Counts
2 → 30
Calls

2 calls:

4.0ms
(*.f64 6 (*.f64 y z))
0.0ms
(fma.f64 x (fma.f64 6 z -3) (-.f64 (*.f64 4 y) (*.f64 6 (*.f64 y z))))

simplify64.0ms (1.4%)

Algorithm
egg-herbie
Rules
813×fma-neg_binary64
587×fma-def_binary64
554×distribute-rgt-in_binary64
542×distribute-lft-in_binary64
387×associate-*l*_binary64
Counts
66 → 53
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0841235
12051034
2543873
31441873
44413873
55068873

prune57.0ms (1.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh044
Picked011
Done000
Total68573
Error
0.0b
Counts
73 → 5
Alt Table
StatusErrorProgram
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x))) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
44.2b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
0.1b
(fma.f64 x (fma.f64 6 z -3) (-.f64 (*.f64 4 y) (*.f64 6 (*.f64 y z))))
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
11.4b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
Compiler

Compiled 1428 to 937 computations (34.4% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 2 3) z)
0.0b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.0b
(*.f64 (-.f64 y x) 6)
0.3b
(*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z))

series33.0ms (0.7%)

Counts
4 → 108
Calls

4 calls:

16.0ms
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
12.0ms
(*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z))
4.0ms
(*.f64 (-.f64 y x) 6)
1.0ms
(-.f64 (/.f64 2 3) z)

rewrite80.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
204×add-sqr-sqrt_binary64
196×*-un-lft-identity_binary64
195×prod-diff_binary64
190×add-cube-cbrt_binary64
146×times-frac_binary64
Counts
4 → 314
Calls

4 calls:

15.0ms
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
12.0ms
(*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z))
6.0ms
(-.f64 (/.f64 2 3) z)
4.0ms
(*.f64 (-.f64 y x) 6)

simplify242.0ms (5.3%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
372×associate-*l*_binary64
344×associate-*r*_binary64
267×*-commutative_binary64
238×cancel-sign-sub-inv_binary64
Counts
422 → 428
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
04279776
17238689
228546627
340476546
448426546

prune324.0ms (7.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New4271428
Fresh033
Picked011
Done011
Total4276433
Error
0b
Counts
433 → 6
Alt Table
StatusErrorProgram
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x))) (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
0.7b
(+.f64 (fma.f64 (*.f64 6 (-.f64 y x)) (-.f64 (/.f64 (/.f64 2 (sqrt.f64 3)) (sqrt.f64 3)) z) x) (*.f64 (fma.f64 (neg.f64 z) 1 (*.f64 z 1)) (*.f64 (-.f64 y x) 6)))
44.2b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)))
0.1b
(fma.f64 x (fma.f64 6 z -3) (-.f64 (*.f64 4 y) (*.f64 6 (*.f64 y z))))
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
11.4b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
Compiler

Compiled 13233 to 6904 computations (47.8% saved)

regimes1.2s (25.5%)

Accuracy

Total 0.1b remaining (82.7%)

Threshold costs 0.1b (82.7%)

Counts
207 → 1
Compiler

Compiled 20988 to 15038 computations (28.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01321
12221
23021
34021
44721
55221
65421
75321

end111.0ms (2.4%)

Compiler

Compiled 185 to 125 computations (32.4% saved)

Profiling

Loading profile data...