Details

Time bar (total: 2.9s)

analyze317.0ms (10.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 42 to 30 computations (28.6% saved)

sample51.0ms (1.7%)

Algorithm
intervals
Results
11.0ms256×pre128true
8.0ms256×body128valid
0.0mspre128false
Compiler

Compiled 57 to 41 computations (28.1% saved)

simplify11.0ms (0.4%)

Algorithm
egg-herbie
Rules
28×fma-def_binary64
10×distribute-lft-in_binary64
10×distribute-rgt-in_binary64
*-commutative_binary64
associate-+r+_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11910
23910
36010
47010
56710

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))

series10.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

10.0ms
(*.f64 a (+.f64 (+.f64 b c) d))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
associate-*r*_binary64
add-sqr-sqrt_binary64
distribute-lft-out_binary64
associate-*l*_binary64
Counts
1 → 26
Calls

1 calls:

7.0ms
(*.f64 a (+.f64 (+.f64 b c) d))

simplify87.0ms (3%)

Algorithm
egg-herbie
Rules
755×fma-neg_binary64
558×distribute-rgt-in_binary64
556×distribute-lft-in_binary64
324×associate-*l*_binary64
318×unswap-sqr_binary64
Counts
74 → 49
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062792
1170750
2596750
32225750
42696750
53308750
64843750
75406750

prune37.0ms (1.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New45449
Fresh000
Picked101
Done000
Total46450
Error
0b
Counts
50 → 4
Alt Table
StatusErrorProgram
0.1b
(expm1.f64 (log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d))))
0.6b
(*.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d)))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.7b
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))) (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))))
Compiler

Compiled 747 to 209 computations (72% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.1b
(*.f64 (+.f64 b c) a)

series19.0ms (0.7%)

Counts
2 → 84
Calls

2 calls:

13.0ms
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
6.0ms
(*.f64 (+.f64 b c) a)

rewrite11.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 38
Calls

2 calls:

5.0ms
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
5.0ms
(*.f64 (+.f64 b c) a)

simplify97.0ms (3.3%)

Algorithm
egg-herbie
Rules
477×associate-*l*_binary64
445×distribute-rgt-in_binary64
425×distribute-lft-in_binary64
384×associate-*r*_binary64
375×fma-def_binary64
Counts
122 → 73
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0801223
12321120
27861117
329041116
439871116
549811116
649631116

prune48.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh033
Picked011
Done000
Total73477
Error
0b
Counts
77 → 4
Alt Table
StatusErrorProgram
0.1b
(expm1.f64 (log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d))))
0.6b
(*.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d)))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.7b
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))) (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))))
Compiler

Compiled 1168 to 316 computations (72.9% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
0.0b
(log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d)))
0.1b
(expm1.f64 (log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d))))

series324.0ms (11%)

Counts
2 → 96
Calls

2 calls:

313.0ms
(log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d)))
11.0ms
(expm1.f64 (log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d))))

rewrite2.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(expm1.f64 (log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d))))
0.0ms
(log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d)))

simplify94.0ms (3.2%)

Algorithm
egg-herbie
Rules
524×fma-def_binary64
334×associate-*r*_binary64
282×associate-/r*_binary64
267×times-frac_binary64
247×+-commutative_binary64
Counts
118 → 136
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05594929
118534771
251044771

prune172.0ms (5.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1850185
Fresh022
Picked011
Done011
Total1854189
Error
0b
Counts
189 → 4
Alt Table
StatusErrorProgram
0.1b
(expm1.f64 (log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d))))
0.6b
(*.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d)))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.7b
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))) (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))))
Compiler

Compiled 7156 to 3394 computations (52.6% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d))
0.3b
(*.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d)))

series50.0ms (1.7%)

Counts
2 → 80
Calls

2 calls:

30.0ms
(*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d))
20.0ms
(*.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d)))

rewrite21.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
12×associate-*l*_binary64
12×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 59
Calls

2 calls:

10.0ms
(*.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d)))
8.0ms
(*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d))

simplify125.0ms (4.2%)

Algorithm
egg-herbie
Rules
668×fma-def_binary64
359×+-commutative_binary64
342×*-commutative_binary64
274×sqr-pow_binary64
221×associate-+l+_binary64
Counts
139 → 108
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01011695
12581596
210201596
315721596
426121596
535781596
647831596
749531596

prune48.0ms (1.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1080108
Fresh011
Picked011
Done022
Total1084112
Error
0b
Counts
112 → 4
Alt Table
StatusErrorProgram
0.1b
(expm1.f64 (log1p.f64 (*.f64 a (+.f64 (+.f64 b c) d))))
0.6b
(*.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (+.f64 (+.f64 b c) d)))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.7b
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))) (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))))
Compiler

Compiled 1776 to 357 computations (79.9% saved)

regimes345.0ms (11.7%)

Accuracy

Total 0.0b remaining (56.8%)

Threshold costs 0.0b (56.8%)

Counts
53 → 1
Compiler

Compiled 5930 to 3573 computations (39.7% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11011
21011

end17.0ms (0.6%)

Remove

(sort b c d)

Compiler

Compiled 36 to 21 computations (41.7% saved)

sample1.0s (34.6%)

Algorithm
intervals
Results
344.0ms8000×pre128true
261.0ms8000×body128valid
Compiler

Compiled 122 to 77 computations (36.9% saved)

Profiling

Loading profile data...