Details

Time bar (total: 4.6s)

sample318.0ms

Algorithm
intervals
Results
20.0ms42×body1280valid
13.0ms146×body80valid
12.0ms38×body640valid
8.0ms22×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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))

rewrite27.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:
8.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))

series216.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
38.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
55.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243918
25001882

prune292.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×pow1
14×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u
log1p-expm1-u
fma-neg prod-diff
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log1p-udef flip3-- diff-log log1p-expm1 flip-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
2.0ms
(- 1.0 (* (tan x) (tan x)))
0.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series316.0ms

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

simplify135.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0246612
1827546
23958530
35002525

prune256.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite7.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:
1.0ms
(pow (cos x) 2)
1.0ms
(pow (cos x) 2)
1.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series74.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0146308
1487260
21671260
35001256

prune248.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)
2.9b
(log (exp (pow (sin x) 2)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×unpow-prod-down
pow-unpow log-pow
pow1 exp-prod
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
pow-to-exp log-prod pow-pow pow-exp
rem-log-exp
Counts
4 → 82
Calls
4 calls:
1.0ms
(pow (cos x) 2)
1.0ms
(pow (sin x) 2)
1.0ms
(pow (sin x) 2)
7.0ms
(log (exp (pow (sin x) 2)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (cos x) 2)
18.0ms
(pow (sin x) 2)
18.0ms
(pow (sin x) 2)
19.0ms
(log (exp (pow (sin x) 2)))

simplify69.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0184327
1552275
21829275
35001271

prune273.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes196.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01717
11717

end0.0ms

sample1.9s

Algorithm
intervals
Results
754.0ms1496×body1280valid
400.0ms4356×body80valid
390.0ms1218×body640valid
143.0ms619×body320valid
50.0ms311×body160valid