Details

Time bar (total: 3.2s)

sample47.0ms

Algorithm
intervals
Results
13.0ms46×body1280valid
8.0ms42×body640valid
5.0ms134×body80valid
3.0ms20×body320valid
1.0ms14×body160valid

simplify445.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune6.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

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.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))
7.0ms
(* (tan x) (tan x))

series70.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
10.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(* (tan x) (tan x))
19.0ms
(* (tan x) (tan x))

simplify51.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0314909
11157838
25001824

prune183.0ms

Filtered
117 candidates to 77 candidates (34.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 0.0b

Counts
118 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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))
13.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
4.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series41.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328693
11582618
25001607

prune162.0ms

Filtered
101 candidates to 68 candidates (32.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New992101
Fresh2911
Picked101
Done000
Total10211113

Merged error: 0.0b

Counts
113 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (cos x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
pow-to-exp pow-pow pow-exp add-cbrt-cube unpow2 add-log-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)
2.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series16.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)
3.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune143.0ms

Filtered
84 candidates to 48 candidates (42.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh01010
Picked011
Done000
Total831295

Merged error: 0.0b

Counts
95 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

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

series47.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- 1.0 (* (tan x) (tan x)))
19.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
9.0ms
(* (tan x) (tan x))
11.0ms
(* (tan x) (tan x))

simplify170.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 3 (163.0ms)

IterNodesCost
0263638
1953577
24565550
35001544

prune93.0ms

Filtered
114 candidates to 63 candidates (44.7%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1104114
Fresh3710
Picked011
Done011
Total11313126

Merged error: 0.0b

Counts
126 → 13

regimes392.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
01213
11213

end0.0ms

sample1.0s

Algorithm
intervals
Results
387.0ms1496×body1280valid
214.0ms1234×body640valid
170.0ms4274×body80valid
84.0ms654×body320valid
29.0ms342×body160valid

Profiling

Loading profile data...