Details

Time bar (total: 4.5s)

sample349.0ms

Algorithm
intervals
Results
21.0ms48×body1280valid
12.0ms45×body640valid
8.0ms135×body80valid
3.0ms17×body320valid
3.0ms11×body160valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize11.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.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite65.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:
22.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
15.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

series192.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(- 1.0 (* (tan x) (tan x)))
30.0ms
(* (tan x) (tan x))
43.0ms
(* (tan x) (tan x))

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune243.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 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))))))

rewrite63.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:
5.0ms
(- 1.0 (* (tan x) (tan x)))
14.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
26.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

series176.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 3 (132.0ms)

IterNodesCost
0289756
1888687
23990673
35001667

prune255.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

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)))) (- 1.0 (* (tan x) (tan x))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
21×*-un-lft-identity associate-*l*
20×pow1 add-cube-cbrt
17×add-exp-log
13×add-cbrt-cube
11×times-frac
10×associate-*r*
tan-quot
swap-sqr prod-exp add-log-exp
unswap-sqr
frac-times associate-*r/ cbrt-unprod
sub-neg flip3-- pow-prod-down associate-*l/ *-commutative flip--
pow2 distribute-rgt-in distribute-lft-in pow-plus div-exp associate-/r/ pow-sqr pow-prod-up difference-of-squares
cbrt-undiv rec-exp flip3-+ diff-log 1-exp flip-+ div-inv
Counts
4 → 115
Calls
4 calls:
5.0ms
(- 1.0 (* (tan x) (tan x)))
34.0ms
(* (/ 1 (+ 1.0 (* (tan x) (tan x)))) (- 1.0 (* (tan x) (tan x))))
17.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))

series177.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- 1.0 (* (tan x) (tan x)))
86.0ms
(* (/ 1 (+ 1.0 (* (tan x) (tan x)))) (- 1.0 (* (tan x) (tan x))))
29.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))

simplify56.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03821004
11641889
25001861

prune250.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×pow1
18×*-un-lft-identity
16×add-cube-cbrt
12×tan-quot
10×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
add-log-exp
times-frac associate-/r/ difference-of-squares
pow2 frac-times distribute-rgt-out-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 106
Calls
4 calls:
15.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
52.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series239.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (tan x) (tan x))
29.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
144.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify35.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266869
1914800
25002784

prune203.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes131.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
0914
1914

end0.0ms

sample1.6s

Algorithm
intervals
Results
720.0ms1596×body1280valid
346.0ms1259×body640valid
234.0ms4230×body80valid
114.0ms615×body320valid
38.0ms300×body160valid