Details

Time bar (total: 2.6s)

sample40.0ms

Algorithm
intervals
Results
11.0ms41×body1280valid
7.0ms139×body80valid
6.0ms34×body640valid
4.0ms28×body320valid
1.0ms14×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune204.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.1b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×pow1
12×times-frac
10×add-exp-log add-cbrt-cube
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
associate-/l*
associate-/r*
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 105
Calls
4 calls:
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series73.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
9.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify42.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314909
11157838
25001824

prune194.0ms

Filtered
117 candidates to 77 candidates (34.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10413117
Fresh000
Picked101
Done000
Total10513118

Merged error: 0.1b

Counts
118 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
0.2b
(* (tan x) (sin x))
0.2b
(/ (* (tan x) (sin x)) (cos x))
0.3b
(* (tan x) (tan x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
14×*-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
tan-quot associate-*r* associate-*l* add-log-exp
times-frac swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down *-commutative unswap-sqr
pow2 frac-times sub-neg flip3-- frac-2neg pow-plus diff-log associate-*r/ clear-num pow-sqr pow-prod-up flip-- div-inv associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares
Counts
4 → 83
Calls
4 calls:
5.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
5.0ms
(* (tan x) (sin x))
6.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (tan x))

series48.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
10.0ms
(* (tan x) (sin x))
15.0ms
(/ (* (tan x) (sin x)) (cos x))
8.0ms
(* (tan x) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0291567
11265503
25001495

prune127.0ms

Filtered
95 candidates to 61 candidates (35.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New92395
Fresh11112
Picked101
Done000
Total9414108

Merged error: 0.0b

Counts
108 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin x))
0.2b
(* (tan x) (sin x))
0.2b
(/ (* (tan x) (sin x)) (cos x))
0.2b
(/ (* (tan x) (sin x)) (cos x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r* associate-*l* associate-/r*
tan-quot cbrt-undiv div-exp associate-*l/ prod-exp cbrt-unprod add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 82
Calls
4 calls:
5.0ms
(* (tan x) (sin x))
5.0ms
(* (tan x) (sin x))
6.0ms
(/ (* (tan x) (sin x)) (cos x))
6.0ms
(/ (* (tan x) (sin x)) (cos x))

series53.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (tan x) (sin x))
10.0ms
(* (tan x) (sin x))
15.0ms
(/ (* (tan x) (sin x)) (cos x))
15.0ms
(/ (* (tan x) (sin x)) (cos x))

simplify33.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0187568
1877486
25002486

prune120.0ms

Filtered
94 candidates to 68 candidates (27.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New93194
Fresh11213
Picked101
Done000
Total9513108

Merged error: 0.0b

Counts
108 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×pow1
18×*-un-lft-identity
16×add-cube-cbrt
12×tan-quot
10×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
add-log-exp
times-frac associate-/r/ difference-of-squares
pow2 frac-times distribute-rgt-out-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 106
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
14.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series78.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
9.0ms
(* (tan x) (tan x))
53.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266869
1914800
25002784

prune109.0ms

Filtered
118 candidates to 69 candidates (41.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1117118
Fresh5712
Picked101
Done000
Total11714131

Merged error: 0.0b

Counts
131 → 14

regimes270.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01313
11313

end0.0ms

sample1.0s

Algorithm
intervals
Results
390.0ms1533×body1280valid
199.0ms1199×body640valid
166.0ms4348×body80valid
72.0ms593×body320valid
29.0ms327×body160valid

Profiling

Loading profile data...