Details

Time bar (total: 10.2s)

analyze1.4s (13.8%)

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

sample235.0ms (2.3%)

Algorithm
intervals
Results
133.0ms46×body2560valid
62.0ms96×body1280valid
17.0ms61×body640valid
6.0ms15×body160valid
4.0ms22×body320valid
1.0ms16×body80valid

simplify463.0ms (4.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
010049
110049

prune7.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

Counts
2 → 1

localize24.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite20.0ms (0.2%)

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 → 78
Calls

3 calls:

7.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series38.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

20.0ms
(- x (tan x))
13.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (sin x))

simplify64.0ms (0.6%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
048641139
148641139

prune120.0ms (1.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New82587
Fresh000
Picked101
Done000
Total83588

Merged error: 0.1b

Counts
88 → 5

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite24.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log
13×associate-*l* add-cbrt-cube
11×pow1
10×add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r* prod-exp
cbrt-unprod
unpow-prod-down pow-prod-down unswap-sqr
sum-log *-commutative
sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp flip-+
Counts
4 → 74
Calls

4 calls:

8.0ms
(* (pow x 4) -27/2800)
7.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))
4.0ms
(* x (* x 9/40))
3.0ms
(* x 9/40)

series14.0ms (0.1%)

Counts
4 → 12
Calls

4 calls:

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

simplify56.0ms (0.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04903646
14903646

prune164.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh044
Picked011
Done000
Total86591

Merged error: 0.1b

Counts
91 → 5

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(exp (/ (- x (sin x)) (- x (tan x))))
0.0b
(log (exp (/ (- x (sin x)) (- x (tan x)))))
2.2b
(- x (sin x))
2.2b
(- x (tan x))

rewrite32.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt *-un-lft-identity
62×exp-prod
50×times-frac
32×log-pow
27×add-cube-cbrt
22×distribute-lft-out-- difference-of-squares
add-log-exp
pow1
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
log-prod
sub-neg exp-diff diff-log div-sub div-inv
log-div rem-log-exp rem-exp-log
Counts
4 → 110
Calls

4 calls:

11.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
9.0ms
(exp (/ (- x (sin x)) (- x (tan x))))
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))

series45.0ms (0.4%)

Counts
4 → 12
Calls

4 calls:

17.0ms
(exp (/ (- x (sin x)) (- x (tan x))))
13.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
10.0ms
(- x (tan x))
5.0ms
(- x (sin x))

simplify68.0ms (0.7%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049191379
149191379

prune171.0ms (1.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1193122
Fresh213
Picked101
Done011
Total1225127

Merged error: 0.0b

Counts
127 → 5

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
2.2b
(- x (tan x))
2.2b
(- x (tan x))
2.3b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

rewrite43.0ms (0.4%)

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 → 91
Calls

4 calls:

28.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
6.0ms
(/ (sin x) (- x (tan x)))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series63.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

30.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
12.0ms
(- x (tan x))
11.0ms
(/ (sin x) (- x (tan x)))
10.0ms
(- x (tan x))

simplify49.0ms (0.5%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050281430

prune110.0ms (1.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh213
Picked101
Done011
Total1044108

Merged error: 0.0b

Counts
108 → 4

regimes49.0ms (0.5%)

Accuracy

Total 0.0b remaining (23.2%)

Threshold costs 0.0b (23.2%)

bsearch46.0ms (0.4%)

Steps
ItersRangePoint
10
4.6803344332587176e-14
0.1717659009207132
0.02727798752832581
9
-0.03849650220869293
-9.559634869391715e-10
-0.029873394671195968

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06465
16465

end0.0ms (0%)

sample6.8s (67.2%)

Algorithm
intervals
Results
4.2s1586×body2560valid
1.6s2669×body1280valid
565.0ms1991×body640valid
171.0ms936×body320valid
64.0ms481×body160valid
32.0ms337×body80valid

Profiling

Loading profile data...