Details

Time bar (total: 5.1s)

analyze1.9s (37%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%99.7%0.3%8
0%99.7%0.3%9
0%99.7%0.3%10
0%99.7%0.3%11
0%99.7%0.3%12
1.6%98.1%0.3%13
2.3%97.4%0.3%14
Compiler

Compiled 22 to 14 computations (36.4% saved)

sample1.9s (37.6%)

Results
1.2s8256×body128valid
610.0ms4040×body128invalid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify10.0ms (0.2%)

Algorithm
egg-herbie
Rules
89×fma-def_binary64
24×associate-+l+_binary64
22×associate-+r+_binary64
19×+-commutative_binary64
10×*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422
12716
26615
312213
415713
516413
616713
716713

prune6.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
2.3b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
Compiler

Compiled 105 to 60 computations (42.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a))
0.0b
(+.f64 x (*.f64 y z))
0.0b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
5.1b
(*.f64 (*.f64 a z) b)

series57.0ms (1.1%)

Counts
4 → 204
Calls

4 calls:

26.0ms
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
15.0ms
(+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a))
11.0ms
(*.f64 (*.f64 a z) b)
5.0ms
(+.f64 x (*.f64 y z))

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
20×add-log-exp_binary64
10×sum-log_binary64
fma-def_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
4 → 73
Calls

4 calls:

6.0ms
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
5.0ms
(*.f64 (*.f64 a z) b)
4.0ms
(+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a))
2.0ms
(+.f64 x (*.f64 y z))

simplify83.0ms (1.6%)

Algorithm
egg-herbie
Rules
846×fma-def_binary64
720×distribute-rgt-in_binary64
683×distribute-lft-in_binary64
194×cancel-sign-sub-inv_binary64
192×fma-neg_binary64
Counts
277 → 134
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01352855
14062550
214742538
350452538

prune80.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1322134
Fresh011
Picked011
Done000
Total1324136
Error
0b
Counts
136 → 4
Alt Table
StatusErrorProgram
2.3b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
31.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
Compiler

Compiled 2753 to 525 computations (80.9% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
1.7b
(fma.f64 z (fma.f64 a b y) x)

series38.0ms (0.7%)

Counts
2 → 132
Calls

2 calls:

24.0ms
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
14.0ms
(fma.f64 z (fma.f64 a b y) x)

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

simplify107.0ms (2.1%)

Algorithm
egg-herbie
Rules
576×fma-def_binary64
520×associate-+r+_binary64
505×associate-*l*_binary64
470×associate-+l+_binary64
444×associate-*r*_binary64
Counts
152 → 52
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0561796
11031579
22361579
39061579
435481579
537711579
646611579
748881579
848881579

prune31.0ms (0.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh022
Picked011
Done011
Total52456
Error
0b
Counts
56 → 4
Alt Table
StatusErrorProgram
2.3b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
31.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
Compiler

Compiled 747 to 186 computations (75.1% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
2.1b
(fma.f64 a (fma.f64 z b t) x)

series38.0ms (0.7%)

Counts
2 → 132
Calls

2 calls:

23.0ms
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
14.0ms
(fma.f64 a (fma.f64 z b t) x)

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

simplify55.0ms (1.1%)

Algorithm
egg-herbie
Rules
739×associate-+l+_binary64
732×associate-+r+_binary64
701×fma-def_binary64
559×associate-*l*_binary64
480×associate-*r*_binary64
Counts
152 → 66
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0551737
1971579
22491579
310631579
457211579

prune50.0ms (1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh011
Picked011
Done022
Total66470
Error
0b
Counts
70 → 4
Alt Table
StatusErrorProgram
2.3b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
31.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
Compiler

Compiled 956 to 219 computations (77.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
0.0b
(+.f64 x (*.f64 y z))
0.4b
(*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b))
2.1b
(*.f64 (*.f64 a z) (sqrt.f64 b))

series72.0ms (1.4%)

Counts
3 → 100
Calls

3 calls:

31.0ms
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
23.0ms
(*.f64 (*.f64 a z) (sqrt.f64 b))
17.0ms
(*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b))

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
17×pow1_binary64
12×associate-*r*_binary64
12×add-log-exp_binary64
Counts
3 → 68
Calls

3 calls:

7.0ms
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
7.0ms
(*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b))
5.0ms
(*.f64 (*.f64 a z) (sqrt.f64 b))

simplify86.0ms (1.7%)

Algorithm
egg-herbie
Rules
626×distribute-rgt-in_binary64
611×distribute-lft-in_binary64
552×fma-neg_binary64
502×fma-def_binary64
257×associate-*l*_binary64
Counts
168 → 112
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01262130
13361824
213271813
347851813
451991813

prune62.0ms (1.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1360136
Fresh000
Picked011
Done033
Total1364140
Error
0b
Counts
140 → 4
Alt Table
StatusErrorProgram
2.3b
(fma.f64 y z (fma.f64 a (fma.f64 z b t) x))
1.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 a z) b))
31.6b
(+.f64 (+.f64 (+.f64 x (*.f64 y z)) (*.f64 t a)) (*.f64 (*.f64 (*.f64 a z) (sqrt.f64 b)) (sqrt.f64 b)))
1.8b
(fma.f64 a t (fma.f64 z (fma.f64 a b y) x))
Compiler

Compiled 3143 to 520 computations (83.5% saved)

regimes352.0ms (6.9%)

Accuracy

Total 2.5b remaining (99.7%)

Threshold costs 0b (0%)

Counts
48 → 2
Compiler

Compiled 4851 to 3136 computations (35.4% saved)

bsearch18.0ms (0.4%)

Steps
ItersRangePoint
4
-1.5378616023199831e-248
-7.085190684230602e-250
-8.639794952732343e-250
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02039
12539
22539

end66.0ms (1.3%)

Compiler

Compiled 146 to 82 computations (43.8% saved)

Profiling

Loading profile data...