Details

Time bar (total: 9.5s)

analyze1.2s (12.2%)

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

Compiled 10 to 7 computations (30% saved)

sample218.0ms (2.3%)

Algorithm
intervals
Results
122.0ms46×body2560valid
60.0ms93×body1280valid
19.0ms68×body640valid
5.0ms26×body320valid
2.0ms14×body160valid
1.0msbody80valid
Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify528.0ms (5.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
0100614
1100614

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.5b

Counts
2 → 1
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
1.4b
(-.f64 x (tan.f64 x))
1.4b
(-.f64 x (sin.f64 x))

rewrite40.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
25×times-frac_binary64
15×add-cube-cbrt_binary64
14×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
flip3--_binary64 flip--_binary64
pow1_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 associate-/r/_binary64
cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
3 → 78
Calls

3 calls:

26.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (tan.f64 x))

series38.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

14.0ms
(-.f64 x (sin.f64 x))
12.0ms
(-.f64 x (tan.f64 x))
12.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))

simplify111.0ms (1.2%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
048661817
148661817

prune50.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New85287
Fresh000
Picked101
Done000
Total86288

Merged error: 0b

Counts
88 → 2
Compiler

Compiled 1536 to 328 computations (78.6% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (*.f64 x x) 9/40)
0.3b
(*.f64 27/2800 (pow.f64 x 4))
14.3b
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 (*.f64 27/2800 (pow.f64 x 4)) 1/2))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-exp-log_binary64 add-sqr-sqrt_binary64
10×associate-*r*_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 pow1_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
prod-exp_binary64
cbrt-unprod_binary64 associate-*l*_binary64 unswap-sqr_binary64 unpow-prod-down_binary64
pow-prod-down_binary64
diff-log_binary64 sqr-pow_binary64 *-commutative_binary64
pow-to-exp_binary64 sub-neg_binary64 associate--r+_binary64 flip3--_binary64 flip--_binary64 pow-exp_binary64 sum-log_binary64
Counts
3 → 57
Calls

3 calls:

10.0ms
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 (*.f64 27/2800 (pow.f64 x 4)) 1/2))
8.0ms
(*.f64 27/2800 (pow.f64 x 4))
6.0ms
(*.f64 (*.f64 x x) 9/40)

series13.0ms (0.1%)

Counts
3 → 9
Calls

3 calls:

6.0ms
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 (*.f64 27/2800 (pow.f64 x 4)) 1/2))
4.0ms
(*.f64 27/2800 (pow.f64 x 4))
3.0ms
(*.f64 (*.f64 x x) 9/40)

simplify47.0ms (0.5%)

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
04963856
14963856

prune49.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh011
Picked011
Done000
Total66268

Merged error: 0b

Counts
68 → 2
Compiler

Compiled 1158 to 843 computations (27.2% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
1.3b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
1.4b
(-.f64 x (tan.f64 x))
1.4b
(-.f64 x (tan.f64 x))

rewrite47.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity_binary64
44×add-sqr-sqrt_binary64
33×times-frac_binary64
18×distribute-lft-out--_binary64
16×add-cube-cbrt_binary64
12×difference-of-squares_binary64
10×add-log-exp_binary64
flip3--_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-/r/_binary64 flip--_binary64
associate-/r*_binary64
pow1_binary64
sub-neg_binary64 diff-log_binary64 distribute-rgt-out--_binary64 associate-/l*_binary64 div-inv_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 sub-div_binary64 frac-sub_binary64
Counts
4 → 91
Calls

4 calls:

29.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
6.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
4.0ms
(-.f64 x (tan.f64 x))
4.0ms
(-.f64 x (tan.f64 x))

series53.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

23.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
11.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
9.0ms
(-.f64 x (tan.f64 x))
9.0ms
(-.f64 x (tan.f64 x))

simplify90.0ms (0.9%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050302287

prune45.0ms (0.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1030103
Fresh000
Picked011
Done011
Total1032105

Merged error: 0b

Counts
105 → 2
Compiler

Compiled 2322 to 446 computations (80.8% saved)

regimes23.0ms (0.2%)

Compiler

Compiled 29 to 20 computations (31% saved)

bsearch41.0ms (0.4%)

Steps
ItersRangePoint
10
7.560806448836807e-16
106.74986232706004
0.0297212302942771
10
-130721547920.48747
-9.057675229687969e-07
-0.03513683975429144
Compiler

Compiled 1 to 1 computations (0% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09655
19655

end0.0ms (0%)

sample6.9s (72.5%)

Algorithm
intervals
Results
4.2s1665×body2560valid
1.6s2782×body1280valid
494.0ms1838×body640valid
158.0ms879×body320valid
57.0ms439×body160valid
33.0ms397×body80valid
Compiler

Compiled 73 to 50 computations (31.5% saved)

Profiling

Loading profile data...