Details

Time bar (total: 3.5s)

sample293.0ms

Algorithm
intervals
Results
13.0ms51×body1280valid
7.0ms41×body640valid
7.0ms129×body80valid
3.0ms21×body320valid
1.0ms14×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune4.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.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ (- 1.0 (* (tan x) (tan x))) (+ 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
32×add-sqr-sqrt
23×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
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff 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 → 119
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))
7.0ms
(* (tan x) (tan x))

series222.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- 1.0 (* (tan x) (tan x)))
94.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
61.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243917
25001882

prune269.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New12011131
Fresh000
Picked101
Done000
Total12111132

Merged error: 0.0b

Counts
132 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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*
expm1-log1p-u associate-/r/ log1p-expm1-u 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 → 131
Calls
4 calls:
7.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
8.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))))))

series248.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
31.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
93.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify49.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03731261
112401156
250011132

prune278.0ms

Filtered
143 candidates to 101 candidates (70.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh01010
Picked011
Done000
Total14311154

Merged error: 0.0b

Counts
154 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (cos 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
expm1-log1p-u pow-to-exp pow-pow pow-exp add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)
2.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)

series73.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(pow (sin x) 2)
18.0ms
(pow (sin x) 2)
16.0ms
(pow (cos x) 2)
17.0ms
(pow (cos x) 2)

simplify64.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0146308
1487260
21669260
35001256

prune196.0ms

Filtered
92 candidates to 56 candidates (60.9%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh099
Picked011
Done011
Total9112103

Merged error: 0.0b

Counts
103 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
29×*-un-lft-identity
28×add-cube-cbrt
21×pow1 add-exp-log associate-*r*
20×times-frac
15×add-cbrt-cube
10×associate-*l*
tan-quot
swap-sqr prod-exp
unswap-sqr
expm1-log1p-u frac-times div-exp associate-*l/ associate-/r/ cbrt-unprod log1p-expm1-u add-log-exp
associate-*r/ pow-prod-down associate-/r* *-commutative associate-/l*
cbrt-undiv pow2 rec-exp flip3-- flip3-+ pow-plus 1-exp pow-sqr pow-prod-up flip-- flip-+ div-inv
pow-flip frac-2neg clear-num un-div-inv inv-pow difference-of-squares
Counts
4 → 140
Calls
4 calls:
5.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
10.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
6.0ms
(* (tan x) (tan x))

series209.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
91.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify63.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04041182
118471018
25001959

prune210.0ms

Filtered
152 candidates to 94 candidates (61.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1502152
Fresh279
Picked011
Done112
Total15311164

Merged error: 0.0b

Counts
164 → 11

regimes153.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
01011
11011

end0.0ms

sample960.0ms

Algorithm
intervals
Results
378.0ms1509×body1280valid
211.0ms1244×body640valid
158.0ms4268×body80valid
79.0ms662×body320valid
26.0ms317×body160valid

Profiling

Loading profile data...