Details

Time bar (total: 3.6s)

sample292.0ms

Algorithm
intervals
Results
10.0ms40×body1280valid
6.0ms41×body640valid
5.0ms142×body80valid
4.0ms21×body320valid
1.0ms12×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune3.0ms

Filtered
1 candidates to 0 candidates (0.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)))
0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 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:
3.0ms
(- 1.0 (* (tan x) (tan x)))
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series224.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- 1.0 (* (tan x) (tan x)))
98.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
60.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune251.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.0b

Counts
118 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.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)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)

series76.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (cos x) 2)
17.0ms
(pow (cos x) 2)
19.0ms
(pow (sin x) 2)
24.0ms
(pow (sin x) 2)

simplify62.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune224.0ms

Filtered
84 candidates to 48 candidates (57.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh099
Picked011
Done000
Total841094

Merged error: 0.0b

Counts
94 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.5b
(pow (* (tan x) (tan x)) 3)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
33×pow1
23×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
16×tan-quot
13×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
pow-pow
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr pow-prod-up cbrt-unprod add-log-exp
cube-div pow-unpow *-commutative unswap-sqr
pow-exp rem-cube-cbrt
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod sqr-pow
Counts
4 → 113
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
6.0ms
(* (tan x) (tan x))
6.0ms
(pow (* (tan x) (tan x)) 3)

series171.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (tan x) (tan x))
37.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
69.0ms
(pow (* (tan x) (tan x)) 3)

simplify41.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0211452
1971401
25001384

prune304.0ms

Filtered
125 candidates to 66 candidates (52.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1241125
Fresh088
Picked101
Done011
Total12510135

Merged error: 0.0b

Counts
135 → 10

localize12.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
(* (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))))))

rewrite33.0ms

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

series261.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
33.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
98.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify49.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03621207
111911116
250011100

prune316.0ms

Filtered
135 candidates to 93 candidates (68.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1305135
Fresh538
Picked101
Done011
Total1369145

Merged error: 0.0b

Counts
145 → 9

regimes166.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11213

end0.0ms

sample932.0ms

Algorithm
intervals
Results
361.0ms1441×body1280valid
206.0ms1263×body640valid
160.0ms4380×body80valid
68.0ms595×body320valid
26.0ms321×body160valid