Details

Time bar (total: 2.8s)

sample491.0ms

Algorithm
intervals
Results
140.0ms57×body2560valid
45.0ms79×body1280valid
14.0ms53×body640valid
4.0ms26×body320valid
3.0ms23×body160valid
1.0ms18×body80valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.8b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.7b
(- x (tan x))
1.7b
(- x (sin x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(/ (- x (sin x)) (- x (tan x)))
58.0ms
(- x (tan x))
41.0ms
(- x (sin x))

simplify156.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune190.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.0b

Counts
90 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.5b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.7b
(- x (tan x))
1.7b
(- x (tan x))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
28.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
4.0ms
(- x (tan x))

series340.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (sin x) (- x (tan x)))
173.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
52.0ms
(- x (tan x))
53.0ms
(- x (tan x))

simplify42.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0376909
11205870
25001870

prune219.0ms

Filtered
106 candidates to 80 candidates (75.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1033106
Fresh134
Picked101
Done000
Total1056111

Merged error: 0.0b

Counts
111 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

1.7b
(- x (tan x))
1.7b
(- x (tan x))
1.7b
(- x (tan x))
1.7b
(- x (tan x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
3.0ms
(- x (tan x))
4.0ms
(- x (tan x))
4.0ms
(- x (tan x))
4.0ms
(- x (tan x))

series212.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- x (tan x))
54.0ms
(- x (tan x))
49.0ms
(- x (tan x))
54.0ms
(- x (tan x))

simplify156.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
091324
1200300
2471300
31247300
44646300
55001300

prune218.0ms

Filtered
68 candidates to 52 candidates (76.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh055
Picked011
Done000
Total68674

Merged error: 0.0b

Counts
74 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 27/2800 (pow x 4)) 1/2)
0.1b
(* 9/40 (pow x 2))
0.2b
(* 27/2800 (pow x 4))
15.8b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
15×associate-*r*
14×add-exp-log
11×add-log-exp
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative cbrt-unprod unpow2
+-commutative sub-neg flip3-- flip3-+ flip-- flip-+ associate--r+
Counts
4 → 77
Calls
4 calls:
5.0ms
(+ (* 27/2800 (pow x 4)) 1/2)
6.0ms
(* 9/40 (pow x 2))
5.0ms
(* 27/2800 (pow x 4))
8.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series197.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ (* 27/2800 (pow x 4)) 1/2)
25.0ms
(* 9/40 (pow x 2))
36.0ms
(* 27/2800 (pow x 4))
50.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify56.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0316412
11299379
25001374

prune147.0ms

Filtered
89 candidates to 56 candidates (62.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh044
Picked011
Done011
Total89695

Merged error: 0.0b

Counts
95 → 6

regimes42.0ms

bsearch3.0ms

Profiling

Loading profile data...