Details

Time bar (total: 4.6s)

sample315.0ms

Algorithm
intervals
Results
25.0ms55×body1280valid
9.0ms36×body640valid
7.0ms138×body80valid
4.0ms23×body320valid
0.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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

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

series213.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(- 1.0 (* (tan x) (tan x)))
32.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune236.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×*-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
frac-times associate-*r*
associate-/l/
flip3-- flip3-+ associate-*l* flip-- flip-+
add-log-exp
associate-*r/ associate-*l/
tan-quot difference-of-squares
sub-neg times-frac swap-sqr prod-exp associate-/r* cbrt-unprod
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down sqrt-prod associate-/r/ *-commutative distribute-lft-out-- unswap-sqr
pow2 frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up div-inv distribute-lft-out associate-/l*
Counts
4 → 108
Calls
4 calls:
16.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(- (sqrt 1.0) (tan x))
31.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series363.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
36.0ms
(- (sqrt 1.0) (tan x))
105.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
31.0ms
(* (tan x) (tan x))

simplify78.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05201144
12857962
25002947

prune292.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tan x) (sin x))
0.2b
(- (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.2b
(/ (* (tan x) (sin x)) (cos x))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
16×*-un-lft-identity
13×add-exp-log add-cbrt-cube
10×add-cube-cbrt
associate-*r*
pow1
associate-*l*
add-log-exp
frac-times flip3-- associate-*l/ flip-- difference-of-squares
sub-neg flip3-+ times-frac prod-exp associate-/r* cbrt-unprod flip-+
tan-quot cbrt-undiv distribute-rgt-in distribute-lft-in associate-*r/ div-exp pow-prod-down sqrt-prod *-commutative distribute-lft-out-- unswap-sqr
frac-2neg diff-log clear-num div-inv associate-/l/ distribute-lft-out associate-/l*
Counts
4 → 90
Calls
4 calls:
5.0ms
(* (tan x) (sin x))
5.0ms
(- (sqrt 1.0) (tan x))
29.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(/ (* (tan x) (sin x)) (cos x))

series249.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (tan x) (sin x))
40.0ms
(- (sqrt 1.0) (tan x))
105.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
60.0ms
(/ (* (tan x) (sin x)) (cos x))

simplify57.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0408777
12091688
25001681

prune316.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tan x) (sin x))
0.2b
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
0.2b
(/ (* (tan x) (sin x)) (cos x))
0.3b
(* (tan x) (tan x))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
14×*-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
tan-quot associate-*r* associate-*l* add-log-exp
times-frac swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down *-commutative unswap-sqr
pow2 frac-times sub-neg flip3-- frac-2neg pow-plus diff-log associate-*r/ clear-num pow-sqr pow-prod-up flip-- div-inv associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares
Counts
4 → 83
Calls
4 calls:
5.0ms
(* (tan x) (sin x))
4.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
5.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (tan x))

series188.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (tan x) (sin x))
53.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
57.0ms
(/ (* (tan x) (sin x)) (cos x))
36.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0291567
11265503
25001495

prune212.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes207.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
01311
11311

end0.0ms

sample1.6s

Algorithm
intervals
Results
708.0ms1544×body1280valid
335.0ms1205×body640valid
245.0ms4307×body80valid
117.0ms621×body320valid
42.0ms323×body160valid