Details

Time bar (total: 9.7s)

analyze1.4s

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

sample214.0ms

Algorithm
intervals
Results
118.0ms47×body2560valid
55.0ms85×body1280valid
21.0ms61×body640valid
5.0ms25×body320valid
3.0ms19×body160valid
2.0ms19×body80valid

simplify461.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
010049
110049

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.1b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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 → 78
Calls
3 calls:
7.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series37.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
11.0ms
(- x (tan x))
13.0ms
(- x (sin x))

simplify62.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
048641139
148641139

prune101.0ms

Filtered
63 candidates to 87 candidates (-38.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New83487
Fresh000
Picked101
Done000
Total84488

Merged error: 0.0b

Counts
88 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.1b
(log (exp (/ (- x (sin x)) (- x (tan x)))))
2.6b
(- x (tan x))
2.6b
(- x (sin x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt *-un-lft-identity
50×times-frac
32×log-pow
31×exp-prod
28×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
log-prod
sub-neg diff-log div-sub div-inv associate-/l/
cbrt-undiv log-div frac-2neg exp-diff div-exp rem-log-exp clear-num
Counts
4 → 122
Calls
4 calls:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
10.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series43.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
13.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
10.0ms
(- x (tan x))
8.0ms
(- x (sin x))

simplify40.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049691705
149691705

prune133.0ms

Filtered
96 candidates to 134 candidates (-39.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh033
Picked011
Done000
Total1335138

Merged error: 0.0b

Counts
138 → 5

localize9.0ms

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)
17.1b
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

rewrite24.0ms

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:
5.0ms
(* (pow x 4) -27/2800)
6.0ms
(* x (* x 9/40))
3.0ms
(* x 9/40)
8.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

series14.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (pow x 4) -27/2800)
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
6.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

simplify56.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04903646
14903646

prune108.0ms

Filtered
52 candidates to 86 candidates (-65.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh123
Picked101
Done011
Total86591

Merged error: 0.0b

Counts
91 → 5

localize9.0ms

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)
17.1b
(+ (+ (* x (* x 9/40)) -1/2) (* (pow x 4) -27/2800))

rewrite22.0ms

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-+l+ flip3-+ pow-exp flip-+
Counts
4 → 74
Calls
4 calls:
5.0ms
(* (pow x 4) -27/2800)
4.0ms
(* x (* x 9/40))
3.0ms
(* x 9/40)
8.0ms
(+ (+ (* x (* x 9/40)) -1/2) (* (pow x 4) -27/2800))

series13.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (pow x 4) -27/2800)
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
5.0ms
(+ (+ (* x (* x 9/40)) -1/2) (* (pow x 4) -27/2800))

simplify51.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04921646
14921646

prune89.0ms

Filtered
52 candidates to 86 candidates (-65.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh033
Picked011
Done011
Total86591

Merged error: 0.0b

Counts
91 → 5

regimes95.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 31.9b

bsearch34.0ms

Steps
ItersRangePoint
7
0.015364448262276292
1.0310884387662207
0.025838072108942886
9
-2853.066991623172
-0.0024591482066684753
-0.024104041126318445

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05033
15033

end0.0ms

sample6.6s

Algorithm
intervals
Results
4.0s1602×body2560valid
1.7s2721×body1280valid
521.0ms1971×body640valid
172.0ms890×body320valid
64.0ms470×body160valid
27.0ms346×body80valid

Profiling

Loading profile data...