Details

Time bar (total: 3.0s)

sample42.0ms

Algorithm
intervals
Results
11.0ms41×body1280valid
8.0ms138×body80valid
7.0ms41×body640valid
3.0ms28×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune189.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.3b

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.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite25.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))))
2.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series71.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune207.0ms

Filtered
117 candidates to 77 candidates (34.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New10314117
Fresh000
Picked101
Done000
Total10414118

Merged error: 0.0b

Counts
118 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (sqrt 1.0) (tan x))
0.2b
(- (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.2b
(* (tan x) (tan x))

rewrite25.0ms

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

series39.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (sqrt 1.0) (tan x))
7.0ms
(- (sqrt 1.0) (tan x))
17.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
8.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0328693
11582618
25001607

prune190.0ms

Filtered
101 candidates to 67 candidates (33.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New974101
Fresh5813
Picked011
Done000
Total10213115

Merged error: 0.0b

Counts
115 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

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

series74.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04321210
118371122
250031116

prune156.0ms

Filtered
116 candidates to 79 candidates (31.9%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1151116
Fresh2911
Picked011
Done011
Total11712129

Merged error: 0.0b

Counts
129 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.3b
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

rewrite22.0ms

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

series57.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
30.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify136.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0289756
1888687
23990673
35001669

prune134.0ms

Filtered
112 candidates to 73 candidates (34.8%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh099
Picked011
Done022
Total11212124

Merged error: 0.0b

Counts
124 → 12

regimes345.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
01312
11312

end0.0ms

sample1.0s

Algorithm
intervals
Results
395.0ms1522×body1280valid
218.0ms1266×body640valid
169.0ms4326×body80valid
70.0ms574×body320valid
26.0ms312×body160valid

Profiling

Loading profile data...